glxgears: pipe/tgsi/exec/tgsi_sse2.c:2131: emit_instruction: Assertion `0' failed.
Program received signal SIGABRT, Aborted.
[Switching to Thread -1212331568 (LWP 8243)]
0xffffe410 in __kernel_vsyscall ()
(gdb) bt
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb7d76875 in raise () from /lib/tls/i686/cmov/libc.so.6
#2 0xb7d78201 in abort () from /lib/tls/i686/cmov/libc.so.6
#3 0xb7d6fb6e in __assert_fail () from /lib/tls/i686/cmov/libc.so.6
#4 0xb7a644f3 in emit_instruction (func=0x80a5d08, inst=0x6)
at pipe/tgsi/exec/tgsi_sse2.c:2131
#5 0xb7a649a6 in tgsi_emit_sse2_fs (tokens=0x80a0498, func=0x80a5d08)
at pipe/tgsi/exec/tgsi_sse2.c:2324
#6 0xb7a4efae in softpipe_create_fs_state (pipe=0x80568e0, templ=0x80a6010)
at sp_state_fs.c:62
#7 0xb7b15d73 in st_cached_fs_state (st=0x809a368, templ=0xbf9cdc50)
at state_tracker/st_cache.c:143
#8 0xb7b172d6 in st_translate_fragment_program (st=0x809a368, stfp=0x809fb90,
inputMapping=0x80a0444, tokensOut=0x80a0498, maxTokens=1024)
at state_tracker/st_program.c:417
#9 0xb7b0ddba in update_linkage (st=0x809a368)
at state_tracker/st_atom_shader.c:176
#10 0xb7b0c48c in st_validate_state (st=0x809a368)
at state_tracker/st_atom.c:179
#11 0xb7b0ff9e in st_clear (ctx=0x8062230, mask=2)
at state_tracker/st_cb_clear.c:554
#12 0xb7a7e02c in _mesa_Clear (mask=16640) at main/buffers.c:181
#13 0xb7eeef36 in glClear (mask=16640)
---Type <return> to continue, or q <return> to quit---q
at ../../../src/mesa/glapi/glapitemp.h:11Quit
(gdb) frame 5
#5 0xb7a649a6 in tgsi_emit_sse2_fs (tokens=0x80a0498, func=0x80a5d08)
at pipe/tgsi/exec/tgsi_sse2.c:2324
2324 emit_instruction(
(gdb) print &parse.FullToken.FullInstruction
$4 = (struct tgsi_full_instruction *) 0xbf9cda4c
(gdb) frame 4
#4 0xb7a644f3 in emit_instruction (func=0x80a5d08, inst=0x6)
at pipe/tgsi/exec/tgsi_sse2.c:2131
2131 assert( 0 );
(gdb) print inst
$5 = (struct tgsi_full_instruction *) 0x6
(gdb) print *inst
Cannot access memory at address 0x6