Bug 373373

Summary: Plasmashell crash when disconnecting or powering off monitors in multi-monitor setup
Product: [Plasma] plasmashell Reporter: spryor
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bhush94, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.8.4   
Target Milestone: 1.0   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description spryor 2016-12-06 23:52:17 UTC
Application: plasmashell (5.8.4)

Qt Version: 5.7.0
Frameworks Version: 5.27.0
Operating System: Linux 4.8.11-300.fc25.x86_64 x86_64
Distribution: "Fedora release 25 (Twenty Five)"

-- Information about the crash:
- What I was doing when the application crashed:
Plasmashell pretty reliably crashes whenever a monitor is disconnected or (at least in my setup with Dell P2415Qs) when the monitors power off to go into a sleep mode.

The crash can be reproduced every time.

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

Thread 19 (Thread 0x7f344f3f6700 (LWP 1250)):
#0  0x00007f357d542460 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f357edff09a in QWaitCondition::wait(QMutex*, unsigned long) () at /lib64/libQt5Core.so.5
#2  0x00007f3582a64ab5 in QSGRenderThread::processEventsAndWaitForMore() () at /lib64/libQt5Quick.so.5
#3  0x00007f3582a653aa in QSGRenderThread::run() () at /lib64/libQt5Quick.so.5
#4  0x00007f357edfea1a in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#5  0x00007f357d53c6ca in start_thread () at /lib64/libpthread.so.0
#6  0x00007f357e1f1f6f in clone () at /lib64/libc.so.6

Thread 18 (Thread 0x7f3474fad700 (LWP 22410)):
#0  0x00007f357d542460 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f357edff09a in QWaitCondition::wait(QMutex*, unsigned long) () at /lib64/libQt5Core.so.5
#2  0x00007f3582a64ab5 in QSGRenderThread::processEventsAndWaitForMore() () at /lib64/libQt5Quick.so.5
#3  0x00007f3582a653aa in QSGRenderThread::run() () at /lib64/libQt5Quick.so.5
#4  0x00007f357edfea1a in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#5  0x00007f357d53c6ca in start_thread () at /lib64/libpthread.so.0
#6  0x00007f357e1f1f6f in clone () at /lib64/libc.so.6

Thread 17 (Thread 0x7f3480b40700 (LWP 21819)):
#0  0x00007f357e1e1bdd in read () at /lib64/libc.so.6
#1  0x00007f3572f830d1 in pa_read () at /usr/lib64/pulseaudio/libpulsecommon-9.0.so
#2  0x00007f357381c33e in pa_mainloop_prepare () at /lib64/libpulse.so.0
#3  0x00007f357381cdb0 in pa_mainloop_iterate () at /lib64/libpulse.so.0
#4  0x00007f357381ce70 in pa_mainloop_run () at /lib64/libpulse.so.0
#5  0x00007f357382ae99 in thread () at /lib64/libpulse.so.0
#6  0x00007f3572fb2178 in internal_thread_func () at /usr/lib64/pulseaudio/libpulsecommon-9.0.so
#7  0x00007f357d53c6ca in start_thread () at /lib64/libpthread.so.0
#8  0x00007f357e1f1f6f in clone () at /lib64/libc.so.6

Thread 16 (Thread 0x7f34777bb700 (LWP 15960)):
#0  0x00007f357d542460 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f357edff09a in QWaitCondition::wait(QMutex*, unsigned long) () at /lib64/libQt5Core.so.5
#2  0x00007f3582a64ab5 in QSGRenderThread::processEventsAndWaitForMore() () at /lib64/libQt5Quick.so.5
#3  0x00007f3582a653aa in QSGRenderThread::run() () at /lib64/libQt5Quick.so.5
#4  0x00007f357edfea1a in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#5  0x00007f357d53c6ca in start_thread () at /lib64/libpthread.so.0
#6  0x00007f357e1f1f6f in clone () at /lib64/libc.so.6

