http://bugs.winehq.org/show_bug.cgi?id=34314
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Status|UNCONFIRMED |NEW URL| |http://www.geocities.co.jp/ | |SiliconValley-Oakland/9951/ | |products/th_dnh.html CC| |focht@gmx.net Component|-unknown |directx-dmusic Summary|Touhou Danmakufu 0.12m |Touhou Danmakufu 0.12m |crashes on start |crashes on start | |(DMUSIC_CreateMidiOutPortIm | |pl is a stub) Ever Confirmed|0 |1
--- Comment #7 from Anastasius Focht focht@gmx.net 2013-08-25 06:43:11 CDT --- Hello folks,
the issue has nothing to with locale settings. The problem is DMUSIC_CreateMidiOutPortImpl being a stub. The game code doesn't check HRESULT, accessing (deref) port_caps param directly.
--- snip --- $ WINEDEBUG=+tid,+seh,+relay,+dmusic wine ./th_dnh.exe >>log.txt 2>&1 ... 0025:trace:dmusic:IDirectMusic8Impl_EnumPort (0x16f208, 0, 0x33c790) 0025:trace:dmusic:IDirectMusic8Impl_CreatePort (0x16f208)->(IID_IClassFactory, 0x33c6fc, 0x33c6c0, (nil)) 0025:trace:dmusic:dump_DMUS_PORTPARAMS DMUS_PORTPARAMS (0x33c6fc): 0025:trace:dmusic:dump_DMUS_PORTPARAMS - dwSize = 36 0025:trace:dmusic:dump_DMUS_PORTPARAMS - dwValidParams = DMUS_PORTPARAMS_CHANNELGROUPS 0025:trace:dmusic:dump_DMUS_PORTPARAMS - dwChannelGroup = 1 0025:trace:dmusic:IDirectMusic8Impl_EnumPort (0x16f208, 0, 0x33c51c) 0025:trace:dmusic:DMUSIC_CreateMidiOutPortImpl (0x7ce572b0,0x33c518,0x16f208,0x33c6fc,0x33c51c,-1): stub 0025:trace:seh:raise_exception code=c0000005 flags=0 addr=0x41ec8d ip=0041ec8d tid=0025 0025:trace:seh:raise_exception info[0]=00000000 0025:trace:seh:raise_exception info[1]=00000000 0025:trace:seh:raise_exception eax=00000000 ebx=00000000 ecx=0033c694 edx=7bce4788 esi=00000000 edi=0033c9fc 0025:trace:seh:raise_exception ebp=0067bca8 esp=0033c6a8 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00010282 0025:trace:seh:call_stack_handlers calling handler at 0x51a71b code=c0000005 flags=0 0025:trace:seh:call_stack_handlers handler at 0x51a71b returned 1 0025:trace:seh:call_stack_handlers calling handler at 0x51a762 code=c0000005 flags=0 0025:trace:seh:call_stack_handlers handler at 0x51a762 returned 1 0025:trace:seh:call_stack_handlers calling handler at 0x4f702c code=c0000005 flags=0 ... --- snip ---
$ wine --version wine-1.7.0-179-gb2159c8
$ du -sh th_dnh.zip 3.8M th_dnh.zip
$ sha1sum th_dnh.zip 5109accd2b7bb2fd127638f2b4637ffa03a60aa7 th_dnh.zip
Regards