[Bug 84215] New: [BSW]Piglit shaders/glsl-fs-inline-explosion segfault

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Sep 22 22:32:44 PDT 2014


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

          Priority: medium
            Bug ID: 84215
          Assignee: idr at freedesktop.org
           Summary: [BSW]Piglit shaders/glsl-fs-inline-explosion segfault
        QA Contact: intel-3d-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: huax.lu at intel.com
          Hardware: All
            Status: NEW
           Version: unspecified
         Component: Drivers/DRI/i965
           Product: Mesa

System Environment:
--------------------------
Platform: BSW
Libdrm:       
(master)libdrm-2.4.56-29-g666788a6062de62aa0b3560760fbb0903167a319
Mesa:        (master)d69faf851fff5d41086c9940b2fcf2aa72c40e60
Xserver:(master)xorg-server-1.16.0-317-geaee6572beefca240c42791f9a3a6e547bedd410 
Xf86_video_intel:(master)2.99.916-52-g376037e6336dfc3b32c51b774ab8a80f64390e02
Libva:        (master)e0d25ece01e7aba819c910e98c4fb4706cdab055
Libva_intel_driver:(master)bc2e06ef0f89b264fe968fbff4f06e425385c3d8
Kernel:   (drm-intel-nightly)c5660b4ad395f1e34eacc22cf81c687edfc9c83c

Bug detailed description:
---------------------------
It segfault on BSW with mesa master branch, fails on BDW.
shaders_glsl-vs-inline-explosion also segfault.

output:
piglit: info: Address space limit = 18446744073709551615, max =
18446744073709551615
piglit: info: Resetting limit to 268435456
Segmentation fault (core dumped)

(gdb) bt
#0  ir_variable::ir_variable (this=0x0, type=0x7ffff40ad840
<glsl_type::_vec4_type>, name=0x625a458 "x", mode=ir_var_auto) at
../../src/glsl/ir.cpp:1548
#1  0x00007ffff3c8042c in ir_variable::clone (this=0x625a398, mem_ctx=0x696658,
ht=0xd49de0) at ../../src/glsl/ir_clone.cpp:44
#2  0x00007ffff3cb1251 in ir_call::generate_inline (this=this at entry=0x9f66f8,
next_ir=next_ir at entry=0x9f66f8) at ../../src/glsl/opt_function_inlining.cpp:160
#3  0x00007ffff3cb1543 in (anonymous
namespace)::ir_function_inlining_visitor::visit_enter (this=0x7fffffffdd00,
ir=0x9f66f8) at ../../src/glsl/opt_function_inlining.cpp:250
#4  0x00007ffff3c867db in ir_call::accept (this=0x9f66f8, v=0x7fffffffdd00) at
../../src/glsl/ir_hv_accept.cpp:323
#5  0x00007ffff3c861ce in visit_list_elements (v=v at entry=0x7fffffffdd00,
l=l at entry=0x9f6690, statement_list=statement_list at entry=true) at
../../src/glsl/ir_hv_accept.cpp:55
#6  0x00007ffff3c86317 in ir_function_signature::accept (this=0x9f6648,
v=0x7fffffffdd00) at ../../src/glsl/ir_hv_accept.cpp:115
#7  0x00007ffff3c861ce in visit_list_elements (v=v at entry=0x7fffffffdd00,
l=l at entry=0x9f6600, statement_list=statement_list at entry=false) at
../../src/glsl/ir_hv_accept.cpp:55
#8  0x00007ffff3c8638e in ir_function::accept (this=0x9f65d8, v=0x7fffffffdd00)
at ../../src/glsl/ir_hv_accept.cpp:127
#9  0x00007ffff3c861ce in visit_list_elements (v=v at entry=0x7fffffffdd00,
l=l at entry=0x8756e8, statement_list=statement_list at entry=true) at
../../src/glsl/ir_hv_accept.cpp:55
#10 0x00007ffff3c8604a in ir_hierarchical_visitor::run
(this=this at entry=0x7fffffffdd00, instructions=instructions at entry=0x8756e8)
    at ../../src/glsl/ir_hierarchical_visitor.cpp:355
#11 0x00007ffff3cb0fec in do_function_inlining
(instructions=instructions at entry=0x8756e8) at
../../src/glsl/opt_function_inlining.cpp:72
#12 0x00007ffff3c79c50 in do_common_optimization (ir=0x8756e8,
linked=linked at entry=true,
uniform_locations_assigned=uniform_locations_assigned at entry=false,
    options=options at entry=0x7ffff39cfad8, native_integers=<optimized out>) at
../../src/glsl/glsl_parser_extras.cpp:1561
#13 0x00007ffff3c93e26 in link_shaders (ctx=ctx at entry=0x7ffff39cf038,
prog=prog at entry=0x875998) at ../../src/glsl/linker.cpp:2680
#14 0x00007ffff3c0bf6b in _mesa_glsl_link_shader (ctx=0x7ffff39cf038,
prog=0x875998) at ../../src/mesa/program/ir_to_mesa.cpp:3034
#15 0x00007ffff3b14d5a in link_program (ctx=0x7ffff39cf038, program=<optimized
out>) at ../../src/mesa/main/shaderapi.c:915
#16 0x00007ffff7d1cbc8 in stub_glLinkProgram (program=3) at
/GFX/Test/Piglit/piglit/tests/util/piglit-dispatch-gen.c:29058
#17 0x0000000000406530 in link_and_use_shaders () at
/GFX/Test/Piglit/piglit/tests/shaders/shader_runner.c:829
#18 0x000000000040b261 in piglit_init (argc=2, argv=0x7fffffffe1b8) at
/GFX/Test/Piglit/piglit/tests/shaders/shader_runner.c:2686
#19 0x00007ffff7d851dc in run_test (gl_fw=0x612010, argc=2,
argv=0x7fffffffe1b8) at
/GFX/Test/Piglit/piglit/tests/util/piglit-framework-gl/piglit_winsys_framework.c:72
#20 0x00007ffff7d6a885 in piglit_gl_test_run (argc=2, argv=0x7fffffffe1b8,
config=0x7fffffffe080) at
/GFX/Test/Piglit/piglit/tests/util/piglit-framework-gl.c:151
#21 0x0000000000404ef6 in main (argc=2, argv=0x7fffffffe1b8) at
/GFX/Test/Piglit/piglit/tests/shaders/shader_runner.c:60

Reproduce steps:
-------------------------
1. xinit
2. bin/shader_runner tests/shaders/glsl-fs-inline-explosion.shader_test -auto

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20140923/3bad0d86/attachment.html>


More information about the intel-3d-bugs mailing list