Thread 15 (Thread 0x7f3476377700 (LWP 9288)):
#0  0x00007f3576f7e1e0 in g_source_iter_next () at /lib64/libglib-2.0.so.0
#1  0x00007f3576f8063b in g_main_context_prepare () at /lib64/libglib-2.0.so.0
#2  0x00007f3576f8107b in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#3  0x00007f3576f8126c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#4  0x00007f357efebd8b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#5  0x00007f357ef9d0ba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#6  0x00007f357edfa643 in QThread::exec() () at /lib64/libQt5Core.so.5
#7  0x00007f358206e735 in QQmlThreadPrivate::run() () at /lib64/libQt5Qml.so.5
#8  0x00007f357edfea1a in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#9  0x00007f357d53c6ca in start_thread () at /lib64/libpthread.so.0
#10 0x00007f357e1f1f6f in clone () at /lib64/libc.so.6

Thread 14 (Thread 0x7f3481bed700 (LWP 9285)):
#0  0x00007f357d542460 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f357edff09a in QWaitCondition::wait(QMutex*, unsigned long) () at /lib64/libQt5Core.so.5
#2  0x00007f3582a64ab5 in QSGRenderThread::processEventsAndWaitForMore() () at /lib64/libQt5Quick.so.5
#3  0x00007f3582a653aa in QSGRenderThread::run() () at /lib64/libQt5Quick.so.5
#4  0x00007f357edfea1a in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#5  0x00007f357d53c6ca in start_thread () at /lib64/libpthread.so.0
#6  0x00007f357e1f1f6f in clone () at /lib64/libc.so.6

Thread 13 (Thread 0x7f3482dee700 (LWP 4684)):
#0  0x00007f357d542460 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f357edff09a in QWaitCondition::wait(QMutex*, unsigned long) () at /lib64/libQt5Core.so.5
#2  0x00007f3582a64ab5 in QSGRenderThread::processEventsAndWaitForMore() () at /lib64/libQt5Quick.so.5
#3  0x00007f3582a653aa in QSGRenderThread::run() () at /lib64/libQt5Quick.so.5
#4  0x00007f357edfea1a in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#5  0x00007f357d53c6ca in start_thread () at /lib64/libpthread.so.0
#6  0x00007f357e1f1f6f in clone () at /lib64/libc.so.6

Thread 12 (Thread 0x7f34835ef700 (LWP 4679)):
#0  0x00007f357d542460 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f357edff09a in QWaitCondition::wait(QMutex*, unsigned long) () at /lib64/libQt5Core.so.5
#2  0x00007f3582a64ab5 in QSGRenderThread::processEventsAndWaitForMore() () at /lib64/libQt5Quick.so.5
#3  0x00007f3582a653aa in QSGRenderThread::run() () at /lib64/libQt5Quick.so.5
#4  0x00007f357edfea1a in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#5  0x00007f357d53c6ca in start_thread () at /lib64/libpthread.so.0
#6  0x00007f357e1f1f6f in clone () at /lib64/libc.so.6

Thread 11 (Thread 0x7f34899ce700 (LWP 4612)):
#0  0x00007f357d542460 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f357edff09a in QWaitCondition::wait(QMutex*, unsigned long) () at /lib64/libQt5Core.so.5
#2  0x00007f3582a64ab5 in QSGRenderThread::processEventsAndWaitForMore() () at /lib64/libQt5Quick.so.5
#3  0x00007f3582a653aa in QSGRenderThread::run() () at /lib64/libQt5Quick.so.5
#4  0x00007f357edfea1a in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#5  0x00007f357d53c6ca in start_thread () at /lib64/libpthread.so.0
#6  0x00007f357e1f1f6f in clone () at /lib64/libc.so.6

Thread 10 (Thread 0x7f348bfff700 (LWP 4603)):
#0  0x00007f357d542460 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f357edff09a in QWaitCondition::wait(QMutex*, unsigned long) () at /lib64/libQt5Core.so.5
#2  0x00007f3582a64ab5 in QSGRenderThread::processEventsAndWaitForMore() () at /lib64/libQt5Quick.so.5
#3  0x00007f3582a653aa in QSGRenderThread::run() () at /lib64/libQt5Quick.so.5
#4  0x00007f357edfea1a in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#5  0x00007f357d53c6ca in start_thread () at /lib64/libpthread.so.0
#6  0x00007f357e1f1f6f in clone () at /lib64/libc.so.6

