Hallo,
trying msdev.exe from Microsoft Visual C in a demonstration at
Linuxtag, I was astonished how far wine proceeds. Only when trying to create
a template, wine crashed. Trying to debug with snoop, however the crash
happens much earlier. I tried to look hard at snoop.c, but couldn't find
where this error may originate from. Has anybody some idea?
Bye
--
Uwe Bonnes bon@elektron.ikp.physik.tu-darmstadt.de
Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
08066950:RET msvcrt.658: malloc() retval = 40b01f20 ret=50043066 tid=08066950
08066950:CALL msvcrt.272: _initterm() ret=50043090
08066950:CALL devshl.1603: @(00000700,00000081,00000000,40605ad4,4060576c) ret=50301f0a
08066950:RET devshl.1603: @() retval = 00000000 ret=50301f0a tid=08066950
08066950:CALL mfc42.6374: @(<unknown, check return>) ret=50301f51
08066950:CALL mfc42.5163: @(<unknown, check return>) ret=5f401aff
08066950:CALL msvcrt.67: _EH_prolog(4101007d,00000081,00000000,40605ad4,40605728,40b06da0,00000000,40605748,41010064,00000081,00000000,40605ad4,40b06da0,40b06da0,40605764,50301f1f, ...) ret=5f401b2b
08066950:RET msvcrt.67: _EH_prolog() retval = 41010096 ret=5f401b2b tid=08066950
08066950:CALL msvcrt.74: __CxxFrameHandler(<unknown, check return>) ret=4006ac97
08066950:RET msvcrt.74: __CxxFrameHandler() retval = 00000001 ret=4006ac97
08066950:CALL msvcrt.74: __CxxFrameHandler() ret=4006ac97
08066950:RET msvcrt.74: __CxxFrameHandler() retval = 00000001 ret=4006ac97 tid=08066950
08066950:CALL msvcrt.74: __CxxFrameHandler() ret=4006ac97
08066950:RET msvcrt.74: __CxxFrameHandler() retval = 00000001 ret=4006ac97 tid=08066950
08066950:CALL msvcrt.74: __CxxFrameHandler() ret=4006ac97
08066950:RET msvcrt.74: __CxxFrameHandler() retval = 00000001 ret=4006ac97 tid=08066950
08066950:CALL msvcrt.74: __CxxFrameHandler() ret=4006ac97
08066950:RET msvcrt.74: __CxxFrameHandler() retval = 00000001 ret=4006ac97 tid=08066950
08066950:CALL msvcrt.74: __CxxFrameHandler() ret=4006ac97
08066950:RET msvcrt.74: __CxxFrameHandler() retval = 00000001 ret=4006ac97 tid=08066950
08066950:CALL msvcrt.74: __CxxFrameHandler() ret=4006ac97
08066950:RET msvcrt.74: __CxxFrameHandler() retval = 00000001 ret=4006ac97 tid=08066950
08066950:CALL msvcrt.74: __CxxFrameHandler() ret=4006ac97
08066950:RET msvcrt.74: __CxxFrameHandler() retval = 00000001 ret=4006ac97 tid=08066950
08066950:CALL msvcrt.74: __CxxFrameHandler() ret=4006ac97
08066950:RET msvcrt.74: __CxxFrameHandler() retval = 00000001 ret=4006ac97 tid=08066950
08066950:CALL msvcrt.203: _except_handler3(<unknown, check return>) ret=4006ac97
08066950:CALL msvcrt.73: _XcptFilter(<unknown, check return>) ret=0040175d
fixme:pthread_kill_other_threads_np
FIXME:pthread_rwlock_rdlock
FIXME:pthread_rwlock_unlock
Could not stat /home/bon/ikda/vol2 (No such file or directory), ignoring drive Y:
FIXME:pthread_rwlock_rdlock
FIXME:pthread_rwlock_unlock
Could not stat /home/bon/ikda/sys (No such file or directory), ignoring drive Z:
WineDbg starting... on pid 80683b0
No debug information in 32bit DLL '<Debugged process>' (0x00400000)
Loaded debug information from ELF 'wine' (0x00000000)
Breakpoint 1 at 0x4000da00 (_end+0x37fc1284)
Loaded debug information from ELF '/spare/bon/wine/dlls/libntdll.so' (0x40026000)
Loaded debug information from ELF '/spare/bon/wine/libwine.so' (0x40127000)
Loaded debug information from ELF '/spare/bon/wine/libwine_unicode.so' (0x4013d000)
Loaded debug information from ELF '/lib/libncurses.so.5' (0x40205000)
Loaded debug information from ELF '/lib/libm.so.6' (0x4024f000)
No debug information in ELF '/lib/libutil.so.1' (0x4026d000)
No debug information in ELF '/lib/libdl.so.2' (0x40270000)
Loaded debug information from ELF '/lib/libc.so.6' (0x40273000)
Loaded debug information from ELF '/lib/ld-linux.so.2' (0x40000000)
Loaded debug information from ELF '/spare/bon/wine/dlls/libkernel32.so' (0x40617000)
Loaded debug information from ELF '/spare/bon/wine/dlls/libgdi32.so' (0x406b4000)
Loaded debug information from ELF '/spare/bon/wine/dlls/libadvapi32.so' (0x40723000)
Loaded debug information from ELF '/spare/bon/wine/dlls/libuser32.so' (0x40762000)
Loaded debug information from ELF '/spare/bon/wine/dlls/libshell32.so' (0x40882000)
Loaded debug information from ELF '/spare/bon/wine/dlls/libshlwapi.so' (0x408e8000)
Loaded debug information from ELF '/spare/bon/wine/dlls/libcomctl32.so' (0x40923000)
Loaded debug information from ELF '/spare/bon/wine/dlls/libx11drv.so' (0x40c00000)
Loaded debug information from ELF '/spare/bon/wine/libwine_tsx11.so' (0x40741000)
No debug information in ELF '/usr/X11R6/lib/libSM.so.6' (0x40019000)
No debug information in ELF '/usr/X11R6/lib/libICE.so.6' (0x40c4d000)
No debug information in ELF '/usr/X11R6/lib/libXpm.so.4' (0x40c65000)
No debug information in ELF '/usr/X11R6/lib/libXxf86dga.so.1' (0x40387000)
No debug information in ELF '/usr/X11R6/lib/libXxf86vm.so.1' (0x404e5000)
No debug information in ELF '/usr/X11R6/lib/libXv.so.1' (0x404ea000)
No debug information in ELF '/usr/X11R6/lib/libXext.so.6' (0x40752000)
No debug information in ELF '/usr/X11R6/lib/libX11.so.6' (0x40c74000)
No debug information in ELF '/usr/lib/gconv/ISO8859-1.so' (0x4038d000)
Loaded debug information from ELF '/spare/bon/wine/dlls/libversion.so' (0x404d3000)
Loaded debug information from ELF '/spare/bon/wine/dlls/liblz32.so' (0x40695000)
No debug information in 32bit DLL 'NTDLL.DLL' (0x40060000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\MSVCRT.DLL' (0x78000000)
No debug information in 32bit DLL 'ADVAPI32.DLL' (0x40731000)
No debug information in 32bit DLL 'GDI32.DLL' (0x406d0000)
No debug information in 32bit DLL 'USER32.DLL' (0x40790000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\MFC42.DLL' (0x5f400000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\OLE32.DLL' (0x7ff20000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\OLEAUT32.DLL' (0x7fe80000)
No debug information in 32bit DLL 'SHLWAPI.DLL' (0x408fd000)
No debug information in 32bit DLL 'COMCTL32.DLL' (0x4092f000)
No debug information in 32bit DLL 'SHELL32.DLL' (0x4089c000)
No debug information in 32bit DLL 'K:\USR\LOCAL\SPARE\BON\NT4SP5G\PROGRAMME\MICROSOFT VISUAL STUDIO\COMMON\MSDEV98\BIN\DEVSHL.DLL' (0x50000000)
No debug information in 32bit DLL 'X11DRV.DLL' (0x40c11000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\MFC42LOC.DLL' (0x7baf0000)
No debug information in 32bit DLL 'LZ32.DLL' (0x40698000)
No debug information in 32bit DLL 'VERSION.DLL' (0x404d6000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\RPCRT4.DLL' (0x7fb90000)
No debug information in 32bit DLL 'K:\USR\LOCAL\SPARE\BON\NT4SP5G\PROGRAMME\MICROSOFT VISUAL STUDIO\COMMON\MSDEV98\BIN\DEVEDIT.PKG' (0x50800000)
No debug information in 32bit DLL 'K:\USR\LOCAL\SPARE\BON\NT4SP5G\PROGRAMME\MICROSOFT VISUAL STUDIO\COMMON\MSDEV98\BIN\DEVPRJ.PKG' (0x50300000)
08066950:RET msvcrt.73: _XcptFilter() retval = 00000000 ret=0040175d
08066950:RET msvcrt.203: _except_handler3() retval = 00000001 ret=4006ac97
Unhandled exception: page fault on read access to 0x0000000f
in 32-bit code (0x5f401ead).
In 32-bit mode.
0x5f401ead (MFC42.DLL.1145+0x10 in C:\WINDOWS\SYSTEM\MFC42.DLL): cmpl $0,0x10(%ebx)
Wine-dbg>bt
Backtrace:
=>0 0x5f401ead (MFC42.DLL.1145+0x10 in C:\WINDOWS\SYSTEM\MFC42.DLL) (ebp=40605684)
1 0x5f401c94 (MFC42.DLL.5163+0x173 in C:\WINDOWS\SYSTEM\MFC42.DLL) (ebp=4060570c)
2 0x4101007d (_end+0x3c3255) (ebp=4060572c)
3 0x41010064 (_end+0x3c323c) (ebp=40605748)
4 0x50301f1f (DEVPRJ.PKG..text+0xf1f in K:\USR\LOCAL\SPARE\BON\NT4SP5G\PROGRAMME\MICROSOFT VISUAL STUDIO\COMMON\MSDEV98\BIN\DEVPRJ.PKG) (ebp=40605764)
5 0x5f401a88 (MFC42.DLL.1109+0x74 in C:\WINDOWS\SYSTEM\MFC42.DLL) (ebp=406057c4)
6 0x5f401a10 (MFC42.DLL.1578+0x2a in C:\WINDOWS\SYSTEM\MFC42.DLL) (ebp=406057e0)
7 0x5f4019cf (MFC42.DLL.1579+0x39 in C:\WINDOWS\SYSTEM\MFC42.DLL) (ebp=4060580c)
8 0x40803b87 (WINPROC_wrapper+0x17 in libuser32.so) (ebp=40605830)
9 0x40803c06 (WINPROC_CallWndProc+0x76(proc=0x5f401996, hwnd=0x700, msg=0x81, wParam=0x0, lParam=0x40605ad4) [winproc.c:171] in libuser32.so) (ebp=4060585c)
10 0x408097f8 (CallWindowProcA+0x88(func=0x40d70dbc, hwnd=0x700, msg=0x81, wParam=0x0, lParam=0x40605ad4) [winproc.c:2589] in libuser32.so) (ebp=40605884)
11 0x407ea1a3 (MSG_SendMessage+0x3b3(hwnd=0x700, msg=0x81, wParam=0x0, lParam=0x40605ad4, timeout=0xffffffff, type=0x2, pRes=0x406058ec) [message.c:1733] in libuser32.so) (ebp=406058bc)
12 0x407ea2a2 (SendMessageA+0x32(hwnd=0x700, msg=0x81, wParam=0x0, lParam=0x40605ad4) [message.c:1772] in libuser32.so) (ebp=406058f0)
13 0x40c15014 (X11DRV_CreateWindow+0x184(hwnd=0x700, cs=0x40605ad4, unicode=0x0) [window.c:871] in libx11drv.so) (ebp=40605938)
14 0x407fce51 (WIN_CreateWindowEx+0x6d1(cs=0x40605ad4, classAtom=0xc066, type=0x2) [win.c:865] in libuser32.so) (ebp=406059b0)
15 0x407fd2fb (CreateWindowExA+0x14b(exStyle=0x0, className=0x403fcebc, windowName=0x0, style=0x42000001, x=0x0, y=0x0, width=0x0, height=0x0, parent=0x2b4, menu=0x7310, instance=0x400000, data=0x40605be0) [win.c:1030] in libuser32.so) (ebp=40605b04)
16 0x5f40c211 (MFC42.DLL.2152+0x9a in C:\WINDOWS\SYSTEM\MFC42.DLL) (ebp=40605b74)
17 0x5f40aaa5 (MFC42.DLL.2124+0x46 in C:\WINDOWS\SYSTEM\MFC42.DLL) (ebp=40605bb0)
18 0x4101004b (_end+0x3c3223) (ebp=40605c04)
19 0x50311b41 (DEVPRJ.PKG.InitPackage+0x4b5 in K:\USR\LOCAL\SPARE\BON\NT4SP5G\PROGRAMME\MICROSOFT VISUAL STUDIO\COMMON\MSDEV98\BIN\DEVPRJ.PKG) (ebp=40605c2c)
20 0x50310336 (DEVPRJ.PKG.EntryPoint+0xb5e in K:\USR\LOCAL\SPARE\BON\NT4SP5G\PROGRAMME\MICROSOFT VISUAL STUDIO\COMMON\MSDEV98\BIN\DEVPRJ.PKG) (ebp=40605c58)
21 0x50311a22 (DEVPRJ.PKG.InitPackage+0x396 in K:\USR\LOCAL\SPARE\BON\NT4SP5G\PROGRAMME\MICROSOFT VISUAL STUDIO\COMMON\MSDEV98\BIN\DEVPRJ.PKG) (ebp=40605c84)
22 0x50311760 (DEVPRJ.PKG.InitPackage+0xd4 in K:\USR\LOCAL\SPARE\BON\NT4SP5G\PROGRAMME\MICROSOFT VISUAL STUDIO\COMMON\MSDEV98\BIN\DEVPRJ.PKG) (ebp=406060c0)
23 0x50036fa3 (DEVSHL.DLL.3467+0x9a in K:\USR\LOCAL\SPARE\BON\NT4SP5G\PROGRAMME\MICROSOFT VISUAL STUDIO\COMMON\MSDEV98\BIN\DEVSHL.DLL) (ebp=40606664)
24 0x500344be (DEVSHL.DLL.3219+0x53d in K:\USR\LOCAL\SPARE\BON\NT4SP5G\PROGRAMME\MICROSOFT VISUAL STUDIO\COMMON\MSDEV98\BIN\DEVSHL.DLL) (ebp=40606e0c)
25 0x41010019 (_end+0x3c31f1) (ebp=40606ecc)
26 0x400dbf23 (start_process+0x1a3 [process.c:391] in libntdll.so) (ebp=40606f30)
27 0x400dfaa1 (SYSDEPS_DoCallOnStack+0x21(func=0x400dbd80, arg=0x0) [sysdeps.c:173] in libntdll.so) (ebp=40606ff0)
28 0x400dfb43 (SYSDEPS_CallOnStack+0x2f in libntdll.so) (ebp=bffff5f0)
29 0x400dfbfa (SYSDEPS_SwitchToThreadStack+0x9a(func=0x400dbd80) [sysdeps.c:236] in libntdll.so) (ebp=bffff62c)
30 0x400dc2be (PROCESS_InitWine+0x1ce(argc=0x4, argv=0xbffff6c4, win16_exe_name=0x804c660, win16_exe_file=0x804c764) [process.c:519] in libntdll.so) (ebp=bffff644)
31 0x0804b20a (Letext [main.c] in wine) (ebp=bffff65c)
32 0x4028fbaf (__libc_start_main+0xcf in libc.so.6) (ebp=bffff698)
33 0x08049021 (_start+0x21 in wine) (ebp=00000000)
Wine-dbg>quit
WineDbg terminated on pid 80683b0