https://bugs.freedesktop.org/show_bug.cgi?id=98028
Bug ID: 98028 Summary: Guns of Icarus Online segfaults on startup since AMDGPU: Partially fix control flow at -O0 Product: Mesa Version: git Hardware: Other OS: All Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: daniel@constexpr.org QA Contact: dri-devel@lists.freedesktop.org
Created attachment 126970 --> https://bugs.freedesktop.org/attachment.cgi?id=126970&action=edit Short Guns of Icarus Online startup trace (truncated by segfault)
Guns of Icarus Online segfaults (or sometimes hangs) on startup with current Mesa and LLVM. I have bisected the segfault to LLVM r282667.
The backtraces for the segfaults vary. Some of the segfaults are inside malloc / free, indicating possible memory corruption.
I have attached an apitrace recorded using a bad LLVM revision. While the game consistently segfaults (or hangs), replaying the trace does not result in a segfault every time.
Here is also a longer trace of the full startup sequence recorded using a good LLVM revision: http://constexpr.org/tmp/GoIO-radeonsi.2.trace.xz (82 MiB)
GPU: R9 380X Kernel: 4.7.5-gentoo Mesa: git-024c207 LLVM: r283076