[Bug 53941] New: Chicken Tournament crashes on start
https://bugs.winehq.org/show_bug.cgi?id=53941 Bug ID: 53941 Summary: Chicken Tournament crashes on start Product: Wine Version: 7.20 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: dmusic Assignee: wine-bugs(a)winehq.org Reporter: dark.shadow4(a)web.de Distribution: --- Created attachment 73511 --> https://bugs.winehq.org/attachment.cgi?id=73511 Log file Other issue with directmusic not being implemented completely. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=53941 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source URL| |http://www.saschahlusiak.de | |/downloads/ct.zip --- Comment #1 from Fabian Maurer <dark.shadow4(a)web.de> --- Source is available at https://github.com/shlusiak/Chicken-Tournament Works with "winetricks gmdls directmusic" -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=53941 Michael Stefaniuc <mstefani(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |mstefani(a)winehq.org --- Comment #2 from Michael Stefaniuc <mstefani(a)winehq.org> --- Fails to load then crashes in style_track_Release(): IDirectMusicStyle8_Release(item->pObject); The attached patch fixes the crash but it is more a workaround. The proper fix is to rewrite the IPersistStream_Load() for the StyleTrack. And then the game is hitting 0024:fixme:dmcompos:IDirectMusicComposerImpl_ComposeSegmentFromTemplate (0801EFB8, 0067D968, 08030240, 1, 0067E138, 039E1078): stub and crashes in application code straight after that. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=53941 --- Comment #3 from Michael Stefaniuc <mstefani(a)winehq.org> --- Created attachment 73561 --> https://bugs.winehq.org/attachment.cgi?id=73561 Fix for first crash -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=53941 Michael Stefaniuc <mstefani(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|wine-bugs(a)winehq.org |mstefani(a)winehq.org --- Comment #4 from Michael Stefaniuc <mstefani(a)winehq.org> --- Proper fix for the first crash is in the first two patches of https://gitlab.winehq.org/wine/wine/-/merge_requests/1601 0024:trace:dmloader:IDirectMusicLoaderImpl_GetObject : loading from file (L"Style.sty") 0024:warn:dmloader:IDirectMusicLoaderFileStream_Attach : failed That still fails to load but at least no invalid DMStyle interface is added to the list. The Style.sty file / resource seems to be in Resources.dll drive_c/ChickenTournament$ strings Resources.dll | grep Style.sty Style.sty But that's a problem for the future to solve. The game doesn't cares and continues to load until it hits the unrelated second crash from comment #2. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=53941 --- Comment #5 from Michael Stefaniuc <mstefani(a)winehq.org> --- Created attachment 73610 --> https://bugs.winehq.org/attachment.cgi?id=73610 Hack for the second crash Hack to overcome the second crash and get the game to finally load and play. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=53941 Michael Stefaniuc <mstefani(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch --- Comment #6 from Michael Stefaniuc <mstefani(a)winehq.org> --- Turns out that returning an error from IDirectMusicComposerImpl_ComposeSegmentFromTemplate() would have prevented the crash too. But as I had already researched the two methods, I've implemented one and semi-stubbed the other: https://gitlab.winehq.org/wine/wine/-/merge_requests/1836 With that the game starts and is playable. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=53941 Michael Stefaniuc <mstefani(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Fixed by SHA1| |3f0afe8e5ca286b6b26e7a20b16 | |e47f8a99a2a96 Resolution|--- |FIXED --- Comment #7 from Michael Stefaniuc <mstefani(a)winehq.org> --- Fully resolved with: 8881ada9c9ebce8c6e4a92eb47a6e7243f9bea27 25de40af075062faa1c974fb21c9c9aafbcebb88 c92d01016b2034f3b173a5186cfa42f6bab87f72 3f0afe8e5ca286b6b26e7a20b16e47f8a99a2a96 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=53941 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #8 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 8.0-rc2. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla