Bug 415240 - Plasma shell on wayland crashes when an external monitor is unplugged
Summary: Plasma shell on wayland crashes when an external monitor is unplugged
Status: RESOLVED DUPLICATE of bug 413892
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.17.4
Platform: Arch Linux Linux
: NOR crash
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2019-12-16 10:01 UTC by Achilleas Pipinellis
Modified: 2021-02-26 16:54 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Achilleas Pipinellis 2019-12-16 10:01:24 UTC
Application: plasmashell (5.17.4)

Qt Version: 5.13.2
Frameworks Version: 5.64.0
Operating System: Linux 5.4.2-arch1-1 x86_64
Distribution: "Arch Linux"

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

I unplugged the external monitor from my laptop which I had hooked up with a display port ( I think the same happens with HDMI).

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 0x7f7459d61c80 (LWP 53356))]

Thread 15 (Thread 0x7f73fa71a700 (LWP 53820)):
#0  0x00007f745d714c45 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f745e224610 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2  0x00007f745e224702 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#3  0x00007f743a9d9309 in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#4  0x00007f743a9dcdcb in  () at /usr/lib/libKF5ThreadWeaver.so.5
#5  0x00007f743a9d84fe in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#6  0x00007f743a9dce21 in  () at /usr/lib/libKF5ThreadWeaver.so.5
#7  0x00007f743a9d84fe in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#8  0x00007f743a9dce21 in  () at /usr/lib/libKF5ThreadWeaver.so.5
#9  0x00007f743a9d84fe in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#10 0x00007f743a9dce21 in  () at /usr/lib/libKF5ThreadWeaver.so.5
#11 0x00007f743a9d84fe in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#12 0x00007f743a9dce21 in  () at /usr/lib/libKF5ThreadWeaver.so.5
#13 0x00007f743a9d84fe in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#14 0x00007f743a9daf0c in ThreadWeaver::Thread::run() () at /usr/lib/libKF5ThreadWeaver.so.5
#15 0x00007f745e21e530 in  () at /usr/lib/libQt5Core.so.5
#16 0x00007f745d70e4cf in start_thread () at /usr/lib/libpthread.so.0
#17 0x00007f745dea82d3 in clone () at /usr/lib/libc.so.6

Thread 14 (Thread 0x7f73faf1b700 (LWP 53819)):
#0  0x00007f745d714c45 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f745e224610 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2  0x00007f745e224702 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#3  0x00007f743a9d9309 in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#4  0x00007f743a9dcdcb in  () at /usr/lib/libKF5ThreadWeaver.so.5
#5  0x00007f743a9d84fe in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#6  0x00007f743a9daf0c in ThreadWeaver::Thread::run() () at /usr/lib/libKF5ThreadWeaver.so.5
#7  0x00007f745e21e530 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f745d70e4cf in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f745dea82d3 in clone () at /usr/lib/libc.so.6

Thread 13 (Thread 0x7f73fb71c700 (LWP 53818)):
#0  0x00007f745d714c45 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f745e224610 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2  0x00007f745e224702 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#3  0x00007f743a9d9309 in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#4  0x00007f743a9dcdcb in  () at /usr/lib/libKF5ThreadWeaver.so.5
#5  0x00007f743a9d84fe in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#6  0x00007f743a9daf0c in ThreadWeaver::Thread::run() () at /usr/lib/libKF5ThreadWeaver.so.5
#7  0x00007f745e21e530 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f745d70e4cf in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f745dea82d3 in clone () at /usr/lib/libc.so.6

Thread 12 (Thread 0x7f73fbf1d700 (LWP 53817)):
#0  0x00007f745d714c45 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f745e224610 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2  0x00007f745e224702 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#3  0x00007f743a9d9309 in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#4  0x00007f743a9dcdcb in  () at /usr/lib/libKF5ThreadWeaver.so.5
#5  0x00007f743a9d84fe in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#6  0x00007f743a9dce21 in  () at /usr/lib/libKF5ThreadWeaver.so.5
#7  0x00007f743a9d84fe in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#8  0x00007f743a9dce21 in  () at /usr/lib/libKF5ThreadWeaver.so.5
#9  0x00007f743a9d84fe in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#10 0x00007f743a9daf0c in ThreadWeaver::Thread::run() () at /usr/lib/libKF5ThreadWeaver.so.5
#11 0x00007f745e21e530 in  () at /usr/lib/libQt5Core.so.5
#12 0x00007f745d70e4cf in start_thread () at /usr/lib/libpthread.so.0
#13 0x00007f745dea82d3 in clone () at /usr/lib/libc.so.6