Thread 9 (Thread 0x7f3499565700 (LWP 4595)):
#0  0x00007f3576fc6814 in g_mutex_unlock () at /lib64/libglib-2.0.so.0
#1  0x00007f3576f8068c in g_main_context_prepare () at /lib64/libglib-2.0.so.0
#2  0x00007f3576f8107b in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#3  0x00007f3576f8126c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#4  0x00007f357efebd8b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#5  0x00007f357ef9d0ba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#6  0x00007f357edfa643 in QThread::exec() () at /lib64/libQt5Core.so.5
#7  0x00007f349ad362c7 in KCupsConnection::run() () at /lib64/libkcupslib.so
#8  0x00007f357edfea1a in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#9  0x00007f357d53c6ca in start_thread () at /lib64/libpthread.so.0
#10 0x00007f357e1f1f6f in clone () at /lib64/libc.so.6

Thread 8 (Thread 0x7f34b77fe700 (LWP 4581)):
#0  0x00007f357d542460 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f357edff09a in QWaitCondition::wait(QMutex*, unsigned long) () at /lib64/libQt5Core.so.5
#2  0x00007f3582a64ab5 in QSGRenderThread::processEventsAndWaitForMore() () at /lib64/libQt5Quick.so.5
#3  0x00007f3582a653aa in QSGRenderThread::run() () at /lib64/libQt5Quick.so.5
#4  0x00007f357edfea1a in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#5  0x00007f357d53c6ca in start_thread () at /lib64/libpthread.so.0
#6  0x00007f357e1f1f6f in clone () at /lib64/libc.so.6

