Bug 412546

Summary: Plasma crashes on restart
Product: [Plasma] plasmashell Reporter: vandah3
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: nate, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.16.5   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description vandah3 2019-10-03 07:51:38 UTC
Application: plasmashell (5.16.5)

Qt Version: 5.13.1
Frameworks Version: 5.62.0
Operating System: Linux 5.3.1-arch1-1-ARCH x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
I use plasmashell as a status bar in i3wm. On every restart of the session, I call `plasmashell --replace` (`exec_always plasmashell --replace`).
I have recently noticed that plasmashell segfaults quite often, together with other KDE related apps (kdeconnectd, kglobalaccel5, kactivitymanagerd, kdeinit5).
These crashes usually happen silently, probably at startup (no bug report dialog has ever been shown until now).

Just before the application crashed I have been tweaking the compton configuration and reloaded the i3 session several times(thus plasmashell --replace has been called several times as well).

The crash can be reproduced sometimes.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fd875a01880 (LWP 3919))]

Thread 9 (Thread 0x7fd8477fe700 (LWP 106055)):
#0  0x00007fd8799e2415 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fd87a510660 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2  0x00007fd87a510752 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#3  0x00007fd87c2f4dad in  () at /usr/lib/libQt5Quick.so.5
#4  0x00007fd87c2f505e in  () at /usr/lib/libQt5Quick.so.5
#5  0x00007fd87a50a5b0 in  () at /usr/lib/libQt5Core.so.5
#6  0x00007fd8799dc57f in start_thread () at /usr/lib/libpthread.so.0
#7  0x00007fd87a1990e3 in clone () at /usr/lib/libc.so.6

Thread 8 (Thread 0x7fd847fff700 (LWP 4520)):
[KCrash Handler]
#6  0x00007fd86450cf0c in  () at /usr/lib/qt/qml/org/kde/kquickcontrolsaddons/libkquickcontrolsaddonsplugin.so
#7  0x00007fd87a704b70 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#8  0x00007fd87c34b4f3 in QQuickWindowPrivate::renderSceneGraph(QSize const&) () at /usr/lib/libQt5Quick.so.5
#9  0x00007fd87c2f10ab in  () at /usr/lib/libQt5Quick.so.5
#10 0x00007fd87c2f4fc8 in  () at /usr/lib/libQt5Quick.so.5
#11 0x00007fd87a50a5b0 in  () at /usr/lib/libQt5Core.so.5
#12 0x00007fd8799dc57f in start_thread () at /usr/lib/libpthread.so.0
#13 0x00007fd87a1990e3 in clone () at /usr/lib/libc.so.6

Thread 7 (Thread 0x7fd85b7fe700 (LWP 4140)):
#0  0x00007fd87a18a18c in read () at /usr/lib/libc.so.6
#1  0x00007fd8789679f0 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fd8789b59f1 in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#3  0x00007fd8789b70d8 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007fd8789b7201 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#5  0x00007fd87a730a1c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007fd87a6d74ec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#7  0x00007fd87a509385 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#8  0x00007fd87c2696eb in  () at /usr/lib/libQt5Quick.so.5
#9  0x00007fd87a50a5b0 in  () at /usr/lib/libQt5Core.so.5
#10 0x00007fd8799dc57f in start_thread () at /usr/lib/libpthread.so.0
#11 0x00007fd87a1990e3 in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7fd85bfff700 (LWP 4139)):
#0  0x00007fd8799e2415 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fd87a510660 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2  0x00007fd87a510752 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#3  0x00007fd87c2f4dad in  () at /usr/lib/libQt5Quick.so.5
#4  0x00007fd87c2f505e in  () at /usr/lib/libQt5Quick.so.5
#5  0x00007fd87a50a5b0 in  () at /usr/lib/libQt5Core.so.5
#6  0x00007fd8799dc57f in start_thread () at /usr/lib/libpthread.so.0
#7  0x00007fd87a1990e3 in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7fd867fff700 (LWP 4089)):
#0  0x00007fd8799e2415 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fd86c413f5c in  () at /usr/lib/dri/i965_dri.so
#2  0x00007fd86c413b58 in  () at /usr/lib/dri/i965_dri.so
#3  0x00007fd8799dc57f in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007fd87a1990e3 in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7fd86e95f700 (LWP 4042)):
#0  0x00007fd87a18a18c in read () at /usr/lib/libc.so.6
#1  0x00007fd8789679f0 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fd8789b59f1 in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#3  0x00007fd8789b70d8 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007fd8789b7201 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#5  0x00007fd87a730a1c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007fd87a6d74ec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#7  0x00007fd87a509385 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#8  0x00007fd87bf89849 in  () at /usr/lib/libQt5Qml.so.5
#9  0x00007fd87a50a5b0 in  () at /usr/lib/libQt5Core.so.5
#10 0x00007fd8799dc57f in start_thread () at /usr/lib/libpthread.so.0
#11 0x00007fd87a1990e3 in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7fd86fb8b700 (LWP 3977)):
#0  0x00007fd87a18e667 in poll () at /usr/lib/libc.so.6
#1  0x00007fd8789b7130 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fd8789b7201 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007fd87a730a1c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007fd87a6d74ec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007fd87a509385 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007fd87afacb37 in  () at /usr/lib/libQt5DBus.so.5
#7  0x00007fd87a50a5b0 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007fd8799dc57f in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007fd87a1990e3 in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7fd874c2f700 (LWP 3950)):
#0  0x00007fd87a18e667 in poll () at /usr/lib/libc.so.6
#1  0x00007fd87c6fb630 in  () at /usr/lib/libxcb.so.1
#2  0x00007fd87c6fd2db in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007fd8755ab101 in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x00007fd87a50a5b0 in  () at /usr/lib/libQt5Core.so.5
#5  0x00007fd8799dc57f in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007fd87a1990e3 in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7fd875a01880 (LWP 3919)):
#0  0x00007fd8799e2415 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fd87a510660 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2  0x00007fd87a510752 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#3  0x00007fd87c2f2445 in  () at /usr/lib/libQt5Quick.so.5
#4  0x00007fd87c2f2739 in  () at /usr/lib/libQt5Quick.so.5
#5  0x00007fd87c2d49d4 in QSGRenderLoop::cleanup() () at /usr/lib/libQt5Quick.so.5
#6  0x00007fd87a6da932 in qt_call_post_routines() () at /usr/lib/libQt5Core.so.5
#7  0x00007fd87b219bb7 in QApplication::~QApplication() () at /usr/lib/libQt5Widgets.so.5
#8  0x000055bb1a748e18 in  ()
#9  0x00007fd87a0c3ee3 in __libc_start_main () at /usr/lib/libc.so.6
#10 0x000055bb1a7492ae in _start ()
[Inferior 1 (process 3919) detached]

Reported using DrKonqi
Comment 1 Nate Graham 2021-03-09 03:19:21 UTC

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