http://bugs.winehq.com/show_bug.cgi?id=1403
------- Additional Comments From z_god@wanadoo.nl 2003-28-06 10:51 ------- Bug comments restored from Gmane.org:
I've got a CD on the history of the city of Pompei, that was destroyed by the Vesuvio volcano in 79 a.C. The installer, after many attempts, installed the software in c:\POMPEII, but the program won't run, I'm sending the bug report geneated by bug_report.pl using wine cvs 20030420
------- Additional Comments From puoti <at> inwind.it 2003-04-21 09:17 ------- Created an attachment (id=459) --> (http://bugs.winehq.com/attachment.cgi?id=459&action=view) Bug report generated by bug_report.pl
------- Additional Comments From andi <at> rhlx01.fht-esslingen.de 2003-04-21 10:52 ------- At the bottom, there is:
000a:Call kernel32.GetConsoleScreenBufferInfo(00000008,41592850) ret=415d174a 000a:Ret kernel32.GetConsoleScreenBufferInfo() retval=00000000 ret=415d174a wine: Unhandled exception, starting debugger...
This sounds a LOT like GetConsoleScreenBufferInfo() is the reason (since this call fails). Now why the program is calling GetConsoleScreenBufferInfo() for a non-console app is way beyond me... But a reasonable guess would be that this call probably doesn't fail e.g. in Win9x, even for non-console apps, so we should probably fix that. You could also repost a --debugmsg +relay,+console,+server log...
------- Additional Comments From andi <at> rhlx01.fht-esslingen.de 2003-04-21 10:58 ------- Wait, I'm afraid I'm totally mistaken. GetConsoleScreenBufferInfo() probably SHOULD fail. And since it's got a return address of 0x415d174a, it's probably called by Wine code. The real crash is in INT10_SetVideoMode, of course. Could it be that you're running a DOS program without using the recommended wcmd or wineconsole? If so, then crashes might happen (they shouldn't, though). Could you retry using wcmd? (just out of interest, it won't affect this bug, of course)
------- Additional Comments From puoti <at> inwind.it 2003-04-21 11:22 ------- Created an attachment (id=460) --> (http://bugs.winehq.com/attachment.cgi?id=460&action=view) The +relay,+console,+server log
------- Additional Comments From puoti <at> inwind.it 2003-04-21 11:26 ------- This is an an application for win31 and windows 95 (I have winver set at win98), if I run it in wcmd I get this: C:\POMPEII>pompeii C:\POMPEII>err:module:get_registry_value Invalid load order module-type L"so", ignored err:module:get_registry_value Invalid load order module-type L"so", ignored err:module:get_registry_value Invalid load order module-type L"so", ignored err:module:get_registry_value Invalid load order module-type L"so", ignored err:module:get_registry_value Invalid load order module-type L"so", ignored err:module:get_registry_value Invalid load order module-type L"so", ignored err:module:get_registry_value Invalid load order module-type L"so", ignored err:module:get_registry_value Invalid load order module-type L"so", ignored err:module:get_registry_value Invalid load order module-type L"so", ignored err:module:get_registry_value Invalid load order module-type L"so", ignored err:module:get_registry_value Invalid load order module-type L"so", ignored err:module:get_registry_value Invalid load order module-type L"so", ignored err:module:get_registry_value Invalid load order module-type L"so", ignored err:module:get_registry_value Invalid load order module-type L"so", ignored err:module:get_registry_value Invalid load order module-type L"so", ignored err:ntdll:RtlpWaitForCriticalSection section 0x400f33d8 "../../scheduler/syslevel.c: Win16Mutex" wait timed out, retrying (60 sec) tid=000b wine: Unhandled exception, starting debugger... err:ntdll:RtlpWaitForCriticalSection section 0x400f3ea8 "loader.c: loader_section" wait timed out, retrying (60 sec) tid=000b err:module:get_registry_value Invalid load order module-type L"so", ignored err:module:get_registry_value Invalid load order module-type L"so", ignored err:module:get_registry_value Invalid load order module-type L"so", ignored err:module:get_registry_value Invalid load order module-type L"so", ignored err:module:get_registry_value Invalid load order module-type L"so", ignored WineDbg starting on pid a Loaded debug information from ELF 'wine' ((nil)) Breakpoint 1 at 0x4000af50 (_end+0x3ff7714) Loaded debug information from ELF '/usr/local/lib/libntdll.dll.so' (0x40021000) Loaded debug information from ELF '/usr/local/lib/libwine.so.1' (0x40113000) Loaded debug information from ELF '/usr/local/lib/libwine_unicode.so.1' (0x4012a000) No debug information in ELF '/lib/i686/libm.so.6' (0x4020b000) No debug information in ELF '/lib/i686/libc.so.6' (0x4022e000) No debug information in ELF '/lib/libdl.so.2' (0x40361000) Loaded debug information from ELF '/lib/ld-linux.so.2' (0x40000000) No debug information in ELF '/lib/libnss_files.so.2' (0x40364000) Loaded debug information from ELF '/usr/local/lib/wine/mmsystem.dll.so' (0x406d3000) Loaded debug information from ELF '/usr/local/lib/wine/user32.dll.so' (0x4073a000) Loaded debug information from ELF '/usr/local/lib/wine/gdi32.dll.so' (0x4085f000) Loaded debug information from ELF '/usr/local/lib/wine/advapi32.dll.so' (0x408d9000) Loaded debug information from ELF '/usr/local/lib/wine/kernel32.dll.so' (0x40905000) No debug information in ELF '/usr/lib/libfreetype.so.6' (0x409bc000) No debug information in ELF '/lib/libz.so.1' (0x40a0a000) Loaded debug information from ELF '/usr/local/lib/wine/x11drv.dll.so' (0x40a18000) No debug information in ELF '/usr/X11R6/lib/libSM.so.6' (0x40a82000) No debug information in ELF '/usr/X11R6/lib/libICE.so.6' (0x40a8b000) No debug information in ELF '/usr/X11R6/lib/libXext.so.6' (0x40aa2000) No debug information in ELF '/usr/X11R6/lib/libX11.so.6' (0x40ab0000) No debug information in ELF '/usr/lib/libGL.so.1' (0x40b8f000) No debug information in ELF '/usr/lib/libGLcore.so.1' (0x40bf6000) No debug information in ELF '/usr/X11R6/lib/libXcursor.so.1' (0x41143000) No debug information in ELF '/usr/X11R6/lib/libXrender.so.1' (0x4114c000) No debug information in ELF '/usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2' (0x40014000) No debug information in ELF '/usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2' (0x411b0000) No debug information in ELF '/usr/lib/gconv/ISO8859-15.so' (0x40018000) Loaded debug information from ELF '/usr/local/lib/wine/wineoss.drv.so' (0x411ce000) Loaded debug information from ELF '/usr/local/lib/wine/msacm.drv.so' (0x41201000) Loaded debug information from ELF '/usr/local/lib/wine/msacm32.dll.so' (0x41218000) Loaded debug information from ELF '/usr/local/lib/wine/midimap.drv.so' (0x41350000) Loaded debug information from ELF '/usr/local/lib/wine/winedos.dll.so' (0x415a5000) Loaded debug information from ELF '/usr/local/lib/wine/commdlg.dll.so' (0x415df000) Loaded debug information from ELF '/usr/local/lib/wine/shell32.dll.so' (0x41656000) Loaded debug information from ELF '/usr/local/lib/wine/ole32.dll.so' (0x416d4000) Loaded debug information from ELF '/usr/local/lib/wine/rpcrt4.dll.so' (0x41744000) Loaded debug information from ELF '/usr/local/lib/wine/shlwapi.dll.so' (0x4178a000) Loaded debug information from ELF '/usr/local/lib/wine/comctl32.dll.so' (0x417d6000) Loaded debug information from ELF '/usr/local/lib/wine/winspool.drv.so' (0x4186f000) No debug information in 32bit DLL 'Z:\usr\local\bin\wine' (0x3c010000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\NTDLL.DLL' (0x40050000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\KERNEL32.DLL' (0x40930000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\ADVAPI32.DLL' (0x408f0000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\GDI32.DLL' (0x40870000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\USER32.DLL' (0x40760000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\WINMM.DLL' (0x406e0000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\X11DRV.DLL' (0x40a30000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\WINEOSS.DRV' (0x411e0000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\MSACM32.DLL' (0x41220000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\MSACM.DRV' (0x41210000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\MIDIMAP.DRV' (0x41360000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\WINEDOS.DLL' (0x415b0000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\RPCRT4.DLL' (0x41760000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\OLE32.DLL' (0x416f0000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\SHLWAPI.DLL' (0x417a0000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\COMCTL32.DLL' (0x417e0000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\SHELL32.DLL' (0x41670000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\WINSPOOL.DRV' (0x41880000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\COMDLG32.DLL' (0x415f0000) Unhandled exception: wait failed on critical section 0x400f33d8 (Win16Mutex in libntdll.dll.so) err:module:get_registry_value Invalid load order module-type L"so", ignored err:module:get_registry_value Invalid load order module-type L"so", ignored err:module:get_registry_value Invalid load order module-type L"so", ignored err:module:get_registry_value Invalid load order module-type L"so", ignored fixme:hook:SetWindowsHookEx16 hook type 6 broken in Win16 First chance exception: page fault on write access to 0x00000449 in 32-bit code (0x415bf95a). In 32-bit mode. 0x415bf95a (INT10_SetVideoMode+0x7a [int10.c:693] in winedos.dll.so): movb %al,0x49(%edx) 697 if (ptr->Depth == 0) Wine-dbg>
------- Additional Comments From lionel.ulmer <at> free.fr 2003-04-21 14:20 ------- Well, seeing the function where the crash is, we should rather try to understand why this 'ptr' is NULL in the 'INT10_SetVideoMode' function :-)