https://bugs.winehq.org/show_bug.cgi?id=44635
Bug ID: 44635 Summary: Gray Matter: Crash on new game start Product: Wine Version: 3.2 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: sa@whiz.se Distribution: ---
Created attachment 60627 --> https://bugs.winehq.org/attachment.cgi?id=60627 crash log
The game Gray Matter (the version from GOG) crashes when a new game is started.
The last message from Wine is 03b:fixme:d3dx:ID3DXEffectImpl_CloneEffect (0x47f5360)->(0x17be28, 0x5f74420): stub
This is a regression of some sort. The game runs with staging 2.21 (in fact I completed the entire game with this version).
The game does not start with vanilla Wine 2.21. If Appdb is to be believed the game was playable back in 1.9.14, but building older Wine releases is troublesome so I haven't been able to bisect:
Error: Cannot open face courier.ttf Makefile:172: recipe for target 'coue1255.fon' failed make[1]: *** [coue1255.fon] Error 1
The game requires the following winetricks: mdx xact d3dcompiler_43.
Bug filed against 3.2 but tried against wine-3.2-256-g7b62a970e9.
https://bugs.winehq.org/show_bug.cgi?id=44635
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |STAGED Summary|Gray Matter: Crash on new |Gray Matter requires |game start |ID3DXEffect CloneEffect to | |be implemented Staged patchset| |https://github.com/wine-sta | |ging/wine-staging/tree/mast | |er/patches/d3dx9_36-CloneEf | |fect CC| |leslie_alistair@hotmail.com
--- Comment #1 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- (In reply to Sven Arvidsson from comment #0)
Created attachment 60627 [details] crash log
The last message from Wine is 03b:fixme:d3dx:ID3DXEffectImpl_CloneEffect (0x47f5360)->(0x17be28, 0x5f74420): stub
This is a regression of some sort. The game runs with staging 2.21 (in fact I completed the entire game with this version).
Not a regression. Staging has a hack for this function which allows it to go further.
https://bugs.winehq.org/show_bug.cgi?id=44635
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com Component|-unknown |directx-d3dx9
https://bugs.winehq.org/show_bug.cgi?id=44635
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wylda@volny.cz
--- Comment #2 from Wylda wylda@volny.cz --- *** Bug 44771 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=44635
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Gray Matter requires |Multiple games need |ID3DXEffect CloneEffect to |ID3DXEffect CloneEffect |be implemented |(Gray Matter, Black and | |White 2)
https://bugs.winehq.org/show_bug.cgi?id=44635
andy andy86@fastwebnet.it changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |andy86@fastwebnet.it
--- Comment #3 from andy andy86@fastwebnet.it --- For me, playing from save game made in wine staging 2.21, gray matter random crash while loading new room, playable with enough patience.
https://bugs.winehq.org/show_bug.cgi?id=44635
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Keywords| |download URL| |https://web.archive.org/web | |/20210630170947/https://dl. | |4players.de/f1/pc/dtp/GrayM | |atter-DEMO_efigs.exe
--- Comment #4 from Anastasius Focht focht@gmx.net --- Hello folks,
adding stable download link to Gray Matter demo via Internet Archive:
https://web.archive.org/web/20210630170947/https://dl.4players.de/f1/pc/dtp/...
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files (x86)/Gray Matter - DEMO
$ WINEDEBUG=+seh,+relay,+d3d,+d3dx wine ./Game.exe >>log.txt 2>&1 ... 0198:Call d3dx9_43.D3DXCreateEffect(0029b5b0,03f39498,0000076f,00000000,011cf440,00000002,00000000,03f359f0,011cf4ac) ret=00672dfe 0198:trace:d3dx:D3DXCreateEffect (0029B5B0, 03F39498, 1903, 00000000, 011CF440, 0x2, 00000000, 03F359F0, 011CF4AC): Forwarded to D3DXCreateEffectEx 0198:trace:d3dx:D3DXCreateEffectEx device 0029B5B0, srcdata 03F39498, srcdatalen 1903, defines 00000000, include 011CF440, skip_constants 00000000, flags 0x2, pool 00000000, effect 03F359F0, compilation_errors 011CF4AC. ... 0198:trace:d3dx:d3dx9_effect_init effect 03A13920, device 0029B5B0, data 03F39498, data_size 1903, defines 00000000, include 011CF440, eflags 0x2, errors 011CF4AC, pool 00000000, skip_constants (null). 0198:trace:d3dx:d3dx9_effect_init Tag: a0d2a2f 0198:trace:d3dx:d3dx9_effect_init HLSL ASCII effect, trying to compile it. 0198:Call d3dcompiler_47.D3DCompile(03f39498,0000076f,00000000,00000000,011cf440,00000000,0183c663 "fx_2_0",00000000,00000002,011cf238,011cf228) ret=017e7316 ... 0198:fixme:d3dcompiler:compile_shader Compilation target "fx_2_0" not yet supported ... 0198:Ret d3dcompiler_47.D3DCompile() retval=8876086c ret=017e7316 0198:warn:d3dx:d3dx9_effect_init Failed to compile ASCII effect. 0198:warn:d3dx:D3DXCreateEffectEx Failed to create effect object, hr 0x8876086c. 0198:trace:d3dx:d3dx_effect_cleanup effect 03A13920. ... 0198:Ret d3dx9_43.D3DXCreateEffect() retval=8876086c ret=00672dfe ... 0198:trace:seh:dispatch_exception code=c0000005 flags=0 addr=0043E5C2 ip=0043e5c2 tid=0198 0198:trace:seh:dispatch_exception info[0]=00000000 0198:trace:seh:dispatch_exception info[1]=203d2064 0198:warn:seh:dispatch_exception EXCEPTION_ACCESS_VIOLATION exception (code=c0000005) raised 0198:trace:seh:dispatch_exception eax=03f35978 ebx=00000001 ecx=203d2064 edx=203d2064 esi=00000000 edi=fffffffe 0198:trace:seh:dispatch_exception ebp=011cf584 esp=011cf578 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00210202 0198:trace:seh:call_stack_handlers calling handler at 0072BCBF code=c0000005 flags=0 ... wine: Unhandled page fault on read access to 203D2064 at address 0043E5C2 (thread 0198), starting debugger... --- snip ---
-> 'winetricks -q d3dcompiler_47'
--- snip --- $ WINEDEBUG=+seh,+relay,+xact3 wine ./Game.exe >>log.txt 2>&1 ... 059c:trace:xact3:DllMain (0x7bce0000, 1, (nil)) 059c:trace:xact3:DllMain Using FAudio version 201200 059c:trace:xact3:DllGetClassObject ({bcc782bc-6492-4c22-8c35-f5d72fe73c6e}, {00000001-0000-0000-c000-000000000046}, 0x11cf6d8) 059c:trace:xact3:XACT3CF_CreateInstance (0x7bcef620)->((nil),{b1ee676a-d9cd-4d2a-89a8-fa53eb9e480b},0x11cf6d4) 059c:trace:xact3:IXACT3EngineImpl_QueryInterface (0x2ae150)->({b1ee676a-d9cd-4d2a-89a8-fa53eb9e480b}, 0x11cf6d4) 059c:trace:xact3:IXACT3EngineImpl_AddRef (0x2ae150)->(): Refcount now 2 059c:trace:xact3:IXACT3EngineImpl_Initialize (0x2ae150)->(0x11cf76c) 059c:trace:xact3:IXACT3EngineImpl_RegisterNotification (0x2ae150)->(0x11cf7fc) 059c:trace:xact3:unwrap_notificationdesc Type 17 059c:trace:xact3:IXACT3EngineImpl_RegisterNotification (0x2ae150)->(0x11cf7fc) 059c:trace:xact3:unwrap_notificationdesc Type 18 059c:trace:xact3:IXACT3EngineImpl_RegisterNotification (0x2ae150)->(0x11cf7fc) 059c:trace:xact3:unwrap_notificationdesc Type 6 059c:trace:xact3:IXACT3EngineImpl_RegisterNotification (0x2ae150)->(0x11cf7fc) 059c:trace:xact3:unwrap_notificationdesc Type 3 059c:trace:xact3:IXACT3EngineImpl_RegisterNotification (0x2ae150)->(0x11cf7fc) 059c:trace:xact3:unwrap_notificationdesc Type 1 059c:trace:xact3:IXACT3EngineImpl_RegisterNotification (0x2ae150)->(0x11cf7fc) 059c:trace:xact3:unwrap_notificationdesc Type 14 059c:trace:xact3:IXACT3EngineImpl_GetCategory (0x2ae150)->(Dialog) 059c:trace:xact3:IXACT3EngineImpl_SetVolume (0x2ae150)->(3, 2.000000) 059c:trace:xact3:IXACT3EngineImpl_GetCategory (0x2ae150)->(Default) 059c:trace:xact3:IXACT3EngineImpl_SetVolume (0x2ae150)->(1, 2.000000) 059c:trace:xact3:IXACT3EngineImpl_GetCategory (0x2ae150)->(Music) 059c:trace:xact3:IXACT3EngineImpl_SetVolume (0x2ae150)->(2, 2.000000) 059c:trace:xact3:IXACT3EngineImpl_DoWork (0x2ae150) ... 059c:trace:xact3:IXACT3EngineImpl_DoWork (0x2ae150) 059c:trace:xact3:IXACT3EngineImpl_GetCategory (0x2ae150)->(Dialog) 059c:trace:xact3:IXACT3EngineImpl_SetVolume (0x2ae150)->(3, 2.000000) 059c:trace:xact3:IXACT3EngineImpl_GetCategory (0x2ae150)->(Default) 059c:trace:xact3:IXACT3EngineImpl_SetVolume (0x2ae150)->(1, 2.000000) 059c:trace:xact3:IXACT3EngineImpl_GetCategory (0x2ae150)->(Music) 059c:trace:xact3:IXACT3EngineImpl_SetVolume (0x2ae150)->(2, 2.000000) 059c:trace:xact3:IXACT3EngineImpl_DoWork (0x2ae150) 059c:trace:xact3:IXACT3EngineImpl_DoWork (0x2ae150) 059c:trace:xact3:IXACT3EngineImpl_DoWork (0x2ae150) 059c:trace:xact3:IXACT3EngineImpl_DoWork (0x2ae150) 059c:trace:xact3:IXACT3EngineImpl_DoWork (0x2ae150) 059c:trace:xact3:IXACT3EngineImpl_CreateStreamingWaveBank (0x2ae150)->(0x11cfb10, 0x8ad3df8) 059c:trace:xact3:IXACT3EngineImpl_CreateStreamingWaveBank Created streaming WaveBank: 0x7a38330 059c:trace:xact3:IXACT3EngineImpl_DoWork (0x2ae150) 059c:trace:xact3:IXACT3WaveBankImpl_GetState (0x7a38330)->(0x11cfb0c) 059c:trace:xact3:IXACT3EngineImpl_CreateSoundBank (0x2ae150)->(0x8ad68d8, 5035, 0x0, 0x0, 0x8ad3e2c): stub! 059c:trace:xact3:IXACT3EngineImpl_CreateSoundBank Created SoundBank: 0x7aa8c70 059c:trace:xact3:IXACT3EngineImpl_CreateInMemoryWaveBank (0x2ae150)->(0x93a0000, 3526884, 0x0, 0x0, 0x8ad3ea0) 059c:trace:xact3:IXACT3EngineImpl_CreateInMemoryWaveBank Created in-memory WaveBank: 0x7aab420 059c:trace:xact3:IXACT3EngineImpl_CreateSoundBank (0x2ae150)->(0x8ad7c90, 9466, 0x0, 0x0, 0x8ad3f14): stub! 059c:trace:xact3:IXACT3EngineImpl_CreateSoundBank Created SoundBank: 0x7aafb78 059c:trace:xact3:IXACT3EngineImpl_CreateSoundBank (0x2ae150)->(0x8ad3ff8, 497, 0x0, 0x0, 0x8ad3fe4): stub! 059c:trace:xact3:IXACT3EngineImpl_CreateSoundBank Created SoundBank: 0x8cf14a0 059c:trace:xact3:IXACT3EngineImpl_CreateInMemoryWaveBank (0x2ae150)->(0x4370000, 40628, 0x0, 0x0, 0x8ad4218) 059c:trace:xact3:IXACT3EngineImpl_CreateInMemoryWaveBank Created in-memory WaveBank: 0x8cf1728 059c:trace:xact3:IXACT3EngineImpl_DoWork (0x2ae150) ... 059c:trace:xact3:IXACT3EngineImpl_DoWork (0x2ae150) 059c:trace:xact3:IXACT3EngineImpl_CreateSoundBank (0x2ae150)->(0xa35be28, 20341, 0x0, 0x0, 0xa35a79c): stub! 059c:trace:xact3:IXACT3EngineImpl_CreateSoundBank Created SoundBank: 0x8d03838 059c:trace:xact3:IXACT3EngineImpl_CreateStreamingWaveBank (0x2ae150)->(0x11cf9b4, 0xa35a8b8) 059c:trace:xact3:IXACT3EngineImpl_CreateStreamingWaveBank Created streaming WaveBank: 0x8d1b8f8 059c:trace:xact3:IXACT3EngineImpl_DoWork (0x2ae150) 059c:trace:xact3:IXACT3WaveBankImpl_GetState (0x8d1b8f8)->(0x11cf9b0) 059c:trace:xact3:IXACT3EngineImpl_DoWork (0x2ae150) ... 059c:trace:xact3:IXACT3EngineImpl_DoWork (0x2ae150) 059c:trace:xact3:IXACT3SoundBankImpl_Play (0x7aa8c70)->(36, 0x0, 0, 0x11cfa18) 059c:trace:xact3:IXACT3EngineImpl_DoWork (0x2ae150) ... 059c:trace:xact3:IXACT3EngineImpl_DoWork (0x2ae150) 059c:trace:xact3:IXACT3SoundBankImpl_Play (0x8cf14a0)->(3, 0x0, 0, 0x11cfab8) 059c:trace:xact3:IXACT3EngineImpl_DoWork (0x2ae150) ... 059c:trace:xact3:IXACT3EngineImpl_DoWork (0x2ae150) 059c:trace:xact3:IXACT3SoundBankImpl_Play (0x8cf14a0)->(3, 0x0, 0, 0x11cfab8) 059c:trace:xact3:IXACT3EngineImpl_DoWork (0x2ae150) 059c:trace:xact3:IXACT3EngineImpl_DoWork (0x2ae150) 059c:trace:xact3:IXACT3EngineImpl_DoWork (0x2ae150) ... 059c:fixme:xact3:fact_notification_cb Unsupported callback type 14 ... 059c:trace:seh:handle_syscall_fault code=c0000005 flags=0 addr=0xf7cf6b4d ip=f7cf6b4d tid=059c 059c:trace:seh:handle_syscall_fault info[0]=00000000 059c:trace:seh:handle_syscall_fault info[1]=fffffffe 059c:trace:seh:handle_syscall_fault eax=00000056 ebx=f7d5a118 ecx=00000000 edx=00000000 esi=6e671d24 edi=011efc78 059c:trace:seh:handle_syscall_fault ebp=00000002 esp=011efc40 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00210206 059c:trace:seh:handle_syscall_fault returning to user mode ip=7bc0c89c ret=c0000005 059c:trace:seh:dispatch_exception code=c0000005 flags=0 addr=7BBFEE00 ip=7bbfee00 tid=059c 059c:trace:seh:dispatch_exception info[0]=00000000 059c:trace:seh:dispatch_exception info[1]=7bbfee00 059c:warn:seh:dispatch_exception EXCEPTION_ACCESS_VIOLATION exception (code=c0000005) raised 059c:trace:seh:dispatch_exception eax=0000001e ebx=00000000 ecx=7bc0c89c edx=00000000 esi=6e6721fc edi=6e6721ec 059c:trace:seh:dispatch_exception ebp=f7e3533d esp=6e672198 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00210212 059c:trace:seh:call_stack_handlers calling handler at 00723713 code=c0000005 flags=0 ... wine: Unhandled page fault on read access to 7BBFEE00 at address 7BBFEE00 (thread 059c), starting debugger... ... Segmentation fault (core dumped) --- snip ---
-> 'winetricks -q xact' -> WINEDLLOVERRIDES='xactengine3_7=n' (not overridden by winetricks recipe)
--- snip --- ... 0124:fixme:d3dx:d3dx_effect_CloneEffect iface 08BCFC08, device 002AF240, new_effect 0B486788 stub. 0124:Call ntdll.RtlAllocateHeap(043b0000,00000000,00000020) ret=00526324 0124:Ret ntdll.RtlAllocateHeap() retval=0b486878 ret=00526324 0124:trace:seh:dispatch_exception code=c0000005 flags=0 addr=0043E400 ip=0043e400 tid=0124 0124:trace:seh:dispatch_exception info[0]=00000000 0124:trace:seh:dispatch_exception info[1]=2c657572 0124:warn:seh:dispatch_exception EXCEPTION_ACCESS_VIOLATION exception (code=c0000005) raised 0124:trace:seh:dispatch_exception eax=0b486710 ebx=09a74bd0 ecx=2c657572 edx=2c657572 esi=09a74bd0 edi=00000000 0124:trace:seh:dispatch_exception ebp=011ce730 esp=011ce724 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00010206 0124:trace:seh:call_stack_handlers calling handler at 00723653 code=c0000005 flags=0 ... wine: Unhandled page fault on read access to 2C657572 at address 0043E400 (thread 0124), starting debugger... --- snip ---
$ sha1sum GrayMatter-DEMO_efigs.exe 680f86a2502a0853392bf4b821c4cfa3afa2ac70 GrayMatter-DEMO_efigs.exe
$ du -sh GrayMatter-DEMO_efigs.exe 1.7G GrayMatter-DEMO_efigs.exe
$ wine --version wine-6.11
Regards
https://bugs.winehq.org/show_bug.cgi?id=44635
andy andy86@fastwebnet.it changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|andy86@fastwebnet.it |
https://bugs.winehq.org/show_bug.cgi?id=44635
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |cfb1d2058fb47ff3f72501e0aaf | |35b97ea128036 Status|STAGED |RESOLVED Resolution|--- |FIXED
--- Comment #5 from Zebediah Figura z.figura12@gmail.com --- Fixed by https://source.winehq.org/git/wine.git/commitdiff/cfb1d2058fb47ff3f72501e0aaf35b97ea128036.
https://bugs.winehq.org/show_bug.cgi?id=44635
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 7.3.