z3ro@opteron ~/Mesa/progs/demos $ R300_SPAN_DISABLE_LOCKING=1 gdb ./glslnoise GNU gdb 6.4 Copyright 2005 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1". (gdb) run Starting program: /home/z3ro/Mesa/progs/demos/glslnoise [Thread debugging using libthread_db enabled] [New Thread 47636194510064 (LWP 6121)] glCreateShaderObjectARB glShaderSourceARB glCompileShaderARB glCreateProgramObjectARB glAttachObjectARB glLinkProgramARB glUseProgramObjectARB glGetUniformLocationARB glUniform1fARB glShaderSourceARB glCompileShaderARB glShaderSourceARB glCompileShaderARB glAttachObjectARB glAttachObjectARB glLinkProgramARB glUseProgramObjectARB glClearColor glEnable glEnable GL_RENDERER = Mesa DRI R300 20040924 AGP 1x TCL glViewport glMatrixMode glLoadIdentity glFrustum glMatrixMode glLoadIdentity glTranslatef glClear glUniform1fARB glPushMatrix Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 47636194510064 (LWP 6121)] 0x00002b532a82a620 in update_input_ptrs (ctx=0x0, start=0) at tnl/t_vertex.c:387 387 a[j].inputptr = ((GLubyte *)vptr->data) + start * vptr->stride; (gdb) bt #0 0x00002b532a82a620 in update_input_ptrs (ctx=0x0, start=0) at tnl/t_vertex.c:387 #1 0x00002b532a82a6de in _tnl_build_vertices (ctx=0x51dd50, start=0, end=341, newinputs=0) at tnl/t_vertex.c:409 #2 0x00002b532a81c73c in run_render (ctx=0x51dd50, stage=0x0) at tnl/t_vb_render.c:290 #3 0x00002b532a80ca64 in _tnl_run_pipeline (ctx=0x51dd50) at tnl/t_pipeline.c:159 #4 0x00002b532a834863 in _tnl_flush_vtx (ctx=0x51dd50) at tnl/t_vtx_exec.c:281 #5 0x00002b532a82d712 in _tnl_wrap_buffers (ctx=0x51dd50) at tnl/t_vtx_api.c:85 #6 0x00002b532a82d7c6 in _tnl_wrap_filled_vertex (ctx=0x0) at tnl/t_vtx_api.c:122 #7 0x00002b532a83046a in attrib_0_3 (v=0x7fff81e5fda0) at tnl/t_vtx_generic.c:100 #8 0x00002b532a8327aa in _tnl_Vertex3f (x=0, y=1, z=0) at tnl/t_vtx_generic.c:235 #9 0x00002b53290766f8 in glVertex3f (x=0.190983027, y=0.587785363, z=-1.90211296) at glapitemp.h:755 #10 0x00002b5328edd671 in gluSphere (qobj=0xbea5f0, radius=2, slices=20, stacks=-1076945986) at libutil/quad.c:992 #11 0x00002b5328d8923a in glutSolidSphere (radius=2, slices=20, stacks=10) at glut_shapes.c:89 #12 0x0000000000401442 in Redisplay () at glslnoise.c:55 #13 0x00002b5328d82a33 in processWindowWorkList (window=0x509640) at glut_event.c:1302 #14 0x00002b5328d82ad1 in __glutProcessWindowWorkLists () at glut_event.c:1349 #15 0x00002b5328d82b2f in glutMainLoop () at glut_event.c:1370 #16 0x0000000000401972 in main (argc=1, argv=0x7fff81e62e18) at glslnoise.c:214 (gdb)