Bug 372578

Summary: Crash while changing display configuration
Product: [Plasma] plasmashell Reporter: Dik Takken <kde>
Component: generic-multiscreenAssignee: Aleix Pol <aleixpol>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bhush94, notmart, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.8.3   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Dik Takken 2016-11-17 09:57:18 UTC
Application: plasmashell (5.8.3)

Qt Version: 5.7.0
Frameworks Version: 5.27.0
Operating System: Linux 4.8.7-1-default x86_64
Distribution: "openSUSE Tumbleweed"

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

Crash occurs when the display configuration is messed up when KDE is started

- Unusual behavior I noticed:

The display configuration was messed up. The primary display was disabled, which meant that the Plasma widgets like network config did not start. The widgets were only started after enabling the primary display again. This is when I noticed that plasma had experienced a crash, due to the notice on the Plasma panel.

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 0x7ff63ff3d8c0 (LWP 2605))]

Thread 8 (Thread 0x7ff573208700 (LWP 3112)):
#0  0x00007ff6395ea68d in poll () from /lib64/libc.so.6
#1  0x00007ff634686876 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007ff63468698c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007ff639f0979b in QEventDispatcherGlib::processEvents (this=0x7ff56c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007ff639eb31ea in QEventLoop::exec (this=this@entry=0x7ff573207cc0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:210
#5  0x00007ff639ce18b3 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#6  0x00007ff575732df7 in KCupsConnection::run() () from /usr/lib64/libkcupslib.so
#7  0x00007ff639ce6558 in QThreadPrivate::start (arg=0x543f1c0) at thread/qthread_unix.cpp:344
#8  0x00007ff638dec454 in start_thread () from /lib64/libpthread.so.0
#9  0x00007ff6395f339f in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7ff58753f700 (LWP 2940)):
#0  0x00007ff6395ea68d in poll () from /lib64/libc.so.6
#1  0x00007ff634686876 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007ff63468698c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007ff639f0979b in QEventDispatcherGlib::processEvents (this=0x7ff5800008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007ff639eb31ea in QEventLoop::exec (this=this@entry=0x7ff58753ec90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:210
#5  0x00007ff639ce18b3 in QThread::exec (this=this@entry=0x28b3c60) at thread/qthread.cpp:507
#6  0x00007ff63dba1646 in QQuickPixmapReader::run (this=0x28b3c60) at /usr/src/debug/qtdeclarative-opensource-src-5.7.0/src/quick/util/qquickpixmapcache.cpp:823
#7  0x00007ff639ce6558 in QThreadPrivate::start (arg=0x28b3c60) at thread/qthread_unix.cpp:344
#8  0x00007ff638dec454 in start_thread () from /lib64/libpthread.so.0
#9  0x00007ff6395f339f in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7ff616163700 (LWP 2939)):
#0  0x00007ff638df210f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ff63f619834 in ?? () from /usr/lib64/libQt5Script.so.5
#2  0x00007ff63f619879 in ?? () from /usr/lib64/libQt5Script.so.5
#3  0x00007ff638dec454 in start_thread () from /lib64/libpthread.so.0
#4  0x00007ff6395f339f in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7ff617dc7700 (LWP 2715)):
#0  0x00007ff6395ea68d in poll () from /lib64/libc.so.6
#1  0x00007ff634686876 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007ff63468698c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007ff639f0979b in QEventDispatcherGlib::processEvents (this=0x7ff6100008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007ff639eb31ea in QEventLoop::exec (this=this@entry=0x7ff617dc6ce0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:210
#5  0x00007ff639ce18b3 in QThread::exec (this=this@entry=0x24cd170) at thread/qthread.cpp:507
#6  0x00007ff63d012a75 in QQmlThreadPrivate::run (this=0x24cd170) at /usr/src/debug/qtdeclarative-opensource-src-5.7.0/src/qml/qml/ftw/qqmlthread.cpp:147
#7  0x00007ff639ce6558 in QThreadPrivate::start (arg=0x24cd170) at thread/qthread_unix.cpp:344
#8  0x00007ff638dec454 in start_thread () from /lib64/libpthread.so.0
#9  0x00007ff6395f339f in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7ff62199f700 (LWP 2680)):
#0  0x00007ff6346cbea9 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007ff634685d85 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#2  0x00007ff63468679b in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007ff63468698c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007ff639f0979b in QEventDispatcherGlib::processEvents (this=0x7ff6180008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007ff639eb31ea in QEventLoop::exec (this=this@entry=0x7ff62199ece0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:210
#6  0x00007ff639ce18b3 in QThread::exec (this=this@entry=0x2465e10) at thread/qthread.cpp:507
#7  0x00007ff63d012a75 in QQmlThreadPrivate::run (this=0x2465e10) at /usr/src/debug/qtdeclarative-opensource-src-5.7.0/src/qml/qml/ftw/qqmlthread.cpp:147
#8  0x00007ff639ce6558 in QThreadPrivate::start (arg=0x2465e10) at thread/qthread_unix.cpp:344
#9  0x00007ff638dec454 in start_thread () from /lib64/libpthread.so.0
#10 0x00007ff6395f339f in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7ff62882d700 (LWP 2630)):
#0  0x00007ff6395ea68d in poll () from /lib64/libc.so.6
#1  0x00007ff63e55e3e0 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007ff63e560179 in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007ff62ab945f9 in QXcbEventReader::run (this=0x2398210) at qxcbconnection.cpp:1337
#4  0x00007ff639ce6558 in QThreadPrivate::start (arg=0x2398210) at thread/qthread_unix.cpp:344
#5  0x00007ff638dec454 in start_thread () from /lib64/libpthread.so.0
#6  0x00007ff6395f339f in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7ff62d109700 (LWP 2628)):
#0  0x00007ff63468388e in ?? () from /usr/lib64/libglib-2.0.so.0
#1  0x00007ff6346861a4 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#2  0x00007ff634686814 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007ff63468698c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007ff639f0979b in QEventDispatcherGlib::processEvents (this=0x7ff6240008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007ff639eb31ea in QEventLoop::exec (this=this@entry=0x7ff62d108cd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:210
#6  0x00007ff639ce18b3 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#7  0x00007ff63aa633e5 in ?? () from /usr/lib64/libQt5DBus.so.5
#8  0x00007ff639ce6558 in QThreadPrivate::start (arg=0x7ff63acd4d20) at thread/qthread_unix.cpp:344
#9  0x00007ff638dec454 in start_thread () from /lib64/libpthread.so.0
#10 0x00007ff6395f339f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7ff63ff3d8c0 (LWP 2605)):
[KCrash Handler]
#6  QWeakPointer<QObject>::data (this=0x10) at /usr/include/qt5/QtCore/qsharedpointer_impl.h:604
#7  QPointer<Plasma::Containment>::data (this=0x10) at /usr/include/qt5/QtCore/qpointer.h:86
#8  QPointer<Plasma::Containment>::operator Plasma::Containment* (this=0x10) at /usr/include/qt5/QtCore/qpointer.h:92
#9  PlasmaQuick::ContainmentView::containment (this=0x27f21a0) at /usr/src/debug/plasma-framework-5.27.0/src/plasmaquick/containmentview.cpp:263
#10 0x000000000043f0a8 in ShellCorona::screenForContainment (this=0x2430d40, containment=<optimized out>) at /usr/src/debug/plasma-workspace-5.8.3/shell/shellcorona.cpp:1792
#11 0x000000000043eff5 in ShellCorona::screenForContainment (this=0x2430d40, containment=<optimized out>) at /usr/src/debug/plasma-workspace-5.8.3/shell/shellcorona.cpp:1784
#12 0x00007ff5766047ce in NotificationsApplet::onScreenChanges (this=0x52fefc0) at /usr/src/debug/plasma-workspace-5.8.3/applets/notifications/lib/notificationsapplet.cpp:65
#13 0x00007ff639ee121e in QtPrivate::QSlotObjectBase::call (a=0x7ffd8faeeb70, r=0x52fefc0, this=<optimized out>) at ../../src/corelib/kernel/qobject_impl.h:130
#14 QMetaObject::activate (sender=sender@entry=0x7ff63cd3ec00 <(anonymous namespace)::Q_QGS_g_kwmInstanceContainer::innerFunction()::holder>, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=6, argv=argv@entry=0x0) at kernel/qobject.cpp:3723
#15 0x00007ff639ee17c7 in QMetaObject::activate (sender=sender@entry=0x7ff63cd3ec00 <(anonymous namespace)::Q_QGS_g_kwmInstanceContainer::innerFunction()::holder>, m=m@entry=0x7ff63cd3db60 <KWindowSystem::staticMetaObject>, local_signal_index=local_signal_index@entry=6, argv=argv@entry=0x0) at kernel/qobject.cpp:3602
#16 0x00007ff63cb2f6b3 in KWindowSystem::workAreaChanged (this=this@entry=0x7ff63cd3ec00 <(anonymous namespace)::Q_QGS_g_kwmInstanceContainer::innerFunction()::holder>) at /usr/src/debug/kwindowsystem-5.27.0/build/src/moc_kwindowsystem.cpp:337
#17 0x00007ff621dbfdd8 in NETEventFilter::nativeEventFilter (this=0x29a0510, ev=0x7ff61c007f80) at /usr/src/debug/kwindowsystem-5.27.0/src/platforms/xcb/kwindowsystem.cpp:258
#18 0x00007ff639eb232f in QAbstractEventDispatcher::filterNativeEvent (this=<optimized out>, eventType=..., message=message@entry=0x7ff61c007f80, result=result@entry=0x7ffd8faeecc8) at kernel/qabstracteventdispatcher.cpp:466
#19 0x00007ff62ab95dc4 in QXcbConnection::handleXcbEvent (this=this@entry=0x238c320, event=event@entry=0x7ff61c007f80) at qxcbconnection.cpp:1103
#20 0x00007ff62ab96a55 in QXcbConnection::processXcbEvents (this=0x238c320) at qxcbconnection.cpp:1735
#21 0x00007ff639ee1d59 in QObject::event (this=0x238c320, e=<optimized out>) at kernel/qobject.cpp:1263
#22 0x00007ff63ae3792c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x238c320, e=0x7ff61c005830) at kernel/qapplication.cpp:3799
#23 0x00007ff63ae3f0e1 in QApplication::notify (this=0x7ffd8faef480, receiver=0x238c320, e=0x7ff61c005830) at kernel/qapplication.cpp:3556
#24 0x00007ff639eb5200 in QCoreApplication::notifyInternal2 (receiver=0x238c320, event=event@entry=0x7ff61c005830) at kernel/qcoreapplication.cpp:988
#25 0x00007ff639eb798d in QCoreApplication::sendEvent (event=0x7ff61c005830, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#26 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x2370b60) at kernel/qcoreapplication.cpp:1649
#27 0x00007ff639eb7df8 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1503
#28 0x00007ff639f09373 in postEventSourceDispatch (s=0x23d37f0) at kernel/qeventdispatcher_glib.cpp:276
#29 0x00007ff634686677 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#30 0x00007ff6346868e0 in ?? () from /usr/lib64/libglib-2.0.so.0
#31 0x00007ff63468698c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#32 0x00007ff639f0977f in QEventDispatcherGlib::processEvents (this=0x23c3eb0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#33 0x00007ff639eb31ea in QEventLoop::exec (this=this@entry=0x7ffd8faef310, flags=..., flags@entry=...) at kernel/qeventloop.cpp:210
#34 0x00007ff639ebb95c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1261
#35 0x00007ff63a401f4c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1639
#36 0x00007ff63ae37885 in QApplication::exec () at kernel/qapplication.cpp:2975
#37 0x000000000041e922 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma-workspace-5.8.3/shell/main.cpp:166

Possible duplicates by query: bug 372237.

Reported using DrKonqi
Comment 1 Marco Martin 2016-11-17 10:39:37 UTC
there was a reproducible multiscreen related crash in 5.8.3 that should be fixed now, should be tried to be reproduced on a future 5.8.4 or with neon developer edition
http://files.kde.org/neon/images/neon-devedition-gitunstable/current/
Comment 2 Marco Martin 2016-11-17 10:41:28 UTC

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