Bug 412174

Summary: Plasma crash upon initial loading (after log-in) on Wayland
Product: [Plasma] plasmashell Reporter: Chris <christopherbwilliams1990>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED UPSTREAM    
Severity: crash CC: nate, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.16.5   
Target Milestone: 1.0   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: photo of current desktop state.

Description Chris 2019-09-22 02:08:28 UTC
Application: plasmashell (5.16.5)

Qt Version: 5.12.3
Frameworks Version: 5.62.0
Operating System: Linux 5.0.0-29-generic x86_64
Distribution: KDE neon User Edition 5.16

-- Information about the crash:
- What I was doing when the application crashed:

Had just logged in, after switching to "Plasma on Wayland". Using the open-source video drivers. Does not do this when on X

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f80f3c2f880 (LWP 1393))]

Thread 9 (Thread 0x7f808ffff700 (LWP 1532)):
[KCrash Handler]
#6  0x00007f80cac670b3 in  () at /usr/lib/x86_64-linux-gnu/libdrm_nouveau.so.2
#7  0x00007f80cac677dd in  () at /usr/lib/x86_64-linux-gnu/libdrm_nouveau.so.2
#8  0x00007f80cf256196 in  () at /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#9  0x00007f80cf3fbe6b in  () at /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#10 0x00007f80cef7982a in  () at /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#11 0x00007f80d5b4b24b in  () at /usr/lib/x86_64-linux-gnu/libEGL_mesa.so.0
#12 0x00007f80d5b38829 in eglSwapBuffers () at /usr/lib/x86_64-linux-gnu/libEGL_mesa.so.0
#13 0x00007f80d6187b7c in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/wayland-graphics-integration-client/libqt-plugin-wayland-egl.so
#14 0x00007f80edf2cdbf in QOpenGLContext::swapBuffers(QSurface*) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#15 0x00007f80f1a9aed9 in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#16 0x00007f80f1a9eae8 in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#17 0x00007f80ed74bc72 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007f80ea2616db in start_thread (arg=0x7f808ffff700) at pthread_create.c:463
#19 0x00007f80ed04b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7f809da53700 (LWP 1472)):
#0  0x00007f80ed981b52 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#1  0x00007f80e6ea5fe1 in g_main_context_check () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f80e6ea6570 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f80e6ea66dc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f80ed981dcb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f80ed92303a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f80ed74a4ca in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f80ed74bc72 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f80ea2616db in start_thread (arg=0x7f809da53700) at pthread_create.c:463
#9  0x00007f80ed04b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f809e663700 (LWP 1471)):
#0  0x00007fffbf9f666f in  ()
#1  0x00007f80ed05aea6 in __GI___clock_gettime (clock_id=1, tp=0x7f809e662ac0) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007f80ed9816b1 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f80ed97fee9 in QTimerInfoList::updateCurrentTime() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f80ed982535 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f80e6ea5fe1 in g_main_context_check () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f80e6ea6570 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f80e6ea66dc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007f80ed981dcb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f80ed92303a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f80ed74a4ca in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007f809ed2e197 in KCupsConnection::run() () at /usr/lib/x86_64-linux-gnu/libkcupslib.so
#12 0x00007f80ed74bc72 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007f80ea2616db in start_thread (arg=0x7f809e663700) at pthread_create.c:463
#14 0x00007f80ed04b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f80b1a7f700 (LWP 1468)):
#0  0x00007f80ea26b10d in __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
#1  0x00007f80ea264023 in __GI___pthread_mutex_lock (mutex=0x55bcb25138e8) at ../nptl/pthread_mutex_lock.c:78
#2  0x00007f80d5b388bb in eglSwapInterval () at /usr/lib/x86_64-linux-gnu/libEGL_mesa.so.0
#3  0x00007f80d6187b6e in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/wayland-graphics-integration-client/libqt-plugin-wayland-egl.so
#4  0x00007f80edf2cdbf in QOpenGLContext::swapBuffers(QSurface*) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#5  0x00007f80f1a9aed9 in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x00007f80f1a9eae8 in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007f80ed74bc72 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f80ea2616db in start_thread (arg=0x7f80b1a7f700) at pthread_create.c:463
#9  0x00007f80ed04b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f80b29fb700 (LWP 1465)):
#0  0x00007f80e6ea65cc in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f80e6ea66dc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f80ed981dcb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f80ed92303a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f80ed74a4ca in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f80f1a18926 in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x00007f80ed74bc72 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f80ea2616db in start_thread (arg=0x7f80b29fb700) at pthread_create.c:463
#8  0x00007f80ed04b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f80c9e7e700 (LWP 1461)):
#0  0x00007f80ea2679f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55bcb22934e8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007f80ea2679f3 in __pthread_cond_wait_common (abstime=0x0, mutex=0x55bcb2293498, cond=0x55bcb22934c0) at pthread_cond_wait.c:502
#2  0x00007f80ea2679f3 in __pthread_cond_wait (cond=0x55bcb22934c0, mutex=0x55bcb2293498) at pthread_cond_wait.c:655
#3  0x00007f80cf6c923a in  () at /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#4  0x00007f80cf6c8f67 in  () at /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#5  0x00007f80ea2616db in start_thread (arg=0x7f80c9e7e700) at pthread_create.c:463
#6  0x00007f80ed04b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f80dcefc700 (LWP 1458)):
#0  0x00007f80ed03a0b4 in __GI___libc_read (fd=9, buf=0x7f80dcefbaf0, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007f80e6eeb2d0 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f80e6ea60b7 in g_main_context_check () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f80e6ea6570 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f80e6ea66dc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f80ed981dcb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f80ed92303a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f80ed74a4ca in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f80f1553115 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#9  0x00007f80ed74bc72 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f80ea2616db in start_thread (arg=0x7f80dcefc700) at pthread_create.c:463
#11 0x00007f80ed04b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f80de934700 (LWP 1430)):
#0  0x00007f80ed05a762 in __libc_disable_asynccancel () at ../sysdeps/unix/sysv/linux/x86_64/cancellation.S:96
#1  0x00007f80ed03ec0d in __GI___poll (fds=0x7f80d8003ce0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#2  0x00007f80e6ea65c9 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f80e6ea66dc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f80ed981dcb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f80ed92303a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f80ed74a4ca in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f80eea2d015 in  () at /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007f80ed74bc72 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f80ea2616db in start_thread (arg=0x7f80de934700) at pthread_create.c:463
#10 0x00007f80ed04b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f80f3c2f880 (LWP 1393)):
#0  0x00007f80ea2679f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55bcb37a1eb4) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007f80ea2679f3 in __pthread_cond_wait_common (abstime=0x0, mutex=0x55bcb37a1e60, cond=0x55bcb37a1e88) at pthread_cond_wait.c:502
#2  0x00007f80ea2679f3 in __pthread_cond_wait (cond=0x55bcb37a1e88, mutex=0x55bcb37a1e60) at pthread_cond_wait.c:655
#3  0x00007f80ed752dbb in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f80ed7530c9 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f80f1a9ba6d in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x00007f80f1a9c5aa in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007f80f1afd08e in QQuickWindow::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x000055bcb099b4ab in  ()
#9  0x00007f80ef28265c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007f80ef289b90 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007f80ed924d18 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007f80ededfb33 in QPlatformWindow::windowEvent(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#13 0x00007f80ef289bab in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007f80ed924d18 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007f80ed981219 in QTimerInfoList::activateTimers() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007f80ed981a19 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007f80e6ea6417 in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007f80e6ea6650 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007f80e6ea66dc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007f80ed981daf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007f80ed92303a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007f80ed92c170 in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x000055bcb098af3f in  ()
#24 0x00007f80ecf4bb97 in __libc_start_main (main=0x55bcb098a3d0, argc=1, argv=0x7fffbf9e7808, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffbf9e77f8) at ../csu/libc-start.c:310
#25 0x000055bcb098b3ca in _start ()

Reported using DrKonqi
Comment 1 Chris 2019-09-22 02:10:27 UTC
I would like to go ahead and note (since this is the report that I had just made), that Plasma has just crashed and hasn't loaded back in yet. I clicked the option to open this page after hitting "finish" in the bug reporter, and it crashed after firefox started loading. I am still in firefox though, but the entire system is just BLACK, besides this
Comment 2 Chris 2019-09-22 02:12:19 UTC
Created attachment 122794 [details]
photo of current desktop state.
Comment 3 Nate Graham 2021-03-09 03:23:13 UTC
Looks like it's crashing in the graphics drivers. If this is still reproducible in either Plasma 5.18 (the current LTS version) or Plasma 5.21 (the latest released version), can you please report it to the Mesa developers? See https://docs.mesa3d.org/bugs.html

Thanks!