Bug 408510

Summary: KDE Plasma crashes when unlocking it after system suspend
Product: [Plasma] plasmashell Reporter: Jonas Andradas <j.andradas>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: nucrap, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.14.5   
Target Milestone: 1.0   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Jonas Andradas 2019-06-10 06:59:01 UTC
Application: plasmashell (5.14.5)

Qt Version: 5.11.3
Frameworks Version: 5.54.0
Operating System: Linux 4.19.0-5-amd64 x86_64
Distribution: Debian GNU/Linux 10 (buster)

-- Information about the crash:
Often, but not always, after I resume from suspending the system, Plasma crashes after I introduce my password to unlock the screen.  When this happens, I get an "xmessage" window with the following error:  "Could not start ksmserver. Check your installation.", and Plasma reloads.

The crash can be reproduced sometimes.

-- 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 0x7ff6a0b4a840 (LWP 2436))]

Thread 6 (Thread 0x7ff6848e8700 (LWP 2856)):
#0  0x00007ff6a5b4d819 in __GI___poll (fds=0x7ff674006470, nfds=1, timeout=1959784) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ff6a3c42136 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff6a3c4225c in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff6a605e87b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ff6a600c27b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ff6a5e5bec6 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ff6852c26f7 in KCupsConnection::run() () at /usr/lib/x86_64-linux-gnu/libkcupslib.so
#7  0x00007ff6a5e65aa7 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007ff6a4d82fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#9  0x00007ff6a5b584cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7ff686fe6700 (LWP 2576)):
#0  0x00007ff6a5b49494 in __GI___libc_read (nbytes=16, buf=0x7ff686fe5b00, fd=18) at ../sysdeps/unix/sysv/linux/read.c:26
#1  0x00007ff6a5b49494 in __GI___libc_read (fd=18, buf=0x7ff686fe5b00, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007ff6a3c87aa0 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff6a3c41c0f in g_main_context_check () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ff6a3c420e0 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ff6a3c4225c in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007ff6a605e87b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007ff6a600c27b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007ff6a5e5bec6 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007ff6a7a13476 in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#10 0x00007ff6a5e65aa7 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007ff6a4d82fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#12 0x00007ff6a5b584cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7ff68efaa700 (LWP 2547)):
#0  0x00007ff6a4d8900c in futex_wait_cancelable (private=0, expected=0, futex_word=0x56308f098248) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007ff6a4d8900c in __pthread_cond_wait_common (abstime=0x0, mutex=0x56308f0981f8, cond=0x56308f098220) at pthread_cond_wait.c:502
#2  0x00007ff6a4d8900c in __pthread_cond_wait (cond=0x56308f098220, mutex=0x56308f0981f8) at pthread_cond_wait.c:655
#3  0x00007ff68f404e03 in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007ff68f404b57 in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007ff6a4d82fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#6  0x00007ff6a5b584cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7ff69d85f700 (LWP 2502)):
#0  0x00007ff6a5b49494 in __GI___libc_read (nbytes=16, buf=0x7ff69d85eb20, fd=13) at ../sysdeps/unix/sysv/linux/read.c:26
#1  0x00007ff6a5b49494 in __GI___libc_read (fd=13, buf=0x7ff69d85eb20, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007ff6a3c87aa0 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff6a3c41c0f in g_main_context_check () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ff6a3c420e0 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ff6a3c4225c in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007ff6a605e87b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007ff6a600c27b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007ff6a5e5bec6 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007ff6a778ec65 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#10 0x00007ff6a5e65aa7 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007ff6a4d82fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#12 0x00007ff6a5b584cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7ff69ed14700 (LWP 2469)):
#0  0x00007ff6a5b49494 in __GI___libc_read (nbytes=16, buf=0x7ff69ed13b10, fd=7) at ../sysdeps/unix/sysv/linux/read.c:26
#1  0x00007ff6a5b49494 in __GI___libc_read (fd=7, buf=0x7ff69ed13b10, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007ff6a3c87aa0 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff6a3c41c0f in g_main_context_check () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ff6a3c420e0 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ff6a3c4225c in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007ff6a605e87b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007ff6a600c27b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007ff6a5e5bec6 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007ff6a6898545 in  () at /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#10 0x00007ff6a5e65aa7 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007ff6a4d82fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#12 0x00007ff6a5b584cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7ff6a0b4a840 (LWP 2436)):
[KCrash Handler]
#4  0x00007ff6a03b3e6a in QXcbConnection::getSelectionOwner(unsigned int) const () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#5  0x00007ff6a03b14e4 in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#6  0x00007ff6a63d717a in QInternalMimeData::formats() const () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#7  0x00007ff6a03b1258 in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#8  0x00007ff6a63d735a in QInternalMimeData::hasFormat(QString const&) const () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#9  0x00007ff6a60309a0 in QMimeData::hasUrls() const () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007ff6a6030a3f in QMimeData::hasText() const () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007ff6a7b3a808 in QQuickTextInput::q_canPasteChanged() () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#12 0x00007ff6a7b45acc in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#13 0x00007ff6a7b46b7b in QQuickTextInput::qt_metacall(QMetaObject::Call, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#14 0x00007ff6a76e2697 in QQmlVMEMetaObject::metaCall(QObject*, QMetaObject::Call, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#15 0x00007ff6a60369c7 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007ff6a63c8ead in QClipboard::emitChanged(QClipboard::Mode) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#17 0x00007ff6a03afdda in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#18 0x00007ff6a03b7de7 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#19 0x00007ff6a03b8843 in QXcbConnection::processXcbEvents() () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#20 0x00007ff6a6037182 in QObject::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007ff6a6b074b1 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007ff6a6b0e950 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007ff6a600d5a9 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x00007ff6a601059b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007ff6a605f233 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007ff6a3c41f2e in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007ff6a3c421c8 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007ff6a3c4225c in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007ff6a605e863 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x00007ff6a044c3e1 in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#31 0x00007ff6a600c27b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#32 0x00007ff6a6014262 in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#33 0x000056308e67c1ab in  ()
#34 0x00007ff6a5a8309b in __libc_start_main (main=0x56308e67b6a0, argc=1, argv=0x7ffe3c519b18, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe3c519b08) at ../csu/libc-start.c:308
#35 0x000056308e67c62a in _start ()
[Inferior 1 (process 2436) detached]

Reported using DrKonqi
Comment 1 nuc 2020-03-22 16:40:38 UTC
Created attachment 126949 [details]
New crash information added by DrKonqi

plasmashell (5.18.3) using Qt 5.14.1

- What I was doing when the application crashed:

I logged in after suspend. I put my monitor off btw.

Then plasma crashed

-- Backtrace (Reduced):
#6  0x00007f3c22bbfbd2 in QXcbConnection::getSelectionOwner(unsigned int) const () at /usr/lib/libQt5XcbQpa.so.5
#7  0x00007f3c22bbda45 in  () at /usr/lib/libQt5XcbQpa.so.5
#8  0x00007f3c27cbeb1a in QInternalMimeData::formats() const () at /usr/lib/libQt5Gui.so.5
#9  0x00007f3c22bbd7a9 in  () at /usr/lib/libQt5XcbQpa.so.5
#10 0x00007f3c27cbecfa in QInternalMimeData::hasFormat(QString const&) const () at /usr/lib/libQt5Gui.so.5
Comment 2 David Edmundson 2020-06-13 23:36:06 UTC

*** This bug has been marked as a duplicate of bug 400701 ***