Bug 373204

Summary: Plasma displayed desktop icons when switching video displays and crashes
Product: [Plasma] plasmashell Reporter: Shawn Starr <shawn.starr>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bhush94, kde, 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 Shawn Starr 2016-12-03 02:38:22 UTC
Application: plasmashell (5.8.4)

Qt Version: 5.7.0
Frameworks Version: 5.27.0
Operating System: Linux 4.9.0-rc7+ x86_64
Distribution: "Fedora release 25 (Twenty Five)"

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

- Unusual behavior I noticed:

I wonder if kscreen gets confused when using the following options for kernel booting
video=LVDS-1:d video=VGA-0:e

If you boot without them, then with them back on, kscreen/plasma gets confused and displays incorrectly which can crash.

My setup typically is to close laptop lid and power the laptop display off to redirect to VGA to bigger screen.

The crash can be reproduced sometimes.

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

Thread 7 (Thread 0x7f304178b700 (LWP 1451)):
#0  0x00007f30efb77814 in g_mutex_unlock () at /lib64/libglib-2.0.so.0
#1  0x00007f30efb3168c in g_main_context_prepare () at /lib64/libglib-2.0.so.0
#2  0x00007f30efb3207b in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#3  0x00007f30efb3226c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#4  0x00007f30f7bafd8b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#5  0x00007f30f7b610ba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#6  0x00007f30f79be643 in QThread::exec() () at /lib64/libQt5Core.so.5
#7  0x00007f30fb5b9ca6 in QQuickPixmapReader::run() () at /lib64/libQt5Quick.so.5
#8  0x00007f30f79c2a1a in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#9  0x00007f30f61006ca in start_thread () at /lib64/libpthread.so.0
#10 0x00007f30f6db5f6f in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7f30cbfff700 (LWP 1450)):
#0  0x00007f30f6106460 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f30fd452bd4 in QTWTF::TCMalloc_PageHeap::scavengerThread() () at /lib64/libQt5Script.so.5
#2  0x00007f30fd452c19 in  () at /lib64/libQt5Script.so.5
#3  0x00007f30f61006ca in start_thread () at /lib64/libpthread.so.0
#4  0x00007f30f6db5f6f in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7f30d5dd1700 (LWP 1446)):
#0  0x00007f30f6da5bdd in read () at /lib64/libc.so.6
#1  0x00007f30efb76450 in g_wakeup_acknowledge () at /lib64/libglib-2.0.so.0
#2  0x00007f30efb31c60 in g_main_context_check () at /lib64/libglib-2.0.so.0
#3  0x00007f30efb320f4 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#4  0x00007f30efb3226c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#5  0x00007f30f7bafd8b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#6  0x00007f30f7b610ba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#7  0x00007f30f79be643 in QThread::exec() () at /lib64/libQt5Core.so.5
#8  0x00007f30fac32735 in QQmlThreadPrivate::run() () at /lib64/libQt5Qml.so.5
#9  0x00007f30f79c2a1a in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#10 0x00007f30f61006ca in start_thread () at /lib64/libpthread.so.0
#11 0x00007f30f6db5f6f in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f30d77cb700 (LWP 1356)):
#0  0x00007f30efb77814 in g_mutex_unlock () at /lib64/libglib-2.0.so.0
#1  0x00007f30efb3168c in g_main_context_prepare () at /lib64/libglib-2.0.so.0
#2  0x00007f30efb3207b in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#3  0x00007f30efb3226c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#4  0x00007f30f7bafd8b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#5  0x00007f30f7b610ba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#6  0x00007f30f79be643 in QThread::exec() () at /lib64/libQt5Core.so.5
#7  0x00007f30fac32735 in QQmlThreadPrivate::run() () at /lib64/libQt5Qml.so.5
#8  0x00007f30f79c2a1a in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#9  0x00007f30f61006ca in start_thread () at /lib64/libpthread.so.0
#10 0x00007f30f6db5f6f in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f30dd273700 (LWP 1330)):
#0  0x00007f30f7bae86f in QTimerInfoList::timerWait(timespec&) () at /lib64/libQt5Core.so.5
#1  0x00007f30f7bafa2c in timerSourcePrepareHelper(GTimerSource*, int*) () at /lib64/libQt5Core.so.5
#2  0x00007f30f7bafaf5 in timerSourcePrepare(_GSource*, int*) () at /lib64/libQt5Core.so.5
#3  0x00007f30efb31699 in g_main_context_prepare () at /lib64/libglib-2.0.so.0
#4  0x00007f30efb3207b in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#5  0x00007f30efb3226c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#6  0x00007f30f7bafd8b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#7  0x00007f30f7b610ba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#8  0x00007f30f79be643 in QThread::exec() () at /lib64/libQt5Core.so.5
#9  0x00007f30f82657a9 in QDBusConnectionManager::run() () at /lib64/libQt5DBus.so.5
#10 0x00007f30f79c2a1a in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#11 0x00007f30f61006ca in start_thread () at /lib64/libpthread.so.0
#12 0x00007f30f6db5f6f in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f30de862700 (LWP 1294)):
#0  0x00007f30f6daa00d in poll () at /lib64/libc.so.6
#1  0x00007f30fbd76d10 in _xcb_conn_wait () at /lib64/libxcb.so.1
#2  0x00007f30fbd78aa9 in xcb_wait_for_event () at /lib64/libxcb.so.1
#3  0x00007f30e20bfa19 in QXcbEventReader::run() () at /lib64/libQt5XcbQpa.so.5
#4  0x00007f30f79c2a1a in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#5  0x00007f30f61006ca in start_thread () at /lib64/libpthread.so.0
#6  0x00007f30f6db5f6f in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f30e8d643c0 (LWP 1256)):
[KCrash Handler]
#6  0x00007f30fd58e4a4 in PlasmaQuick::ContainmentView::containment() const () at /lib64/libKF5PlasmaQuick.so.5
#7  0x000055d63fe6ee18 in ShellCorona::screenForContainment(Plasma::Containment const*) const ()
#8  0x000055d63fe6ed65 in ShellCorona::screenForContainment(Plasma::Containment const*) const ()
#9  0x00007f3030ed248e in NotificationsApplet::onScreenChanges() () at /usr/lib64/qt5/plugins/plasma/applets/plasma_applet_notifications.so
#10 0x00007f30f7b89326 in QMetaObject::activate(QObject*, int, int, void**) () at /lib64/libQt5Core.so.5
#11 0x00007f30d7be9d68 in NETEventFilter::nativeEventFilter(xcb_generic_event_t*) () at /usr/lib64/qt5/plugins/kf5/org.kde.kwindowsystem.platforms/KF5WindowSystemX11Plugin.so
#12 0x00007f30f7b6016c in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) () at /lib64/libQt5Core.so.5
#13 0x00007f30e20c11f4 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () at /lib64/libQt5XcbQpa.so.5
#14 0x00007f30e20c1e85 in QXcbConnection::processXcbEvents() () at /lib64/libQt5XcbQpa.so.5
#15 0x00007f30f7b8a0d9 in QObject::event(QEvent*) () at /lib64/libQt5Core.so.5
#16 0x00007f30f843696c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#17 0x00007f30f843e111 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#18 0x00007f30f7b6212a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#19 0x00007f30f7b64800 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /lib64/libQt5Core.so.5
#20 0x00007f30f7bafcf3 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt5Core.so.5
#21 0x00007f30efb31e42 in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#22 0x00007f30efb321c0 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#23 0x00007f30efb3226c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#24 0x00007f30f7bafd6f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#25 0x00007f30f7b610ba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#26 0x00007f30f7b68bac in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#27 0x000055d63fe4e442 in main ()

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

Reported using DrKonqi
Comment 1 Kai Uwe Broulik 2016-12-05 08:59:41 UTC

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