Bug 390766 - Plasma crashed and restarted while disconnecting external monitors
Summary: Plasma crashed and restarted while disconnecting external monitors
Status: RESOLVED DUPLICATE of bug 382522
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.11.5
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2018-02-20 08:34 UTC by Nuno Costa
Modified: 2018-03-14 23:31 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nuno Costa 2018-02-20 08:34:59 UTC
Application: plasmashell (5.11.5)

Qt Version: 5.9.4
Frameworks Version: 5.42.0
Operating System: Linux 4.15.3-300.fc27.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed:
Disconnecting DP connected monitor.
After recover, no icons from open applications are seen on task manager.
Need to run kquitapp5 plasmashell && plasmashell command for the icons to reappear.
- Custom settings of the application:
Use of laptop (HP Zbook 14) dock station, 1 22" monitor connected with VGA and 1 connected to Display Port (directly on laptop, not dock).
VGA monitor using hotizontal panel with default task manager.
DP monitor using empty horizontal panel with icons only task manager (Main monitor).
Laptop monitor with vertical panel and icons only task manager.

On Fedora 27 (installed from the KDE iso version) at the moment, but I already had same issue on Arch. Started to see this behaviour around 20170825.

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 0x7f776db2e940 (LWP 2661))]

Thread 9 (Thread 0x7f767f4e4700 (LWP 3219)):
#0  0x00007f77654553db in poll () from /lib64/libc.so.6
#1  0x00007f775d6fee99 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#2  0x00007f775d6fefac in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f77662c190b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#4  0x00007f776626f62a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#5  0x00007f77660c08ca in QThread::exec() () from /lib64/libQt5Core.so.5
#6  0x00007f776a32de75 in QQmlThreadPrivate::run() () from /lib64/libQt5Qml.so.5
#7  0x00007f77660c4de2 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#8  0x00007f776479161b in start_thread () from /lib64/libpthread.so.0
#9  0x00007f776546198f in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7f7696e05700 (LWP 3152)):
#0  0x00007f775d7443d9 in g_mutex_lock () from /lib64/libglib-2.0.so.0
#1  0x00007f775d6fdd8e in g_main_context_acquire () from /lib64/libglib-2.0.so.0
#2  0x00007f775d6fed55 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#3  0x00007f775d6fefac in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#4  0x00007f77662c190b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#5  0x00007f776626f62a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#6  0x00007f77660c08ca in QThread::exec() () from /lib64/libQt5Core.so.5
#7  0x00007f76997755a7 in KCupsConnection::run() () from /lib64/libkcupslib.so
#8  0x00007f77660c4de2 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#9  0x00007f776479161b in start_thread () from /lib64/libpthread.so.0
#10 0x00007f776546198f in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7f76ac054700 (LWP 3054)):
#0  0x00007f77654553db in poll () from /lib64/libc.so.6
#1  0x00007f775d6fee99 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#2  0x00007f775d6fefac in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f77662c190b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#4  0x00007f776626f62a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#5  0x00007f77660c08ca in QThread::exec() () from /lib64/libQt5Core.so.5
#6  0x00007f776aecd116 in QQuickPixmapReader::run() () from /lib64/libQt5Quick.so.5
#7  0x00007f77660c4de2 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#8  0x00007f776479161b in start_thread () from /lib64/libpthread.so.0
#9  0x00007f776546198f in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f773b5a8700 (LWP 3028)):
#0  0x00007f7764797cbb in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f776d1f5604 in QTWTF::TCMalloc_PageHeap::scavengerThread() () from /lib64/libQt5Script.so.5
#2  0x00007f776d1f5649 in QTWTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /lib64/libQt5Script.so.5
#3  0x00007f776479161b in start_thread () from /lib64/libpthread.so.0
#4  0x00007f776546198f in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f774579e700 (LWP 2954)):
#0  0x00007f7765450888 in read () from /lib64/libc.so.6
#1  0x00007f775d7430a0 in g_wakeup_acknowledge () from /lib64/libglib-2.0.so.0
#2  0x00007f775d6fe9a8 in g_main_context_check () from /lib64/libglib-2.0.so.0
#3  0x00007f775d6fee40 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#4  0x00007f775d6fefac in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#5  0x00007f77662c190b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#6  0x00007f776626f62a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#7  0x00007f77660c08ca in QThread::exec() () from /lib64/libQt5Core.so.5
#8  0x00007f776a32de75 in QQmlThreadPrivate::run() () from /lib64/libQt5Qml.so.5
#9  0x00007f77660c4de2 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#10 0x00007f776479161b in start_thread () from /lib64/libpthread.so.0
#11 0x00007f776546198f in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f7747dfa700 (LWP 2828)):
#0  0x00007f775d7443f4 in g_mutex_unlock () from /lib64/libglib-2.0.so.0
#1  0x00007f775d6fefb6 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#2  0x00007f77662c190b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#3  0x00007f776626f62a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#4  0x00007f77660c08ca in QThread::exec() () from /lib64/libQt5Core.so.5
#5  0x00007f776a32de75 in QQmlThreadPrivate::run() () from /lib64/libQt5Qml.so.5
#6  0x00007f77660c4de2 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#7  0x00007f776479161b in start_thread () from /lib64/libpthread.so.0
#8  0x00007f776546198f in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f774d8e0700 (LWP 2814)):
#0  0x00007fff42f0da8e in clock_gettime ()
#1  0x00007f7765470c96 in clock_gettime () from /lib64/libc.so.6
#2  0x00007f77662c1181 in qt_gettime() () from /lib64/libQt5Core.so.5
#3  0x00007f77662bfcc9 in QTimerInfoList::updateCurrentTime() () from /lib64/libQt5Core.so.5
#4  0x00007f77662c00c5 in QTimerInfoList::timerWait(timespec&) () from /lib64/libQt5Core.so.5
#5  0x00007f77662c15ec in timerSourcePrepareHelper(GTimerSource*, int*) () from /lib64/libQt5Core.so.5
#6  0x00007f77662c168e in timerSourcePrepare(_GSource*, int*) () from /lib64/libQt5Core.so.5
#7  0x00007f775d6fe3f9 in g_main_context_prepare () from /lib64/libglib-2.0.so.0
#8  0x00007f775d6fedcb in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#9  0x00007f775d6fefac in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#10 0x00007f77662c190b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#11 0x00007f776626f62a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#12 0x00007f77660c08ca in QThread::exec() () from /lib64/libQt5Core.so.5
#13 0x00007f77666d9449 in QDBusConnectionManager::run() () from /lib64/libQt5DBus.so.5
#14 0x00007f77660c4de2 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#15 0x00007f776479161b in start_thread () from /lib64/libpthread.so.0
#16 0x00007f776546198f in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f774fa62700 (LWP 2685)):
#0  0x00007f77654553db in poll () from /lib64/libc.so.6
#1  0x00007f776badcfe7 in _xcb_conn_wait () from /lib64/libxcb.so.1
#2  0x00007f776badedda in xcb_wait_for_event () from /lib64/libxcb.so.1
#3  0x00007f77517b0bf9 in QXcbEventReader::run() () from /lib64/libQt5XcbQpa.so.5
#4  0x00007f77660c4de2 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#5  0x00007f776479161b in start_thread () from /lib64/libpthread.so.0
#6  0x00007f776546198f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f776db2e940 (LWP 2661)):
[KCrash Handler]
#6  0x00007f776af9db01 in QQuickWindow::mouseGrabberItem() const () from /lib64/libQt5Quick.so.5
#7  0x00007f776afa01a4 in QQuickWindowPrivate::removeGrabber(QQuickItem*, bool, bool) () from /lib64/libQt5Quick.so.5
#8  0x00007f776af8de50 in QQuickItemPrivate::derefWindow() () from /lib64/libQt5Quick.so.5
#9  0x00007f776af8e3b7 in QQuickItem::setParentItem(QQuickItem*) () from /lib64/libQt5Quick.so.5
#10 0x00007f776af8fbec in QQuickItem::~QQuickItem() () from /lib64/libQt5Quick.so.5
#11 0x00007f776afab065 in QQmlPrivate::QQmlElement<QQuickItem>::~QQmlElement() () from /lib64/libQt5Quick.so.5
#12 0x00007f776629f988 in QObjectPrivate::deleteChildren() () from /lib64/libQt5Core.so.5
#13 0x00007f77662a0862 in QObject::~QObject() () from /lib64/libQt5Core.so.5
#14 0x00007f776af8fcf5 in QQuickItem::~QQuickItem() () from /lib64/libQt5Quick.so.5
#15 0x00007f776afaba05 in QQmlPrivate::QQmlElement<QQuickMouseArea>::~QQmlElement() () from /lib64/libQt5Quick.so.5
#16 0x00007f7766299f48 in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#17 0x00007f776af8d06b in QQuickItem::event(QEvent*) () from /lib64/libQt5Quick.so.5
#18 0x00007f77673a289c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#19 0x00007f77673aa0e4 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#20 0x00007f77662708a7 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#21 0x00007f776627302b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt5Core.so.5
#22 0x00007f77662c1b03 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#23 0x00007f775d6feb77 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#24 0x00007f775d6fef20 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#25 0x00007f775d6fefac in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#26 0x00007f77662c18ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#27 0x00007f776626f62a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#28 0x00007f7766277d54 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#29 0x0000557884781f1c in main ()

Reported using DrKonqi
Comment 1 Christoph Feck 2018-03-14 23:31:42 UTC

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