<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [BSW]Piglit shaders/glsl-fs-inline-explosion segfault"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=84215#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [BSW]Piglit shaders/glsl-fs-inline-explosion segfault"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=84215">bug 84215</a>
              from <span class="vcard"><a class="email" href="mailto:elima@igalia.com" title="Eduardo Lima Mitev <elima@igalia.com>"> <span class="fn">Eduardo Lima Mitev</span></a>
</span></b>
        <pre>Running with a debug build shows a failing assertion instead:


warning: no loadable sections found in added symbol-file system-supplied DSO at
0x7ffff7ffa000
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
piglit: info: Address space limit = 18446744073709551615, max =
18446744073709551615
piglit: info: Resetting limit to 268435456
Unexpected error.

Program received signal SIGABRT, Aborted.
0x00007ffff5af6077 in __GI_raise (sig=sig@entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
56    ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0  0x00007ffff5af6077 in __GI_raise (sig=sig@entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00007ffff5af7458 in __GI_abort () at abort.c:89
#2  0x00007ffff5aef196 in __assert_fail_base (fmt=0x7ffff5c258c8 "%s%s%s:%u:
%s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x7ffff161bd94 "p !=
__null", 
    file=file@entry=0x7ffff1657d31 "../../src/glsl/list.h", line=line@entry=79, 
    function=function@entry=0x7ffff167e520
<_ZZN9exec_nodenwEmPvE19__PRETTY_FUNCTION__> "static void* exec_node::operator
new(size_t, void*)") at assert.c:92
#3  0x00007ffff5aef242 in __GI___assert_fail (assertion=0x7ffff161bd94 "p !=
__null", file=0x7ffff1657d31 "../../src/glsl/list.h", line=79, 
    function=0x7ffff167e520 <_ZZN9exec_nodenwEmPvE19__PRETTY_FUNCTION__>
"static void* exec_node::operator new(size_t, void*)") at assert.c:101
#4  0x00007ffff1205cd2 in exec_node::operator new (mem_ctx=0x6caba0, size=48)
at ../../src/glsl/list.h:79
#5  0x00007ffff146bcab in operator new (mem_ctx=0x6caba0, size=48) at
../../src/glsl/ir_clone.cpp:189
#6  ir_dereference_variable::clone (this=<optimized out>, mem_ctx=0x6caba0,
ht=<optimized out>) at ../../src/glsl/ir_clone.cpp:192
#7  0x00007ffff146bda6 in ir_assignment::clone (this=0x4a8b170,
mem_ctx=0x6caba0, ht=0xdcb730) at ../../src/glsl/ir_clone.cpp:267
#8  0x00007ffff14a1a72 in ir_call::generate_inline (this=this@entry=0x872020,
next_ir=next_ir@entry=0x872020) at ../../src/glsl/opt_function_inlining.cpp:160
#9  0x00007ffff14a1dc3 in (anonymous
namespace)::ir_function_inlining_visitor::visit_enter (this=0x7fffffffd9b0,
ir=0x872020) at ../../src/glsl/opt_function_inlining.cpp:250
#10 0x00007ffff147347b in ir_call::accept (this=0x872020, v=0x7fffffffd9b0) at
../../src/glsl/ir_hv_accept.cpp:323
#11 0x00007ffff1472e36 in visit_list_elements (v=v@entry=0x7fffffffd9b0,
l=l@entry=0x871fb8, statement_list=statement_list@entry=true) at
../../src/glsl/ir_hv_accept.cpp:55
#12 0x00007ffff1472f97 in ir_function_signature::accept (this=0x871f70,
v=0x7fffffffd9b0) at ../../src/glsl/ir_hv_accept.cpp:115
#13 0x00007ffff1472e36 in visit_list_elements (v=v@entry=0x7fffffffd9b0,
l=l@entry=0xa51d98, statement_list=statement_list@entry=false) at
../../src/glsl/ir_hv_accept.cpp:55
#14 0x00007ffff147300e in ir_function::accept (this=0xa51d70, v=0x7fffffffd9b0)
at ../../src/glsl/ir_hv_accept.cpp:127
#15 0x00007ffff1472e36 in visit_list_elements (v=v@entry=0x7fffffffd9b0,
l=l@entry=0xa5d450, statement_list=statement_list@entry=true) at
../../src/glsl/ir_hv_accept.cpp:55
#16 0x00007ffff1472cba in ir_hierarchical_visitor::run
(this=this@entry=0x7fffffffd9b0, instructions=instructions@entry=0xa5d450) at
../../src/glsl/ir_hierarchical_visitor.cpp:355
#17 0x00007ffff14a180c in do_function_inlining
(instructions=instructions@entry=0xa5d450) at
../../src/glsl/opt_function_inlining.cpp:72
#18 0x00007ffff14643c0 in do_common_optimization (ir=0xa5d450,
linked=<optimized out>, uniform_locations_assigned=<optimized out>,
options=0x7ffff7fa9ae0, native_integers=<optimized out>)
    at ../../src/glsl/glsl_parser_extras.cpp:1561
#19 0x00007ffff148523a in link_shaders (ctx=0x5dc2, ctx@entry=0x7ffff7fa9040,
prog=0xa67380) at ../../src/glsl/linker.cpp:2687
#20 0x00007ffff13f572b in _mesa_glsl_link_shader (ctx=0x7ffff7fa9040,
prog=0xa67380) at ../../src/mesa/program/ir_to_mesa.cpp:3034
#21 0x00007ffff12f532a in link_program (ctx=0x7ffff7fa9040, program=<optimized
out>) at ../../src/mesa/main/shaderapi.c:914
#22 0x00007ffff7affcbe in stub_glLinkProgram (program=3) at
/opt/devel/piglit/tests/util/piglit-dispatch-gen.c:29058
#23 0x0000000000406514 in link_and_use_shaders () at
/opt/devel/piglit/tests/shaders/shader_runner.c:829
#24 0x000000000040b26b in piglit_init (argc=2, argv=0x7fffffffde78) at
/opt/devel/piglit/tests/shaders/shader_runner.c:2686
#25 0x00007ffff7b68212 in run_test (gl_fw=0x611010, argc=2,
argv=0x7fffffffde78) at
/opt/devel/piglit/tests/util/piglit-framework-gl/piglit_winsys_framework.c:72
#26 0x00007ffff7b4d8c5 in piglit_gl_test_run (argc=2, argv=0x7fffffffde78,
config=0x7fffffffdd40) at
/opt/devel/piglit/tests/util/piglit-framework-gl.c:151
#27 0x0000000000404ebc in main (argc=2, argv=0x7fffffffde78) at
/opt/devel/piglit/tests/shaders/shader_runner.c:60</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>