C++ Runtime Error

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
ScubaSteve
Newbie
Newbie
Posts: 2
Joined: Sun Oct 12, 2008 8:23 pm

C++ Runtime Error

Post by ScubaSteve »

Hi guys, I'm trying to run Quartus II v8 via Wine and everything works perfectly fine so far except when I try to run a simulation. The simulation finishes successfully but I get an error message:

Code: Select all

Microsoft Visual C++ Runtime Library:

Runtime Error!

Program: C:\altera\80\quartus\bin\quartus.exe

This application has requested the Runtime to terminate it in an unusual way.  Please contact the application's support team for more information.
Any ideas? I'm pretty new at using Wine so and help would be appreciated. Thanks!
Warren Dumortier

C++ Runtime Error

Post by Warren Dumortier »

We need the wine logs (terminal).

2008/10/13 ScubaSteve <[email protected]>
Hi guys, I'm trying to run Quartus II v8 via Wine and everything works
perfectly fine so far except when I try to run a simulation. The simulation
finishes successfully but I get an error message:


Code:
Microsoft Visual C++ Runtime Library:

Runtime Error!

Program: C:\altera\80\quartus\bin\quartus.exe

This application has requested the Runtime to terminate it in an unusual
way. Please contact the application's support team for more information.



Any ideas? I'm pretty new at using Wine so and help would be appreciated.
Thanks!





-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winehq.org/pipermail/wine-us ... chment.htm
ScubaSteve
Newbie
Newbie
Posts: 2
Joined: Sun Oct 12, 2008 8:23 pm

Post by ScubaSteve »

Code: Select all

stephen@stephen-laptop:~$ wine 'C:\altera\80\quartus\bin\quartus.exe'
fixme:ntoskrnl:IoGetConfigurationInformation partial stub
wine: Call from 0x7b844fb0 to unimplemented function ntoskrnl.exe.IoQueryDeviceDescription, aborting
wine: Unimplemented function ntoskrnl.exe.IoQueryDeviceDescription called at address 0x7b844fb0 (thread 0026), starting debugger...
Unhandled exception: unimplemented function ntoskrnl.exe.IoQueryDeviceDescription called in 32-bit code (0x7b845026).
Register dump:
 CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
 EIP:7b845026 ESP:7ec1662c EBP:7ec16690 EFLAGS:00200212(   - 00      - -IA1)
 EAX:7b82edfd EBX:7b8b4f68 ECX:00000000 EDX:00000014
 ESI:00000014 EDI:00460200
Stack dump:
0x7ec1662c:  7ec166b8 00000008 00000000 00000000
0x7ec1663c:  80000100 00000001 00000000 7b844fb0
0x7ec1664c:  00000002 7ede07a0 7ede29dc 00000000
0x7ec1665c:  00000000 00000000 00000000 00000000
0x7ec1666c:  00000000 00000000 00000000 00000000
0x7ec1667c:  00000000 00000000 00000000 00000000
Backtrace:
=>1 0x7b845026 in kernel32 (+0x25026) (0x7ec16690)
  2 0x7ede0735 in ntoskrnl (+0x10735) (0x7ec166c0)
  3 0x7edd8624 in ntoskrnl (+0x8624) (0x7ec169e8)
  4 0x7ee34587 in advapi32 (+0x24587) (0x7ec16a38)
  5 0x7bc6bcae call_thread_entry_point+0xe() in ntdll (0x7ec16a48)
  6 0x7bc6c342 in ntdll (+0x5c342) (0x7ec16ae8)
  7 0x7bc6c572 in ntdll (+0x5c572) (0x7ec173d8)
  8 0xb7e0c4fb start_thread+0xcb() in libpthread.so.0 (0x7ec174c8)
0x7b845026: movl	0xfffffffc(%ebp),%ebx
Modules:
Module	Address			Debug info	Name (29 modules)
PE	  450000-  462a00	Deferred        sentinel.sys
ELF	7b800000-7b93c000	Export          kernel32<elf>
  \-PE	7b820000-7b93c000	\               kernel32
ELF	7bc00000-7bca6000	Export          ntdll<elf>
  \-PE	7bc10000-7bca6000	\               ntdll
