Bug 51082

Summary: [softpipe] SIGSEGV main/api_loopback.c:1470
Product: Mesa Reporter: Vinson Lee <vlee>
Component: OtherAssignee: mesa-dev
Status: RESOLVED NOTABUG QA Contact:
Severity: critical    
Priority: medium    
Version: git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Vinson Lee 2012-06-14 09:00:38 UTC
mesa: eb024c74885778ab1ffa6dc590116959bb526c2e (master)

Run piglit fdo20701 on softpipe.

$ ./bin/fdo20701 
Mesa warning: failed to remap index 173
Mesa: User error: GL_INVALID_OPERATION in glUniform(program not linked)
Segmentation fault (core dumped)

(gdb) bt
#0  loopback_VertexAttribI1uiv (index=<optimized out>, v=<optimized out>) at main/api_loopback.c:1470
#1  0x00007f61da9cf814 in stub_glFramebufferTexture2D (target=36160, attachment=36064, textarget=3553, texture=1, level=0)
    at piglit/tests/util/generated_dispatch.c:7055
#2  0x0000000000400e16 in piglit_init (argc=1, argv=0x7fff3f696ff8) at piglit/tests/bugs/fdo20701.c:75
#3  0x00007f61da9c0121 in main (argc=1, argv=0x7fff3f696ff8) at piglit/tests/util/piglit-framework.c:194
#4  0x00007f61da5b476d in __libc_start_main (main=0x400bc0 <main@plt>, argc=2, ubp_av=0x7fff3f696ff8, init=<optimized out>, 
    fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff3f696fe8) at libc-start.c:226
#5  0x0000000000400c19 in _start ()
Comment 1 Brian Paul 2012-06-14 09:16:36 UTC
Can you do a 'make clean' in your Mesa tree and retry?
Not seeing this issue here.
Comment 2 Vinson Lee 2012-06-14 10:21:34 UTC
'make clean' fixes it.

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.