Bug 373285

Summary: Plasma signal a bug each time second screen is unpluged
Product: [Plasma] plasmashell Reporter: jmsnowrider
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: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description jmsnowrider 2016-12-05 11:57:23 UTC
Application: plasmashell (5.8.4)

Qt Version: 5.7.0
Frameworks Version: 5.28.0
Operating System: Linux 4.8.11-1-ARCH x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
- What I was doing when the application crashed:
Not the first time. I turn on the laptop, X-Server is lauched, Plasma is launched on my two monitors. Then I unplug the HDMI, and Plasma report me a bug, but nothing happens : Plasma keep working well. 
I do not know how it works under that, but unpluging the second screen is detected as a bug. 

- Unusual behavior I noticed:
The bug detection.

The crash can be reproduced every time.

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

Thread 8 (Thread 0x7f2959f4e700 (LWP 2193)):
#0  0x00007f2a168fc48d in poll () at /usr/lib/libc.so.6
#1  0x00007f2a11bc0786 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f2a11bc089c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f2a1721e72b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f2a171c823a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f2a16feb0f3 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007f295c47a0a7 in KCupsConnection::run() () at /usr/lib/libkcupslib.so
#7  0x00007f2a16fefd78 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f2a160ff454 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f2a169057df in clone () at /usr/lib/libc.so.6

Thread 7 (Thread 0x7f29669ae700 (LWP 1918)):
#0  0x00007f2a11bbd7a0 in  () at /usr/lib/libglib-2.0.so.0
#1  0x00007f2a11bbfc2b in g_main_context_prepare () at /usr/lib/libglib-2.0.so.0
#2  0x00007f2a11bc06ab in  () at /usr/lib/libglib-2.0.so.0
#3  0x00007f2a11bc089c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#4  0x00007f2a1721e72b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f2a171c823a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f2a16feb0f3 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#7  0x00007f2a1aeea856 in  () at /usr/lib/libQt5Quick.so.5
#8  0x00007f2a16fefd78 in  () at /usr/lib/libQt5Core.so.5
#9  0x00007f2a160ff454 in start_thread () at /usr/lib/libpthread.so.0
#10 0x00007f2a169057df in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7f29f35a2700 (LWP 1847)):
#0  0x00007f2a1610510f in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f2a1c986ac4 in  () at /usr/lib/libQt5Script.so.5
#2  0x00007f2a1c986b09 in  () at /usr/lib/libQt5Script.so.5
#3  0x00007f2a160ff454 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f2a169057df in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7f29fd359700 (LWP 1742)):
#0  0x00007f2a161060a1 in pthread_getspecific () at /usr/lib/libpthread.so.0
#1  0x00007f2a11be85d0 in g_thread_self () at /usr/lib/libglib-2.0.so.0
#2  0x00007f2a11bbf65c in g_main_context_acquire () at /usr/lib/libglib-2.0.so.0
#3  0x00007f2a11bc0635 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007f2a11bc089c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#5  0x00007f2a1721e72b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f2a171c823a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#7  0x00007f2a16feb0f3 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#8  0x00007f2a1a34e2d5 in  () at /usr/lib/libQt5Qml.so.5
#9  0x00007f2a16fefd78 in  () at /usr/lib/libQt5Core.so.5
#10 0x00007f2a160ff454 in start_thread () at /usr/lib/libpthread.so.0
#11 0x00007f2a169057df in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7f29fefc2700 (LWP 1661)):
#0  0x00007f2a168fc48d in poll () at /usr/lib/libc.so.6
#1  0x00007f2a11bc0786 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f2a11bc089c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f2a1721e72b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f2a171c823a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f2a16feb0f3 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007f2a1a34e2d5 in  () at /usr/lib/libQt5Qml.so.5
#7  0x00007f2a16fefd78 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f2a160ff454 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f2a169057df in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f2a04b7c700 (LWP 1601)):
#0  0x00007f2a16fe72e9 in QMutex::unlock() () at /usr/lib/libQt5Core.so.5
#1  0x00007f2a1721deb1 in  () at /usr/lib/libQt5Core.so.5
#2  0x00007f2a11bbfc89 in g_main_context_prepare () at /usr/lib/libglib-2.0.so.0
#3  0x00007f2a11bc06ab in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007f2a11bc089c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#5  0x00007f2a1721e72b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f2a171c823a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#7  0x00007f2a16feb0f3 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#8  0x00007f2a17d6be55 in  () at /usr/lib/libQt5DBus.so.5
#9  0x00007f2a16fefd78 in  () at /usr/lib/libQt5Core.so.5
#10 0x00007f2a160ff454 in start_thread () at /usr/lib/libpthread.so.0
#11 0x00007f2a169057df in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f2a067ad700 (LWP 1552)):
#0  0x00007f2a168fc48d in poll () at /usr/lib/libc.so.6
#1  0x00007f2a1b8bb8e0 in  () at /usr/lib/libxcb.so.1
#2  0x00007f2a1b8bd679 in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007f2a084ea449 in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x00007f2a16fefd78 in  () at /usr/lib/libQt5Core.so.5
#5  0x00007f2a160ff454 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007f2a169057df in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f2a1d1fe800 (LWP 1536)):
[KCrash Handler]
#6  0x00007f2a1ccc47a4 in PlasmaQuick::ContainmentView::containment() const () at /usr/lib/libKF5PlasmaQuick.so.5
#7  0x0000000000442319 in  ()
#8  0x0000000000442259 in  ()
#9  0x00007f2958ed757e in  () at /usr/lib/qt/plugins/plasma/applets/plasma_applet_notifications.so
#10 0x00007f2a171f59ce in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#11 0x00007f29ff3e1f60 in  () at /usr/lib/qt/plugins/kf5/org.kde.kwindowsystem.platforms/KF5WindowSystemX11Plugin.so
#12 0x00007f2a171c737f in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) () at /usr/lib/libQt5Core.so.5
#13 0x00007f2a084ebc14 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () at /usr/lib/libQt5XcbQpa.so.5
#14 0x00007f2a084ec8a5 in QXcbConnection::processXcbEvents() () at /usr/lib/libQt5XcbQpa.so.5
#15 0x00007f2a171f64b9 in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#16 0x00007f2a18134e0c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#17 0x00007f2a1813c581 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#18 0x00007f2a171c9de0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#19 0x00007f2a171cc56d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#20 0x00007f2a1721e303 in  () at /usr/lib/libQt5Core.so.5
#21 0x00007f2a11bc0587 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#22 0x00007f2a11bc07f0 in  () at /usr/lib/libglib-2.0.so.0
#23 0x00007f2a11bc089c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#24 0x00007f2a1721e70f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#25 0x00007f2a171c823a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#26 0x00007f2a171d073c in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#27 0x000000000041c9d2 in  ()
#28 0x00007f2a1683d291 in __libc_start_main () at /usr/lib/libc.so.6
#29 0x000000000041cd5a in _start ()

Possible duplicates by query: bug 372878, bug 371991.

Reported using DrKonqi
Comment 1 Christoph Feck 2016-12-07 18:23:40 UTC

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