From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 104806] plasmashell and other KDE binaries start to segfault
after updating Mesa to 18.0.0 (radeon)
Date: Sat, 27 Jan 2018 08:39:29 +0000
Message-ID:
Bug ID
104806
Summary
plasmashell and other KDE binaries start to segfault after up=
dating Mesa to 18.0.0 (radeon)
Product
Mesa
Version
unspecified
Hardware
x86-64 (AMD64)
OS
Linux (All)
Status
NEW
Severity
normal
Priority
medium
Component
Drivers/Gallium/r600
Assignee
dri-devel@lists.freedesktop.org
Reporter
ao@thurston.ru
QA Contact
dri-devel@lists.freedesktop.org
With Mesa 18.0.0 'plasmashell', 'ksplashqml' and 'kmail' binar=
ies segfault
right after logging in into Plasma session, leaving coredumps behind.
If I downgrade Mesa package back to 17.3.3, everything works again.
I'm running Gentoo.
Video card:
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
Caicos [Radeon HD 6450/7450/8450 / R5 230 OEM]
Kernel driver: nouveau
X.Org driver: radeon
Something happens in r600_dri.so:
Core was generated by `/usr/bin/kmail -session
10dcd7cfcb000147846248200000156710141_1483955504_762746'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f37f999af50 in raise () from /lib64/libc.so.6
[Current thread is 1 (Thread 0x7f37fc86ea40 (LWP 892))]
(gdb) bt
#0 0x00007f37f999af50 in raise () from /lib64/libc.so.6
#1 0x00007f37fbb9f727 in KCrash::defaultCrashHandler(int) () from
/usr/lib64/libKF5Crash.so.5
#2 <signal handler called>
#3 0x00007f37f9a0d4f3 in ?? () from /lib64/libc.so.6
#4 0x00007f37bb154094 in ?? () from /usr/lib64/dri/r600_dri.so
#5 0x000055c4ec9e5de0 in ?? ()
#6 0x000055c4ec9d7fe0 in ?? ()
#7 0x000055c4ec9e5de0 in ?? ()
#8 0x00007f37bb254e2b in ?? () from /usr/lib64/dri/r600_dri.so
#9 0x0000000000000003 in ?? ()
#10 0x00007fff107efa90 in ?? ()
#11 0x0000000000000000 in ?? ()
| What | Removed | Added |
|---|---|---|
| URL | https://bugs.gentoo.org/645756 |
| What | Removed | Added |
|---|---|---|
| CC | ansla80@yahoo.com |
Created attachment 136988 [d=
etails]
bt-full.txt
I can confirm lots of KDE apps and even QT only crash after upgrading to me=
sa
18.0.0-rc2. This is a stacktrace from qupzilla, a qt browser. Attached is t=
he
same stacktrace but generated with `bt full` so it also shows local variabl=
es.
Core was generated by `/usr/bin/qupzilla -session
10ddca7665000151644676500000008200015_1516586983_963'.
Program terminated with signal SIGABRT, Aborted.
#0 __GI_raise (sig=3Dsig@entry=3D6) at ../sysdeps/unix/sysv/linux/rais=
e.c:51
51 }
[Current thread is 1 (Thread 0x7f123d18da00 (LWP 1093))]
(gdb) bt
#0 __GI_raise (sig=3Dsig@entry=3D6) at ../sysdeps/unix/sysv/linux/rais=
e.c:51
#1 0x00007f1244f0f4a6 in __GI_abort () at abort.c:90
#2 0x00005624818e5b10 in qupzilla_signal_handler (s=3D<optimized out>=
;) at
main.cpp:54
#3 <signal handler called>
#4 __memcpy_ssse3 () at ../sysdeps/x86_64/multiarch/memcpy-ssse3.S:130
#5 0x00007f122f9688a4 in memcpy (__len=3D18130608, __src=3D0x56248663d6e0,
__dest=3D<optimized out>) at /usr/include/bits/string_fortified.h:34
#6 tgsi_dup_tokens (tokens=3D0x56248663d6e0) at
/usr/src/debug/media-libs/mesa-18.0.0_rc2/mesa-18.0.0-rc2/src/gallium/auxil=
iary/tgsi/tgsi_parse.c:281
#7 0x00007f122f7bd12b in st_create_vp_variant (key=3D0x7ffd79ff0150,
stvp=3D0x5624865a7170, st=3D0x5624861904d0) at
/usr/src/debug/media-libs/mesa-18.0.0_rc2/mesa-18.0.0-rc2/src/mesa/state_tr=
acker/st_program.c:579
#8 st_get_vp_variant (st=3D0x5624861904d0, stvp=3D0x5624865a7170,
key=3D0x7ffd79ff0150) at
/usr/src/debug/media-libs/mesa-18.0.0_rc2/mesa-18.0.0-rc2/src/mesa/state_tr=
acker/st_program.c:629
#9 0x00007f122f7be215 in st_precompile_shader_variant
(st=3Dst@entry=3D0x5624861904d0, prog=3Dprog@entry=3D0x5624865a7170=
) at
/usr/src/debug/media-libs/mesa-18.0.0_rc2/mesa-18.0.0-rc2/src/mesa/state_tr=
acker/st_program.c:1915
#10 0x00007f122f7bf4d2 in st_deserialise_tgsi_program (ctx=3D0x562486164910,
shProg=3D0x5624865fe200, prog=3D0x5624865a7170) at
/usr/src/debug/media-libs/mesa-18.0.0_rc2/mesa-18.0.0-rc2/src/mesa/state_tr=
acker/st_shader_cache.c:279
#11 0x00007f122f6e32e9 in read_program_payload (binary_format=3D34655,
sh_prog=3D0x5624865fe200, blob=3D0x7ffd79ff01f0, ctx=3D0x562486164910) at
/usr/src/debug/media-libs/mesa-18.0.0_rc2/mesa-18.0.0-rc2/src/mesa/main/pro=
gram_binary.c:206
#12 _mesa_program_binary (ctx=3D0x562486164910, sh_prog=3D0x5624865fe200,
binary_format=3D<optimized out>, binary=3D0x7f1208378090, length=3D40=
85) at
/usr/src/debug/media-libs/mesa-18.0.0_rc2/mesa-18.0.0-rc2/src/mesa/main/pro=
gram_binary.c:285
#13 0x00007f123e965c80 in QOpenGLExtraFunctions::glProgramBinary (length=3D=
4085,
binary=3D0x7f1208378090, binaryFormat=3D34655, program=3D4, this=3D0x562485=
ccbf90) at
../../src/gui/opengl/qopenglextrafunctions.h:1175
#14 QOpenGLProgramBinaryCache::setProgramBinary (this=3Dthis@entry=3D0x=
7f123ea6ba80
<QOpenGLShaderProgramPrivate::linkBinary()::binCache>,
programId=3DprogramId@entry=3D4, blobFormat=3DblobFormat@entry=3D34=
655,
p=3Dp@entry=3D0x7f1208378090, blobSize=3DblobSize@entry=3D4085) at
opengl/qopenglprogrambinarycache.cpp:163
#15 0x00007f123e96659f in QOpenGLProgramBinaryCache::load
(this=3Dthis@entry=3D0x7f123ea6ba80
<QOpenGLShaderProgramPrivate::linkBinary()::binCache>, cacheKey=3D...,
programId=3D4) at opengl/qopenglprogrambinarycache.cpp:296
#16 0x00007f123e93bd88 in QOpenGLShaderProgramPrivate::linkBinary
(this=3Dthis@entry=3D0x7f11c8162040) at opengl/qopenglshaderprogram.cpp=
:3825
#17 0x00007f123e93c380 in QOpenGLShaderProgram::link (this=3D0x562486619688=
) at
opengl/qopenglshaderprogram.cpp:1286
#18 0x00007f123cedf528 in QSGDefaultRenderContext::compileShader
(this=3Dthis@entry=3D0x562485f0cad0, shader=3Dshader@entry=3D0x5624=
86619680,
material=3Dmaterial@entry=3D0x562485b37150, vertexCode=3D<optimized =
out>,
fragmentCode=3DfragmentCode@entry=3D0x0) at
scenegraph/qsgdefaultrendercontext.cpp:267
#19 0x00007f123cead317 in QSGBatchRenderer::ShaderManager::prepareMaterial
(this=3D0x562485adb6e0, material=3Dmaterial@entry=3D0x562485b37150) at
scenegraph/coreapi/qsgbatchrenderer.cpp:157
#20 0x00007f123ceadd65 in QSGBatchRenderer::Renderer::renderMergedBatch
(this=3D0x562485ad99c0, batch=3D<optimized out>) at
scenegraph/coreapi/qsgbatchrenderer.cpp:2312
#21 0x00007f123ceaf255 in QSGBatchRenderer::Renderer::renderBatches
(this=3Dthis@entry=3D0x562485ad99c0) at
scenegraph/coreapi/qsgbatchrenderer.cpp:2569
#22 0x00007f123ceb495b in QSGBatchRenderer::Renderer::render (this=3D<op=
timized
out>) at scenegraph/coreapi/qsgbatchrenderer.cpp:2763
#23 0x00007f123cea5640 in QSGRenderer::renderScene (this=3D0x562485ad99c0,
bindable=3D...) at scenegraph/coreapi/qsgrenderer.cpp:243
#24 0x00007f123cea5b07 in QSGRenderer::renderScene (this=3D<optimized ou=
t>,
fboId=3D<optimized out>) at scenegraph/coreapi/qsgrenderer.cpp:189
#25 0x00007f123cede968 in QSGDefaultRenderContext::renderNextFrame
(this=3D0x562485f0cad0, renderer=3D0x562485ad99c0, fboId=3D<optimized ou=
t>) at
scenegraph/qsgdefaultrendercontext.cpp:181
#26 0x00007f123cf3972f in QQuickWindowPrivate::renderSceneGraph
(this=3Dthis@entry=3D0x562485ad5b30, size=3D...) at items/qquickwindow.=
cpp:470
#27 0x00007f123cfef0e6 in QQuickRenderControl::render (this=3D<optimized=
out>) at
items/qquickrendercontrol.cpp:344
#28 0x00007f1246519d23 in QQuickWidgetPrivate::render
(this=3Dthis@entry=3D0x562485c283d0, needsSync=3DneedsSync@entry=3D=
true) at
qquickwidget.cpp:288
#29 0x00007f1246519f72 in QQuickWidgetPrivate::renderSceneGraph
(this=3D0x562485c283d0) at qquickwidget.cpp:339
#30 0x00007f124571a97b in QObject::event (this=3Dthis@entry=3D0x562485f=
0c9c0,
e=3De@entry=3D0x7ffd79ff1020) at kernel/qobject.cpp:1268
#31 0x00007f1245ae08db in QWidget::event (this=3Dthis@entry=3D0x562485f=
0c9c0,
event=3Devent@entry=3D0x7ffd79ff1020) at kernel/qwidget.cpp:9266
#32 0x00007f124651d99b in QQuickWidget::event (this=3D0x562485f0c9c0,
e=3D0x7ffd79ff1020) at qquickwidget.cpp:1467
#33 0x00007f1246558d2b in
QtWebEngineCore::RenderWidgetHostViewQtDelegateWidget::event
(this=3D0x562485f0c9c0, event=3D0x7ffd79ff1020) at
render_widget_host_view_qt_delegate_widget.cpp:488
#34 0x00007f1245aa287c in QApplicationPrivate::notify_helper
(this=3Dthis@entry=3D0x56248214c020, receiver=3Dreceiver@entry=3D0x=
562485f0c9c0,
e=3De@entry=3D0x7ffd79ff1020) at kernel/qapplication.cpp:3722
#35 0x00007f1245aa9efe in QApplication::notify (this=3D0x7ffd79ff1350,
receiver=3D0x562485f0c9c0, e=3D0x7ffd79ff1020) at kernel/qapplication.cpp:3=
481
#36 0x00007f12456f1b86 in QCoreApplication::notifyInternal2
(receiver=3D0x562485f0c9c0, event=3Devent@entry=3D0x7ffd79ff1020) at
kernel/qcoreapplication.cpp:1018
#37 0x00007f124574107b in QCoreApplication::sendEvent (event=3D0x7ffd79ff10=
20,
receiver=3D<optimized out>) at ../../src/corelib/kernel/qcoreapplicat=
ion.h:233
#38 QTimerInfoList::activateTimers (this=3D0x5624821aa660) at
kernel/qtimerinfo_unix.cpp:643
#39 0x00007f1245741944 in timerSourceDispatch (source=3D<optimized out&g=
t;) at
kernel/qeventdispatcher_glib.cpp:182
#40 0x00007f123d1e16c9 in g_main_dispatch (context=3D0x7f1230004ff0) at
/var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:3234
#41 g_main_context_dispatch (context=3Dcontext@entry=3D0x7f1230004ff0) =
at
/var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:3899
#42 0x00007f123d1e1a28 in g_main_context_iterate
(context=3Dcontext@entry=3D0x7f1230004ff0, block=3Dblock@entry=3D1,
dispatch=3Ddispatch@entry=3D1, self=3D<optimized out>) at
/var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:3972
#43 0x00007f123d1e1ad4 in g_main_context_iteration (context=3D0x7f1230004ff=
0,
may_block=3Dmay_block@entry=3D1) at
/var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:4033
#44 0x00007f1245741d5f in QEventDispatcherGlib::processEvents
(this=3D0x5624821b1dc0, flags=3D...) at kernel/qeventdispatcher_glib.cpp:423
#45 0x00007f12456f0992 in QEventLoop::exec (this=3Dthis@entry=3D0x7ffd7=
9ff1270,
flags=3D..., flags@entry=3D...) at kernel/qeventloop.cpp:212
#46 0x00007f12456f8d5c in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1291
#47 0x00005624818e4bef in main (argc=3D<optimized out>, argv=3D0x7ffd=
79ff1558) at
main.cpp:155
Also gentoo, also radeon card (r600). Posting this just to confirm there is an issue. Can't provide additional in= fo because I needed to restore access to my PC as fast as possible. dmesg pointed segfaults in plasmashell and sddm-helper processes. First I thought it is somehow related to updating kernel 4.14.12->4.14.1= 5, but reverting it did not help. Then, I saw mentions of r600g_dri.so Switched from mesa-18.0.0-rc2 to mesa-17.3.3, and issue is gone.
| What | Removed | Added |
|---|---|---|
| CC | mike@fireburn.co.uk |
I think this might be a duplicate of Bug 104762, which is fixed in mast= er Does deleting the shader caches work around the issue for you?
Well, after deleting the caches I couldn't get to the point wh= ere everything crashes since SDDM only shows blank white screen and standard black X11 mou= se pointer instead of welcome screen. No interesting error messages were recorded in log. As always, thing were back to normal after I downgraded Mesa again.
Out of interest does the issue show up if you use the 9999 ebu= ild? If that still shows issues try bisecting the problem
| What | Removed | Added |
|---|---|---|
| See Also | https://bugs.freedesktop.org/show_bug.cgi?id=3D104820 |
| What | Removed | Added |
|---|---|---|
| Blocks | 104757 |
| What | Removed | Added |
|---|---|---|
| See Also | https://bugs.freedesktop.org/show_bug.cgi?id=3D104831 |
| What | Removed | Added |
|---|---|---|
| See Also | https://bugs.kde.org/show_bug.cgi?id=3D389632 |
I run into this issue with 18.0.0_rc3, radeonsi on amdgpu with= dc: Application: krunner (5.11.5) Qt Version: 5.9.3 Frameworks Version: 5.42.0 Operating System: Linux 4.15.0-gentoo x86_64 Distribution: "Gentoo Base System release 2.4.1" -- Information about the crash: - What I was doing when the application crashed: I pressed Alt+Space, KRunner showed up briefly, but immediately crashed thereafter. -- Backtrace: Application: krunner (krunner), signal: Segmentation fault Using host libthread_db library "/lib64/libthread_db.so.1". [Current thread is 1 (Thread 0x7f9b90ceccc0 (LWP 24156))] Thread 12 (Thread 0x7f9b3a63f700 (LWP 2372)): #0 0x00007f9b8c26e6a5 in pthread_cond_wait () from /lib64/libpthread.so.0 #1 0x00007f9b7972c84b in cnd_wait (mtx=3D0x558d82ff39b8, cond=3D0x558d82ff= 39e0) at /var/tmp/portage/media-libs/mesa-18.0.0_rc3/work/mesa-18.0.0-rc3/include/c1= 1/threads_posix.h:155 #2 util_queue_thread_func (input=3Dinput@entry=3D0x558d82e34420) at /var/tmp/portage/media-libs/mesa-18.0.0_rc3/work/mesa-18.0.0-rc3/src/util/u= _queue.c:255 #3 0x00007f9b7972c57f in impl_thrd_routine (p=3D<optimized out>) at /var/tmp/portage/media-libs/mesa-18.0.0_rc3/work/mesa-18.0.0-rc3/include/c1= 1/threads_posix.h:87 #4 0x00007f9b8c2678ba in start_thread () from /lib64/libpthread.so.0 #5 0x00007f9b8de3839f in clone () from /lib64/libc.so.6 Thread 11 (Thread 0x7f9b5e7fc700 (LWP 24250)): #0 0x00007f9b8de2cbe5 in poll () from /lib64/libc.so.6 #1 0x00007f9b89c198e1 in ?? () from /usr/lib64/libglib-2.0.so.0 #2 0x00007f9b89c199ec in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #3 0x00007f9b8e799d7b in QEventDispatcherGlib::processEvents (this=3D0x7f9b44000b20, flags=3D...) at kernel/qeventdispatcher_glib.cpp:425 #4 0x00007f9b8e748992 in QEventLoop::exec (this=3Dthis@entry=3D0x7f9b5= e7fbd40, flags=3D..., flags@entry=3D...) at kernel/qeventloop.cpp:212 #5 0x00007f9b8e5a805a in QThread::exec (this=3Dthis@entry=3D0x558d8295= 64c0) at thread/qthread.cpp:515 #6 0x00007f9b90780635 in QQmlThreadPrivate::run (this=3D0x558d829564c0) at qml/ftw/qqmlthread.cpp:147 #7 0x00007f9b8e5ac3c8 in QThreadPrivate::start (arg=3D0x558d829564c0) at thread/qthread_unix.cpp:368 #8 0x00007f9b8c2678ba in start_thread () from /lib64/libpthread.so.0 #9 0x00007f9b8de3839f in clone () from /lib64/libc.so.6 Thread 10 (Thread 0x7f9b5effd700 (LWP 24225)): #0 0x00007f9b8c26e6a5 in pthread_cond_wait () from /lib64/libpthread.so.0 #1 0x00007f9b7972c84b in cnd_wait (mtx=3D0x558d829ab300, cond=3D0x558d829a= b328) at /var/tmp/portage/media-libs/mesa-18.0.0_rc3/work/mesa-18.0.0-rc3/include/c1= 1/threads_posix.h:155 #2 util_queue_thread_func (input=3Dinput@entry=3D0x558d829adbc0) at /var/tmp/portage/media-libs/mesa-18.0.0_rc3/work/mesa-18.0.0-rc3/src/util/u= _queue.c:255 #3 0x00007f9b7972c57f in impl_thrd_routine (p=3D<optimized out>) at /var/tmp/portage/media-libs/mesa-18.0.0_rc3/work/mesa-18.0.0-rc3/include/c1= 1/threads_posix.h:87 #4 0x00007f9b8c2678ba in start_thread () from /lib64/libpthread.so.0 #5 0x00007f9b8de3839f in clone () from /lib64/libc.so.6 Thread 9 (Thread 0x7f9b5f7fe700 (LWP 24224)): #0 0x00007f9b8c26e6a5 in pthread_cond_wait () from /lib64/libpthread.so.0 #1 0x00007f9b7972c84b in cnd_wait (mtx=3D0x558d829ab300, cond=3D0x558d829a= b328) at /var/tmp/portage/media-libs/mesa-18.0.0_rc3/work/mesa-18.0.0-rc3/include/c1= 1/threads_posix.h:155 #2 util_queue_thread_func (input=3Dinput@entry=3D0x558d829ac710) at /var/tmp/portage/media-libs/mesa-18.0.0_rc3/work/mesa-18.0.0-rc3/src/util/u= _queue.c:255 #3 0x00007f9b7972c57f in impl_thrd_routine (p=3D<optimized out>) at /var/tmp/portage/media-libs/mesa-18.0.0_rc3/work/mesa-18.0.0-rc3/include/c1= 1/threads_posix.h:87 #4 0x00007f9b8c2678ba in start_thread () from /lib64/libpthread.so.0 #5 0x00007f9b8de3839f in clone () from /lib64/libc.so.6 Thread 8 (Thread 0x7f9b5ffff700 (LWP 24223)): #0 0x00007f9b8c26e6a5 in pthread_cond_wait () from /lib64/libpthread.so.0 #1 0x00007f9b7972c84b in cnd_wait (mtx=3D0x558d829ab218, cond=3D0x558d829a= b240) at /var/tmp/portage/media-libs/mesa-18.0.0_rc3/work/mesa-18.0.0-rc3/include/c1= 1/threads_posix.h:155 #2 util_queue_thread_func (input=3Dinput@entry=3D0x558d829ad3f0) at /var/tmp/portage/media-libs/mesa-18.0.0_rc3/work/mesa-18.0.0-rc3/src/util/u= _queue.c:255 #3 0x00007f9b7972c57f in impl_thrd_routine (p=3D<optimized out>) at /var/tmp/portage/media-libs/mesa-18.0.0_rc3/work/mesa-18.0.0-rc3/include/c1= 1/threads_posix.h:87 #4 0x00007f9b8c2678ba in start_thread () from /lib64/libpthread.so.0 #5 0x00007f9b8de3839f in clone () from /lib64/libc.so.6 Thread 7 (Thread 0x7f9b64b2d700 (LWP 24222)): #0 0x00007f9b8c26e6a5 in pthread_cond_wait () from /lib64/libpthread.so.0 #1 0x00007f9b7972c84b in cnd_wait (mtx=3D0x558d829ab218, cond=3D0x558d829a= b240) at /var/tmp/portage/media-libs/mesa-18.0.0_rc3/work/mesa-18.0.0-rc3/include/c1= 1/threads_posix.h:155 #2 util_queue_thread_func (input=3Dinput@entry=3D0x558d829ad1f0) at /var/tmp/portage/media-libs/mesa-18.0.0_rc3/work/mesa-18.0.0-rc3/src/util/u= _queue.c:255 #3 0x00007f9b7972c57f in impl_thrd_routine (p=3D<optimized out>) at /var/tmp/portage/media-libs/mesa-18.0.0_rc3/work/mesa-18.0.0-rc3/include/c1= 1/threads_posix.h:87 #4 0x00007f9b8c2678ba in start_thread () from /lib64/libpthread.so.0 #5 0x00007f9b8de3839f in clone () from /lib64/libc.so.6 Thread 6 (Thread 0x7f9b6532e700 (LWP 24221)): #0 0x00007f9b8c26e6a5 in pthread_cond_wait () from /lib64/libpthread.so.0 #1 0x00007f9b7972c84b in cnd_wait (mtx=3D0x558d829ab218, cond=3D0x558d829a= b240) at /var/tmp/portage/media-libs/mesa-18.0.0_rc3/work/mesa-18.0.0-rc3/include/c1= 1/threads_posix.h:155 #2 util_queue_thread_func (input=3Dinput@entry=3D0x558d829a8920) at /var/tmp/portage/media-libs/mesa-18.0.0_rc3/work/mesa-18.0.0-rc3/src/util/u= _queue.c:255 #3 0x00007f9b7972c57f in impl_thrd_routine (p=3D<optimized out>) at /var/tmp/portage/media-libs/mesa-18.0.0_rc3/work/mesa-18.0.0-rc3/include/c1= 1/threads_posix.h:87 #4 0x00007f9b8c2678ba in start_thread () from /lib64/libpthread.so.0 #5 0x00007f9b8de3839f in clone () from /lib64/libc.so.6 Thread 5 (Thread 0x7f9b65b2f700 (LWP 24220)): #0 0x00007f9b8c26e6a5 in pthread_cond_wait () from /lib64/libpthread.so.0 #1 0x00007f9b7972c84b in cnd_wait (mtx=3D0x558d828c77e0, cond=3D0x558d828c= 7808) at /var/tmp/portage/media-libs/mesa-18.0.0_rc3/work/mesa-18.0.0-rc3/include/c1= 1/threads_posix.h:155 #2 util_queue_thread_func (input=3Dinput@entry=3D0x558d829ac460) at /var/tmp/portage/media-libs/mesa-18.0.0_rc3/work/mesa-18.0.0-rc3/src/util/u= _queue.c:255 #3 0x00007f9b7972c57f in impl_thrd_routine (p=3D<optimized out>) at /var/tmp/portage/media-libs/mesa-18.0.0_rc3/work/mesa-18.0.0-rc3/include/c1= 1/threads_posix.h:87 #4 0x00007f9b8c2678ba in start_thread () from /lib64/libpthread.so.0 #5 0x00007f9b8de3839f in clone () from /lib64/libc.so.6 Thread 4 (Thread 0x7f9b6668f700 (LWP 24219)): #0 0x00007f9b8c26e6a5 in pthread_cond_wait () from /lib64/libpthread.so.0 #1 0x00007f9b7972c84b in cnd_wait (mtx=3D0x558d829a7df0, cond=3D0x558d829a= 7e18) at /var/tmp/portage/media-libs/mesa-18.0.0_rc3/work/mesa-18.0.0-rc3/include/c1= 1/threads_posix.h:155 #2 util_queue_thread_func (input=3Dinput@entry=3D0x558d829a81c0) at /var/tmp/portage/media-libs/mesa-18.0.0_rc3/work/mesa-18.0.0-rc3/src/util/u= _queue.c:255 #3 0x00007f9b7972c57f in impl_thrd_routine (p=3D<optimized out>) at /var/tmp/portage/media-libs/mesa-18.0.0_rc3/work/mesa-18.0.0-rc3/include/c1= 1/threads_posix.h:87 #4 0x00007f9b8c2678ba in start_thread () from /lib64/libpthread.so.0 #5 0x00007f9b8de3839f in clone () from /lib64/libc.so.6 Thread 3 (Thread 0x7f9b7a81f700 (LWP 24175)): #0 0x00007f9b89c5cc01 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0 #1 0x00007f9b89c192fb in g_main_context_check () from /usr/lib64/libglib-2.0.so.0 #2 0x00007f9b89c19888 in ?? () from /usr/lib64/libglib-2.0.so.0 #3 0x00007f9b89c199ec in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #4 0x00007f9b8e799d7b in QEventDispatcherGlib::processEvents (this=3D0x7f9b6c000b20, flags=3D...) at kernel/qeventdispatcher_glib.cpp:425 #5 0x00007f9b8e748992 in QEventLoop::exec (this=3Dthis@entry=3D0x7f9b7= a81ed30, flags=3D..., flags@entry=3D...) at kernel/qeventloop.cpp:212 #6 0x00007f9b8e5a805a in QThread::exec (this=3Dthis@entry=3D0x7f9b919f= 0da0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:515 #7 0x00007f9b9197d585 in QDBusConnectionManager::run (this=3D0x7f9b919f0da0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178 #8 0x00007f9b8e5ac3c8 in QThreadPrivate::start (arg=3D0x7f9b919f0da0 <(= anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:368 #9 0x00007f9b8c2678ba in start_thread () from /lib64/libpthread.so.0 #10 0x00007f9b8de3839f in clone () from /lib64/libc.so.6 Thread 2 (Thread 0x7f9b7c7e7700 (LWP 24167)): #0 0x00007f9b8de2cbe5 in poll () from /lib64/libc.so.6 #1 0x00007f9b8d5147af in ?? () from /usr/lib64/libxcb.so.1 #2 0x00007f9b8d5164fa in xcb_wait_for_event () from /usr/lib64/libxcb.so.1 #3 0x00007f9b7e332fd1 in QXcbEventReader::run (this=3D0x558d828b88f0) at qxcbconnection.cpp:1330 #4 0x00007f9b8e5ac3c8 in QThreadPrivate::start (arg=3D0x558d828b88f0) at thread/qthread_unix.cpp:368 #5 0x00007f9b8c2678ba in start_thread () from /lib64/libpthread.so.0 #6 0x00007f9b8de3839f in clone () from /lib64/libc.so.6 Thread 1 (Thread 0x7f9b90ceccc0 (LWP 24156)): [KCrash Handler] #6 0x00007f9b8de7d4e0 in __memcpy_ssse3 () from /lib64/libc.so.6 #7 0x00007f9b79828554 in memcpy (__len=3D37240880, __src=3D0x558d831607a0, __dest=3D<optimized out>) at /usr/include/bits/string_fortified.h:34 #8 tgsi_dup_tokens (tokens=3D0x558d831607a0) at /var/tmp/portage/media-libs/mesa-18.0.0_rc3/work/mesa-18.0.0-rc3/src/galliu= m/auxiliary/tgsi/tgsi_parse.c:281 #9 0x00007f9b7967cc5b in st_create_vp_variant (key=3D0x7fff4b389370, stvp=3D0x558d8315ef50, st=3D0x558d83037800) at /var/tmp/portage/media-libs/mesa-18.0.0_rc3/work/mesa-18.0.0-rc3/src/mesa/s= tate_tracker/st_program.c:579 #10 st_get_vp_variant (st=3D0x558d83037800, stvp=3D0x558d8315ef50, key=3D0x7fff4b389370) at /var/tmp/portage/media-libs/mesa-18.0.0_rc3/work/mesa-18.0.0-rc3/src/mesa/s= tate_tracker/st_program.c:629 #11 0x00007f9b7967dd45 in st_precompile_shader_variant (st=3Dst@entry=3D0x558d83037800, prog=3Dprog@entry=3D0x558d8315ef50= ) at /var/tmp/portage/media-libs/mesa-18.0.0_rc3/work/mesa-18.0.0-rc3/src/mesa/s= tate_tracker/st_program.c:1915 #12 0x00007f9b7967f002 in st_deserialise_tgsi_program (ctx=3D0x558d83002a60, shProg=3D0x558d83151cf0, prog=3D0x558d8315ef50) at /var/tmp/portage/media-libs/mesa-18.0.0_rc3/work/mesa-18.0.0-rc3/src/mesa/s= tate_tracker/st_shader_cache.c:279 #13 0x00007f9b795a2d69 in read_program_payload (binary_format=3D34655, sh_prog=3D0x558d83151cf0, blob=3D0x7fff4b389410, ctx=3D0x558d83002a60) at /var/tmp/portage/media-libs/mesa-18.0.0_rc3/work/mesa-18.0.0-rc3/src/mesa/m= ain/program_binary.c:206 #14 _mesa_program_binary (ctx=3D0x558d83002a60, sh_prog=3D0x558d83151cf0, binary_format=3D<optimized out>, binary=3D0x7f9b7b8c806c, length=3D40= 77) at /var/tmp/portage/media-libs/mesa-18.0.0_rc3/work/mesa-18.0.0-rc3/src/mesa/m= ain/program_binary.c:285 #15 0x00007f9b8ed4dc80 in QOpenGLExtraFunctions::glProgramBinary (length=3D= 4077, binary=3D0x7f9b7b8c806c, binaryFormat=3D34655, program=3D4, this=3D0x7f9b74= 0085f0) at ../../include/QtGui/../../src/gui/opengl/qopenglextrafunctions.h:1175 #16 QOpenGLProgramBinaryCache::setProgramBinary (this=3Dthis@entry=3D0x= 7f9b8ee53960 <QOpenGLShaderProgramPrivate::linkBinary()::binCache>, programId=3DprogramId@entry=3D4, blobFormat=3DblobFormat@entry=3D34= 655, p=3Dp@entry=3D0x7f9b7b8c806c, blobSize=3DblobSize@entry=3D4077) at opengl/qopenglprogrambinarycache.cpp:163 #17 0x00007f9b8ed4e59f in QOpenGLProgramBinaryCache::load (this=3Dthis@entry=3D0x7f9b8ee53960 <QOpenGLShaderProgramPrivate::linkBinary()::binCache>, cacheKey=3D..., programId=3D4) at opengl/qopenglprogrambinarycache.cpp:296 #18 0x00007f9b8ed23d88 in QOpenGLShaderProgramPrivate::linkBinary (this=3Dthis@entry=3D0x558d830d5f00) at opengl/qopenglshaderprogram.cpp= :3825 #19 0x00007f9b8ed24380 in QOpenGLShaderProgram::link (this=3D0x558d831513d8= ) at opengl/qopenglshaderprogram.cpp:1286 #20 0x00007f9b90a3f528 in QSGDefaultRenderContext::compileShader (this=3Dthis@entry=3D0x558d82ab6280, shader=3Dshader@entry=3D0x558d= 831513d0, material=3Dmaterial@entry=3D0x558d830d4430, vertexCode=3D<optimized = out>, fragmentCode=3DfragmentCode@entry=3D0x0) at scenegraph/qsgdefaultrendercontext.cpp:267 #21 0x00007f9b90a0d317 in QSGBatchRenderer::ShaderManager::prepareMaterial (this=3D0x558d82eda560, material=3Dmaterial@entry=3D0x558d830d4430) at scenegraph/coreapi/qsgbatchrenderer.cpp:157 #22 0x00007f9b90a0dd65 in QSGBatchRenderer::Renderer::renderMergedBatch (this=3D0x558d83040620, batch=3D<optimized out>) at scenegraph/coreapi/qsgbatchrenderer.cpp:2312 #23 0x00007f9b90a0f255 in QSGBatchRenderer::Renderer::renderBatches (this=3Dthis@entry=3D0x558d83040620) at scenegraph/coreapi/qsgbatchrenderer.cpp:2569 #24 0x00007f9b90a1495b in QSGBatchRenderer::Renderer::render (this=3D<op= timized out>) at scenegraph/coreapi/qsgbatchrenderer.cpp:2763 #25 0x00007f9b90a05640 in QSGRenderer::renderScene (this=3D0x558d83040620, bindable=3D...) at scenegraph/coreapi/qsgrenderer.cpp:243 #26 0x00007f9b90a05adb in QSGRenderer::renderScene (this=3D<optimized ou= t>, fboId=3D<optimized out>) at scenegraph/coreapi/qsgrenderer.cpp:196 #27 0x00007f9b90a3e968 in QSGDefaultRenderContext::renderNextFrame (this=3D0x558d82ab6280, renderer=3D0x558d83040620, fboId=3D<optimized ou= t>) at scenegraph/qsgdefaultrendercontext.cpp:181 #28 0x00007f9b90a9972f in QQuickWindowPrivate::renderSceneGraph (this=3Dthis@entry=3D0x558d82916260, size=3D...) at items/qquickwindow.= cpp:470 #29 0x00007f9b90a3122f in QSGGuiThreadRenderLoop::renderWindow (this=3Dthis@entry=3D0x558d82ad0600, window=3D<optimized out>) at scenegraph/qsgrenderloop.cpp:429 #30 0x00007f9b90a321da in QSGGuiThreadRenderLoop::exposureChanged (this=3D0x558d82ad0600, window=3D<optimized out>) at scenegraph/qsgrenderloop.cpp:477 #31 0x00007f9b8eaa8e15 in QWindow::event (this=3Dthis@entry=3D0x7fff4b3= 8a6c0, ev=3Dev@entry=3D0x7fff4b38a2b0) at kernel/qwindow.cpp:2267 #32 0x00007f9b90aa37d5 in QQuickWindow::event (this=3Dthis@entry=3D0x7f= ff4b38a6c0, e=3De@entry=3D0x7fff4b38a2b0) at items/qquickwindow.cpp:1610 #33 0x00007f9b916175e3 in PlasmaQuick::Dialog::event (this=3D0x7fff4b38a6c0, event=3D0x7fff4b38a2b0) at /var/tmp/portage/kde-frameworks/plasma-5.42.0/work/plasma-framework-5.42.0/= src/plasmaquick/dialog.cpp:1305 #34 0x0000558d81554bf5 in View::event (this=3D0x7fff4b38a6c0, event=3D0x7fff4b38a2b0) at /var/tmp/portage/kde-plasma/plasma-workspace-5.11.5/work/plasma-workspace-5= .11.5/krunner/view.cpp:222 #35 0x00007f9b8f24a87c in QApplicationPrivate::notify_helper (this=3Dthis@entry=3D0x558d82897610, receiver=3Dreceiver@entry=3D0x= 7fff4b38a6c0, e=3De@entry=3D0x7fff4b38a2b0) at kernel/qapplication.cpp:3722 #36 0x00007f9b8f251efe in QApplication::notify (this=3D0x7fff4b38a650, receiver=3D0x7fff4b38a6c0, e=3D0x7fff4b38a2b0) at kernel/qapplication.cpp:3= 481 #37 0x00007f9b8e749b86 in QCoreApplication::notifyInternal2 (receiver=3Dreceiver@entry=3D0x7fff4b38a6c0, event=3Devent@entry=3D= 0x7fff4b38a2b0) at kernel/qcoreapplication.cpp:1018 #38 0x00007f9b8ea9e93f in QCoreApplication::sendSpontaneousEvent (event=3D0x7fff4b38a2b0, receiver=3D0x7fff4b38a6c0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236 #39 QGuiApplicationPrivate::processExposeEvent (e=3D0x7f9b7400a590) at kernel/qguiapplication.cpp:2861 #40 0x00007f9b8ea9f535 in QGuiApplicationPrivate::processWindowSystemEvent (e=3De@entry=3D0x7f9b7400a590) at kernel/qguiapplication.cpp:1795 #41 0x00007f9b8ea79d4a in QWindowSystemInterface::sendWindowSystemEvents (flags=3D...) at kernel/qwindowsysteminterface.cpp:939 #42 0x00007f9b7e394990 in userEventSourceDispatch (source=3D<optimized o= ut>) at qeventdispatcher_glib.cpp:77 #43 0x00007f9b89c1972e in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #44 0x00007f9b89c19960 in ?? () from /usr/lib64/libglib-2.0.so.0 #45 0x00007f9b89c199ec in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #46 0x00007f9b8e799d5f in QEventDispatcherGlib::processEvents (this=3D0x558d82901750, flags=3D...) at kernel/qeventdispatcher_glib.cpp:423 #47 0x00007f9b8e748992 in QEventLoop::exec (this=3Dthis@entry=3D0x7fff4= b38a5a0, flags=3D..., flags@entry=3D...) at kernel/qeventloop.cpp:212 #48 0x00007f9b8e750d5c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1291 #49 0x0000558d815521d1 in main (argc=3D<optimized out>, argv=3D<op= timized out>) at /var/tmp/portage/kde-plasma/plasma-workspace-5.11.5/work/plasma-workspace-5= .11.5/krunner/main.cpp:92 Reported using DrKonqi See-Also: https:/= /bugs.kde.org/show_bug.cgi?id=3D389632
It appears that over time more and more applications get 'infe= cted': KWin and JetBrains Toolbox now also cannot start anymore.
(In reply to Mike Lothian from comment #3) > I think this might be a duplicate of Bug 104762, which is fixed in mast= er >=20 > Does deleting the shader caches work around the issue for you? I tried: rm -fr ~/.cache/mesa But that still does not allow me to start e.g. KRunner or KMail. I managed to restart KWin from a VT, though, so that one might be affected = in a different way. Sadly the stacktraces of KWin and JetBrains toolbox are not as helpful as t= hat of KRunner: Process 24151 (kwin_x11) of user 1000 dumped core. Stack trace of thread 24151: #0 0x00007f3ce3235a00 n/a (n/a) Process 25032 (jetbrains-toolb) of user 1000 dumped core. Stack trace of thread 25032: #0 0x00007ff3058fe747 x86_64_fallback_frame_state (libgcc_s.so.1) #1 0x00007ff3058ffdb0 _Unwind_Backtrace (libgcc_s.so.1) #2 0x00007ff305637bd8 __backtrace (libc.so.6) #3 0x000000000048d6d2 n/a (/tmp/.mount_bHWhBY/usr/share/jetbrains-toolbox/jetbrains-toolbox) #4 0x00007ff30555dac0 __restore_rt (libc.so.6) #5 0x00007ff2f86c2e98 tgsi_util_get_inst_usage_mask (radeonsi_dri.so) #6 0x00007ff2f86ba009 scan_instruction (radeonsi_dri.so) #7 0x3f80000000000000 n/a (n/a) I will rebuild KWin with debug symbols and try to repro afterwards, to get a better stack trace.
| What | Removed | Added |
|---|---|---|
| CC | devurandom@gmx.net |
Created attachment 137047 [details]<=
/a>
glxinfo
When running glxinfo, I also noticed the following output on stderr:
amdgpu_parse_asic_ids: Cannot parse ASIC IDs: Resource temporarily unavaila=
ble
Created attachment 13704=
8 [details]
glxinfo (DRI_PRIME=3D1)
With DRI_PRIME=3D1, I do not see 'Resource temporarily unavailable' on stde=
rr.
| What | Removed | Added |
|---|---|---|
| Status | NEW | RESOLVED |
| Resolution | --- | DUPLICATE |
(In reply to Dennis Schridde from comment #11) > amdgpu_parse_asic_ids: Cannot parse ASIC IDs: Re= source temporarily unavailable Unrelated libdrm_amdgpu issue, fixed by https://cgit.freedesktop.org/mesa/drm/commit/?= id=3D57d3d4c96887cde016fe1d2766196accf77ca423 This is a duplicate of bug 104762, resolving accordingly. *** This bug has been marked as a duplicate of bug 104762 ***
(In reply to Michel D=C3=A4nzer from comment #13) > (In reply to Dennis Schridde from comment #11) > > amdgpu_parse_asic_ids: Cannot parse ASIC IDs: Resource temporaril= y unavailable >=20 > Unrelated libdrm_amdgpu issue, fixed by >=20 > https://cgit= .freedesktop.org/mesa/drm/commit/ > ?id=3D57d3d4c96887cde016fe1d2766196accf77ca423 That commit is not in any released version of libdrm. Please do a release containing it.