[Bug 51447] New: Return to Castle Wolfenstein (RtCW) - Crashes on start
https://bugs.winehq.org/show_bug.cgi?id=51447 Bug ID: 51447 Summary: Return to Castle Wolfenstein (RtCW) - Crashes on start Product: Wine Version: 6.12 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: mariob1992(a)outlook.com Distribution: --- Created attachment 70296 --> https://bugs.winehq.org/attachment.cgi?id=70296 Wine crashreport when running WolfSP.exe RtCW 1.0.0 (first Release) crashes on start, after the "Wolf console" closes and the intro video should begin. I know that there is ioRtCW, but the original version shouldn't crash. $ sha1sum WolfSP.exe 7ee3889a6c9b95d2eb0bfda038d00a8da3818e3e WolfSP.exe Tested with and without Virtual Desktop Used win32 prefix, set Windows version to XP Crashes with a page fault (see attachment) The multiplayer executable (WolfMP.exe) works just fine. -- 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=51447 Mario <mariob1992(a)outlook.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |Ubuntu -- 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=51447 Bernhard Übelacker <bernhardu(a)mailbox.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bernhardu(a)mailbox.org --- Comment #1 from Bernhard Übelacker <bernhardu(a)mailbox.org> --- Created attachment 70298 --> https://bugs.winehq.org/attachment.cgi?id=70298 51447_debugging.txt Hello, I tried to have a look and think the issue is that rtcw-developers did not expect the opengl extensions to grow over 4096 bytes. Unfortunately with my AMD/Mesa driver it grows to 4111 bytes and therefore overwrites the return address at the stack. Therefore it tries to execute instructions, in your case at address 0x415f4c47 which translates to 0x47 'G', 0x4c 'L', 0x5f '_', 0x41 'A'. This opengl extenstions string can be limited by these environments: NVidia: __GL_ExtensionStringVersion=17700 wine WolfSP.exe Intel/AMD: MESA_EXTENSION_MAX_YEAR=2005 wine WolfSP.exe With the latter WolfSP starts and shows the intro video for me. Therefore this seems to be a duplicate of https://bugs.winehq.org/show_bug.cgi?id=30794 which itself is closed as duplicate of: https://bugs.winehq.org/show_bug.cgi?id=25362 -- 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=51447 --- Comment #2 from Mario <mariob1992(a)outlook.com> --- Great! This fixes the error. Interestingly I never experienced the issue under Windows and I'm sure that the Extension String also exceeds 4096 bytes. -- 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=51447 --- Comment #3 from Mario <mariob1992(a)outlook.com> --- The workaround should be included in the AppDB (https://appdb.winehq.org/objectManager.php?sClass=application&iId=501) -- 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=51447 Olivier F. R. Dierick <o.dierick(a)piezo-forte.be> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|UNCONFIRMED |RESOLVED CC| |o.dierick(a)piezo-forte.be --- Comment #4 from Olivier F. R. Dierick <o.dierick(a)piezo-forte.be> --- Hello, (In reply to Mario from comment #2)
Great! This fixes the error.
Marking duplicate.
Interestingly I never experienced the issue under Windows and I'm sure that the Extension String also exceeds 4096 bytes.
The issue affects windows too, but some vendors include a workaround in their drivers. (In reply to Mario from comment #3)
The workaround should be included in the AppDB (https://appdb.winehq.org/objectManager.php?sClass=application&iId=501)
I sent a mail to the maintainer. Regards. *** This bug has been marked as a duplicate of bug 25362 *** -- 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=51447 Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #5 from Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> --- Closing Duplicate. -- 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