Bug 59225 - SIGSEGV src/mesa/program/symbol_table.c:200
Summary: SIGSEGV src/mesa/program/symbol_table.c:200
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium critical
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-11 04:27 UTC by Vinson Lee
Modified: 2016-01-24 08:39 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Vinson Lee 2013-01-11 04:27:30 UTC
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
Comment 1 Andrés Gómez García 2014-10-28 08:39:04 UTC
Is this valid any more?

piglit: b13d0bb86d175e36e013dbd528a50e59308adad0 (master)
mesa: 17d98ae25491d5781356da39658f926ed55f2eb5 (master)

$ ./piglit run -t arb_es2_compatibility tests/all results/fb59225
Thank you for running Piglit!: 7
Results have been written to results/fb59225
$ ./piglit summary console results/fb59225                    spec/ARB_ES2_compatibility/arb_es2_compatibility-shadercompiler: pass
spec/ARB_ES2_compatibility/arb_es2_compatibility-fixed-type: pass
spec/ARB_ES2_compatibility/arb_es2_compatibility-depthrangef: pass
spec/ARB_ES2_compatibility/arb_es2_compatibility-maxvectors: pass
spec/ARB_ES2_compatibility/arb_es2_compatibility-releaseshadercompiler: pass
spec/ARB_ES2_compatibility/arb_es2_compatibility-drawbuffers: pass
spec/ARB_ES2_compatibility/arb_es2_compatibility-getshaderprecisionformat: pass
summary:
       pass: 7
       fail: 0
      crash: 0
       skip: 0
    timeout: 0
       warn: 0
 dmesg-warn: 0
 dmesg-fail: 0
      total: 7
Comment 2 Timothy Arceri 2016-01-24 08:39:43 UTC
Works for me too, likely fixed a long time ago.


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.