https://bugs.winehq.org/show_bug.cgi?id=14764
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |focht@gmx.net Version|unspecified |1.0.1 Resolution|--- |WONTFIX
--- Comment #10 from Anastasius Focht focht@gmx.net --- Hello folks,
confirming.
It's an old Win 3.x/9x era game. The download is a self-extracting zip archive.
--- snip --- $ WINEDEBUG=+tid,+seh,+relay wine ./CSTORM.exe >>log.txt 2>&1 ... 0027:Call user32.CreateWindowExA(00000000,0046cad0 "CYBRID_GAMEWIND",0046c93c "CyberStorm ",018a0000,ffffffff,ffffffff,00000782,0000043a,00000000,00000000,00400000,00000000) ret=00448321 ... 0027:Ret user32.CreateWindowExA() retval=0002006e ret=00448321 0027:Call user32.GetDC(0002006e) ret=0044832e 0027:Call winex11.drv.GetDC(0004002b,0002006e,0002006e,0033fb68,0033fb58,00000014) ret=7ec67654 0027:Ret winex11.drv.GetDC() retval=00000001 ret=7ec67654 0027:Call winex11.drv.EnumDisplayMonitors(00000000,00000000,7ec768c0,0033fa8c) ret=7ec60255 0027:Ret winex11.drv.EnumDisplayMonitors() retval=00000001 ret=7ec60255 0027:Ret user32.GetDC() retval=0004002b ret=0044832e 0027:Call KERNEL32.GetVersion() ret=0044e1a8 0027:Ret KERNEL32.GetVersion() retval=0a280105 ret=0044e1a8 0027:Call user32.GetDC(0002006e) ret=0044e584 0027:Ret user32.GetDC() retval=0004002b ret=0044e584 0027:Call gdi32.GetSystemPaletteEntries(0004002b,00000000,00000100,0033f884) ret=0044e5f5 0027:Ret gdi32.GetSystemPaletteEntries() retval=00000000 ret=0044e5f5 ... 0027:Call user32.MessageBeep(00000000) ret=0044afd5 ... 0027:Ret user32.MessageBeep() retval=00000001 ret=0044afd5 0027:Call user32.MessageBoxA(0002006e,0033f034 "GFXCDSSurface::create: Failed to create a surface.\r\n\r\nProgram: CyberStorm\r\nVersion: 0.00 , Win95 Jul 05 1996\r\nFile: graph\gfx\g_cds.c (#114)\r\n\r\n------------------------------------------------------------------------------------------------------\r\nThis problem prevents CyberStorm fro"...,004580f0 "Problem!",00002000) ret=0044aff2 ... 0027:trace:seh:raise_exception code=c0000005 flags=0 addr=0x4487ce ip=004487ce tid=0027 0027:trace:seh:raise_exception info[0]=00000000 0027:trace:seh:raise_exception info[1]=00000004 0027:trace:seh:raise_exception eax=00000000 ebx=004bf86c ecx=ffff00ee edx=00340020 esi=0002006e edi=00000782 0027:trace:seh:raise_exception ebp=00000001 esp=0033fc98 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00010206 0027:trace:seh:call_stack_handlers calling handler at 0x45161a code=c0000005 flags=0 ... 0027:Call user32.MessageBoxExA(00000000,0033f660 "The instruction at 004487ce referenced memory at 00000004\nThe memory could not be read from\n\nClick on OK to terminate the application",0033f548 "Application Error: Z:\home\focht\Downloads\CSTORM.exe",00002010,00000000) ret=0045197f ... 0027:Ret user32.MessageBoxExA() retval=00000001 ret=0045197f 0027:trace:seh:call_stack_handlers handler at 0x45161a returned 1 0027:trace:seh:call_stack_handlers calling handler at 0x7bc9e4cb code=c0000005 flags=0 0027:Call KERNEL32.UnhandledExceptionFilter(0033f764) ret=7bc9e505 wine: Unhandled page fault on read access to 0x00000004 at address 0x4487ce (thread 0027), starting debugger... 0027:trace:seh:start_debugger Starting debugger "winedbg --auto 38 128" 0027:Ret KERNEL32.UnhandledExceptionFilter() retval=00000000 ret=7bc9e505 0027:trace:seh:call_stack_handlers handler at 0x7bc9e4cb returned 1 Unhandled exception: page fault on read access to 0x00000004 in 32-bit code (0x004487ce). Register dump: CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b EIP:004487ce ESP:0033fc98 EBP:00000001 EFLAGS:00010206( R- -- I - -P- ) EAX:00000000 EBX:004bf86c ECX:ffff00ee EDX:00340020 ESI:0002006e EDI:00000782 ... Backtrace: =>0 0x004487ce in cstorm (+0x487ce) (0x00000001) 0x004487ce: movl 0x4(%eax),%eax Modules: Module Address Debug info Name (51 modules) PE 400000- 4cb000 Export cstorm ... Threads: process tid prio (all id:s are in hex) ... 00000026 (D) Z:\home\focht\Downloads\CSTORM.exe 00000027 0 <== --- snip ---
The crash after dismissing the first error is the result of crappy error handling.
The behaviour of 'GetSystemPaletteEntries' failing here is correct for modern Windows OS. I doubt that you will get this game to run even in Windows compat mode, it's too old. Resolving 'wontfix'.
$ sha1sum mfcsdemo.exe 29dff8ca4aa5a8e23ac0074b01e32669e85748c3 mfcsdemo.exe
$ du -sh mfcsdemo.exe 3.7M mfcsdemo.exe
$ wine --version wine-1.7.30-112-g5d17f9b
Regards