[Mesa-dev] [Bug 92850] Segfault loading War Thunder
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Jan 13 12:17:36 PST 2016
https://bugs.freedesktop.org/show_bug.cgi?id=92850
--- Comment #57 from Ernst Sjöstrand <ernstp at gmail.com> ---
With current git I get a crash like this:
0x00007ffff26ff349 in glsl_to_tgsi_visitor::visit (this=0x7fffa2725600,
ir=0x7fffa271baf8) at state_tracker/st_glsl_to_tgsi.cpp:3161
3161 const glsl_type *sampler_type = ir->sampler->type;
(gdb) bt full
#0 0x00007ffff26ff349 in glsl_to_tgsi_visitor::visit (this=0x7fffa2725600,
ir=0x7fffa271baf8) at state_tracker/st_glsl_to_tgsi.cpp:3161
result_src = {file = PROGRAM_UNDEFINED, index = 0, index2D = 0, swizzle
= 0, negate = 0, type = 13, reladdr = 0x0, reladdr2 = <optimized out>,
has_index2 = <optimized out>,
double_reg2 = <optimized out>, array_id = <optimized out>,
is_double_vertex_input = <optimized out>}
coord = {file = PROGRAM_UNDEFINED, index = 0, index2D = 0, swizzle = 0,
negate = 0, type = 13, reladdr = 0x0, reladdr2 = <optimized out>, has_index2 =
<optimized out>,
double_reg2 = <optimized out>, array_id = <optimized out>,
is_double_vertex_input = <optimized out>}
cube_sc = {file = PROGRAM_UNDEFINED, index = 0, index2D = 0, swizzle =
0, negate = 0, type = 13, reladdr = 0x0, reladdr2 = <optimized out>, has_index2
= <optimized out>,
double_reg2 = <optimized out>, array_id = <optimized out>,
is_double_vertex_input = <optimized out>}
lod_info = {file = PROGRAM_UNDEFINED, index = 0, index2D = 0, swizzle =
0, negate = 0, type = 13, reladdr = 0x0, reladdr2 = <optimized out>, has_index2
= <optimized out>,
double_reg2 = <optimized out>, array_id = <optimized out>,
is_double_vertex_input = <optimized out>}
projector = {file = PROGRAM_UNDEFINED, index = 0, index2D = 0, swizzle
= 0, negate = 0, type = 13, reladdr = 0x0, reladdr2 = <optimized out>,
has_index2 = <optimized out>,
double_reg2 = <optimized out>, array_id = <optimized out>,
is_double_vertex_input = <optimized out>}
dx = {file = PROGRAM_UNDEFINED, index = 0, index2D = 0, swizzle = 0,
negate = 0, type = 13, reladdr = 0x0, reladdr2 = <optimized out>, has_index2 =
<optimized out>,
double_reg2 = <optimized out>, array_id = <optimized out>,
is_double_vertex_input = <optimized out>}
dy = {file = PROGRAM_UNDEFINED, index = 0, index2D = 0, swizzle = 0,
negate = 0, type = 13, reladdr = 0x0, reladdr2 = <optimized out>, has_index2 =
<optimized out>,
double_reg2 = <optimized out>, array_id = <optimized out>,
is_double_vertex_input = <optimized out>}
offset = {{file = PROGRAM_UNDEFINED, index = 0, index2D = 0, swizzle =
0, negate = 0, type = 13, reladdr = 0x0, reladdr2 = 0x0, has_index2 = false,
double_reg2 = false,
array_id = 0, is_double_vertex_input = false}, {file =
PROGRAM_UNDEFINED, index = 0, index2D = 0, swizzle = 0, negate = 0, type = 13,
reladdr = 0x0, reladdr2 = 0x0,
has_index2 = false, double_reg2 = false, array_id = 0,
is_double_vertex_input = false}, {file = PROGRAM_UNDEFINED, index = 0, index2D
= 0, swizzle = 0, negate = 0,
type = 13, reladdr = 0x0, reladdr2 = 0x0, has_index2 = false,
double_reg2 = false, array_id = 0, is_double_vertex_input = false}, {file =
4067491840, index = 0,
index2D = 0, swizzle = 89, negate = 12, type = 6, reladdr =
0x40000000, reladdr2 = 0x0, has_index2 = false, double_reg2 = false, array_id =
0,
is_double_vertex_input = false}}
sample_index = <optimized out>
component = <optimized out>
levels_src = <optimized out>
result_dst = <optimized out>
coord_dst = <optimized out>
cube_sc_dst = <optimized out>
inst = <optimized out>
opcode = <optimized out>
sampler_type = <optimized out>
sampler_index = <optimized out>
is_cube_array = <optimized out>
i = <optimized out>
(gdb) p *(ir->sampler)
$8 = {<ir_rvalue> = {<ir_instruction> = {<exec_node> = {next = 0x0, prev =
0x0}, _vptr.ir_instruction = 0x7ffff2e23b90 <vtable for
ir_dereference_variable+16>,
ir_type = ir_type_dereference_variable}, type = 0x7ffff2e3fcc0
<glsl_type::_sampler2D_type>}, <No data fields>}
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20160113/307f2e78/attachment.html>
More information about the mesa-dev
mailing list