http://bugs.winehq.org/show_bug.cgi?id=22875
Summary: Touhou Unreal Mahjong crashes Product: Wine Version: unspecified Platform: x86 URL: http://mirror.studio-ramble.com/dna-s/thmj_trial_v0.40 .zip OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: leffeman@gmail.com
Created an attachment (id=28275) --> (http://bugs.winehq.org/attachment.cgi?id=28275) Regular Wine log.
The game crashes when characters have been selected.
The disassembly makes it look like this is font-related.
http://bugs.winehq.org/show_bug.cgi?id=22875
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
--- Comment #1 from Austin English austinenglish@gmail.com 2010-05-25 13:51:51 --- fixme:msvcrt:_setmbcp trail bytes data not available for DBCS codepage 0 - assuming all bytes fixme:msvcrt:_setmbcp trail bytes data not available for DBCS codepage 0 - assuming all bytes ... err:dinput:setup_dinput_options invalid joystick axis type: "None" err:dinput:setup_dinput_options invalid joystick axis type: "None" fixme:d3d:IWineD3DDeviceImpl_SetSoftwareVertexProcessing (0x135020) : stub wine: Unhandled division by zero at address 0x45a57c (thread 0009), starting debugger...
I'd start by trying native msvcrt and/or dinput (winetricks vcrun6 / winetricks dinput8).
http://bugs.winehq.org/show_bug.cgi?id=22875
--- Comment #2 from Philip Nilsson leffeman@gmail.com 2010-05-25 14:07:54 --- "winetricks vcrun6" didn't help, and the dinput lines are unrelated (registry settings to disable two axes).
http://bugs.winehq.org/show_bug.cgi?id=22875
--- Comment #3 from Dmitry Timoshkov dmitry@codeweavers.com 2010-05-26 02:08:42 --- Please specify the Wine version you are using.
http://bugs.winehq.org/show_bug.cgi?id=22875
--- Comment #4 from Philip Nilsson leffeman@gmail.com 2010-05-26 04:09:43 --- I'm running wine-1.2-rc1-51-gab11102.
By the way, the last function called before the crash is GetGlyphOutlineA, I can't remember if that is where the zero comes from though.
http://bugs.winehq.org/show_bug.cgi?id=22875
Anders Jonsson anders.jonsson@norsjonet.se changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |anders.jonsson@norsjonet.se
--- Comment #5 from Anders Jonsson anders.jonsson@norsjonet.se 2010-08-10 01:27:31 --- (In reply to comment #4)
last function called before the crash is GetGlyphOutlineA
Yes indeed. Applying the patch http://bugs.winehq.org/attachment.cgi?id=29846 from bug 20847 makes this game fully playable as well.
Anastasius Focht's analysis from that report: "The division by zero most likely results from returned GLYPHMETRICS params being zero (gmBlackBoxY = 0 and the like)."
Looks like this bug is a duplicate of bug 20847.
http://bugs.winehq.org/show_bug.cgi?id=22875
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |dank@kegel.com Resolution| |DUPLICATE
--- Comment #6 from Dan Kegel dank@kegel.com 2010-08-10 07:49:44 --- Right, then, marking duplicate.
*** This bug has been marked as a duplicate of bug 20847 ***
http://bugs.winehq.org/show_bug.cgi?id=22875
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Dan Kegel dank@kegel.com 2010-08-10 07:50:58 --- Closing.