http://bugs.winehq.org/show_bug.cgi?id=14764
Summary: MissionForce Cyberstorm demo crashes on startup Product: Wine Version: CVS/GIT Platform: PC URL: http://www.fileplanet.com/11494/10000/fileinfo/MissionFo rce:-CyberStorm OS/Version: Linux Status: NEW Keywords: download Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: austinenglish@gmail.com
Created an attachment (id=15274) --> (http://bugs.winehq.org/attachment.cgi?id=15274) +relay,+seh,+tid
Crashes on startup. +relay,+seh,+tid attached
http://bugs.winehq.org/show_bug.cgi?id=14764
--- Comment #1 from Lei Zhang thestig@google.com 2008-08-05 12:43:33 --- Do you get the messagebox saying "failed to create a surface" ?
For me, I basically get the same behavior as the full version. Except when GetSystemPaletteEntries() returns 256, it starts up because there's no intro movie.
http://bugs.winehq.org/show_bug.cgi?id=14764
--- Comment #2 from Austin English austinenglish@gmail.com 2008-08-05 13:02:21 --- (In reply to comment #1)
Do you get the messagebox saying "failed to create a surface" ?
Yeah, seems the app catches the crash itself...
http://bugs.winehq.org/show_bug.cgi?id=14764
--- Comment #3 from Austin English austinenglish@gmail.com 2009-01-13 23:03:22 --- Still present in git.
http://bugs.winehq.org/show_bug.cgi?id=14764
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified
--- Comment #4 from Austin English austinenglish@gmail.com 2009-01-20 02:39:41 --- Removing deprecated CVS/GIT version tag. Please retest in current git. If the bug is still present in today's wine, but was not present in some earlier version of wine, please update version field to earliest known version of wine that had the bug. Thanks!
http://bugs.winehq.org/show_bug.cgi?id=14764
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|MissionForce Cyberstorm |MissionForce Cyberstorm |demo crashes on startup |demo crashes on startup, | |'fails to create surface'
--- Comment #5 from Austin English austinenglish@gmail.com 2010-07-14 23:22:48 --- Still present in 1.2-rc7.
http://bugs.winehq.org/show_bug.cgi?id=14764
butraxz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |butraxz@gmail.com
--- Comment #6 from butraxz@gmail.com 2012-05-18 05:39:26 CDT --- This bug has not been updated for two years. Is this still an issue i current (1.5.4) or newer wine ? You may also close this as abandoned if you feel that that this is issue is no longer relevant to you.
http://bugs.winehq.org/show_bug.cgi?id=14764
--- Comment #7 from Austin English austinenglish@gmail.com 2012-05-22 17:22:59 CDT --- (In reply to comment #6)
This bug has not been updated for two years. Is this still an issue i current (1.5.4) or newer wine ? You may also close this as abandoned if you feel that that this is issue is no longer relevant to you.
austin@aw25 ~ $ sha1sum mfcsdemo.exe 29dff8ca4aa5a8e23ac0074b01e32669e85748c3 mfcsdemo.exe
wine-1.5.4-185-g6c51c1b
yes
http://bugs.winehq.org/show_bug.cgi?id=14764
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.fileplanet.com/1 |http://www.fileplanet.com/1 |1494/10000/fileinfo/Mission |1494/10000/fileinfo/Mission |Force:-CyberStorm |Force:-CyberStorm-Demo CC| |00cpxxx@gmail.com
--- Comment #8 from Bruno Jesus 00cpxxx@gmail.com 2013-06-13 20:13:13 CDT --- Still in wine 1.6-rc1, same sha1 from previous comment.
https://bugs.winehq.org/show_bug.cgi?id=14764
roger@mailinator.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |roger@mailinator.com
--- Comment #9 from roger@mailinator.com --- could you retest with more recent wine?
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
https://bugs.winehq.org/show_bug.cgi?id=14764
--- Comment #11 from Bruno Jesus 00cpxxx@gmail.com --- (In reply to Anastasius Focht from comment #10)
I doubt that you will get this game to run even in Windows compat mode, it's too old. Resolving 'wontfix'.
Indeed, it does not run in XP even in compat mode.
https://bugs.winehq.org/show_bug.cgi?id=14764
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Austin English austinenglish@gmail.com --- Closing.