ELF	7bf00000-7bf03000	Deferred        <wine-loader>
ELF	7eaf2000-7eb07000	Deferred        hal<elf>
  \-PE	7eb00000-7eb07000	\               hal
ELF	7ec18000-7ec2b000	Deferred        libresolv.so.2
ELF	7ec2b000-7ec4a000	Deferred        iphlpapi<elf>
  \-PE	7ec30000-7ec4a000	\               iphlpapi
ELF	7ec4a000-7ecaf000	Deferred        rpcrt4<elf>
  \-PE	7ec60000-7ecaf000	\               rpcrt4
ELF	7edc0000-7edf9000	Export          ntoskrnl<elf>
  \-PE	7edd0000-7edf9000	\               ntoskrnl
ELF	7edf9000-7ee4d000	Export          advapi32<elf>
  \-PE	7ee10000-7ee4d000	\               advapi32
ELF	7ee4d000-7ee61000	Deferred        winedevice<elf>
  \-PE	7ee50000-7ee61000	\               winedevice
ELF	7ee61000-7ee6c000	Deferred        libnss_files.so.2
ELF	7ee6c000-7ee76000	Deferred        libnss_nis.so.2
ELF	7ee76000-7ee8e000	Deferred        libnsl.so.1
ELF	7ee8e000-7ee97000	Deferred        libnss_compat.so.2
ELF	7efc9000-7efee000	Deferred        libm.so.6
ELF	b7cb3000-b7cb7000	Deferred        libdl.so.2
ELF	b7cb7000-b7e06000	Deferred        libc.so.6
ELF	b7e07000-b7e1f000	Export          libpthread.so.0
ELF	b7e31000-b7f67000	Deferred        libwine.so.1
ELF	b7f69000-b7f85000	Deferred        ld-linux.so.2
Threads:
process  tid      prio (all id:s are in hex)
00000008 
	00000009    0
0000000a 
	0000000b    0
0000000c 
	00000025    0
	0000001f    0
	00000019    0
	00000014    0
	00000013    0
	00000012    0
	0000000e    0
	0000000d    0
0000000f 
	00000015    0
	00000011    0
	00000010    0
00000016 
	0000001b    0
	0000001a    0
	00000018    0
	00000017    0
0000001c 
	00000021    0
	00000020    0
	0000001e    0
	0000001d    0
00000022 (D) c:\windows\system32\winedevice.exe
	00000026    0 <==
	00000024    0
	00000023    0
Backtrace:
=>1 0x7b845026 in kernel32 (+0x25026) (0x7ec16690)
  2 0x7ede0735 in ntoskrnl (+0x10735) (0x7ec166c0)
  3 0x7edd8624 in ntoskrnl (+0x8624) (0x7ec169e8)
  4 0x7ee34587 in advapi32 (+0x24587) (0x7ec16a38)
  5 0x7bc6bcae call_thread_entry_point+0xe() in ntdll (0x7ec16a48)
  6 0x7bc6c342 in ntdll (+0x5c342) (0x7ec16ae8)
  7 0x7bc6c572 in ntdll (+0x5c572) (0x7ec173d8)
  8 0xb7e0c4fb start_thread+0xcb() in libpthread.so.0 (0x7ec174c8)
wine: Call from 0x7b844fb0 to unimplemented function ntoskrnl.exe.IoQueryFileDosDeviceName, aborting
wine: Call from 0x7b844fb0 to unimplemented function ntoskrnl.exe.IoQueryFileInformation, aborting
fixme:gdi:ExtCreatePen Hatches not implemented
fixme:wininet:InternetGetConnectedState always returning LAN connection.
fixme:wininet:InternetSetOptionW Option 43 STUB
fixme:wininet:InternetSetOptionW Option 44 STUB
fixme:wininet:InternetGetConnectedState always returning LAN connection.
fixme:wininet:InternetSetOptionW Option 43 STUB
fixme:wininet:InternetSetOptionW Option 44 STUB
fixme:imm:ImmReleaseContext (0x200fc, 0x207308): stub
stephen@stephen-laptop:~$ wine 'C:\altera\80\quartus\bin\quartus.exe' > /home/stephen/Desktop/log.txt
fixme:ntoskrnl:IoGetConfigurationInformation partial stub
wine: Call from 0x7b844fb0 to unimplemented function ntoskrnl.exe.IoQueryDeviceDescription, aborting
wine: Unimplemented function ntoskrnl.exe.IoQueryDeviceDescription called at address 0x7b844fb0 (thread 0026), starting debugger...
Unhandled exception: unimplemented function ntoskrnl.exe.IoQueryDeviceDescription called in 32-bit code (0x7b845026).
Register dump:
 CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
 EIP:7b845026 ESP:7ec1662c EBP:7ec16690 EFLAGS:00200212(   - 00      - -IA1)
 EAX:7b82edfd EBX:7b8b4f68 ECX:00000000 EDX:00000014
 ESI:00000014 EDI:00460200
