From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 106289] mupen64plus segfaults deep inside r300_dri.so Date: Sat, 12 May 2018 21:56:07 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0880894940==" 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 4A67689954 for ; Sat, 12 May 2018 21:56:07 +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 --===============0880894940== Content-Type: multipart/alternative; boundary="15261621670.74cAEdd.3214" Content-Transfer-Encoding: 7bit --15261621670.74cAEdd.3214 Date: Sat, 12 May 2018 21:56:07 +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=3D106289 --- Comment #1 from Dave Coffin --- This bug also crashes "mplayer" but not "mpv". I compiled mesa 18.0.3 from source and got a more informative stack trace, though many parameters are s= till "optimized out": r300: DRM version: 2.50.0, Name: ATI RS480, ID: 0x5975, GB: 2, Z: 1 r300: GART size: 509 MB, VRAM size: 128 MB r300: AA compression RAM: YES, Z compression RAM: YES, HiZ RAM: NO r300: DRM version: 2.50.0, Name: ATI RS480, ID: 0x5975, GB: 2, Z: 1 r300: GART size: 509 MB, VRAM size: 128 MB r300: AA compression RAM: YES, Z compression RAM: YES, HiZ RAM: NO Core: Setting 32-bit video mode: 640x480 r300: DRM version: 2.50.0, Name: ATI RS480, ID: 0x5975, GB: 2, Z: 1 r300: GART size: 509 MB, VRAM size: 128 MB r300: AA compression RAM: YES, Z compression RAM: YES, HiZ RAM: NO r300: DRM version: 2.50.0, Name: ATI RS480, ID: 0x5975, GB: 2, Z: 1 r300: GART size: 509 MB, VRAM size: 128 MB r300: AA compression RAM: YES, Z compression RAM: YES, HiZ RAM: NO Video Warning: Failed to set GL_SWAP_CONTROL to 0. (it's 24) Video Warning: Failed to set GL_BUFFER_SIZE to 32. (it's 24) Video Warning: Failed to set GL_DEPTH_SIZE to 16. (it's 24) Video: Using OpenGL: X.Org R300 Project - ATI RS480 : 2.1 Mesa 18.0.3 Thread 1 "mupen64plus" received signal SIGSEGV, Segmentation fault. 0xb4c12200 in ?? () (gdb) where #0 0xb4c12200 in ?? () #1 0xb35b5bfb in llvm_pipeline_generic (middle=3D0x6964c0, middle@entry=3D0x64aa80,=20 fetch_info=3Dfetch_info@entry=3D0xbffb688c, in_prim_info=3Din_prim_info@entry=3D0xbffb689c) at draw/draw_pt_fetch_shade_pipeline_llvm.c:400 #2 0xb35b62af in llvm_middle_end_linear_run (middle=3D0x64aa80, start=3D0, count=3D,=20 prim_flags=3D0) at draw/draw_pt_fetch_shade_pipeline_llvm.c:553 #3 0xb34b04db in vsplit_segment_simple_linear (vsplit=3D0x648420, vsplit=3D0x648420, icount=3D4, istart=3D0,=20 flags=3D0) at draw/draw_pt_vsplit_tmp.h:226 #4 vsplit_run_linear (frontend=3D0x648420, start=3D0, count=3D4) at draw/draw_split_tmp.h:60 #5 0xb34a8140 in draw_pt_arrays (draw=3Ddraw@entry=3D0x552810, prim=3D6, s= tart=3D0, count=3D4) at draw/draw_pt.c:149 #6 0xb34a8677 in draw_vbo (draw=3D, info=3D)= at draw/draw_pt.c:564 #7 0xb35e41bb in r300_swtcl_draw_vbo (pipe=3D0x5124f0, info=3D0xbffb6a70) = at r300_render.c:862 #8 0xb34f3fd6 in util_draw_arrays_instanced (mode=3DPIPE_PRIM_TRIANGLE_FAN, start=3D0, count=3D4,=20 start_instance=3D0, instance_count=3D1, pipe=3D0x5124f0) at ./util/u_dr= aw.h:106 #9 blitter_draw (ctx=3D, vertex_elements_cso=3D,=20 get_vs=3D0xb34f3790 , x1=3D0, y1=3D0, x2=3D640,= y2=3D480, depth=3D1, num_instances=3D1) at util/u_blitter.c:1257 #10 0xb34f4176 in util_blitter_draw_rectangle (blitter=3D,=20 vertex_elements_cso=3D, get_vs=3D, x1=3D<= optimized out>,=20 y1=3D, x2=3D, y2=3D480, depth=3D1, num_in= stances=3D1,=20 type=3DUTIL_BLITTER_ATTRIB_NONE, attrib=3D0xbffb6ba4) at util/u_blitter= .c:1291 #11 0xb35e63f5 in r300_blitter_draw_rectangle (blitter=3D0x528760, vertex_elements_cso=3D0x682830,=20 get_vs=3D0xb34f3790 , x1=3D0, y1=3D0, x2=3D640,= y2=3D480, depth=3D1, num_instances=3D1,=20 type=3DUTIL_BLITTER_ATTRIB_NONE, attrib=3D0xbffb6ba4) at r300_render.c:= 1139 #12 0xb34f6dc7 in util_blitter_clear_custom (blitter=3D0x528760, width=3D64= 0, height=3D480, num_layers=3D1,=20 clear_buffers=3D1, color=3D0x628634, depth=3D1, stencil=3D0, custom_dsa= =3D0x0, custom_blend=3D0x0) at util/u_blitter.c:1411 #13 0xb34f6f33 in util_blitter_clear (blitter=3D, width=3D,=20 height=3D, num_layers=3D, clear_buffers=3D,=20 color=3D, depth=3D, stencil=3D0) at util/u_blitter.c:1428 #14 0xb35d828e in r300_clear (pipe=3D0x5124f0, buffers=3D1, color=3D0x62863= 4, depth=3D1, stencil=3D0) at r300_blit.c:368 #15 0xb329d564 in st_Clear (ctx=3D, mask=3D) at state_tracker/st_cb_clear.c:483 #16 0xb30d455c in clear (no_error=3Dfalse, mask=3D, ctx=3D0x= 627140) at main/clear.c:221 #17 _mesa_Clear (mask=3D) at main/clear.c:242 #18 0xb4ca782d in ?? () from /usr/lib/i386-linux-gnu/mupen64plus/mupen64plus-video-rice.so #19 0xb4c93574 in ?? () from /usr/lib/i386-linux-gnu/mupen64plus/mupen64plus-video-rice.so #20 0xb4c81475 in RomOpen () from /usr/lib/i386-linux-gnu/mupen64plus/mupen64plus-video-rice.so #21 0xb6406c0c in ?? () from /usr/lib/i386-linux-gnu/libmupen64plus.so.2 #22 0xb6407618 in CoreDoCommand () from /usr/lib/i386-linux-gnu/libmupen64plus.so.2 #23 0x00402d50 in main () --=20 You are receiving this mail because: You are the assignee for the bug.= --15261621670.74cAEdd.3214 Date: Sat, 12 May 2018 21:56:07 +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 # 1 on bug 10628= 9 from Dave Coffin
This bug also crashes "mplayer" but not "mpv&qu=
ot;.  I compiled mesa 18.0.3 from
source and got a more informative stack trace, though many parameters are s=
till
"optimized out":

