From: bugzilla-daemon@freedesktop.org Subject: [Bug 106533] r300_dri.so SIGSEGV in llvm_pipeline_generic under Cinnamon Date: Sun, 03 Jun 2018 20:03:30 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1787962687==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 2F4056E373 for ; Sun, 3 Jun 2018 20:03:30 +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 --===============1787962687== Content-Type: multipart/alternative; boundary="15280562101.994C0.22650" Content-Transfer-Encoding: 7bit --15280562101.994C0.22650 Date: Sun, 3 Jun 2018 20:03:30 +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=3D106533 michael.panzlaff@fau.de changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |michael.panzlaff@fau.de --- Comment #3 from michael.panzlaff@fau.de --- Created attachment 139995 --> https://bugs.freedesktop.org/attachment.cgi?id=3D139995&action=3Dedit registers, stack and jit function disassembly (In reply to Roland Scheidegger from comment #2) > I suppose it crashes in the jit-compiled code (debug symbols should help > with identifying that, but not help any further if that's the case). > Can you print out the faulting instruction (gdb x/i address or so)? > Also, if that would be some SSE instruction, try to see if the memory > operand is aligned (or just not addressable). I've tried to get the game "Thimbleweed Park" to run and it seems like it's crashing for a very similar reason. This is the stack trace: #0 0x00007ffff7fdc000 in ?? () #1 0x00007ffff27288d8 in llvm_pipeline_generic (middle=3Dmiddle@entry=3D0x= 2bc9110, fetch_info=3Dfetch_info@entry=3D0x7fffffffdf80,=20 in_prim_info=3Din_prim_info@entry=3D0x7fffffffdfa0) at draw/draw_pt_fetch_shade_pipeline_llvm.c:408 #2 0x00007ffff2728f86 in llvm_middle_end_linear_run (middle=3D0x2bc9110, start=3D0, count=3D, prim_flags=3D0) at draw/draw_pt_fetch_shade_pipeline_llvm.c:588 #3 0x00007ffff2635d56 in vsplit_segment_simple_linear (vsplit=3D0x2bc6340, vsplit=3D0x2bc6340, icount=3D4, istart=3D0, flags=3D0) at draw/draw_pt_vspl= it_tmp.h:226 #4 vsplit_run_linear (frontend=3D0x2bc6340, start=3D0, count=3D4) at draw/draw_split_tmp.h:70 #5 0x00007ffff262d71a in draw_pt_arrays (draw=3Ddraw@entry=3D0x2ba3b20, pr= im=3D6, start=3D0, count=3Dcount@entry=3D4) at draw/draw_pt.c:175 #6 0x00007ffff262df50 in draw_vbo (draw=3D0x2ba3b20, info=3D0x7fffffffe0d0, info@entry=3D0x7fffffffe1a0) at draw/draw_pt.c:609 #7 0x00007ffff273b319 in r300_swtcl_draw_vbo (pipe=3D0x2b7ac80, info=3D0x7fffffffe1a0) at r300_render.c:862 #8 0x00007ffff273d9e6 in r300_stencilref_draw_vbo (pipe=3D0x2b7ac80, info=3D0x7fffffffe1a0) at r300_render_stencilref.c:113 #9 0x00007ffff261cce7 in cso_draw_arrays (cso=3D, mode=3Dmode@entry=3D6, start=3Dstart@entry=3D0, count=3Dcount@entry=3D4) at cso_cache/cso_context.c:1724 #10 0x00007ffff2413ee4 in st_draw_quad (st=3Dst@entry=3D0x2cbddb0, x0=3Dx0@= entry=3D-1, y0=3Dy0@entry=3D-0.899999976, x1=3Dx1@entry=3D1, y1=3Dy1@entry=3D0.89999997= 6, z=3D1,=20 s0=3Ds0@entry=3D0, t0=3Dt0@entry=3D0, s1=3Ds1@entry=3D0, t1=3D0, color=3Dcolor@entry=3D0x2c9a44c, num_instances=3Dnum_instances@entry=3D1) at state_tracker/st_draw.c:435 #11 0x00007ffff23f8df1 in clear_with_quad (clear_buffers=3D, ctx=3D0x2c987c0) at state_tracker/st_cb_clear.c:300 #12 st_Clear (ctx=3D0x2c987c0, mask=3D2) at state_tracker/st_cb_clear.c:454 #13 0x00007ffff2244dc5 in clear (no_error=3Dfalse, mask=3D, ctx=3D0x2c987c0) at main/clear.c:221 #14 _mesa_Clear (mask=3D) at main/clear.c:244 #15 0x000000000049e364 in ?? () #16 0x0000000000481fd3 in ?? () #17 0x000000000048359f in ?? () #18 0x00007ffff6c9aa87 in __libc_start_main (main=3D0x40e130, argc=3D1, argv=3D0x7fffffffe5f8, init=3D, fini=3D,=20 rtld_fini=3D, stack_end=3D0x7fffffffe5e8) at ../csu/libc-start.c:310 #19 0x000000000040f04a in ?? () To answer your original question I've provided information (stack, register= s, assembly of jit function) in the attached text file. PS: Hope I did everything correct. First time for me posting something on t= he bugzilla. --=20 You are receiving this mail because: You are the assignee for the bug.= --15280562101.994C0.22650 Date: Sun, 3 Jun 2018 20:03:30 +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 michael.panzlaff&= #64;fau.de changed bug 10653= 3
What Removed Added
CC   michael.panzlaff@fau.de

