From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 93737] egl segfault since gallium/radeon: implement PIPE_CAP_INVALIDATE_BUFFER Date: Sat, 16 Jan 2016 15:59:57 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0302668525==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 9B1BF6E264 for ; Sat, 16 Jan 2016 07:59:57 -0800 (PST) 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 --===============0302668525== Content-Type: multipart/alternative; boundary="1452959997.0144D3e50.24397"; charset="UTF-8" --1452959997.0144D3e50.24397 Date: Sat, 16 Jan 2016 15:59:57 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D93737 Bug ID: 93737 Summary: egl segfault since gallium/radeon: implement PIPE_CAP_INVALIDATE_BUFFER Product: Mesa Version: git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: adf.lists@gmail.com QA Contact: dri-devel@lists.freedesktop.org R9285 first noticed trying to set up wayland/weston, bisected with eglgears_x11. Since - commit 321140d563730b210e6390c5b73c09fdcf9649af Author: Nicolai H=C3=A4hnle Date: Thu Jan 14 09:41:04 2016 -0500 gallium/radeon: implement PIPE_CAP_INVALIDATE_BUFFER I get segfaults trying to run egl. bt from gears Program received signal SIGSEGV, Segmentation fault. 0x00007ffff239fb23 in r600_do_invalidate_resource (rctx=3D0x692b30, rbuffer= =3D0x0) at r600_buffer_common.c:219 219 if (rctx->ws->buffer_is_user_ptr(rbuffer->buf)) (gdb) bt #0 0x00007ffff239fb23 in r600_do_invalidate_resource (rctx=3D0x692b30, rbuffer=3D0x0) at r600_buffer_common.c:219 #1 0x00007ffff2210dd2 in dri_flush (cPriv=3D, dPriv=3D, flags=3D5, reason=3D) at dri_drawable.c:496 #2 0x00007ffff645ddb8 in dri2_x11_swap_buffers_msc (msc=3D0, divisor=3D0, remainder=3D0, drv=3D, draw=3D0x6f9160, disp=3D) at drivers/dri2/platform_x11.c:837 #3 dri2_x11_swap_buffers (drv=3D, disp=3D, draw=3D0x6f9160) at drivers/dri2/platform_x11.c:873 #4 0x00007ffff6453d76 in eglSwapBuffers (dpy=3D0x62af30, surface=3D) at main/eglapi.c:1010 #5 0x0000000000403a71 in _eglutNativeEventLoop () at eglut_x11.c:249 #6 0x000000000040328b in eglutMainLoop () at eglut.c:272 #7 0x0000000000401d16 in main (argc=3D1, argv=3D0x7fffffffe108) at eglgear= s.c:298 --=20 You are receiving this mail because: You are the assignee for the bug. --1452959997.0144D3e50.24397 Date: Sat, 16 Jan 2016 15:59:57 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Bug ID 93737
Summary egl segfault since gallium/radeon: implement PIPE_CAP_INVALID= ATE_BUFFER
Product Mesa
Version git
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity normal
Priority medium
Component Drivers/Gallium/radeonsi
Assignee dri-devel@lists.freedesktop.org
Reporter adf.lists@gmail.com
QA Contact dri-devel@lists.freedesktop.org

R9285 first noticed trying to set up wayland/weston, bisected =
with
eglgears_x11.

Since -

commit 321140d563730b210e6390c5b73c09fdcf9649af
Author: Nicolai H=C3=A4hnle <nicolai.haehnle@amd.com>
Date:   Thu Jan 14 09:41:04 2016 -0500

    gallium/radeon: implement PIPE_CAP_INVALIDATE_BUFFER

I get segfaults trying to run egl.

bt from gears

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff239fb23 in r600_do_invalidate_resource (rctx=3D0x692b30, rbuffer=
=3D0x0)
at r600_buffer_common.c:219
219             if (rctx->ws->buffer_is_user_ptr(rbuffer->buf))
(gdb) bt
#0  0x00007ffff239fb23 in r600_do_invalidate_resource (rctx=3D0x692b30,
rbuffer=3D0x0) at r600_buffer_common.c:219
#1  0x00007ffff2210dd2 in dri_flush (cPriv=3D<optimized out>, dPriv=
=3D<optimized
out>, flags=3D5, reason=3D<optimized out>) at dri_drawable.c:496
#2  0x00007ffff645ddb8 in dri2_x11_swap_buffers_msc (msc=3D0, divisor=3D0,
remainder=3D0, drv=3D<optimized out>, draw=3D0x6f9160, disp=3D<opt=
imized out>) at
drivers/dri2/platform_x11.c:837
#3  dri2_x11_swap_buffers (drv=3D<optimized out>, disp=3D<optimize=
d out>,
draw=3D0x6f9160) at drivers/dri2/platform_x11.c:873
#4  0x00007ffff6453d76 in eglSwapBuffers (dpy=3D0x62af30, surface=3D<opt=
imized
out>) at main/eglapi.c:1010
#5  0x0000000000403a71 in _eglutNativeEventLoop () at eglut_x11.c:249
#6  0x000000000040328b in eglutMainLoop () at eglut.c:272
#7  0x0000000000401d16 in main (argc=3D1, argv=3D0x7fffffffe108) at eglgear=
s.c:298


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1452959997.0144D3e50.24397-- --===============0302668525== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0302668525==--