Bug 53317

Summary: [llvmpipe] SIGSEGV src/gallium/auxiliary/gallivm/lp_bld_sample.c:99
Product: Mesa Reporter: Vinson Lee <vlee>
Component: OtherAssignee: 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 Vinson Lee 2012-08-10 05:09:38 UTC
mesa: 6cb9e99a757bd5a9d908ed6c5515a9ae5fb041ba (master)

Run WebGL Conformance Test conformance/uniforms/uniform-default-values.html on llvmpipe.


(gdb) bt
#0  0x00007f7f9551b8af in lp_sampler_static_state (state=0x7ffffc2f1034, view=0x0, sampler=0x0)
    at src/gallium/auxiliary/gallivm/lp_bld_sample.c:99
#1  0x00007f7f9553147a in draw_llvm_make_variant_key (llvm=0x7f7fa011e000, store=0x7ffffc2f1020 "\001\002\a")
    at src/gallium/auxiliary/draw/draw_llvm.c:1353
#2  0x00007f7f9553253b in llvm_middle_end_prepare (middle=0x7f7f9e9a8680, in_prim=4, opt=3, 
    max_vertices=0x7f7fa1cbd038) at src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c:123
#3  0x00007f7f9547c486 in vsplit_prepare (frontend=0x7f7fa1cbd000, in_prim=4, middle=0x7f7f9e9a8680, opt=3)
    at src/gallium/auxiliary/draw/draw_pt_vsplit.c:175
#4  0x00007f7f9546fd99 in draw_pt_arrays (draw=0x7f7fa011c000, prim=4, start=0, count=6)
    at src/gallium/auxiliary/draw/draw_pt.c:134
#5  0x00007f7f95470a40 in draw_vbo (draw=0x7f7fa011c000, info=0x7ffffc2f14b0)
    at src/gallium/auxiliary/draw/draw_pt.c:526
#6  0x00007f7f95160c15 in llvmpipe_draw_vbo (pipe=0x7f7fa011a000, info=0x7ffffc2f14b0)
    at src/gallium/drivers/llvmpipe/lp_draw_arrays.c:92
#7  0x00007f7f95459d17 in cso_draw_vbo (cso=0x7f7fa1c75000, info=0x7ffffc2f14b0)
    at src/gallium/auxiliary/cso_cache/cso_context.c:1329
#8  0x00007f7f952ea572 in st_draw_vbo (ctx=0x7f7f9da61000, prims=0x7ffffc2f1550, nr_prims=1, ib=0x0, 
    index_bounds_valid=1 '\001', min_index=0, max_index=5, tfb_vertcount=0x0)
    at src/mesa/state_tracker/st_draw.c:265
#9  0x00007f7f9538e350 in vbo_draw_arrays (ctx=0x7f7f9da61000, mode=4, start=0, count=6, numInstances=1, 
    baseInstance=0) at src/mesa/vbo/vbo_exec_array.c:645
#10 0x00007f7f9538e429 in vbo_exec_DrawArrays (mode=4, start=0, count=6) at src/mesa/vbo/vbo_exec_array.c:675
#11 0x00007f7fb76b2b53 in ?? () from /usr/lib/firefox/libxul.so
#12 0x00007f7fb7d3b97f in ?? () from /usr/lib/firefox/libxul.so
#13 0x00007f7fa82e976d in ?? ()
#14 0x00007f7fa82e5298 in ?? ()
#15 0x000000000000010b in ?? ()
#16 0x0000000000000000 in ?? ()
(gdb) frame 0
#0  0x00007f7f9551b8af in lp_sampler_static_state (state=0x7ffffc2f1034, view=0x0, sampler=0x0)
    at src/gallium/auxiliary/gallivm/lp_bld_sample.c:99
99	   const struct pipe_resource *texture = view->texture;
(gdb) print view
$1 = (const struct pipe_sampler_view *) 0x0
Comment 1 Brian Paul 2012-08-10 15:47:46 UTC
Fixed with f7af4beae5e25c060d4f2c53d55b0e87ee9bdaeb.

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.