From: bugzilla-daemon@freedesktop.org Subject: [Bug 106928] When starting a match Rocket League crashes on "Go" Date: Tue, 26 Jun 2018 16:27:06 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0650917837==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 780EC6E5CF for ; Tue, 26 Jun 2018 16:27:06 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0650917837== Content-Type: multipart/alternative; boundary="15300304260.8aDCeBaC8.16722" Content-Transfer-Encoding: 7bit --15300304260.8aDCeBaC8.16722 Date: Tue, 26 Jun 2018 16:27:06 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D106928 --- Comment #4 from ubizjak@gmail.com --- (In reply to ubizjak from comment #3) > [1] https://bugzilla.redhat.com/show_bug.cgi?id=3D1580019 As reported in [1], full backtrace with debug info reads: Thread 1 "firefox" received signal SIGSEGV, Segmentation fault. 0x000055b7d4b054b2 in mozalloc_abort(char const*) () (gdb) bt #0 0x000055b7d4b054b2 in mozalloc_abort(char const*) () #1 0x000055b7d4af97b6 in mozilla::detail::ConditionVariableImpl::ConditionVariableImpl() [clone .cold.16] () #2 0x00007f94d056f965 in std::__replacement_assert(char const*, int, char const*, char const*) (__condition=3D0x7f94d0786638 "__builtin_expect(__n < this->size(), true)", __function=3D, __line=3D932, __file=3D0x7f94d07884a0 "/usr/include/c++/8/bits/stl_vector.h") at /usr/include/c++/8/x86_64-redhat-linux/bits/c++config.h:2389 #3 0x00007f94d056f965 in std::vector >::operator[](unsigned long) (__n=3D2, this=3D0x7f94d904c820) at /usr/include/c++/8/bits/stl_vector.h:932 #4 0x00007f94d056f965 in r600_sb::expr_handler::fold_alu_op3(r600_sb::alu_node&) (this=3D0x7f94f3dee= ea8, n=3D...) at sb/sb_expr.cpp:951 #5 0x00007f94d056c0cd in r600_sb::expr_handler::try_fold(r600_sb::node*) (n=3D, this=3D) at sb/sb_expr.cpp:145 #6 0x00007f94d056c0cd in r600_sb::expr_handler::try_fold(r600_sb::value*) (this=3D, v=3D0x7f94d90616f0) at sb/sb_expr.cpp:136 #7 0x00007f94d058e3fc in r600_sb::value_table::add_value(r600_sb::value*) (this=3D0x7f94f3deee70, v=3D, v@entry=3D0x7f94d90616f0) at sb/sb_valtable.cpp:149 #8 0x00007f94d0573381 in r600_sb::gvn::process_op(r600_sb::node&, bool) (this=3D0x7ffeac463420, n=3D..., rewrite=3Drewrite@entry=3Dtrue) at sb/sb_g= vn.cpp:222 #9 0x00007f94d057356e in r600_sb::gvn::visit(r600_sb::alu_node&, bool) (this=3D, n=3D..., enter=3D) at sb/sb_gvn.cpp= :97 #10 0x00007f94d0577570 in r600_sb::vpass::run_on(r600_sb::container_node&) (this=3D0x7ffeac463420, n=3D...) at sb/sb_ir.h:888 #11 0x00007f94d0577651 in r600_sb::vpass::run() (this=3D0x7ffeac463420) at sb/sb_pass.cpp:44 #12 0x00007f94d05670ba in r600_sb_bytecode_process () at sb/sb_core.cpp:205 #13 0x00007f94d0533bcd in r600_pipe_shader_create (ctx=3Dctx@entry=3D0x7f94fa76f000, shader=3Dshader@entry=3D0x7f94d903f000, = key=3D...) at r600_shader.c:215 #14 0x00007f94d053de64 in r600_shader_select (ctx=3Dctx@entry=3D0x7f94fa76f= 000, sel=3D0x7f94d903c000, dirty=3Ddirty@entry=3D0x7ffeac464175) at r600_state_common.c:869 #15 0x00007f94d053f077 in r600_update_derived_state (rctx=3D0x7f94fa76f000)= at r600_state_common.c:1687 #16 0x00007f94d053f077 in r600_draw_vbo (ctx=3D0x7f94fa76f000, info=3D0x7ffeac464490) at r600_state_common.c:1968 #17 0x00007f94d031e710 in u_vbuf_draw_vbo (mgr=3D0x7f94f90af000, info=3D) at util/u_vbuf.c:1150 #18 0x00007f94d0109a2f in st_draw_vbo (ctx=3D, prims=3D0x7ffeac464550, nr_prims=3D, ib=3D0x0, index_bounds_valid=3D, min_index=3D, max_index=3D, tfb_vertcount=3D0x0, stream=3D0, indirect=3D0x= 0) at state_tracker/st_draw.c:227 #19 0x00007f94d00ce70b in vbo_draw_arrays (ctx=3Dctx@entry=3D0x7f94ed8c2000, mode=3Dmode@entry=3D4, start=3Dstart@entry=3D1320, count=3Dcount@entry=3D87, numInstances=3DnumInstances@entry=3D1, baseInstance=3DbaseInstance@entry=3D= 0, drawID=3D0) at vbo/vbo_exec_array.c:486 #20 0x00007f94d00ce79a in vbo_exec_DrawArraysInstanced (mode=3D4, start=3D1= 320, count=3D87, numInstances=3D1) at vbo/vbo_exec_array.c:677 #21 0x00007f96a8c92855 in mozilla::WebGLContext::DrawArraysInstanced(unsign= ed int, int, int, int, char const*) () at /usr/lib64/firefox/libxul.so #22 0x00007f96a892f967 in mozilla::dom::WebGLRenderingContextBinding::drawArrays(JSContext*, JS::Handle, mozilla::WebGLContext*, JSJitMethodCallArgs const&) = () at /usr/lib64/firefox/libxul.so #23 0x00007f96a8c0e1c9 in mozilla::dom::GenericBindingMethod(JSContext*, unsigned int, JS::Value*) () at /usr/lib64/firefox/libxul.so #24 0x000021a97a2b79c6 in () #25 0x0000000000000000 in () The value of alu_node& n in frame #4, where things go downhill: (gdb) f 4 #4 r600_sb::expr_handler::fold_alu_op3 (this=3D0x7f94f3deeea8, n=3D...) at sb/sb_expr.cpp:951 951 value* v2 =3D n.src[2]->gvalue(); (gdb) list 946 return true; 947 } 948 949 value* v0 =3D n.src[0]->gvalue(); 950 value* v1 =3D n.src[1]->gvalue(); 951 value* v2 =3D n.src[2]->gvalue(); 952 953 /* LDS instructions look like op3 with no dst - don't fold.= */ 954 if (!n.dst[0]) 955 return false; (gdb) p n $1 =3D (r600_sb::alu_node &) @0x7f94d904c7d0: { =3D {_vptr.n= ode =3D 0x7f94d0b692f8 , prev =3D 0x7f94d904c738,= =20 next =3D 0x7f94d904c938, parent =3D 0x7f94d904c000, type =3D r600_sb::N= T_OP, subtype =3D r600_sb::NST_ALU_INST, flags =3D r600_sb::NF_EMPTY, pred =3D 0x= 0,=20 dst =3D std::vector of length 1, capacity 1 =3D {0x7f94d90616f0}, src = =3D std::vector of length 2, capacity 3 =3D {0x7f94d905d110, 0x7f94d905cf70}}, = bc =3D { op_ptr =3D 0x7f94d0b628a0 , op =3D 0, src =3D {{sel = =3D 252, chan =3D 2, neg =3D 0, abs =3D 0, rel =3D 0, value =3D {{i =3D 0, u =3D 0, = f =3D 0}}}, {sel =3D 0,=20 chan =3D 0, neg =3D 0, abs =3D 0, rel =3D 0, value =3D {{i =3D 0, u= =3D 0, f =3D 0}}}, {sel =3D 252, chan =3D 2, neg =3D 0, abs =3D 0, rel =3D 0, value =3D {{i = =3D 0, u =3D 0,=20 f =3D 0}}}}, dst_gpr =3D 6, dst_chan =3D 2, dst_rel =3D 0, clam= p =3D 0, omod =3D 0, bank_swizzle =3D 0, index_mode =3D 0, last =3D 1, pred_sel =3D 0, fo= g_merge =3D 0,=20 write_mask =3D 0, update_exec_mask =3D 0, update_pred =3D 0, slot =3D 2, lds_idx_offset =3D 0, slot_flags =3D AF_VS}} --=20 You are receiving this mail because: You are the assignee for the bug.= --15300304260.8aDCeBaC8.16722 Date: Tue, 26 Jun 2018 16:27:06 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 4 on bug 10692= 8 from ubizjak@gmail.co= m
(In reply to ubizjak from comment #3)

> [1] https://bugzilla.redhat.com/show_bug.cgi?id=3D1580019=


As reported in [1], full backtrace with debug info reads:

Thread 1 "firefox" received signal SIGSEGV, Segmentation fault.
0x000055b7d4b054b2 in mozalloc_abort(char const*) ()
(gdb) bt
#0  0x000055b7d4b054b2 in mozalloc_abort(char const*) ()
#1  0x000055b7d4af97b6 in
mozilla::detail::ConditionVariableImpl::ConditionVariableImpl() [clone
.cold.16] ()
#2  0x00007f94d056f965 in std::__replacement_assert(char const*, int, char
const*, char const*) (__condition=3D0x7f94d0786638 "__builtin_expect(_=
_n <
this->size(), true)", __function=3D<synthetic pointer>, __lin=
e=3D932,
__file=3D0x7f94d07884a0 "/usr/include/c++/8/bits/stl_vector.h")
    at /usr/include/c++/8/x86_64-redhat-linux/bits/c++config.h:2389