Stack dump:
0x7ec1662c:  7ec166b8 00000008 00000000 00000000
0x7ec1663c:  80000100 00000001 00000000 7b844fb0
0x7ec1664c:  00000002 7ede07a0 7ede29dc 00000000
0x7ec1665c:  00000000 00000000 00000000 00000000
0x7ec1666c:  00000000 00000000 00000000 00000000
0x7ec1667c:  00000000 00000000 00000000 00000000
Backtrace:
=>1 0x7b845026 in kernel32 (+0x25026) (0x7ec16690)
  2 0x7ede0735 in ntoskrnl (+0x10735) (0x7ec166c0)
  3 0x7edd8624 in ntoskrnl (+0x8624) (0x7ec169e8)
  4 0x7ee34587 in advapi32 (+0x24587) (0x7ec16a38)
  5 0x7bc6bcae call_thread_entry_point+0xe() in ntdll (0x7ec16a48)
  6 0x7bc6c342 in ntdll (+0x5c342) (0x7ec16ae8)
  7 0x7bc6c572 in ntdll (+0x5c572) (0x7ec173d8)
  8 0xb7dfd4fb start_thread+0xcb() in libpthread.so.0 (0x7ec174c8)
0x7b845026: movl	0xfffffffc(%ebp),%ebx
Modules:
Module	Address			Debug info	Name (29 modules)
PE	  450000-  462a00	Deferred        sentinel.sys
ELF	7b800000-7b93c000	Export          kernel32<elf>
  \-PE	7b820000-7b93c000	\               kernel32
ELF	7bc00000-7bca6000	Export          ntdll<elf>
  \-PE	7bc10000-7bca6000	\               ntdll
ELF	7bf00000-7bf03000	Deferred        <wine-loader>
ELF	7eaf2000-7eb07000	Deferred        hal<elf>
  \-PE	7eb00000-7eb07000	\               hal
ELF	7ec18000-7ec2b000	Deferred        libresolv.so.2
ELF	7ec2b000-7ec4a000	Deferred        iphlpapi<elf>
  \-PE	7ec30000-7ec4a000	\               iphlpapi
ELF	7ec4a000-7ecaf000	Deferred        rpcrt4<elf>
  \-PE	7ec60000-7ecaf000	\               rpcrt4
ELF	7edc0000-7edf9000	Export          ntoskrnl<elf>
  \-PE	7edd0000-7edf9000	\               ntoskrnl
ELF	7edf9000-7ee4d000	Export          advapi32<elf>
  \-PE	7ee10000-7ee4d000	\               advapi32
ELF	7ee4d000-7ee61000	Deferred        winedevice<elf>
  \-PE	7ee50000-7ee61000	\               winedevice
ELF	7ee61000-7ee6c000	Deferred        libnss_files.so.2
ELF	7ee6c000-7ee76000	Deferred        libnss_nis.so.2
ELF	7ee76000-7ee8e000	Deferred        libnsl.so.1
ELF	7ee8e000-7ee97000	Deferred        libnss_compat.so.2
ELF	7efc9000-7efee000	Deferred        libm.so.6
ELF	b7ca4000-b7ca8000	Deferred        libdl.so.2
ELF	b7ca8000-b7df7000	Deferred        libc.so.6
ELF	b7df8000-b7e10000	Export          libpthread.so.0
ELF	b7e22000-b7f58000	Deferred        libwine.so.1
ELF	b7f5a000-b7f76000	Deferred        ld-linux.so.2
Threads:
process  tid      prio (all id:s are in hex)
00000008 
	00000009    0
0000000a 
	0000000b    0
