From: bugzilla-daemon@freedesktop.org Subject: [Bug 111236] VA-API radeonsi SIGSEGV __memmove_avx_unaligned Date: Sun, 28 Jul 2019 04:04:55 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1428050014==" 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 696E76E8B8 for ; Sun, 28 Jul 2019 04:04:55 +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 --===============1428050014== Content-Type: multipart/alternative; boundary="15642866950.762Eae.16017" Content-Transfer-Encoding: 7bit --15642866950.762Eae.16017 Date: Sun, 28 Jul 2019 04:04:55 +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=3D111236 --- Comment #5 from KJ Liew --- Here's the gdb stack-trace with debug build. If you need the same test video clip, this is what I used Test h264 clip: $ youtube-dl -f mp4 https://www.youtube.com/watch?v=3DazvR__GRQic Thread 4 "multiqueue0:src" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7ffff5cc3700 (LWP 2173)] 0x00007ffff7f42c05 in __memmove_avx_unaligned () from /usr/lib/libc.so.6 (gdb) bt #0 0x00007ffff7f42c05 in __memmove_avx_unaligned () from /usr/lib/libc.so.6 #1 0x00007fffda0ce432 in util_copy_rect (dst=3D0x7ffff53e6000 "_base_parse_set_passthrough", format=3DPIPE_FORMAT_R8_UNORM, dst_stride=3D= 0x100,=20 dst_x=3D0x0, dst_y=3D0x0, width=3D0x20, height=3D0x20, src=3D0x7fffec07= d850 "", src_stride=3D0x20, src_x=3D0x0, src_y=3D0x0) at ../mesa-19.1.3/src/gallium/auxiliary/util/u_surface.c:105 #2 0x00007fffda0ce4c6 in util_copy_box (dst=3D0x7ffff53e6000 "_base_parse_set_passthrough", format=3DPIPE_FORMAT_R8_UNORM, dst_stride=3D= 0x100,=20 dst_slice_stride=3D0x2000, dst_x=3D0x0, dst_y=3D0x0, dst_z=3D0x0, width= =3D0x20, height=3D0x20, depth=3D0x1, src=3D0x7fffec07d850 "", src_stride=3D0x20,=20 src_slice_stride=3D0x0, src_x=3D0x0, src_y=3D0x0, src_z=3D0x0) at ../mesa-19.1.3/src/gallium/auxiliary/util/u_surface.c:131 #3 0x00007fffdad7d8f5 in u_default_texture_subdata (pipe=3D0x7fffe82ff760, resource=3D0x7fffec073f20, level=3D0x0, usage=3D0x102, box=3D0x7ffff5cc1550= ,=20 data=3D0x7fffec07d850, stride=3D0x20, layer_stride=3D0x0) at ../mesa-19.1.3/src/gallium/auxiliary/util/u_transfer.c:67 #4 0x00007fffe74b7c56 in vlVaPutImage (ctx=3D0x7fffe82f2400, surface=3D0xc, image=3D0xd, src_x=3D0x0, src_y=3D0x0, src_width=3D0x40, src_height=3D0x40,= =20 dest_x=3D0x0, dest_y=3D0x0, dest_width=3D0x40, dest_height=3D0x40) at ../mesa-19.1.3/src/gallium/state_trackers/va/image.c:607 #5 0x00007ffff4976ffd in vaPutImage () from /usr/lib/libva.so.2 #6 0x00007ffff49f4c1e in ?? () from /usr/lib/gstreamer-1.0/libgstvaapi.so #7 0x00007ffff4a2ecf3 in ?? () from /usr/lib/gstreamer-1.0/libgstvaapi.so #8 0x00007ffff4a2f2bf in ?? () from /usr/lib/gstreamer-1.0/libgstvaapi.so #9 0x00007ffff4a2703b in ?? () from /usr/lib/gstreamer-1.0/libgstvaapi.so #10 0x00007ffff782fe53 in ?? () from /usr/lib/libgstbase-1.0.so.0 #11 0x00007ffff7835ee1 in ?? () from /usr/lib/libgstbase-1.0.so.0 #12 0x00007ffff7a3bcca in gst_pad_query () from /usr/lib/libgstreamer-1.0.s= o.0 #13 0x00007ffff7a3c3de in gst_pad_peer_query () from /usr/lib/libgstreamer-1.0.so.0 #14 0x00007ffff7a0a887 in gst_pad_peer_query_caps () from /usr/lib/libgstreamer-1.0.so.0 #15 0x00007ffff7835cd1 in ?? () from /usr/lib/libgstbase-1.0.so.0 --=20 You are receiving this mail because: You are the assignee for the bug.= --15642866950.762Eae.16017 Date: Sun, 28 Jul 2019 04:04:55 +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 # 5 on bug 11123= 6 from KJ Liew
Here's the gdb stack-trace with debug build. If you need the s=
ame test video
clip, this is what I used
Test h264 clip:
$ youtube-dl -f mp4 https://www.youtube.com/watch?v=3DazvR__GRQic