Thread 11 (Thread 0x7f7441e5a700 (LWP 53816)):
#0  0x00007f745d714c45 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f745e224610 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2  0x00007f745e224702 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#3  0x00007f743a9d9309 in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#4  0x00007f743a9dcdcb in  () at /usr/lib/libKF5ThreadWeaver.so.5
#5  0x00007f743a9d84fe in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#6  0x00007f743a9daf0c in ThreadWeaver::Thread::run() () at /usr/lib/libKF5ThreadWeaver.so.5
#7  0x00007f745e21e530 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f745d70e4cf in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f745dea82d3 in clone () at /usr/lib/libc.so.6

Thread 10 (Thread 0x7f744265b700 (LWP 53815)):
#0  0x00007f745d714c45 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f745e224610 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2  0x00007f745e224702 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#3  0x00007f743a9d9309 in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#4  0x00007f743a9dcdcb in  () at /usr/lib/libKF5ThreadWeaver.so.5
#5  0x00007f743a9d84fe in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#6  0x00007f743a9daf0c in ThreadWeaver::Thread::run() () at /usr/lib/libKF5ThreadWeaver.so.5
#7  0x00007f745e21e530 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f745d70e4cf in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f745dea82d3 in clone () at /usr/lib/libc.so.6

Thread 9 (Thread 0x7f741cd27700 (LWP 53814)):
#0  0x00007f745d714c45 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f745e224610 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2  0x00007f745e224702 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#3  0x00007f743a9d9309 in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#4  0x00007f743a9dcdcb in  () at /usr/lib/libKF5ThreadWeaver.so.5
#5  0x00007f743a9d84fe in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#6  0x00007f743a9dce21 in  () at /usr/lib/libKF5ThreadWeaver.so.5
#7  0x00007f743a9d84fe in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#8  0x00007f743a9dce21 in  () at /usr/lib/libKF5ThreadWeaver.so.5
#9  0x00007f743a9d84fe in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#10 0x00007f743a9dce21 in  () at /usr/lib/libKF5ThreadWeaver.so.5
#11 0x00007f743a9d84fe in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#12 0x00007f743a9daf0c in ThreadWeaver::Thread::run() () at /usr/lib/libKF5ThreadWeaver.so.5
#13 0x00007f745e21e530 in  () at /usr/lib/libQt5Core.so.5
#14 0x00007f745d70e4cf in start_thread () at /usr/lib/libpthread.so.0
#15 0x00007f745dea82d3 in clone () at /usr/lib/libc.so.6

Thread 8 (Thread 0x7f741e739700 (LWP 53813)):
#0  0x00007f745d714c45 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f745e224610 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2  0x00007f745e224702 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#3  0x00007f743a9d9309 in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#4  0x00007f743a9dcdcb in  () at /usr/lib/libKF5ThreadWeaver.so.5
#5  0x00007f743a9d84fe in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#6  0x00007f743a9daf0c in ThreadWeaver::Thread::run() () at /usr/lib/libKF5ThreadWeaver.so.5
#7  0x00007f745e21e530 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f745d70e4cf in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f745dea82d3 in clone () at /usr/lib/libc.so.6