#3  0x00007f94d056f965 in std::vector<r600_sb::value*,
std::allocator<r600_sb::value*> >::operator[](unsigned long) (__n=
=3D2,
this=3D0x7f94d904c820)
    at /usr/include/c++/8/bits/stl_vector.h:932
#4  0x00007f94d056f965 in
r600_sb::expr_handler::fold_alu_op3(r600_sb::alu_node&) (this=3D0x7f94f=
3deeea8,
n=3D...) at sb/sb_expr.cpp:951
#5  0x00007f94d056c0cd in r600_sb::expr_handler::try_fold(r600_sb::node*)
(n=3D<optimized out>, this=3D<optimized out>) at sb/sb_expr.cpp=
:145
#6  0x00007f94d056c0cd in r600_sb::expr_handler::try_fold(r600_sb::value*)
(this=3D<optimized out>, v=3D0x7f94d90616f0) at sb/sb_expr.cpp:136
#7  0x00007f94d058e3fc in r600_sb::value_table::add_value(r600_sb::value*)
(this=3D0x7f94f3deee70, v=3D<optimized out>, v@entry=3D0x7f94d906=
16f0)
    at sb/sb_valtable.cpp:149
#8  0x00007f94d0573381 in r600_sb::gvn::process_op(r600_sb::node&, bool)
(this=3D0x7ffeac463420, n=3D..., rewrite=3Drewrite@entry=3Dtrue) at sb/=
sb_gvn.cpp:222
#9  0x00007f94d057356e in r600_sb::gvn::visit(r600_sb::alu_node&, bool)
(this=3D<optimized out>, n=3D..., enter=3D<optimized out>) at s=
b/sb_gvn.cpp:97
#10 0x00007f94d0577570 in r600_sb::vpass::run_on(r600_sb::container_node&am=
p;)
(this=3D0x7ffeac463420, n=3D...) at sb/sb_ir.h:888
#11 0x00007f94d0577651 in r600_sb::vpass::run() (this=3D0x7ffeac463420) at
sb/sb_pass.cpp:44
#12 0x00007f94d05670ba in r600_sb_bytecode_process () at sb/sb_core.cpp:205
#13 0x00007f94d0533bcd in r600_pipe_shader_create
(ctx=3Dctx@entry=3D0x7f94fa76f000, shader=3Dshader@entry=3D0x7f94d9=
03f000, key=3D...) at
r600_shader.c:215
#14 0x00007f94d053de64 in r600_shader_select (ctx=3Dctx@entry=3D0x7f94f=
a76f000,
sel=3D0x7f94d903c000, dirty=3Ddirty@entry=3D0x7ffeac464175) at
r600_state_common.c:869
#15 0x00007f94d053f077 in r600_update_derived_state (rctx=3D0x7f94fa76f000)=
 at