Thread 7 (Thread 0x7f34c3fff700 (LWP 4577)):
#0  0x00007f357d542460 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f357edff09a in QWaitCondition::wait(QMutex*, unsigned long) () at /lib64/libQt5Core.so.5
#2  0x00007f3582a64ab5 in QSGRenderThread::processEventsAndWaitForMore() () at /lib64/libQt5Quick.so.5
#3  0x00007f3582a653aa in QSGRenderThread::run() () at /lib64/libQt5Quick.so.5
#4  0x00007f357edfea1a in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#5  0x00007f357d53c6ca in start_thread () at /lib64/libpthread.so.0
#6  0x00007f357e1f1f6f in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7f34c8daf700 (LWP 4569)):
#0  0x00007f357e1e600d in poll () at /lib64/libc.so.6
#1  0x00007f3576f81156 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#2  0x00007f3576f8126c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#3  0x00007f357efebd8b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#4  0x00007f357ef9d0ba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#5  0x00007f357edfa643 in QThread::exec() () at /lib64/libQt5Core.so.5
#6  0x00007f35829f5ca6 in QQuickPixmapReader::run() () at /lib64/libQt5Quick.so.5
#7  0x00007f357edfea1a in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#8  0x00007f357d53c6ca in start_thread () at /lib64/libpthread.so.0
#9  0x00007f357e1f1f6f in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7f355c936700 (LWP 4566)):
#0  0x00007f357d542460 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f358488ebd4 in QTWTF::TCMalloc_PageHeap::scavengerThread() () at /lib64/libQt5Script.so.5
#2  0x00007f358488ec19 in  () at /lib64/libQt5Script.so.5
#3  0x00007f357d53c6ca in start_thread () at /lib64/libpthread.so.0
#4  0x00007f357e1f1f6f in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f355e61c700 (LWP 4557)):
#0  0x00007f3576f8069d in g_main_context_prepare () at /lib64/libglib-2.0.so.0
#1  0x00007f3576f8107b in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#2  0x00007f3576f8126c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#3  0x00007f357efebd8b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#4  0x00007f357ef9d0ba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#5  0x00007f357edfa643 in QThread::exec() () at /lib64/libQt5Core.so.5
#6  0x00007f358206e735 in QQmlThreadPrivate::run() () at /lib64/libQt5Qml.so.5
#7  0x00007f357edfea1a in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#8  0x00007f357d53c6ca in start_thread () at /lib64/libpthread.so.0
#9  0x00007f357e1f1f6f in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f355ffff700 (LWP 4556)):
#0  0x00007f3576fc6814 in g_mutex_unlock () at /lib64/libglib-2.0.so.0
#1  0x00007f3576f81276 in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#2  0x00007f357efebd8b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#3  0x00007f357ef9d0ba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#4  0x00007f357edfa643 in QThread::exec() () at /lib64/libQt5Core.so.5
#5  0x00007f358206e735 in QQmlThreadPrivate::run() () at /lib64/libQt5Qml.so.5
#6  0x00007f357edfea1a in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#7  0x00007f357d53c6ca in start_thread () at /lib64/libpthread.so.0
#8  0x00007f357e1f1f6f in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f3565afd700 (LWP 4555)):
#0  0x00007f357e1e600d in poll () at /lib64/libc.so.6
#1  0x00007f3576f81156 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#2  0x00007f3576f8126c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#3  0x00007f357efebd8b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#4  0x00007f357ef9d0ba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#5  0x00007f357edfa643 in QThread::exec() () at /lib64/libQt5Core.so.5
#6  0x00007f357f6a17a9 in QDBusConnectionManager::run() () at /lib64/libQt5DBus.so.5
#7  0x00007f357edfea1a in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#8  0x00007f357d53c6ca in start_thread () at /lib64/libpthread.so.0
#9  0x00007f357e1f1f6f in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f357134e940 (LWP 4553)):
[KCrash Handler]
#6  0x00007f35849ca4ad in PlasmaQuick::ContainmentView::containment() const () at /lib64/libKF5PlasmaQuick.so.5
#7  0x000055f0e6280e18 in ShellCorona::screenForContainment(Plasma::Containment const*) const ()
#8  0x000055f0e6280d65 in ShellCorona::screenForContainment(Plasma::Containment const*) const ()
#9  0x00007f349b9c048e in NotificationsApplet::onScreenChanges() () at /usr/lib64/qt5/plugins/plasma/applets/plasma_applet_notifications.so
#10 0x00007f357efc5326 in QMetaObject::activate(QObject*, int, int, void**) () at /lib64/libQt5Core.so.5
#11 0x00007f35644d6d68 in NETEventFilter::nativeEventFilter(xcb_generic_event_t*) () at /usr/lib64/qt5/plugins/kf5/org.kde.kwindowsystem.platforms/KF5WindowSystemX11Plugin.so
#12 0x00007f357ef9c16c in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) () at /lib64/libQt5Core.so.5
#13 0x00007f356a6b81f4 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () at /lib64/libQt5XcbQpa.so.5
#14 0x00007f356a6b8e85 in QXcbConnection::processXcbEvents() () at /lib64/libQt5XcbQpa.so.5
#15 0x00007f357efc60d9 in QObject::event(QEvent*) () at /lib64/libQt5Core.so.5
#16 0x00007f357f87296c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#17 0x00007f357f87a111 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#18 0x00007f357ef9e12a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#19 0x00007f357efa0800 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /lib64/libQt5Core.so.5
#20 0x00007f357efebcf3 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt5Core.so.5
#21 0x00007f3576f80e42 in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#22 0x00007f3576f811c0 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#23 0x00007f3576f8126c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#24 0x00007f357efebd6f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#25 0x00007f357ef9d0ba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#26 0x00007f357efa4bac in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#27 0x000055f0e6260442 in main ()

Possible duplicates by query: bug 373204, bug 372578, bug 372501, bug 372237, bug 371991.

Reported using DrKonqi
Comment 1 Christoph Feck 2016-12-07 18:41:47 UTC

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