Thread 7 (Thread 0x7f743bfff700 (LWP 53806)):
#0  0x00007f745d714c45 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f745e224610 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2  0x00007f745e224702 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#3  0x00007f745feade3d in  () at /usr/lib/libQt5Quick.so.5
#4  0x00007f745feae0ee in  () at /usr/lib/libQt5Quick.so.5
#5  0x00007f745e21e530 in  () at /usr/lib/libQt5Core.so.5
#6  0x00007f745d70e4cf in start_thread () at /usr/lib/libpthread.so.0
#7  0x00007f745dea82d3 in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7f742e05a700 (LWP 53739)):
#0  0x00007f745de9942c in read () at /usr/lib/libc.so.6
#1  0x00007f745c7309f0 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f745c77e9e1 in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#3  0x00007f745c7800c8 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007f745c7801f1 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#5  0x00007f745e444b2c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f745e3eb83c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#7  0x00007f745e21d305 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#8  0x00007f7438c6713b in KCupsConnection::run() () at /usr/lib/libkcupslib.so
#9  0x00007f745e21e530 in  () at /usr/lib/libQt5Core.so.5
#10 0x00007f745d70e4cf in start_thread () at /usr/lib/libpthread.so.0
#11 0x00007f745dea82d3 in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7f7443777700 (LWP 53606)):
#0  0x00007f745de9942c in read () at /usr/lib/libc.so.6
#1  0x00007f745c7309f0 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f745c77e9e1 in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#3  0x00007f745c7800c8 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007f745c7801f1 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#5  0x00007f745e444b2c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f745e3eb83c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#7  0x00007f745e21d305 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#8  0x00007f745fe2270b in  () at /usr/lib/libQt5Quick.so.5
#9  0x00007f745e21e530 in  () at /usr/lib/libQt5Core.so.5
#10 0x00007f745d70e4cf in start_thread () at /usr/lib/libpthread.so.0
#11 0x00007f745dea82d3 in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7f7451b25700 (LWP 53490)):
#0  0x00007f745d714c45 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f74521a560c in  () at /usr/lib/dri/i965_dri.so
#2  0x00007f74521a5208 in  () at /usr/lib/dri/i965_dri.so
#3  0x00007f745d70e4cf in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f745dea82d3 in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f7453fff700 (LWP 53469)):
#0  0x00007f745de9d9ef in poll () at /usr/lib/libc.so.6
#1  0x00007f745c780120 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f745c7801f1 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f745e444b2c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f745e3eb83c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f745e21d305 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007f745fb42449 in  () at /usr/lib/libQt5Qml.so.5
#7  0x00007f745e21e530 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f745d70e4cf in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f745dea82d3 in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f745926e700 (LWP 53387)):
#0  0x00007f745c7304f0 in g_mutex_unlock () at /usr/lib/libglib-2.0.so.0
#1  0x00007f745c77f9f2 in g_main_context_prepare () at /usr/lib/libglib-2.0.so.0
#2  0x00007f745c780046 in  () at /usr/lib/libglib-2.0.so.0
#3  0x00007f745c7801f1 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#4  0x00007f745e444b2c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f745e3eb83c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f745e21d305 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#7  0x00007f745ecbeb37 in  () at /usr/lib/libQt5DBus.so.5
#8  0x00007f745e21e530 in  () at /usr/lib/libQt5Core.so.5
#9  0x00007f745d70e4cf in start_thread () at /usr/lib/libpthread.so.0
#10 0x00007f745dea82d3 in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f7459d61c80 (LWP 53356)):
[KCrash Handler]
#5  0x00007f745e7b02c0 in QScreen::geometry() const () at /usr/lib/libQt5Gui.so.5
#6  0x00007f743a42bfb7 in  () at /usr/lib/qt/qml/org/kde/plasma/private/pager/libpagerplugin.so
#7  0x00007f745f8bdc4c in  () at /usr/lib/libQt5Qml.so.5
#8  0x00007f745f9d0efc in  () at /usr/lib/libQt5Qml.so.5
#9  0x00007f7442e03f5e in  ()
#10 0x0000000000000000 in  ()
[Inferior 1 (process 53356) detached]

Possible duplicates by query: bug 415239, bug 415233, bug 415200, bug 415195, bug 415177.

Reported using DrKonqi
Comment 1 Thiago Sueto 2021-02-20 20:09:39 UTC
The backtrace is different, but this sounds like a possible duplicate of https://bugs.kde.org/show_bug.cgi?id=413892 which was fixed in 5.18.
Comment 2 Nate Graham 2021-02-26 16:54:45 UTC
Yep, looks like that one.

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