0000000c 
	00000025    0
	0000001f    0
	00000019    0
	00000014    0
	00000013    0
	00000012    0
	0000000e    0
	0000000d    0
0000000f 
	00000015    0
	00000011    0
	00000010    0
00000016 
	0000001b    0
	0000001a    0
	00000018    0
	00000017    0
0000001c 
	00000021    0
	00000020    0
	0000001e    0
	0000001d    0
00000022 (D) c:\windows\system32\winedevice.exe
	00000026    0 <==
	00000024    0
	00000023    0
Backtrace:
=>1 0x7b845026 in kernel32 (+0x25026) (0x7ec16690)
  2 0x7ede0735 in ntoskrnl (+0x10735) (0x7ec166c0)
  3 0x7edd8624 in ntoskrnl (+0x8624) (0x7ec169e8)
  4 0x7ee34587 in advapi32 (+0x24587) (0x7ec16a38)
  5 0x7bc6bcae call_thread_entry_point+0xe() in ntdll (0x7ec16a48)
  6 0x7bc6c342 in ntdll (+0x5c342) (0x7ec16ae8)
  7 0x7bc6c572 in ntdll (+0x5c572) (0x7ec173d8)
  8 0xb7dfd4fb start_thread+0xcb() in libpthread.so.0 (0x7ec174c8)
wine: Call from 0x7b844fb0 to unimplemented function ntoskrnl.exe.IoQueryFileDosDeviceName, aborting
wine: Call from 0x7b844fb0 to unimplemented function ntoskrnl.exe.IoQueryFileInformation, aborting
fixme:gdi:ExtCreatePen Hatches not implemented
fixme:wininet:InternetGetConnectedState always returning LAN connection.
fixme:wininet:InternetSetOptionW Option 43 STUB
fixme:wininet:InternetSetOptionW Option 44 STUB
fixme:wininet:InternetGetConnectedState always returning LAN connection.
fixme:wininet:InternetSetOptionW Option 43 STUB
fixme:wininet:InternetSetOptionW Option 44 STUB
fixme:imm:ImmReleaseContext (0x200fc, 0x207308): stub
fixme:commdlg:GetFileName95 Flags 0x00800000 not yet implemented
fixme:storage:StgCreateDocfile Storage share mode not implemented.
fixme:storage:StgCreateDocfile Transacted mode not implemented.
fixme:commdlg:GetFileName95 Flags 0x00800000 not yet implemented
fixme:commdlg:GetFileName95 Flags 0x00800000 not yet implemented
fixme:commdlg:GetFileName95 Flags 0x00800000 not yet implemented
fixme:commdlg:GetFileName95 Flags 0x00800000 not yet implemented
fixme:commdlg:GetFileName95 Flags 0x00800000 not yet implemented
fixme:storage:StgCreateDocfile Storage share mode not implemented.
fixme:storage:StgCreateDocfile Transacted mode not implemented.
err:shell:SHGetFileInfoW pidl is null!
stephen@stephen-laptop:~$ 
This is the log from the terminal, not sure how to read it haha. Thanks a lot for the help!
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

C++ Runtime Error

Post by austin987 »

On Wed, Oct 15, 2008 at 5:44 PM, ScubaSteve <[email protected]> wrote:
Code:
stephen@stephen-laptop:~$ wine 'C:\altera\80\quartus\bin\quartus.exe'
fixme:ntoskrnl:IoGetConfigurationInformation partial stub
wine: Call from 0x7b844fb0 to unimplemented function ntoskrnl.exe.IoQueryDeviceDescription, aborting
wine: Unimplemented function ntoskrnl.exe.IoQueryDeviceDescription called at address 0x7b844fb0 (thread 0026), starting debugger...
Unhandled exception: unimplemented function ntoskrnl.exe.IoQueryDeviceDescription called in 32-bit code (0x7b845026).
You've hit unimplemented functions in ntoskrnl. You could try running
in Win98 mode to see if the app will work around it.



--
-Austin
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

ScubaSteve wrote:Module Address Debug info Name (29 modules)
PE 450000- 462a00 Deferred sentinel.sys
Looks like a copy-protection dongle driver. Those don't work on Wine at present. If this is USB there are some experimental drivers floating around to implement just enough of USB stack to support this type of driver.
Locked