r300: DRM version: 2.50.0, Name: ATI RS480, ID: 0x5975, GB: 2, Z: 1
r300: GART size: 509 MB, VRAM size: 128 MB
r300: AA compression RAM: YES, Z compression RAM: YES, HiZ RAM: NO
r300: DRM version: 2.50.0, Name: ATI RS480, ID: 0x5975, GB: 2, Z: 1
r300: GART size: 509 MB, VRAM size: 128 MB
r300: AA compression RAM: YES, Z compression RAM: YES, HiZ RAM: NO
Core: Setting 32-bit video mode: 640x480
r300: DRM version: 2.50.0, Name: ATI RS480, ID: 0x5975, GB: 2, Z: 1
r300: GART size: 509 MB, VRAM size: 128 MB
r300: AA compression RAM: YES, Z compression RAM: YES, HiZ RAM: NO
r300: DRM version: 2.50.0, Name: ATI RS480, ID: 0x5975, GB: 2, Z: 1
r300: GART size: 509 MB, VRAM size: 128 MB
r300: AA compression RAM: YES, Z compression RAM: YES, HiZ RAM: NO
Video Warning: Failed to set GL_SWAP_CONTROL to 0. (it's 24)
Video Warning: Failed to set GL_BUFFER_SIZE to 32. (it's 24)
Video Warning: Failed to set GL_DEPTH_SIZE to 16. (it's 24)
Video: Using OpenGL: X.Org R300 Project - ATI RS480 : 2.1 Mesa 18.0.3

Thread 1 "mupen64plus" received signal SIGSEGV, Segmentation faul=
t.
0xb4c12200 in ?? ()
(gdb) where
#0  0xb4c12200 in ?? ()
#1  0xb35b5bfb in llvm_pipeline_generic (middle=3D0x6964c0,
middle@entry=3D0x64aa80,=20
    fetch_info=3Dfetch_info@entry=3D0xbffb688c,
in_prim_info=3Din_prim_info@entry=3D0xbffb689c)
    at draw/draw_pt_fetch_shade_pipeline_llvm.c:400
#2  0xb35b62af in llvm_middle_end_linear_run (middle=3D0x64aa80, start=3D0,
count=3D<optimized out>,=20
    prim_flags=3D0) at draw/draw_pt_fetch_shade_pipeline_llvm.c:553
#3  0xb34b04db in vsplit_segment_simple_linear (vsplit=3D0x648420,
vsplit=3D0x648420, icount=3D4, istart=3D0,=20
    flags=3D0) at draw/draw_pt_vsplit_tmp.h:226