r600_state_common.c:1687
#16 0x00007f94d053f077 in r600_draw_vbo (ctx=3D0x7f94fa76f000,
info=3D0x7ffeac464490) at r600_state_common.c:1968
#17 0x00007f94d031e710 in u_vbuf_draw_vbo (mgr=3D0x7f94f90af000, info=3D<=
;optimized
out>) at util/u_vbuf.c:1150
#18 0x00007f94d0109a2f in st_draw_vbo (ctx=3D<optimized out>,
prims=3D0x7ffeac464550, nr_prims=3D<optimized out>, ib=3D0x0,
index_bounds_valid=3D<optimized out>, min_index=3D<optimized out&g=
t;,
max_index=3D<optimized out>, tfb_vertcount=3D0x0, stream=3D0, indirec=
t=3D0x0) at
state_tracker/st_draw.c:227
#19 0x00007f94d00ce70b in vbo_draw_arrays (ctx=3Dctx@entry=3D0x7f94ed8c=
2000,
mode=3Dmode@entry=3D4, start=3Dstart@entry=3D1320, count=3Dcount=
4;entry=3D87,
numInstances=3DnumInstances@entry=3D1, baseInstance=3DbaseInstance@=
entry=3D0, drawID=3D0)
at vbo/vbo_exec_array.c:486
#20 0x00007f94d00ce79a in vbo_exec_DrawArraysInstanced (mode=3D4, start=3D1=
320,
count=3D87, numInstances=3D1) at vbo/vbo_exec_array.c:677
#21 0x00007f96a8c92855 in mozilla::WebGLContext::DrawArraysInstanced(unsign=
ed
int, int, int, int, char const*) () at /usr/lib64/firefox/libxul.so
#22 0x00007f96a892f967 in
mozilla::dom::WebGLRenderingContextBinding::drawArrays(JSContext*,
JS::Handle<JSObject*>, mozilla::WebGLContext*, JSJitMethodCallArgs co=
nst&) ()
at /usr/lib64/firefox/libxul.so
#23 0x00007f96a8c0e1c9 in mozilla::dom::GenericBindingMethod(JSContext*,
unsigned int, JS::Value*) () at /usr/lib64/firefox/libxul.so
#24 0x000021a97a2b79c6 in  ()
#25 0x0000000000000000 in  ()

