[Bug 51447] Return to Castle Wolfenstein (RtCW) - Crashes on start

WineHQ Bugzilla wine-bugs at winehq.org
Sun Jul 11 07:56:18 CDT 2021


https://bugs.winehq.org/show_bug.cgi?id=51447

Bernhard Übelacker <bernhardu at mailbox.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bernhardu at mailbox.org

--- Comment #1 from Bernhard Übelacker <bernhardu at 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.


More information about the wine-bugs mailing list