#4  vsplit_run_linear (frontend=3D0x648420, start=3D0, count=3D4) at
draw/draw_split_tmp.h:60
#5  0xb34a8140 in draw_pt_arrays (draw=3Ddraw@entry=3D0x552810, prim=3D=
6, start=3D0,
count=3D4)
    at draw/draw_pt.c:149
#6  0xb34a8677 in draw_vbo (draw=3D<optimized out>, info=3D<optimi=
zed out>) at
draw/draw_pt.c:564
#7  0xb35e41bb in r300_swtcl_draw_vbo (pipe=3D0x5124f0, info=3D0xbffb6a70) =
at
r300_render.c:862
#8  0xb34f3fd6 in util_draw_arrays_instanced (mode=3DPIPE_PRIM_TRIANGLE_FAN,
start=3D0, count=3D4,=20
    start_instance=3D0, instance_count=3D1, pipe=3D0x5124f0) at ./util/u_dr=
aw.h:106
#9  blitter_draw (ctx=3D<optimized out>, vertex_elements_cso=3D<op=
timized out>,=20
    get_vs=3D0xb34f3790 <get_vs_passthrough_pos>, x1=3D0, y1=3D0, x2=
=3D640, y2=3D480,
depth=3D1, num_instances=3D1)
    at util/u_blitter.c:1257
#10 0xb34f4176 in util_blitter_draw_rectangle (blitter=3D<optimized out&=
gt;,=20
    vertex_elements_cso=3D<optimized out>, get_vs=3D<optimized out=
>, x1=3D<optimized
out>,=20
    y1=3D<optimized out>, x2=3D<optimized out>, y2=3D480, depth=
=3D1, num_instances=3D1,=20
    type=3DUTIL_BLITTER_ATTRIB_NONE, attrib=3D0xbffb6ba4) at util/u_blitter=
.c:1291
#11 0xb35e63f5 in r300_blitter_draw_rectangle (blitter=3D0x528760,
vertex_elements_cso=3D0x682830,=20
    get_vs=3D0xb34f3790 <get_vs_passthrough_pos>, x1=3D0, y1=3D0, x2=
=3D640, y2=3D480,
depth=3D1, num_instances=3D1,=20
    type=3DUTIL_BLITTER_ATTRIB_NONE, attrib=3D0xbffb6ba4) at r300_render.c:=
1139
#12 0xb34f6dc7 in util_blitter_clear_custom (blitter=3D0x528760, width=3D64=
0,
height=3D480, num_layers=3D1,=20
    clear_buffers=3D1, color=3D0x628634, depth=3D1, stencil=3D0, custom_dsa=
=3D0x0,
custom_blend=3D0x0)
    at util/u_blitter.c:1411
#13 0xb34f6f33 in util_blitter_clear (blitter=3D<optimized out>, widt=
h=3D<optimized
out>,=20
    height=3D<optimized out>, num_layers=3D<optimized out>,
clear_buffers=3D<optimized out>,=20
    color=3D<optimized out>, depth=3D<optimized out>, stencil=
=3D0) at
util/u_blitter.c:1428
#14 0xb35d828e in r300_clear (pipe=3D0x5124f0, buffers=3D1, color=3D0x62863=
4,
depth=3D1, stencil=3D0)
    at r300_blit.c:368
#15 0xb329d564 in st_Clear (ctx=3D<optimized out>, mask=3D<optimiz=
ed out>)
    at state_tracker/st_cb_clear.c:483
#16 0xb30d455c in clear (no_error=3Dfalse, mask=3D<optimized out>, ct=
x=3D0x627140) at
main/clear.c:221
#17 _mesa_Clear (mask=3D<optimized out>) at main/clear.c:242
#18 0xb4ca782d in ?? () from
/usr/lib/i386-linux-gnu/mupen64plus/mupen64plus-video-rice.so
#19 0xb4c93574 in ?? () from
/usr/lib/i386-linux-gnu/mupen64plus/mupen64plus-video-rice.so
#20 0xb4c81475 in RomOpen () from
/usr/lib/i386-linux-gnu/mupen64plus/mupen64plus-video-rice.so
#21 0xb6406c0c in ?? () from /usr/lib/i386-linux-gnu/libmupen64plus.so.2
#22 0xb6407618 in CoreDoCommand () from
/usr/lib/i386-linux-gnu/libmupen64plus.so.2
#23 0x00402d50 in main ()


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