Commen= t # 3 on bug 10653= 3 from michael.= panzlaff@fau.de
Created attachment 139995 [details]=

registers, stack and jit function disassembly

(In reply to Roland Scheidegger from comment #2)
> I suppose it crashes in the jit-compiled code (d=
ebug symbols should help
> with identifying that, but not help any further if that's the case).
> Can you print out the faulting instruction (gdb x/i address or so)?
> Also, if that would be some SSE instruction, try to see if the memory
> operand is aligned (or just not addressable).

I've tried to get the game "Thimbleweed Park" to run and it seems=
 like it's
crashing for a very similar reason. This is the stack trace:

#0  0x00007ffff7fdc000 in ?? ()
#1  0x00007ffff27288d8 in llvm_pipeline_generic (middle=3Dmiddle@entry=
=3D0x2bc9110,
fetch_info=3Dfetch_info@entry=3D0x7fffffffdf80,=20
    in_prim_info=3Din_prim_info@entry=3D0x7fffffffdfa0) at
draw/draw_pt_fetch_shade_pipeline_llvm.c:408
#2  0x00007ffff2728f86 in llvm_middle_end_linear_run (middle=3D0x2bc9110,
start=3D0, count=3D<optimized out>, prim_flags=3D0)
    at draw/draw_pt_fetch_shade_pipeline_llvm.c:588
#3  0x00007ffff2635d56 in vsplit_segment_simple_linear (vsplit=3D0x2bc6340,
vsplit=3D0x2bc6340, icount=3D4, istart=3D0, flags=3D0) at draw/draw_pt_vspl=
it_tmp.h:226
#4  vsplit_run_linear (frontend=3D0x2bc6340, start=3D0, count=3D4) at
draw/draw_split_tmp.h:70
#5  0x00007ffff262d71a in draw_pt_arrays (draw=3Ddraw@entry=3D0x2ba3b20=
, prim=3D6,
start=3D0, count=3Dcount@entry=3D4) at draw/draw_pt.c:175
#6  0x00007ffff262df50 in draw_vbo (draw=3D0x2ba3b20, info=3D0x7fffffffe0d0,
info@entry=3D0x7fffffffe1a0) at draw/draw_pt.c:609
#7  0x00007ffff273b319 in r300_swtcl_draw_vbo (pipe=3D0x2b7ac80,
info=3D0x7fffffffe1a0) at r300_render.c:862
#8  0x00007ffff273d9e6 in r300_stencilref_draw_vbo (pipe=3D0x2b7ac80,
info=3D0x7fffffffe1a0) at r300_render_stencilref.c:113
#9  0x00007ffff261cce7 in cso_draw_arrays (cso=3D<optimized out>,
mode=3Dmode@entry=3D6, start=3Dstart@entry=3D0, count=3Dcount@e=
ntry=3D4) at
cso_cache/cso_context.c:1724
#10 0x00007ffff2413ee4 in st_draw_quad (st=3Dst@entry=3D0x2cbddb0, x0=
=3Dx0@entry=3D-1,
y0=3Dy0@entry=3D-0.899999976, x1=3Dx1@entry=3D1, y1=3Dy1@entry=
=3D0.899999976, z=3D1,=20
    s0=3Ds0@entry=3D0, t0=3Dt0@entry=3D0, s1=3Ds1@entry=3D0, t1=
=3D0,
color=3Dcolor@entry=3D0x2c9a44c, num_instances=3Dnum_instances@entr=
y=3D1) at
state_tracker/st_draw.c:435
#11 0x00007ffff23f8df1 in clear_with_quad (clear_buffers=3D<optimized ou=
t>,
ctx=3D0x2c987c0) at state_tracker/st_cb_clear.c:300
#12 st_Clear (ctx=3D0x2c987c0, mask=3D2) at state_tracker/st_cb_clear.c:454
#13 0x00007ffff2244dc5 in clear (no_error=3Dfalse, mask=3D<optimized out=
>,
ctx=3D0x2c987c0) at main/clear.c:221
#14 _mesa_Clear (mask=3D<optimized out>) at main/clear.c:244
#15 0x000000000049e364 in ?? ()
#16 0x0000000000481fd3 in ?? ()
#17 0x000000000048359f in ?? ()
#18 0x00007ffff6c9aa87 in __libc_start_main (main=3D0x40e130, argc=3D1,
argv=3D0x7fffffffe5f8, init=3D<optimized out>, fini=3D<optimized o=
ut>,=20
    rtld_fini=3D<optimized out>, stack_end=3D0x7fffffffe5e8) at
../csu/libc-start.c:310
#19 0x000000000040f04a in ?? ()

To answer your original question I've provided information (stack, register=
s,
assembly of jit function) in the attached text file.

PS: Hope I did everything correct. First time for me posting something on t=
he
bugzilla.


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