mesa: 7f80041efae5be95ef53b8164e67027d234f9574 (master) Run glean api2 on 64-bit build. A SIGSEGV occurs. The SIGSEGV does not happen with a 32-bit build. The regression was introduced by the glsl branch merge. git bisect good 15a3b42e135a3a2cb463ec3cff80a55dd8528051 git bisect bad 6c03c576cc49bbb008de66d374f4302ff0fe0390 (gdb) bt full #0 0x00007fa5d27c599c in ir_has_call (ir=0x7f0000000000) at src/glsl/ir_basic_block.cpp:56 v = {<ir_hierarchical_visitor> = {_vptr.ir_hierarchical_visitor = 0x7fa5d3218230, base_ir = 0x0, callback = 0, data = 0x0}, has_call = false} #1 0x00007fa5d27a35a8 in do_dead_code (instructions=0x2d65890) at src/glsl/ir_dead_code.cpp:80 entry = 0x3234c60 iter = {<iterator> = {<No data fields>}, node = 0x3234c60, _next = 0x3234cf0} v = {<ir_hierarchical_visitor> = {_vptr.ir_hierarchical_visitor = 0x7fa5d3217770, base_ir = 0x0, callback = 0, data = 0x0}, variable_list = {head = 0x338f840, tail = 0x0, tail_pred = 0x30d8e70}, mem_ctx = 0x30171a0} progress = true #2 0x00007fa5d2792d98 in do_common_optimization (ir=0x2d65890, linked=true) at src/glsl/glsl_parser_extras.cpp:725 progress = 1 '\001' #3 0x00007fa5d27b6bc4 in link_shaders (ctx=0x2c8c5c0, prog=0x2e261e0) at src/glsl/linker.cpp:1332 i = 0 vert_shader_list = 0x3206940 num_frag_shaders = 1 min_version = 110 max_version = 110 num_vert_shaders = 0 frag_shader_list = 0x3206948 #4 0x00007fa5d26a277a in _mesa_glsl_link_shader (ctx=0x2c8c5c0, prog=0x2e261e0) at src/mesa/program/ir_to_mesa.cpp:2741 i = 1 #5 0x00007fa5d266845e in link_program (ctx=0x2c8c5c0, program=5) at src/mesa/main/shaderapi.c:829 shProg = 0x2e261e0 obj = 0x2cd1720 __FUNCTION__ = "link_program" #6 0x00007fa5d266916b in _mesa_LinkProgramARB (programObj=5) at src/mesa/main/shaderapi.c:1342 ctx = 0x2c8c5c0 #7 0x0000000000489a84 in GLEAN::API2Test::createProgram(unsigned int, unsigned int) () No symbol table info available. #8 0x0000000000489f3a in GLEAN::API2Test::testUniformfFuncs() () No symbol table info available. #9 0x000000000048afad in GLEAN::API2Test::runSubTests(GLEAN::MultiTestResult&) () No symbol table info available. #10 0x000000000048b03e in GLEAN::API2Test::runOne(GLEAN::MultiTestResult&, GLEAN::Window&) () No symbol table info available. #11 0x000000000048bda7 in GLEAN::BaseTest<GLEAN::MultiTestResult>::run(GLEAN::Environment&) () No symbol table info available. #12 0x000000000048354f in main () No symbol table info available.
*** Bug 29601 has been marked as a duplicate of this bug. ***
mesa: 977f7d48eefee281cc6bb3ccfb462290854b05cd (master) glean api2 runs on a 64-bit build without crashing on swrast, softpipe, and llvmpipe.
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.