Bug 57670

Summary: segfault with etqw.demo
Product: Mesa Reporter: pitamila
Component: Drivers/Gallium/r600Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED NOTOURBUG QA Contact:
Severity: normal    
Priority: medium    
Version: 8.0   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: patch to fix segfault

Description pitamila 2012-11-28 22:35:35 UTC
Hi,

I use debian unstable with:
Gallium 0.4 on AMD RV770 and libgl1-mesa-glx 8.0.5 and libtxc-dxtn-s2tc0 Version: 0~git20110809-3

When I launch etqw demo I get this backtrace in gdb:
Program received signal SIGSEGV, Segmentation fault.
0xblahh in rgb565_image () from /usr/lib/i386-linux-gnu/libtxc_dxtn.so
(gdb) bt
#0 0xblahhh in rgb565_image () from /usr/lib/i386-linux-gnu/libtxc_dxtn.so
#1 0xblahhh in tx_compress_dxtn () from /usr/lib/i386-linux-gnu/libtxc_dxtn.so
#2 0xblahhh in ?? () from /usr/lib/i386-linux-gnu/dri/r600_dri.so
#3 ...
.
.
.
(gdb)

I saw on https://github.com/divVerent/s2tc/issues/1 I will try quake4
later to see if it could be the same bug. Does somebody maintain this
alternative s3tc lib? I hope this is a usefull place to report this bug

thx for support and at your disposal for further testing

Pitamila
Comment 1 Laurent carlier 2012-12-16 17:16:27 UTC
Created attachment 71589 [details]
patch to fix segfault

Apply this patch to s2tc library to fix segfault with etqw and quake4
Comment 2 Laurent carlier 2012-12-17 21:44:02 UTC
Fix applied upstream

https://github.com/divVerent/s2tc/commit/86b61ca2e2906297d972e8a4c1e212e3deac99ef

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.