Thread 4 "multiqueue0:src" received signal SIGSEGV, Segmentation =
fault.
[Switching to Thread 0x7ffff5cc3700 (LWP 2173)]
0x00007ffff7f42c05 in __memmove_avx_unaligned () from /usr/lib/libc.so.6
(gdb) bt
#0  0x00007ffff7f42c05 in __memmove_avx_unaligned () from /usr/lib/libc.so.6
#1  0x00007fffda0ce432 in util_copy_rect (dst=3D0x7ffff53e6000
"_base_parse_set_passthrough", format=3DPIPE_FORMAT_R8_UNORM, dst=
_stride=3D0x100,=20
    dst_x=3D0x0, dst_y=3D0x0, width=3D0x20, height=3D0x20, src=3D0x7fffec07=
d850 "",
src_stride=3D0x20, src_x=3D0x0, src_y=3D0x0)
    at ../mesa-19.1.3/src/gallium/auxiliary/util/u_surface.c:105
#2  0x00007fffda0ce4c6 in util_copy_box (dst=3D0x7ffff53e6000
"_base_parse_set_passthrough", format=3DPIPE_FORMAT_R8_UNORM, dst=
_stride=3D0x100,=20
    dst_slice_stride=3D0x2000, dst_x=3D0x0, dst_y=3D0x0, dst_z=3D0x0, width=
=3D0x20,
height=3D0x20, depth=3D0x1, src=3D0x7fffec07d850 "", src_stride=
=3D0x20,=20
    src_slice_stride=3D0x0, src_x=3D0x0, src_y=3D0x0, src_z=3D0x0) at
../mesa-19.1.3/src/gallium/auxiliary/util/u_surface.c:131
#3  0x00007fffdad7d8f5 in u_default_texture_subdata (pipe=3D0x7fffe82ff760,
resource=3D0x7fffec073f20, level=3D0x0, usage=3D0x102, box=3D0x7ffff5cc1550=
,=20
    data=3D0x7fffec07d850, stride=3D0x20, layer_stride=3D0x0) at
../mesa-19.1.3/src/gallium/auxiliary/util/u_transfer.c:67
#4  0x00007fffe74b7c56 in vlVaPutImage (ctx=3D0x7fffe82f2400, surface=3D0xc,
image=3D0xd, src_x=3D0x0, src_y=3D0x0, src_width=3D0x40, src_height=3D0x40,=
=20
    dest_x=3D0x0, dest_y=3D0x0, dest_width=3D0x40, dest_height=3D0x40) at
../mesa-19.1.3/src/gallium/state_trackers/va/image.c:607
#5  0x00007ffff4976ffd in vaPutImage () from /usr/lib/libva.so.2
#6  0x00007ffff49f4c1e in ?? () from /usr/lib/gstreamer-1.0/libgstvaapi.so
#7  0x00007ffff4a2ecf3 in ?? () from /usr/lib/gstreamer-1.0/libgstvaapi.so
#8  0x00007ffff4a2f2bf in ?? () from /usr/lib/gstreamer-1.0/libgstvaapi.so
#9  0x00007ffff4a2703b in ?? () from /usr/lib/gstreamer-1.0/libgstvaapi.so
#10 0x00007ffff782fe53 in ?? () from /usr/lib/libgstbase-1.0.so.0
#11 0x00007ffff7835ee1 in ?? () from /usr/lib/libgstbase-1.0.so.0
#12 0x00007ffff7a3bcca in gst_pad_query () from /usr/lib/libgstreamer-1.0.s=
o.0
#13 0x00007ffff7a3c3de in gst_pad_peer_query () from
/usr/lib/libgstreamer-1.0.so.0
#14 0x00007ffff7a0a887 in gst_pad_peer_query_caps () from
/usr/lib/libgstreamer-1.0.so.0
#15 0x00007ffff7835cd1 in ?? () from /usr/lib/libgstbase-1.0.so.0


You are receiving this mail because:
  • You are the assignee for the bug.
= --15642866950.762Eae.16017-- --===============1428050014== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============1428050014==--