[Mesa-dev] [Bug 59225] New: SIGSEGV src/mesa/program/symbol_table.c:200

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jan 10 20:27:30 PST 2013


https://bugs.freedesktop.org/show_bug.cgi?id=59225

          Priority: medium
            Bug ID: 59225
          Assignee: mesa-dev at lists.freedesktop.org
           Summary: SIGSEGV src/mesa/program/symbol_table.c:200
          Severity: critical
    Classification: Unclassified
                OS: Linux (All)
          Reporter: vlee at freedesktop.org
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: git
         Component: Mesa core
           Product: Mesa

mesa: babab2876080af0fe65249dff559244aebd0b87e (master)

Run piglit arb_es2_compatibility-releaseshadercompiler-ge7.

$ ./bin/arb_es2_compatibility-releaseshadercompiler-ge7 -auto
Segmentation fault (core dumped)


(gdb) bt
#0  0x00007fa4fa1fe182 in find_symbol (table=0x0, name=0x1cda0c0 "@") at
src/mesa/program/symbol_table.c:200
#1  0x00007fa4fa1fe470 in _mesa_symbol_table_find_symbol (table=0x0,
name_space=-1, name=0x1cda0c0 "@") at src/mesa/program/symbol_table.c:306
#2  0x00007fa4fa245cdf in glsl_symbol_table::get_entry (this=0x1c56cf0,
name=0x1cda0c0 "@") at src/glsl/glsl_symbol_table.cpp:164
#3  0x00007fa4fa245c99 in glsl_symbol_table::get_function (this=0x1c56cf0,
name=0x1cda0c0 "@") at src/glsl/glsl_symbol_table.cpp:157
#4  0x00007fa4fa25c9d3 in find_matching_signature (name=0x1cda0c0 "@",
actual_parameters=0x1c9d520, shader_list=0x1d19eb0, num_shaders=4,
use_builtin=true)
    at src/glsl/link_functions.cpp:254
#5  0x00007fa4fa25ccb1 in call_link_visitor::visit_enter (this=0x7fff8f090eb0,
ir=0x1c9d4f0) at src/glsl/link_functions.cpp:90
#6  0x00007fa4fa254672 in ir_call::accept (this=0x1c9d4f0, v=0x7fff8f090eb0) at
src/glsl/ir_hv_accept.cpp:332
#7  0x00007fa4fa253a7b in visit_list_elements (v=0x7fff8f090eb0, l=0x1d12848,
statement_list=true) at src/glsl/ir_hv_accept.cpp:56
#8  0x00007fa4fa253d6d in ir_function_signature::accept (this=0x1d12800,
v=0x7fff8f090eb0) at src/glsl/ir_hv_accept.cpp:136
#9  0x00007fa4fa253a7b in visit_list_elements (v=0x7fff8f090eb0, l=0x1ccee18,
statement_list=false) at src/glsl/ir_hv_accept.cpp:56
#10 0x00007fa4fa253e01 in ir_function::accept (this=0x1ccedf0,
v=0x7fff8f090eb0) at src/glsl/ir_hv_accept.cpp:148
#11 0x00007fa4fa253a7b in visit_list_elements (v=0x7fff8f090eb0, l=0x1c56cf0,
statement_list=true) at src/glsl/ir_hv_accept.cpp:56
#12 0x00007fa4fa2539a4 in ir_hierarchical_visitor::run (this=0x7fff8f090eb0,
instructions=0x1c56cf0) at src/glsl/ir_hierarchical_visitor.cpp:291
#13 0x00007fa4fa25ca93 in link_function_calls (prog=0x1c3b030, main=0x1c412e0,
shader_list=0x1d19eb0, num_shaders=4) at src/glsl/link_functions.cpp:284
#14 0x00007fa4fa25a8bb in link_intrastage_shaders (mem_ctx=0x1c56fb0,
ctx=0x1b52650, prog=0x1c3b030, shader_list=0x1c56d10, num_shaders=1) at
src/glsl/linker.cpp:1018
#15 0x00007fa4fa25bc4b in link_shaders (ctx=0x1b52650, prog=0x1c3b030) at
src/glsl/linker.cpp:1635
#16 0x00007fa4fa0dab44 in _mesa_glsl_link_shader (ctx=0x1b52650,
prog=0x1c3b030) at src/mesa/program/ir_to_mesa.cpp:3155
#17 0x00007fa4fa0995ae in link_program (ctx=0x1b52650, program=3) at
src/mesa/main/shaderapi.c:753
#18 0x00007fa4fa09a788 in _mesa_LinkProgram (programObj=3) at
src/mesa/main/shaderapi.c:1249
#19 0x00007fa4fc7da999 in stub_glLinkProgram (program=3) at
piglit/tests/util/generated_dispatch.c:13975
#20 0x00007fa4fc80c61f in piglit_link_simple_program (vs=1, fs=2) at
piglit/tests/util/piglit-shader.c:247
#21 0x0000000000400fbd in draw () at
piglit/tests/spec/arb_es2_compatibility/arb_es2_compatibility-releaseshadercompiler-ge7.c:70
#22 0x000000000040105f in piglit_display () at
piglit/tests/spec/arb_es2_compatibility/arb_es2_compatibility-releaseshadercompiler-ge7.c:93
#23 0x00007fa4fc7bd408 in display () at
piglit/tests/util/piglit-framework-gl/piglit_glut_framework.c:60
#24 0x00007fa4fc177137 in fghRedrawWindow (window=0x1ae3690) at
freeglut_main.c:210
#25 fghcbDisplayWindow (window=0x1ae3690, enumerator=0x7fff8f0912e0) at
freeglut_main.c:227
#26 0x00007fa4fc17a889 in fgEnumWindows (enumCallback=0x7fa4fc1770d0
<fghcbDisplayWindow>, enumerator=0x7fff8f0912e0) at freeglut_structure.c:394
#27 0x00007fa4fc1775fa in fghDisplayAll () at freeglut_main.c:249
#28 glutMainLoopEvent () at freeglut_main.c:1450
#29 0x00007fa4fc177f05 in glutMainLoop () at freeglut_main.c:1498
#30 0x00007fa4fc7bd5e0 in run_test (gl_fw=0x7fa4fca877e0, argc=1,
argv=0x7fff8f0916a8) at
piglit/tests/util/piglit-framework-gl/piglit_glut_framework.c:127
#31 0x00007fa4fc7bb726 in piglit_gl_test_run (argc=1, argv=0x7fff8f0916a8,
config=0x7fff8f091590) at piglit/tests/util/piglit-framework-gl.c:127
#32 0x0000000000400f60 in main (argc=2, argv=0x7fff8f0916a8) at
piglit/tests/spec/arb_es2_compatibility/arb_es2_compatibility-releaseshadercompiler-ge7.c:51
(gdb) frame 0
#0  0x00007fa4fa1fe182 in find_symbol (table=0x0, name=0x1cda0c0 "@") at
src/mesa/program/symbol_table.c:200
200        return (struct symbol_header *) hash_table_find(table->ht, name);
(gdb) print table
$1 = (struct _mesa_symbol_table *) 0x0

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130111/64ef2cf3/attachment-0001.html>


More information about the mesa-dev mailing list