[Bug 48648] New: Gothic II Night of the Raven:unhandled exception in Wine 5.2
https://bugs.winehq.org/show_bug.cgi?id=48648 Bug ID: 48648 Summary: Gothic II Night of the Raven:unhandled exception in Wine 5.2 Product: Wine Version: 5.2 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: chebanenkoigor93(a)gmail.com Distribution: --- Created attachment 66507 --> https://bugs.winehq.org/attachment.cgi?id=66507 Backtrace. Unhandled exception in Wine 5.2 in Gothic II Night of the Raven,game gives you it, when you start new game. -- 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=48648 --- Comment #1 from Chebanenko Igor <chebanenkoigor93(a)gmail.com> --- Created attachment 66508 --> https://bugs.winehq.org/attachment.cgi?id=66508 Terminal output Debug from Wine 5.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=48648 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4(a)web.de --- Comment #2 from Fabian Maurer <dark.shadow4(a)web.de> --- Does "winetricks -q directmusic gmdls" happen to help? -- 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=48648 --- Comment #3 from Chebanenko Igor <chebanenkoigor93(a)gmail.com> --- (In reply to Fabian Maurer from comment #2)
Does "winetricks -q directmusic gmdls" happen to help?
"winetricks directmusic" fixed my problem. Thank you. -- 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=48648 --- Comment #4 from Fabian Maurer <dark.shadow4(a)web.de> --- Good to hear, that installs a lot of dlls though. Can you try removing those dll overrides in winecfg one by one, to see which ones are needed to not 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=48648 Zebediah Figura <z.figura12(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |directx-dmusic -- 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=48648 Michael Stefaniuc <mstefani(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mstefani(a)winehq.org --- Comment #5 from Michael Stefaniuc <mstefani(a)winehq.org> --- Can you please attach the output of running the game with WINEDEBUG=+seh,+dsound,+dsound3d,+dswave,+dmband,+dmcompos,+dmdump,+dmfile,+dmfileraw,+dmime,+dmloader,+dmobj,+dmscript,+dmstyle,+dmsynth,+dmusic Does the game work with older Wine versions? -- 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=48648 --- Comment #6 from Chebanenko Igor <chebanenkoigor93(a)gmail.com> --- (In reply to Fabian Maurer from comment #4)
Good to hear, that installs a lot of dlls though. Can you try removing those dll overrides in winecfg one by one, to see which ones are needed to not crash?
I have some results of my experiments with directmusic libraries. They tell me,that this is the list of libraries that MUST be native (Windows),to make Gothic II playable: devenum dmband dmime dmloader dmstyle dmsynth Other libraries you can mark as Wine libraries. -- 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=48648 --- Comment #7 from Chebanenko Igor <chebanenkoigor93(a)gmail.com> --- (In reply to Michael Stefaniuc from comment #5)
Can you please attach the output of running the game with
WINEDEBUG=+seh,+dsound,+dsound3d,+dswave,+dmband,+dmcompos,+dmdump,+dmfile, +dmfileraw,+dmime,+dmloader,+dmobj,+dmscript,+dmstyle,+dmsynth,+dmusic
Does the game work with older Wine versions?
I don't know if Gothic II work with older Wine versions,but,in theory,it will work with older versions with "winetricks 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=48648 --- Comment #8 from Chebanenko Igor <chebanenkoigor93(a)gmail.com> --- (In reply to Chebanenko Igor from comment #6)
(In reply to Fabian Maurer from comment #4)
Good to hear, that installs a lot of dlls though. Can you try removing those dll overrides in winecfg one by one, to see which ones are needed to not crash?
I have some results of my experiments with directmusic libraries. They tell me,that this is the list of libraries that MUST be native (Windows),to make Gothic II playable:
devenum dmband dmime dmloader dmstyle dmsynth
Other libraries you can mark as Wine libraries.
UPD: If you will configure Wine this way,game will launch,but there won't be any music,you will hear only sounds. For music you will need native libraries: dmcompos dmusic dmusic32 dswave -- 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=48648 joaopa <jeremielapuree(a)yahoo.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree(a)yahoo.fr --- Comment #9 from joaopa <jeremielapuree(a)yahoo.fr> --- Hello, instead of answering to questions that are not asked, could you answer to asked question:
Can you please attach the output of running the game with
WINEDEBUG=+seh,+dsound,+dsound3d,+dswave,+dmband,+dmcompos,+dmdump,+dmfile,+dmfileraw,+dmime,+dmloader,+dmobj,+dmscript,+dmstyle,+dmsynth,+dmusic
Thanks -- 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=48648 --- Comment #10 from Chebanenko Igor <chebanenkoigor93(a)gmail.com> --- Created attachment 66521 --> https://bugs.winehq.org/attachment.cgi?id=66521 Wine-5.2-directmusic-debug WINEDEBUG=+seh,+dsound,+dsound3d,+dswave,+dmband,+dmcompos,+dmdump,+dmfile,+dmfileraw,+dmime,+dmloader,+dmobj,+dmscript,+dmstyle,+dmsynth,+dmusic -- 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=48648 --- Comment #11 from Michael Stefaniuc <mstefani(a)winehq.org> --- (In reply to Chebanenko Igor from comment #10)
Created attachment 66521 [details] Wine-5.2-directmusic-debug Thanks but that's not very useful as with the Windows DirectMusic dlls. I need the debug log of a pure Wine run when it crashes please.
-- 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=48648 Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |leslie_alistair(a)hotmail.com --- Comment #12 from Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> --- The log file was 1.6gb, so here the place of the crash which points to IDirectMusicStyle8Impl_GetDefaultBand not being implemented. Gothic II assumes that GetDefaultBand will return a valid value and doesn't check the HRESULT of this call or it the valid pointer was returned. 010b:trace:dmstyle:style_track_AddRef (1085A7D8) ref=2 010b:trace:dmstyle:style_track_IsParamSupported (1085A7D8, GUID_IDirectMusicStyle) 010b:trace:dmstyle:style_track_IsParamSupported param supported 010b:trace:dmstyle:style_track_GetParam (1085A7D8, GUID_IDirectMusicStyle, 0, 00000000, 008D215C): 010b:trace:dmstyle:IDirectMusicStyle8Impl_AddRef (1085AD80) ref=3 010b:trace:dmstyle:style_track_Release (1085A7D8) ref=1 010b:fixme:dmstyle:IDirectMusicStyle8Impl_GetDefaultBand (1085AD80, 016FF17C): stub 010b:trace:seh:raise_exception code=c0000005 flags=0 addr=0x25252525 ip=25252525 tid=010b 010b:trace:seh:raise_exception info[0]=00000000 010b:trace:seh:raise_exception info[1]=25252525 010b:trace:seh:raise_exception eax=f7c066ed ebx=7b4312a8 ecx=fff0003d edx=020792d8 esi=0082e6f0 edi=1389a0d8 010b:trace:seh:raise_exception ebp=016ff9f0 esp=016ff138 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00210246 -- 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=48648 --- Comment #13 from Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> --- (In reply to Alistair Leslie-Hughes from comment #12)
The log file was 1.6gb, so here the place of the crash which points to IDirectMusicStyle8Impl_GetDefaultBand not being implemented. Gothic II assumes that GetDefaultBand will return a valid value and doesn't check the HRESULT of this call or it the valid pointer was returned.
Returning the correct S_FALSE from IDirectMusicStyle8Impl_GetDefaultBand stops the crash. Maybe a intern solution? -- 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=48648 --- Comment #14 from Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> --- (In reply to Alistair Leslie-Hughes from comment #13)
Returning the correct S_FALSE from IDirectMusicStyle8Impl_GetDefaultBand stops the crash. Maybe a intern solution? Patch sent.
https://source.winehq.org/patches/data/179600 -- 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=48648 Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED Fixed by SHA1| |79b91eaf28f449ce0d03dde1130 | |cb238e064f093 --- Comment #15 from Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> --- Fixed by https://source.winehq.org/git/wine.git/?a=commit;h=79b91eaf28f449ce0d03dde11... -- 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=48648 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #16 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 5.3. -- 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=48648 Michael Stefaniuc <mstefani(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |5.0.x -- 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=48648 Michael Stefaniuc <mstefani(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|5.0.x |--- --- Comment #17 from Michael Stefaniuc <mstefani(a)winehq.org> --- Removing the 5.0.x milestone from bug fixes included in 5.0.1. -- 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