[New Thread 20732] Core was generated by `glxgears'. Program terminated with signal 11, Segmentation fault. #0 p_atomic_dec_zero (context=0x85dff40) at ../../../../src/gallium/auxiliary/util/u_atomic.h:56 56 __asm__ __volatile__("lock; decl %0; sete %1":"+m"(*v), "=qm"(c) Thread 1 (Thread 20732): #0 p_atomic_dec_zero (context=0x85dff40) at ../../../../src/gallium/auxiliary/util/u_atomic.h:56 c = #1 pipe_reference (context=0x85dff40) at ../../../../src/gallium/auxiliary/util/u_inlines.h:83 destroy = 0 '\000' #2 pipe_sampler_view_reference (context=0x85dff40) at ../../../../src/gallium/auxiliary/util/u_inlines.h:120 old_view = 0x2 #3 r300_destroy_context (context=0x85dff40) at r300_context.c:47 r300 = 0x85dff40 query = temp = atom = #4 0xb754d59e in st_destroy_context (st=0x8641b48) at state_tracker/st_context.c:249 pipe = 0x85dff40 cso = 0x86560c8 ctx = 0x8602d28 i = #5 0xb750e3bd in st_context_destroy (stctxi=0x8641b48) at state_tracker/st_manager.c:602 st = 0x8641b48 #6 0xb74462b0 in dri_destroy_context (cPriv=0x85db9b8) at dri_context.c:113 ctx = 0x85db9e0 #7 0xb74413f7 in driDestroyContext (pcp=0x85db9b8) at ../common/dri_util.c:572 No locals. #8 0xb771ebf9 in dri2DestroyContext (context=0x85d23b0, psc=0x85d2218, dpy=0x85c7008) at dri2_glx.c:107 pcp = 0x85d23b0 #9 0xb76f85c6 in DestroyContext (dpy=0x85c7008, gc=0x85dfe00) at glxcmds.c:584 req = xid = 52428803 opcode = 152 '\230' imported = 0 '\000' #10 0x0804a69f in main (argc=Cannot access memory at address 0x0 ) at glxgears.c:782 winWidth = 300 winHeight = 300 x = 0 y = 0 dpy = 0x85c7008 win = 52428802 ctx = 0x85dfe00 dpyName = 0x0 printInfo = 0 '\000' i = From To Syms Read Shared Object Library 0xb76f4b50 0xb7728418 Yes /home/chris/Programs/local-mesa/lib/libGL.so.1 0x48167470 0x48181978 Yes /lib/libm.so.6 0x481ed370 0x4827e908 Yes /usr/lib/libX11.so.6 0x4819b5e0 0x481a7568 Yes /lib/libpthread.so.0 0x47fecaa0 0x4810c544 Yes /lib/libc.so.6 0x48457720 0x48461ff8 Yes /usr/lib/libXext.so.6 0x49625ad0 0x496287a8 Yes (*) /usr/lib/libXxf86vm.so.1 0x485f57c0 0x485f6248 Yes /usr/lib/libXdamage.so.1 0x485bde70 0x485c03a8 Yes /usr/lib/libXfixes.so.3 0x496f74f0 0x496fcbb8 Yes (*) /usr/lib/libdrm.so.2 0x48190a60 0x48191a88 Yes /lib/libdl.so.2 0x47fb4830 0x47fcc37f Yes /lib/ld-linux.so.2 0x48319e80 0x48328608 Yes (*) /usr/lib/libxcb.so.1 0x481b5880 0x481b96b8 Yes /lib/librt.so.1 0x481d4a00 0x481d57f8 Yes (*) /usr/lib/libXau.so.6 0xb743f7b0 0xb7607298 Yes /home/chris/Programs/local-mesa/lib/gallium/r300_dri.so 0x48595040 0x485adef8 Yes (*) /lib/libexpat.so.1 0xb7431e20 0xb7433b78 Yes (*) /usr/lib/libdrm_radeon.so.1 0xb742c440 0xb742fa58 Yes (*) /usr/lib/libtxc_dxtn.so (*): Shared library is missing debugging information. $1 = 0x0 No symbol "__glib_assert_msg" in current context. eax 0x2 2 ecx 0x0 0 edx 0x4815f3a0 1209398176 ebx 0xb76732d4 -1217973548 esp 0xbfe79a30 0xbfe79a30 ebp 0xbfe79a78 0xbfe79a78 esi 0x85dff40 140377920 edi 0x85fed10 140504336 eip 0xb7456e89 0xb7456e89 eflags 0x10202 [ IF RF ] cs 0x73 115 ss 0x7b 123 ds 0x7b 123 es 0x7b 123 fs 0x0 0 gs 0x33 51 Dump of assembler code for function r300_destroy_context: 0xb7456e60 <+0>: push %ebp 0xb7456e61 <+1>: mov %esp,%ebp 0xb7456e63 <+3>: push %edi 0xb7456e64 <+4>: push %esi 0xb7456e65 <+5>: push %ebx 0xb7456e66 <+6>: sub $0x3c,%esp 0xb7456e69 <+9>: mov 0x8(%ebp),%esi 0xb7456e6c <+12>: call 0xb743f879 <__i686.get_pc_thunk.bx> 0xb7456e71 <+17>: add $0x21c463,%ebx 0xb7456e77 <+23>: mov 0x154(%esi),%edi 0xb7456e7d <+29>: test %edi,%edi 0xb7456e7f <+31>: je 0xb7456e9d 0xb7456e81 <+33>: mov (%edi),%eax 0xb7456e83 <+35>: test %eax,%eax 0xb7456e85 <+37>: je 0xb7456e97 0xb7456e87 <+39>: je 0xb7456e97 => 0xb7456e89 <+41>: lock decl (%eax) 0xb7456e8c <+44>: sete %dl 0xb7456e8f <+47>: test %dl,%dl 0xb7456e91 <+49>: jne 0xb7456ff0 0xb7456e97 <+55>: movl $0x0,(%edi) 0xb7456e9d <+61>: mov 0x138(%esi),%eax 0xb7456ea3 <+67>: mov %eax,(%esp) 0xb7456ea6 <+70>: call 0xb75d4310 0xb7456eab <+75>: mov 0x134(%esi),%eax 0xb7456eb1 <+81>: mov %eax,(%esp) 0xb7456eb4 <+84>: call 0xb75a4ba0 0xb7456eb9 <+89>: mov 0x130(%esi),%eax 0xb7456ebf <+95>: testb $0x1,0x73(%eax) 0xb7456ec3 <+99>: jne 0xb7457008 0xb7456ec9 <+105>: mov 0x184(%esi),%eax 0xb7456ecf <+111>: lea 0x164(%esi),%edx 0xb7456ed5 <+117>: cmp %edx,%eax 0xb7456ed7 <+119>: mov 0x20(%eax),%edi 0xb7456eda <+122>: mov %edx,-0x1c(%ebp) 0xb7456edd <+125>: je 0xb7456f0e 0xb7456edf <+127>: mov %esi,-0x20(%ebp) 0xb7456ee2 <+130>: lea 0x0(%esi),%esi 0xb7456ee8 <+136>: mov 0x1c(%eax),%edx 0xb7456eeb <+139>: mov %edi,%esi 0xb7456eed <+141>: mov %edx,0x1c(%edi) 0xb7456ef0 <+144>: mov 0x1c(%eax),%edx 0xb7456ef3 <+147>: mov 0x20(%eax),%ecx 0xb7456ef6 <+150>: mov %ecx,0x20(%edx) 0xb7456ef9 <+153>: mov %eax,(%esp) 0xb7456efc <+156>: call 0xb743f258 0xb7456f01 <+161>: mov 0x20(%edi),%edi 0xb7456f04 <+164>: mov %esi,%eax 0xb7456f06 <+166>: cmp %esi,-0x1c(%ebp) 0xb7456f09 <+169>: jne 0xb7456ee8 0xb7456f0b <+171>: mov -0x20(%ebp),%esi 0xb7456f0e <+174>: mov 0x784(%esi),%eax 0xb7456f14 <+180>: mov %eax,(%esp) 0xb7456f17 <+183>: call 0xb75fa0d0 0xb7456f1c <+188>: mov 0x788(%esi),%eax 0xb7456f22 <+194>: mov %eax,(%esp) 0xb7456f25 <+197>: call 0xb75fa0d0 0xb7456f2a <+202>: mov 0x140(%esi),%eax 0xb7456f30 <+208>: mov %eax,(%esp) 0xb7456f33 <+211>: call 0xb75d1b40 0xb7456f38 <+216>: mov 0x1e4(%esi),%eax 0xb7456f3e <+222>: mov %eax,(%esp) 0xb7456f41 <+225>: call 0xb743f258 0xb7456f46 <+230>: mov 0x208(%esi),%eax 0xb7456f4c <+236>: mov %eax,(%esp) 0xb7456f4f <+239>: call 0xb743f258 0xb7456f54 <+244>: mov 0x2bc(%esi),%eax 0xb7456f5a <+250>: mov %eax,(%esp) 0xb7456f5d <+253>: call 0xb743f258 0xb7456f62 <+258>: mov 0x328(%esi),%eax 0xb7456f68 <+264>: mov %eax,(%esp) 0xb7456f6b <+267>: call 0xb743f258 0xb7456f70 <+272>: mov 0x34c(%esi),%eax 0xb7456f76 <+278>: mov %eax,(%esp) 0xb7456f79 <+281>: call 0xb743f258 0xb7456f7e <+286>: mov 0x370(%esi),%eax 0xb7456f84 <+292>: mov %eax,(%esp) 0xb7456f87 <+295>: call 0xb743f258 0xb7456f8c <+300>: mov 0x400(%esi),%eax 0xb7456f92 <+306>: mov %eax,(%esp) 0xb7456f95 <+309>: call 0xb743f258 0xb7456f9a <+314>: mov 0x424(%esi),%eax 0xb7456fa0 <+320>: mov %eax,(%esp) 0xb7456fa3 <+323>: call 0xb743f258 0xb7456fa8 <+328>: mov 0x298(%esi),%eax 0xb7456fae <+334>: mov %eax,(%esp) 0xb7456fb1 <+337>: call 0xb743f258 0xb7456fb6 <+342>: mov 0x3dc(%esi),%eax 0xb7456fbc <+348>: mov %eax,(%esp) 0xb7456fbf <+351>: call 0xb743f258 0xb7456fc4 <+356>: mov 0x130(%esi),%eax 0xb7456fca <+362>: cmpb $0x0,0x68(%eax) 0xb7456fce <+366>: jne 0xb7456fde 0xb7456fd0 <+368>: mov 0x394(%esi),%eax 0xb7456fd6 <+374>: mov %eax,(%esp) 0xb7456fd9 <+377>: call 0xb743f258 0xb7456fde <+382>: mov %esi,(%esp) 0xb7456fe1 <+385>: call 0xb743f258 0xb7456fe6 <+390>: add $0x3c,%esp 0xb7456fe9 <+393>: pop %ebx 0xb7456fea <+394>: pop %esi 0xb7456feb <+395>: pop %edi 0xb7456fec <+396>: pop %ebp 0xb7456fed <+397>: ret 0xb7456fee <+398>: xchg %ax,%ax 0xb7456ff0 <+400>: mov 0xc(%eax),%edx 0xb7456ff3 <+403>: mov %eax,0x4(%esp) 0xb7456ff7 <+407>: mov %edx,(%esp) 0xb7456ffa <+410>: call *0x110(%edx) 0xb7457000 <+416>: jmp 0xb7456e97 0xb7457005 <+421>: lea 0x0(%esi),%esi 0xb7457008 <+424>: mov -0x384(%ebx),%ecx 0xb745700e <+430>: lea -0x66061(%ebx),%eax 0xb7457014 <+436>: mov %esi,0x8(%esp) 0xb7457018 <+440>: mov %eax,0x4(%esp) 0xb745701c <+444>: mov (%ecx),%eax 0xb745701e <+446>: mov %ecx,-0x28(%ebp) 0xb7457021 <+449>: mov %eax,(%esp) 0xb7457024 <+452>: call 0xb743f478 0xb7457029 <+457>: mov 0x78c(%esi),%eax 0xb745702f <+463>: mov 0x790(%esi),%edx 0xb7457035 <+469>: mov -0x28(%ebp),%ecx 0xb7457038 <+472>: mov %eax,0x8(%esp) 0xb745703c <+476>: lea -0x66044(%ebx),%eax 0xb7457042 <+482>: mov %edx,0xc(%esp) 0xb7457046 <+486>: mov %eax,0x4(%esp) 0xb745704a <+490>: mov (%ecx),%eax 0xb745704c <+492>: mov %eax,(%esp) 0xb745704f <+495>: call 0xb743f478 0xb7457054 <+500>: mov 0x18c(%esi),%edi 0xb745705a <+506>: lea 0x188(%esi),%edx 0xb7457060 <+512>: mov %edx,-0x20(%ebp) 0xb7457063 <+515>: mov -0x28(%ebp),%ecx 0xb7457066 <+518>: cmp %edx,%edi 0xb7457068 <+520>: je 0xb7456ec9 0xb745706e <+526>: lea -0x6602f(%ebx),%eax 0xb7457074 <+532>: mov %esi,-0x24(%ebp) 0xb7457077 <+535>: mov %eax,%esi 0xb7457079 <+537>: lea 0x0(%esi,%eiz,1),%esi 0xb7457080 <+544>: mov 0xc(%edi),%eax 0xb7457083 <+547>: mov 0x10(%edi),%edx 0xb7457086 <+550>: mov %eax,0xc(%esp) 0xb745708a <+554>: mov %edx,0x10(%esp) 0xb745708e <+558>: mov 0x8(%edi),%eax 0xb7457091 <+561>: mov %esi,0x4(%esp) 0xb7457095 <+565>: mov %eax,0x8(%esp) 0xb7457099 <+569>: mov (%ecx),%eax 0xb745709b <+571>: mov %ecx,-0x28(%ebp) 0xb745709e <+574>: mov %eax,(%esp) 0xb74570a1 <+577>: call 0xb743f478 0xb74570a6 <+582>: mov 0x4(%edi),%edi 0xb74570a9 <+585>: cmp -0x20(%ebp),%edi 0xb74570ac <+588>: mov -0x28(%ebp),%ecx 0xb74570af <+591>: jne 0xb7457080 0xb74570b1 <+593>: mov -0x24(%ebp),%esi 0xb74570b4 <+596>: jmp 0xb7456ec9 End of assembler dump.