From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 98028] Guns of Icarus Online segfaults on startup since AMDGPU: Partially fix control flow at -O0 Date: Mon, 03 Oct 2016 12:58:30 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1382510407==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 3F60A6E40A for ; Mon, 3 Oct 2016 12:58:30 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1382510407== Content-Type: multipart/alternative; boundary="14754995100.29B631.29776"; charset="UTF-8" --14754995100.29B631.29776 Date: Mon, 3 Oct 2016 12:58:30 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D98028 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=3D126970&action=3Dedit 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 mal= loc / free, indicating possible memory corruption. I have attached an apitrace recorded using a bad LLVM revision. While the g= ame 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 g= ood 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 --=20 You are receiving this mail because: You are the assignee for the bug.= --14754995100.29B631.29776 Date: Mon, 3 Oct 2016 12:58:30 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
Bug ID 98028
Summary Guns of Icarus Online segfaults on startup since AMDGPU: Part= ially 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 [details]
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 mal=
loc
/ free, indicating possible memory corruption.

I have attached an apitrace recorded using a bad LLVM revision. While the g=
ame
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 g=
ood
LLVM revision:
 http://const=
expr.org/tmp/GoIO-radeonsi.2.trace.xz (82 MiB)

GPU: R9 380X
Kernel: 4.7.5-gentoo
Mesa: git-024c207
LLVM: r283076


You are receiving this mail because:
  • You are the assignee for the bug.
= --14754995100.29B631.29776-- --===============1382510407== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1382510407==--