Crash in 16-bit code
André Johansen
andrejoh at c2i.net
Mon Oct 6 17:29:15 CDT 2003
* Jukka Heinonen wrote:
| Okay, I have posted a patch to wine-patches that
| should have fixed this bug. Let's see if that is
| the case.
Thanks -- I've tested it, and it seems to get further now. It still
crashes, though...
As you can see, it now crashes in another executable.
$ wine ./Setup
fixme:cdrom:CDROM_GetInterfaceInfo CD-ROM device (11, 0) not supported
err:wave:OSS_WaveOutInit /dev/mixer1: No such device
err:wave:OSS_WaveInInit /dev/mixer1: No such device
fixme:cdrom:CDROM_GetStatusCode Unmapped error code 13: Permission denied
fixme:cdrom:CDROM_GetInterfaceInfo CD-ROM device (11, 0) not supported
wine: Unhandled exception (thread 000c), starting debugger...
fixme:cdrom:CDROM_GetInterfaceInfo CD-ROM device (11, 0) not supported
WineDbg starting on pid b
Loaded debug information from ELF 'wine' ((nil))
Breakpoint 1 at 0x4000cf70 (_end+0x400b824)
Loaded debug information from ELF '/home/andrej/local/wine/lib/libntdll.dll.so' (0x40017000)
Loaded debug information from ELF '/home/andrej/local/wine/lib/libwine.so.1' (0x400aa000)
Loaded debug information from ELF '/home/andrej/local/wine/lib/libwine_unicode.so.1' (0x400c1000)
No debug information in ELF '/lib/tls/libpthread.so.0' (0x401c8000)
No debug information in ELF '/lib/tls/libm.so.6' (0x401d6000)
No debug information in ELF '/lib/libdl.so.2' (0x401f8000)
No debug information in ELF '/lib/ld-linux.so.2' (0x40000000)
Loaded debug information from ELF '/home/andrej/local/wine/lib/wine/kernel32.dll.so' (0x401fd000)
No debug information in 32bit DLL 'D:\Mainx01.exe' (0x400000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\NTDLL.DLL' (0x40040000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\KERNEL32.DLL' (0x40230000)
Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x00000000).
In 32-bit mode.
0x00000000: addb %al,0x0(%eax)
Wine-dbg>bt
Backtrace:
=>0 0x00000000 (ebp=0000311f)
1 0x0040b4aa (Mainx01.exe.C0DE+0x44aa in Mainx01.exe) (ebp=0000311f, null call assumed)
| It may be that bug has still not been
| fixed by that patch. In that case last lines
| of trace "wine --debugmsg +int,+int31" before
| the point where application crashes would be helpful.
$ nice wine --debugmsg +int,+int31 ./Setup
fixme:cdrom:CDROM_GetInterfaceInfo CD-ROM device (11, 0) not supported
err:wave:OSS_WaveOutInit /dev/mixer1: No such device
err:wave:OSS_WaveInInit /dev/mixer1: No such device
trace:int:DOSVM_HardwareInterruptPM builtin interrupt 31 has been invoked (through vector 31)
trace:int31:DOSVM_Int31Handler Simulate real mode interrupt 2f.
trace:int:DOSVM_Int2fHandler Subfunction 0x150D
trace:int:MSCDEX_Handler Get drive letters
trace:int:DOSVM_HardwareInterruptPM builtin interrupt 31 has been invoked (through vector 31)
trace:int31:DOSVM_Int31Handler Simulate real mode interrupt 2f.
trace:int:DOSVM_Int2fHandler Subfunction 0x1510
trace:int:MSCDEX_Handler CDROM device driver -> command <12>
trace:int:MSCDEX_Handler --> IOCTL OUTPUT <2>
fixme:cdrom:CDROM_GetStatusCode Unmapped error code 13: Permission denied
trace:int:MSCDEX_Handler ----> RESET
trace:int:DOSVM_HardwareInterruptPM builtin interrupt 31 has been invoked (through vector 31)
trace:int31:DOSVM_Int31Handler Simulate real mode interrupt 2f.
trace:int:DOSVM_Int2fHandler Subfunction 0x1510
trace:int:MSCDEX_Handler CDROM device driver -> command <128>
fixme:cdrom:CDROM_GetInterfaceInfo CD-ROM device (11, 0) not supported
wine: Unhandled exception (thread 000c), starting debugger...
fixme:cdrom:CDROM_GetInterfaceInfo CD-ROM device (11, 0) not supported
WineDbg starting on pid b
Loaded debug information from ELF 'wine' ((nil))
Breakpoint 1 at 0x4000cf70 (_end+0x400b824)
Loaded debug information from ELF '/home/andrej/local/wine/lib/libntdll.dll.so' (0x40017000)
Loaded debug information from ELF '/home/andrej/local/wine/lib/libwine.so.1' (0x400aa000)
Loaded debug information from ELF '/home/andrej/local/wine/lib/libwine_unicode.so.1' (0x400c1000)
No debug information in ELF '/lib/tls/libpthread.so.0' (0x401c8000)
No debug information in ELF '/lib/tls/libm.so.6' (0x401d6000)
No debug information in ELF '/lib/libdl.so.2' (0x401f8000)
No debug information in ELF '/lib/ld-linux.so.2' (0x40000000)
Loaded debug information from ELF '/home/andrej/local/wine/lib/wine/kernel32.dll.so' (0x401fd000)
No debug information in 32bit DLL 'D:\Mainx01.exe' (0x400000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\NTDLL.DLL' (0x40040000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\KERNEL32.DLL' (0x40230000)
Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x00000000).
In 32-bit mode.
0x00000000: addb %al,0x0(%eax)
Wine-dbg>bt
Backtrace:
=>0 0x00000000 (ebp=0000311f)
1 0x0040b4aa (Mainx01.exe.C0DE+0x44aa in Mainx01.exe) (ebp=0000311f, null call assumed)
Wine-dbg>cont
First chance exception: page fault on read access to 0x00000000 in 32-bit code (0x00000000).
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:003b GS:0033
EIP:00000000 ESP:40862e5c EBP:0000311f EFLAGS:00010246( R- 00 I Z- -P1 )
EAX:0040bb77 EBX:0040b181 ECX:0000041d EDX:0000041d
ESI:400499ea EDI:40098118
Stack dump:
0x40862e5c (_end+0x573214): 0040b4aa 00000100 0040aa03 4009eea0
0x40862e6c (_end+0x573224): 00407162 40862e7c 4009ed00 0000311f
0x40862e7c (_end+0x573234): 4009d5c0 00000216 4006f97f 402efb80
0x40862e8c (_end+0x573244): 40862ea4 00400100 401c0038 00407000
0x40862e9c (_end+0x573254): 405305e0 00000000 00000000 00000000
0x40862eac (_end+0x573264): 00000000 00000000 00000000 00000000
0x40862ebc (_end+0x573274):
Backtrace:
=>0 0x00000000 (ebp=0000311f)
1 0x0040b4aa (Mainx01.exe.C0DE+0x44aa in Mainx01.exe) (ebp=0000311f, null call assumed)
0x00000000: addb %al,0x0(%eax)
--
Try Anarchy Online http://www.anarchy-online.com/content/downloads/tryout/
Netiquette guidelines ftp://ftp.rfc-editor.org/in-notes/rfc1855.txt
How to quote properly http://www.i-hate-computers.demon.co.uk/
Hvordan sitere riktig http://home.online.no/~vidaandr/news/OBSquoting.html
More information about the wine-devel
mailing list