Bug 417479

Summary: Plasmashell keeps crashing after staring the sysyem.
Product: [Plasma] plasmashell Reporter: Abhishek Bhasker <abhinickz6>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: michal.dybczak, nate, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.18.0   
Target Milestone: 1.0   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Abhishek Bhasker 2020-02-12 11:03:36 UTC
Application: plasmashell (5.18.0)

Qt Version: 5.12.4
Frameworks Version: 5.67.0
Operating System: Linux 5.3.0-29-generic x86_64
Windowing system: X11
Distribution: Ubuntu 19.10

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

Just started the system.

- Unusual behavior I noticed:

Running plasmashelll from terminal with root user is seems to working fine.

- Custom settings of the application:
I am using some custom theme.

The crash can be reproduced every time.

-- 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 0x7fd7f11501c0 (LWP 1730))]

Thread 9 (Thread 0x7fd7b7fff700 (LWP 2898)):
#0  0x00007fd7f3f262c6 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x555c7ff69004) at ../sysdeps/unix/sysv/linux/futex-internal.h:80
#1  0x00007fd7f3f262c6 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x555c7ff68fb0, cond=0x555c7ff68fd8) at pthread_cond_wait.c:508
#2  0x00007fd7f3f262c6 in __pthread_cond_wait (cond=0x555c7ff68fd8, mutex=0x555c7ff68fb0) at pthread_cond_wait.c:638
#3  0x00007fd7f4a86dbf in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fd7f4a86eb1 in QWaitCondition::wait(QMutex*, unsigned long) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fd7f67227b9 in  () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x00007fd7f6722a1a in  () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007fd7f4a80c92 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fd7f3f1f669 in start_thread (arg=<optimized out>) at pthread_create.c:479
#9  0x00007fd7f4703323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7fd7c678b700 (LWP 2829)):
#0  0x00007fd7f3f262c6 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x555c7dd32b44) at ../sysdeps/unix/sysv/linux/futex-internal.h:80
#1  0x00007fd7f3f262c6 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x555c7dd32af0, cond=0x555c7dd32b18) at pthread_cond_wait.c:508
#2  0x00007fd7f3f262c6 in __pthread_cond_wait (cond=0x555c7dd32b18, mutex=0x555c7dd32af0) at pthread_cond_wait.c:638
#3  0x00007fd7f4a86dbf in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fd7f4a86eb1 in QWaitCondition::wait(QMutex*, unsigned long) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fd7f67227b9 in  () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x00007fd7f6722a1a in  () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007fd7f4a80c92 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fd7f3f1f669 in start_thread (arg=<optimized out>) at pthread_create.c:479
#9  0x00007fd7f4703323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7fd7d5a87700 (LWP 2603)):
#0  0x00007fd7f3f262c6 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x555c7ba5de70) at ../sysdeps/unix/sysv/linux/futex-internal.h:80
#1  0x00007fd7f3f262c6 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x555c7ba5de20, cond=0x555c7ba5de48) at pthread_cond_wait.c:508
#2  0x00007fd7f3f262c6 in __pthread_cond_wait (cond=0x555c7ba5de48, mutex=0x555c7ba5de20) at pthread_cond_wait.c:638
#3  0x00007fd7f4a86dbf in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fd7f4a86eb1 in QWaitCondition::wait(QMutex*, unsigned long) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fd7f67227b9 in  () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x00007fd7f6722a1a in  () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007fd7f4a80c92 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fd7f3f1f669 in start_thread (arg=<optimized out>) at pthread_create.c:479
#9  0x00007fd7f4703323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7fd7dd8e2700 (LWP 2599)):
#0  0x00007fd7f4678923 in __libc_enable_asynccancel () at ../sysdeps/unix/sysv/linux/x86_64/cancellation.S:56
#1  0x00007fd7f46f6c17 in __GI___poll (fds=0x7fd7d0005160, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#2  0x00007fd7f3369a3e in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd7f3369b73 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fd7f4c9f653 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fd7f4c465cb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fd7f4a7fa45 in QThread::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fd7f669a8aa in  () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007fd7f4a80c92 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007fd7f3f1f669 in start_thread (arg=<optimized out>) at pthread_create.c:479
#10 0x00007fd7f4703323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fd7ec96f700 (LWP 2269)):
#0  0x00007fd7f3f262c6 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x555c79f5d998) at ../sysdeps/unix/sysv/linux/futex-internal.h:80
#1  0x00007fd7f3f262c6 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x555c79f5d948, cond=0x555c79f5d970) at pthread_cond_wait.c:508
#2  0x00007fd7f3f262c6 in __pthread_cond_wait (cond=0x555c79f5d970, mutex=0x555c79f5d948) at pthread_cond_wait.c:638
#3  0x00007fd7df81eabb in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007fd7df81e6db in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007fd7f3f1f669 in start_thread (arg=<optimized out>) at pthread_create.c:479
#6  0x00007fd7f4703323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fd7ee20c700 (LWP 2267)):
#0  0x00007fd7f46f22ac in __GI___libc_read (nbytes=16, buf=0x7fd7ee20bb70, fd=11) at ../sysdeps/unix/sysv/linux/read.c:26
#1  0x00007fd7f46f22ac in __GI___libc_read (fd=11, buf=0x7fd7ee20bb70, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007fd7f33b163f in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd7f336958e in g_main_context_check () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fd7f33699e2 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fd7f3369b73 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fd7f4c9f653 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fd7f4c465cb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fd7f4a7fa45 in QThread::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007fd7f63c5319 in  () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#10 0x00007fd7f4a80c92 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007fd7f3f1f669 in start_thread (arg=<optimized out>) at pthread_create.c:479
#12 0x00007fd7f4703323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fd7ef48e700 (LWP 1744)):
#0  0x00007fd7f46f6c2f in __GI___poll (fds=0x7fd7e0014910, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fd7f3369a3e in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd7f3369b73 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd7f4c9f653 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fd7f4c465cb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fd7f4a7fa45 in QThread::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fd7f5caaefa in  () at /lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007fd7f4a80c92 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fd7f3f1f669 in start_thread (arg=<optimized out>) at pthread_create.c:479
#9  0x00007fd7f4703323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fd7f02b4700 (LWP 1742)):
#0  0x00007fd7f46f6c2f in __GI___poll (fds=0x7fd7f02b3ca8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fd7f6b1b917 in  () at /lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fd7f6b1d53a in xcb_wait_for_event () at /lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fd7f0a9c288 in  () at /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007fd7f4a80c92 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fd7f3f1f669 in start_thread (arg=<optimized out>) at pthread_create.c:479
#6  0x00007fd7f4703323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fd7f11501c0 (LWP 1730)):
[KCrash Handler]
#6  0x0000000000000000 in  ()
#7  0x00007fd7f6754a9b in  () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007fd7f6754b0d in  () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#9  0x00007fd7f68fb2b6 in  () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#10 0x00007fd7f0b3036a in  () at /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#11 0x00007fd7f0b33737 in  () at /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#12 0x00007fd7f0b3471e in  () at /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#13 0x00007fd7f6761617 in QQuickItemPrivate::setEffectiveVisibleRecur(bool) () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#14 0x00007fd7f676734b in QQuickItem::setParentItem(QQuickItem*) () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#15 0x00007fd7f6767a2c in QQuickItem::~QQuickItem() () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#16 0x00007fd7dde6cfd1 in  () at /usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Templates.2/libqtquicktemplates2plugin.so
#17 0x00007fd7f4c73c64 in QObject::event(QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007fd7f676601b in QQuickItem::event(QEvent*) () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#19 0x00007fd7f56b5a86 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007fd7f56bee00 in QApplication::notify(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007fd7f4c47a2a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007fd7f4c4a6a8 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007fd7f4ca0037 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x00007fd7f336984d in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007fd7f3369ad0 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007fd7f3369b73 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007fd7f4c9f635 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x00007fd7f4c465cb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x00007fd7f4c4e336 in QCoreApplication::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x0000555c785e8b25 in  ()
#31 0x00007fd7f46081e3 in __libc_start_main (main=0x555c785e7ea0, argc=1, argv=0x7ffd9d1f0578, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd9d1f0568) at ../csu/libc-start.c:308
#32 0x0000555c785e8cde in _start ()
[Inferior 1 (process 1730) detached]

Possible duplicates by query: bug 417462, bug 417455, bug 417446, bug 417439, bug 417436.

Reported using DrKonqi
Comment 1 MichaƂ Dybczak 2020-02-15 08:13:10 UTC
Not sure how it is now, but in the past I experience incredibly crashy plasmashell or kwin episodes. I also notice some other users report them as well from time to time.

In all those cases the issue was caused by some corrupted configs. Deleting broken configs or going back to defaults was fixing everything and Plasma was regaining its normal, stable state.

So please, do a copy of your Plasma and KDE configs (or rename them, move to another location - choice is yours) and remove them, reboot, see if the default Plasma also misbehaves or not. Then restore configs one by one, reboot and test it to find the culprit if you want to have the same settings for the most part, or configure KDE and Plasma anew.
Comment 2 Nate Graham 2021-03-08 23:18:28 UTC

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