http://bugs.winehq.org/show_bug.cgi?id=34570
Bug #: 34570 Summary: Game crash because of improperly cloning MMIOINFO struct in MMIO_Open Product: Wine Version: 1.7.2 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winmm&mci AssignedTo: wine-bugs@winehq.org ReportedBy: jiashulu@gmail.com Classification: Unclassified
Created attachment 46023 --> http://bugs.winehq.org/attachment.cgi?id=46023 A quick fix
The game "Custom reido F" crashes on start.
The problem is that the whole adwInfo[] array in MMIOINFO struct is used by the game, but wine only clones adwInfo[0] in MMIO_Open. A quick fix is attached.
What is more, I checked MSDN: http://msdn.microsoft.com/en-us/library/windows/desktop/dd757322%28v=vs.85%2... and found that adwInfo[] array should have 4 elements instead of 3 in wine. This perhaps will cause problems in other programs. I am not sure which APIs are affected by this.
http://bugs.winehq.org/show_bug.cgi?id=34570
--- Comment #1 from jslu jiashulu@gmail.com 2013-09-22 04:31:05 CDT --- The adwInfo[] array should have 3 elements. MSDN is wrong.
http://bugs.winehq.org/show_bug.cgi?id=34570
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #2 from Dmitry Timoshkov dmitry@baikal.ru 2013-09-23 19:42:45 CDT --- Please send the patch to wine-patches: http://wiki.winehq.org/SubmittingPatches
http://bugs.winehq.org/show_bug.cgi?id=34570
--- Comment #3 from jslu jiashulu@gmail.com 2013-09-23 23:17:18 CDT --- Thanks for reminding me. I have sent the patch to wine-patches.
http://bugs.winehq.org/show_bug.cgi?id=34570
--- Comment #4 from Bruno Jesus 00cpxxx@gmail.com 2013-09-25 14:26:03 CDT --- Patch commited: http://source.winehq.org/git/wine.git/?a=commit;h=a0ed65f5937e6eb13f6b2b345d...
http://bugs.winehq.org/show_bug.cgi?id=34570
jslu jiashulu@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #5 from jslu jiashulu@gmail.com 2013-09-25 19:33:19 CDT --- Mark as fixed.
http://bugs.winehq.org/show_bug.cgi?id=34570
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |a0ed65f5937e6eb13f6b2b345d8 | |d27fbd4616c32
http://bugs.winehq.org/show_bug.cgi?id=34570
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org 2013-09-27 13:41:30 CDT --- Closing bugs fixed in 1.7.3.
http://bugs.winehq.org/show_bug.cgi?id=34570
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |1.6.x
http://bugs.winehq.org/show_bug.cgi?id=34570
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.6.x |---
--- Comment #7 from Alexandre Julliard julliard@winehq.org 2013-11-15 13:40:16 CST --- Removing 1.6.x milestone from bugs included in 1.6.1.