Bug 41715

Summary: Crash in update_vertex_textures at state_tracker/st_atom_texture.c:285
Product: Mesa Reporter: Jure Repinc <jlp.bugs>
Component: Mesa coreAssignee: mesa-dev
Status: RESOLVED FIXED QA Contact:
Severity: critical    
Priority: medium    
Version: git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Jure Repinc 2011-10-12 04:37:59 UTC
Everytime I try to run an OpenGL app I get a "Program received signal SIGSEGV, Segmentation fault error." Even if I try to run glxgears I get this. I've compiled glxgears and mesa with debug info and this is what I get:

[New Thread 0x7ffff3a39700 (LWP 2134)]
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
Program received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) bt
#0  0x0000000000000000 in ?? ()
#1  0x00007ffff46d62fd in update_vertex_textures (st=0x72bdb0) at state_tracker/st_atom_texture.c:285
#2  0x00007ffff46d2c4f in st_validate_state (st=0x72bdb0) at state_tracker/st_atom.c:197
#3  0x00007ffff46d946a in st_Clear (ctx=0x6c7550, mask=18) at state_tracker/st_cb_clear.c:499
#4  0x0000000000401c9e in draw () at src/xdemos/glxgears.c:253
#5  0x0000000000403332 in draw_gears () at src/xdemos/glxgears.c:315
#6  draw_frame (win=83886082, dpy=0x606010) at src/xdemos/glxgears.c:340
#7  event_loop (win=83886082, dpy=0x606010) at src/xdemos/glxgears.c:696
#8  main (argc=<optimized out>, argv=<optimized out>) at src/xdemos/glxgears.c:776

The hardware is:
01:05.0 VGA compatible controller: ATI Technologies Inc RS482 [Radeon Xpress 200M]
Mesa is from git (ae1153c)
Comment 1 Marek Olšák 2011-10-14 06:07:52 UTC
This should in Mesa master now. Could you try it?
Comment 2 Marek Olšák 2011-10-14 06:08:35 UTC
I meant "This should be fixed in Mesa master now".
Comment 3 Jure Repinc 2011-10-14 10:55:46 UTC
Just tried with latest code from git and the crash is gone. Thank you very much for the fix!

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.