http://bugs.winehq.org/show_bug.cgi?id=35477
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Summary|Epsilon demo crashes on |'epsilon' 64K demo/intro by |start up |mercury crashes on start up
--- Comment #3 from Anastasius Focht focht@gmx.net --- Hello Artem,
please avoid attaching complete demos (even if they are small). Demoscene stuff will never go away - unlike many companies/app downloads :)
The 64k demo works fine for me here.
--- snip --- wine: Unhandled exception 0x80000003 in thread 30 at address 0x404e02 (thread 0030), starting debugger... --- snip ---
I debugged the app to find the place where the assertion is triggered. One has to use hardware breakpoints (early softbp get corrupted by unpacker code) or use breakpoints on win32 API such as GetProcAddress/LoadLibraryA to set softbp later on unpacked section.
The demo unwraps itself and finally the code can be seen:
--- snip --- ... 00404DBE 8B0D 8483E312 MOV ECX,DWORD PTR DS:[12E38384] 00404DC4 68 08000200 PUSH 20008 00404DC9 33C0 XOR EAX,EAX 00404DCB 50 PUSH EAX 00404DCC 51 PUSH ECX 00404DCD 8D55 EC LEA EDX,[EBP-14] 00404DD0 52 PUSH EDX 00404DD1 6A FF PUSH -1 00404DD3 68 7C83E312 PUSH 12E3837C 00404DD8 C745 EC 0300020 MOV DWORD PTR SS:[EBP-14],20003 00404DDF C745 F0 0077010 MOV DWORD PTR SS:[EBP-10],17700 00404DE6 C745 F4 00B80B0 MOV DWORD PTR SS:[EBP-0C],0BB800 00404DED C745 F8 0800200 MOV DWORD PTR SS:[EBP-8],200008 00404DF4 66:8945 FC MOV WORD PTR SS:[EBP-4],AX 00404DF8 FF15 7C114100 CALL DWORD PTR DS:[41117C] ; winmm.waveOutOpen 00404DFE 85C0 TEST EAX,EAX 00404E00 74 01 JE SHORT 00404E03 00404E02 CC INT3 00404E03 A1 7C83E312 MOV EAX,DWORD PTR DS:[12E3837C] 00404E08 50 PUSH EAX 00404E09 FF15 90114100 CALL DWORD PTR DS:[411190] ; winmm.waveOutPause 00404E0F 85C0 TEST EAX,EAX 00404E11 74 01 JE SHORT 00404E14 00404E13 CC INT3
... 00411174 00000000 00411178 F6D3142D ; winmm.waveOutPrepareHeader 0041117C F6D3112B ; winmm.waveOutOpen 00411180 F6D314E4 ; winmm.waveOutUnprepareHeader 00411184 F6D3199C ; winmm.waveOutReset 00411188 F6D31A17 ; winmm.waveOutRestart 0041118C F6D31AE7 ; winmm.waveOutGetPosition 00411190 F6D31921 ; winmm.waveOutPause 00411194 F6D315AF ; winmm.waveOutWrite 00411198 F6D31308 ; winmm.waveOutClose 0041119C 00000000 ... --- snip ---
Looks like your audio system is not properly configured. You could check with WINEDEBUG=+winmm
$ sha1sum mercury-epsilon-final-2012-01-13.zip 52b5fc71b71350091a496771e272c5215db1087d mercury-epsilon-final-2012-01-13.zip
$ du -sh mercury-epsilon-final-2012-01-13.zip 48K mercury-epsilon-final-2012-01-13.zip
$ wine --version wine-1.7.11-206-g82b3813
Regards