From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 106399] [bisected] sddm-greeter: segfault in radeonsi_dri.so on
dpms resume
Date: Fri, 04 May 2018 07:34:07 +0000
Message-ID:
Bug ID
106399
Summary
[bisected] sddm-greeter: segfault in radeonsi_dri.so on dpms =
resume
Product
Mesa
Version
git
Hardware
Other
OS
All
Status
NEW
Severity
normal
Priority
medium
Component
Drivers/Gallium/radeonsi
Assignee
dri-devel@lists.freedesktop.org
Reporter
johannes.hirte@datenkhaos.de
QA Contact
dri-devel@lists.freedesktop.org
Since mesa 18.0, sddm-greeter segfaults on dpms resume.
Log entry:
sddm-greeter[23411]: segfault at 34 ip 00007f90d2588c9d sp 00007ffd045c0260
error 4 in radeonsi_dri.so[7f90d2184000+80e000]
bisect points at:
3160cb86aa9234ff78e11fe7a00f30bfb5cb8445 is the first bad commit
commit 3160cb86aa9234ff78e11fe7a00f30bfb5cb8445
Author: Louis-Francis Ratt=C3=A9-Boulianne <lfrb@collabora.com>
Date: Fri Oct 6 01:26:51 2017 -0400
egl/x11: Re-allocate buffers if format is suboptimal
If PresentCompleteNotify event says the pixmap was presented
with mode PresentCompleteModeSuboptimalCopy, it means the pixmap
could possibly have been flipped instead if allocated with a
different format/modifier.
Signed-off-by: Louis-Francis Ratt=C3=A9-Boulianne <lfrb@collabora.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
:040000 040000 938aabed7e3e5a41fd0e3167a6afdceac69a37fd
781dc1b092a4bac23a150a40c3b51c4e64bf7238 M src
gdb output:
Thread 1 "sddm-greeter" received signal SIGSEGV, Segmentation fau=
lt.
pipe_reference_described (get_desc=3D<optimized out>, reference=3D0x7=
f336805396c,
ptr=3D0x0) at
/var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/gallium/auxiliary/=
util/u_inlines.h:83
83=20=20=20=20=20
/var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/gallium/auxiliary/=
util/u_inlines.h:
Datei oder Verzeichnis nicht gefunden.
(gdb) bt
#0 pipe_reference_described (get_desc=3D<optimized out>,
reference=3D0x7f336805396c, ptr=3D0x0) at
/var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/gallium/auxiliary/=
util/u_inlines.h:83
#1 pipe_resource_reference (tex=3D0x7f336805396c, ptr=3D0x556bf8cdcda0) at
/var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/gallium/auxiliary/=
util/u_inlines.h:138
#2 dri2_allocate_textures (ctx=3D0x556bf8b101e0, drawable=3D0x556bf8cdcc80,
statts=3D<optimized out>, statts_count=3D2) at
/var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/gallium/state_trac=
kers/dri/dri2.c:762
#3 0x00007f337dd550fd in dri_st_framebuffer_validate (stctx=3D<optimize=
d out>,
stfbi=3D<optimized out>, statts=3D0x556bf8cdd2d0, count=3D2, out=3D0x=
7ffc7491d250) at
/var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/gallium/state_trac=
kers/dri/dri_drawable.c:85
#4 0x00007f337db96a91 in st_framebuffer_validate
(stfb=3Dstfb@entry=3D0x556bf8cdcea0, st=3Dst@entry=3D0x556bf8cd5330=
) at
/var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/mesa/state_tracker=
/st_manager.c:201
#5 0x00007f337db9842b in st_manager_validate_framebuffers (st=3D0x556bf8cd=
5330)
at
/var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/mesa/state_tracker=
/st_manager.c:1117
#6 0x00007f337db53fe5 in st_validate_state (st=3Dst@entry=3D0x556bf8cd=
5330,
pipeline=3Dpipeline@entry=3DST_PIPELINE_CLEAR) at
/var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/mesa/state_tracker=
/st_atom.c:203
#7 0x00007f337db5c10f in st_Clear (ctx=3D0x556bf8cacab0, mask=3D50) at
/var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/mesa/state_tracker=
/st_cb_clear.c:379
#8 0x00007f338d953c4b in QSGBatchRenderer::Renderer::renderBatches
(this=3Dthis@entry=3D0x556bf8423ea0) at
scenegraph/coreapi/qsgbatchrenderer.cpp:2539
#9 0x00007f338d95968a in QSGBatchRenderer::Renderer::render (this=3D<op=
timized
out>) at scenegraph/coreapi/qsgbatchrenderer.cpp:2763
#10 0x00007f338d949ab0 in QSGRenderer::renderScene (this=3D0x556bf8423ea0,
bindable=3D...) at scenegraph/coreapi/qsgrenderer.cpp:244
#11 0x00007f338d949f4b in QSGRenderer::renderScene (this=3D<optimized ou=
t>,
fboId=3D<optimized out>) at scenegraph/coreapi/qsgrenderer.cpp:197
#12 0x00007f338d9855b0 in QSGDefaultRenderContext::renderNextFrame
(this=3D0x556bf8437500, renderer=3D0x556bf8423ea0, fboId=3D<optimized ou=
t>) at
scenegraph/qsgdefaultrendercontext.cpp:180
#13 0x00007f338d9ed52f in QQuickWindowPrivate::renderSceneGraph
(this=3Dthis@entry=3D0x556bf824e3b0, size=3D...) at items/qquickwindow.=
cpp:481
#14 0x00007f338d97722c in QSGGuiThreadRenderLoop::renderWindow
(this=3D0x556bf82e0a30, window=3D<optimized out>) at
scenegraph/qsgrenderloop.cpp:429
#15 0x00007f338d9f81de in QQuickWindow::event (this=3D0x556bf828de90,
e=3D0x7ffc7491d980) at items/qquickwindow.cpp:1601
#16 0x00007f338bbcb42a in doNotify (receiver=3D<optimized out>, event=
=3D<optimized
out>) at kernel/qcoreapplication.cpp:1140
#17 0x00007f338bbcb526 in QCoreApplication::notifyInternal2
(receiver=3D0x556bf828de90, event=3D0x7ffc7491d980) at
kernel/qcoreapplication.cpp:1050
#18 0x00007f338c132f41 in QWindowPrivate::deliverUpdateRequest() () from
/usr/lib64/libQt5Gui.so.5
#19 0x00007f338c1334b1 in QWindow::event(QEvent*) () from
/usr/lib64/libQt5Gui.so.5
#20 0x00007f338d9f817d in QQuickWindow::event (this=3D0x556bf828de90,
e=3D0x7ffc7491db30) at items/qquickwindow.cpp:1620
#21 0x00007f338bbcb42a in doNotify (receiver=3D<optimized out>, event=
=3D<optimized
out>) at kernel/qcoreapplication.cpp:1140
#22 0x00007f338bbcb526 in QCoreApplication::notifyInternal2
(receiver=3D0x556bf828de90, event=3Devent@entry=3D0x7ffc7491db30) at
kernel/qcoreapplication.cpp:1050
#23 0x00007f338bc1f31b in QCoreApplication::sendEvent (event=3D0x7ffc7491db=
30,
receiver=3D<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#24 QTimerInfoList::activateTimers (this=3D0x556bf82580b0) at
kernel/qtimerinfo_unix.cpp:643
#25 0x00007f338bc1fd29 in timerSourceDispatch (source=3D<optimized out&g=
t;) at
kernel/qeventdispatcher_glib.cpp:182
#26 idleTimerSourceDispatch (source=3D<optimized out>) at
kernel/qeventdispatcher_glib.cpp:229
#27 0x00007f3387a771ee in g_main_context_dispatch () from
/usr/lib64/libglib-2.0.so.0
#28 0x00007f3387a77465 in ?? () from /usr/lib64/libglib-2.0.so.0
#29 0x00007f3387a7752c in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#30 0x00007f338bc2017f in QEventDispatcherGlib::processEvents
(this=3D0x556bf8255c40, flags=3D...) at kernel/qeventdispatcher_glib.cpp:423
#31 0x00007f33821d8231 in ?? () from /usr/lib64/libQt5XcbQpa.so.5
#32 0x00007f338bbca132 in QEventLoop::exec (this=3Dthis@entry=3D0x7ffc7=
491ddb0,
flags=3D..., flags@entry=3D...) at kernel/qeventloop.cpp:212
#33 0x00007f338bbd2dd4 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1338
#34 0x0000556bf6cc73ce in main (argc=3D<optimized out>, argv=3D0x7ffc=
7491dfb8) at
/var/tmp/portage/x11-misc/sddm-0.17.0-r2/work/sddm-0.17.0/src/greeter/Greet=
erApp.cpp:279
hardware: [AMD/ATI] Curacao XT / Trinidad XT [Radeon R7 370 / R9 270X/370X]=