https://bugs.winehq.org/show_bug.cgi?id=43475
Bug ID: 43475 Summary: XM6 TypeG crashes on startup. Product: Wine Version: 2.13 Hardware: x86 URL: http://www.geocities.jp/kugimoto0715/xm6g/xm6_typeg_33 0L35_20170223.zip OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: msvcrt Assignee: wine-bugs@winehq.org Reporter: sagawa.aki+winebugs@gmail.com Distribution: Ubuntu
Created attachment 58857 --> https://bugs.winehq.org/attachment.cgi?id=58857 backtrace.txt
XM6 TypeG (SHARP X68000 emulator) crashes on startup with following instructions.
How to reproduce: 1. Download XM6 TypeG version 3.30 L35 from author's page, i.e. http://www.geocities.jp/kugimoto0715/xm6g/xm6_typeg_330L35_20170223.zip (SHA1:ed1b91938ba8ae5f39e1cac9445b8d2740518466) 2. Extract the zip archive. 3. Prepare IPLROM.DAT and CGROM.DAT (or CGROM.TMP) from somewhere and put them to x86 directory. 4. Run xm6g.exe in x86 directory.
Console output shows "Unhandled exception: 0xc0000417 in 32-bit code (0x7b43c5ac)". See the attachment for details.
https://bugs.winehq.org/show_bug.cgi?id=43475
--- Comment #1 from Sagawa sagawa.aki+winebugs@gmail.com --- Created attachment 58858 --> https://bugs.winehq.org/attachment.cgi?id=58858 proposed patch
My inspection shows that this issue caused by mbstowcs(). When the second argument is empty (""), the function doesn't work well.
I attach a proposed patch.
https://bugs.winehq.org/show_bug.cgi?id=43475
Sagawa sagawa.aki+winebugs@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, patch
https://bugs.winehq.org/show_bug.cgi?id=43475
Sagawa sagawa.aki+winebugs@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED Regression SHA1| |967fb744e4af99b61e6af9a7c2d | |dde4640b54ebf
--- Comment #2 from Sagawa sagawa.aki+winebugs@gmail.com --- The patch is committed as 967fb744e4af99b61e6af9a7c2ddde4640b54ebf.
https://bugs.winehq.org/show_bug.cgi?id=43475
Sagawa sagawa.aki+winebugs@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |967fb744e4af99b61e6af9a7c2d | |dde4640b54ebf Regression SHA1|967fb744e4af99b61e6af9a7c2d | |dde4640b54ebf |
https://bugs.winehq.org/show_bug.cgi?id=43475
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 2.15.
https://bugs.winehq.org/show_bug.cgi?id=43475
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.0.x
https://bugs.winehq.org/show_bug.cgi?id=43475
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|2.0.x |---
--- Comment #4 from Michael Stefaniuc mstefani@winehq.org --- Removing the 2.0.x milestone from bugs included in 2.0.4.