[Bug 52795] New: Small stack size in PE<>Unix syscall handler causes a crash in Cyberpunk 2077

WineHQ Bugzilla wine-bugs at winehq.org
Sun Apr 10 03:47:38 CDT 2022


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

            Bug ID: 52795
           Summary: Small stack size in PE<>Unix syscall handler causes a
                    crash in Cyberpunk 2077
           Product: Wine
           Version: 7.6
          Hardware: x86-64
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: -unknown
          Assignee: wine-bugs at winehq.org
          Reporter: shtetldik at gmail.com
      Distribution: ---

With recent changes in radv, Cyberpunk 2077 started crashing in recent versions
of Wine (tested it with 7.5 and 7.6).

See: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6291

See also: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6218

Some there suggested it could be due to small stack size used in PE<>Unix
syscall handler, which is a problem with Vulkan usage scenarios that require
larger stack.

For instance, Proton tries to work around that issue:

https://github.com/ValveSoftware/wine/blob/0ad7e8878c400ee081de85bb1e21ef6331912ff5/dlls/winevulkan/make_vulkan#L148-L163

It would be good for upstream Wine to address this somehow too, may be
increasing stack size or at last providing some configurable option to do it if
it's not a desirable default.

-- 
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