From: bugzilla-daemon@freedesktop.org Subject: [Bug 66349] Using SB shader optimization caused segfault in Serious Sam 3: BFE Date: Sun, 07 Jul 2013 17:57:08 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0475330675==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 57FB8E5E99 for ; Sun, 7 Jul 2013 10:57:08 -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 --===============0475330675== Content-Type: multipart/alternative; boundary="1373219828.B1dB51.12169"; charset="us-ascii" --1373219828.B1dB51.12169 Date: Sun, 7 Jul 2013 17:57:08 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=66349 --- Comment #9 from Thomas Lindroth --- Created attachment 82148 --> https://bugs.freedesktop.org/attachment.cgi?id=82148&action=edit valgrind output https://dl.dropboxusercontent.com/s/ynibt38hhdlyu1r/DungeonDefenders-x86.trace.bz2 Maybe you'll have better luck with this trace of dungeon defenders. I've never gotten it to play back right. It will crash with or without sb, LIBGL_ALWAYS_SOFTWARE and both 32 & 64-bit. The 32-bit drivers in my chroot are git but my 64-bit drivers are stable versions meaning mesa-9.1.3, libdrm-2.4.44, xf86-video-ati-7.1.0 and xorg-server-1.13.4. Most of the time it will segfault in a call to glDrawRangeElements but sometimes it will spam "The kernel rejected CS" before segfaulting. I attached a valgrind output. Running valgrind on the 32-bit binaries was impossible because valgrind doesn't support AVX instructions in 32-bit code so the output is from the 64-bit version. The stuff in my 32-bit chroot was not involved in any way so the problem is probably unrelated to that. I use gcc-4.6.3 and compile with these flags "-O2 -march=native -pipe" -- You are receiving this mail because: You are the assignee for the bug. --1373219828.B1dB51.12169 Date: Sun, 7 Jul 2013 17:57:08 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 9 on bug 66349 from
Created attachment 82148 [details]
valgrind output

https://dl.dropboxusercontent.com/s/ynibt38hhdlyu1r/DungeonDefenders-x86.trace.bz2

Maybe you'll have better luck with this trace of dungeon defenders. I've never
gotten it to play back right. It will crash with or without sb,
LIBGL_ALWAYS_SOFTWARE and both 32 & 64-bit. The 32-bit drivers in my chroot are
git but my 64-bit drivers are stable versions meaning mesa-9.1.3,
libdrm-2.4.44, xf86-video-ati-7.1.0 and xorg-server-1.13.4. Most of the time it
will segfault in a call to glDrawRangeElements but sometimes it will spam "The
kernel rejected CS" before segfaulting.

I attached a valgrind output. Running valgrind on the 32-bit binaries was
impossible because valgrind doesn't support AVX instructions in 32-bit code so
the output is from the 64-bit version. The stuff in my 32-bit chroot was not
involved in any way so the problem is probably unrelated to that. 

I use gcc-4.6.3 and compile with these flags "-O2 -march=native -pipe"


You are receiving this mail because:
  • You are the assignee for the bug.
--1373219828.B1dB51.12169-- --===============0475330675== 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 --===============0475330675==--