The value of alu_node& n in frame #4, where things go downhill:

(gdb) f 4
#4  r600_sb::expr_handler::fold_alu_op3 (this=3D0x7f94f3deeea8, n=3D...) at
sb/sb_expr.cpp:951
951             value* v2 =3D n.src[2]->gvalue();
(gdb) list
946                             return true;
947             }
948
949             value* v0 =3D n.src[0]->gvalue();
950             value* v1 =3D n.src[1]->gvalue();
951             value* v2 =3D n.src[2]->gvalue();
952
953             /* LDS instructions look like op3 with no dst - don't fold.=
 */
954             if (!n.dst[0])
955                     return false;

(gdb) p n
$1 =3D (r600_sb::alu_node &) @0x7f94d904c7d0: {<r600_sb::node>=
; =3D {_vptr.node =3D
0x7f94d0b692f8 <vtable for r600_sb::alu_node+16>, prev =3D 0x7f94d904=
c738,=20
    next =3D 0x7f94d904c938, parent =3D 0x7f94d904c000, type =3D r600_sb::N=
T_OP,
subtype =3D r600_sb::NST_ALU_INST, flags =3D r600_sb::NF_EMPTY, pred =3D 0x=
0,=20
    dst =3D std::vector of length 1, capacity 1 =3D {0x7f94d90616f0}, src =
=3D
std::vector of length 2, capacity 3 =3D {0x7f94d905d110, 0x7f94d905cf70}}, =
bc =3D {
    op_ptr =3D 0x7f94d0b628a0 <r600_alu_op_table>, op =3D 0, src =3D =
{{sel =3D 252,
chan =3D 2, neg =3D 0, abs =3D 0, rel =3D 0, value =3D {{i =3D 0, u =3D 0, =
f =3D 0}}}, {sel =3D
0,=20
        chan =3D 0, neg =3D 0, abs =3D 0, rel =3D 0, value =3D {{i =3D 0, u=
 =3D 0, f =3D 0}}},
{sel =3D 252, chan =3D 2, neg =3D 0, abs =3D 0, rel =3D 0, value =3D {{i =
=3D 0, u =3D 0,=20
            f =3D 0}}}}, dst_gpr =3D 6, dst_chan =3D 2, dst_rel =3D 0, clam=
p =3D 0, omod
=3D 0, bank_swizzle =3D 0, index_mode =3D 0, last =3D 1, pred_sel =3D 0, fo=
g_merge =3D 0,=20
    write_mask =3D 0, update_exec_mask =3D 0, update_pred =3D 0, slot =3D 2,
lds_idx_offset =3D 0, slot_flags =3D AF_VS}}


You are receiving this mail because:
  • You are the assignee for the bug.
= --15300304260.8aDCeBaC8.16722-- --===============0650917837== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0650917837==--