From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 66349] Using SB shader optimization caused segfault in Serious
Sam 3: BFE
Date: Fri, 05 Jul 2013 18:22:12 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0433377040=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 2ED96E5C36
for ;
Fri, 5 Jul 2013 11:22:12 -0700 (PDT)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============0433377040==
Content-Type: multipart/alternative; boundary="1373048531.8087F2e60.25773"; charset="us-ascii"
--1373048531.8087F2e60.25773
Date: Fri, 5 Jul 2013 18:22:11 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=66349
--- Comment #4 from Thomas Lindroth ---
I did some more debugging and it looks like memory corruption. I can reproduce
the problem with an apitrace dump but when using an --enable-debug build it
runs fine. It always segfaults in a call to glDrawRangeElements. I had the same
problem with Dungeon Defenders before. See comment 2 in bug 62967. It would
always segfault at some random glDrawRangeElements call unrelated to SB and
corrupt the stack. If I try to play back the sam3 trace with
LIBGL_ALWAYS_SOFTWARE=yes it will instead abort with the error "LLVM ERROR:
Program used external function '' which could not be resolved!" during a call
to glDrawRangeElements.
The full sam3 trace is 231M if you want it. I tried to trim it but the trimmed
version would result in an floating point exception in some other gl call.
I'm using latest git mesa but my setup is a bit odd. I run 64-bit gentoo but
the default 32-bit libs in gentoo are precompiled older versions. I work around
that problem by having a 32-bit gentoo chroot with git mesa, libdrm and other
libs games use. I run 32-bit apps like this
LIBGL_DRIVERS_PATH=/mnt/32bit/usr/lib/dri
LD_LIBRARY_PATH="/mnt/32bit/lib:/mnt/32bit/usr/lib" ./steam.sh
--
You are receiving this mail because:
You are the assignee for the bug.
--1373048531.8087F2e60.25773
Date: Fri, 5 Jul 2013 18:22:11 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Comment # 4
on bug 66349
from Thomas Lindroth
I did some more debugging and it looks like memory corruption. I can reproduce
the problem with an apitrace dump but when using an --enable-debug build it
runs fine. It always segfaults in a call to glDrawRangeElements. I had the same
problem with Dungeon Defenders before. See comment 2 in bug 62967. It would
always segfault at some random glDrawRangeElements call unrelated to SB and
corrupt the stack. If I try to play back the sam3 trace with
LIBGL_ALWAYS_SOFTWARE=yes it will instead abort with the error "LLVM ERROR:
Program used external function '' which could not be resolved!" during a call
to glDrawRangeElements.
The full sam3 trace is 231M if you want it. I tried to trim it but the trimmed
version would result in an floating point exception in some other gl call.
I'm using latest git mesa but my setup is a bit odd. I run 64-bit gentoo but
the default 32-bit libs in gentoo are precompiled older versions. I work around
that problem by having a 32-bit gentoo chroot with git mesa, libdrm and other
libs games use. I run 32-bit apps like this
LIBGL_DRIVERS_PATH=/mnt/32bit/usr/lib/dri
LD_LIBRARY_PATH="/mnt/32bit/lib:/mnt/32bit/usr/lib" ./steam.sh
You are receiving this mail because:
- You are the assignee for the bug.
--1373048531.8087F2e60.25773--
--===============0433377040==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
--===============0433377040==--