Bug 385572

Summary: Plasma crashed in QQuickWindow::maybeUpdate() - multi screen resume from standby
Product: [Plasma] plasmashell Reporter: Pieter Botha <info>
Component: generic-crashAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: bugseforuns, doener.mail, justin.zobel, nate, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.10.5   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Pieter Botha 2017-10-11 06:30:45 UTC
Application: plasmashell (5.10.5)

Qt Version: 5.9.1
Frameworks Version: 5.38.0
Operating System: Linux 4.13.4-1-default x86_64
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed:
Before opening laptop I connected the additional extra screen/monitor.
Opened laptop to resume from standby
I noticed the screen config was messed up as the laptop screen was moved over the external screen in Configure Desktop/Monitor. I had to move the laptop screen back to be next to the external screen and applied config.
Up to this point Plasma was in a funky state where no taskbar was present.
Only after applying the monitor config for the screens to be next to one another, then did plasma restart and the taskbar re-appeared.

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 0x7f84590b0900 (LWP 1602))]

Thread 9 (Thread 0x7f8349ffb700 (LWP 27894)):
#0  0x00007f844d6f9699 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f844d6b4020 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f844d6b422c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f8452fe969b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007f8452f9234a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007f8452dc231a in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007f8455ef8705 in QQmlThreadPrivate::run() () from /usr/lib64/libQt5Qml.so.5
#7  0x00007f8452dc6d2e in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#8  0x00007f8451f7a558 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f84526cb3ff in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7f8389d60700 (LWP 1897)):
#0  0x00007f8458ef3090 in _dl_update_slotinfo () from /lib64/ld-linux-x86-64.so.2
#1  0x00007f8458ef30fc in update_get_addr () from /lib64/ld-linux-x86-64.so.2
#2  0x00007f8458ef82d8 in __tls_get_addr () from /lib64/ld-linux-x86-64.so.2
#3  0x00007f8452dc5c56 in QThreadData::current(bool) () from /usr/lib64/libQt5Core.so.5
#4  0x00007f8452fe95aa in postEventSourcePrepare(_GSource*, int*) () from /usr/lib64/libQt5Core.so.5
#5  0x00007f844d6b3658 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#6  0x00007f844d6b404b in ?? () from /usr/lib64/libglib-2.0.so.0
#7  0x00007f844d6b422c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#8  0x00007f8452fe969b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#9  0x00007f8452f9234a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#10 0x00007f8452dc231a in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#11 0x00007f838c618f37 in KCupsConnection::run (this=0x55aa9f85c590) at /usr/src/debug/print-manager-17.08.1/libkcups/KCupsConnection.cpp:304
#12 0x00007f8452dc6d2e in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#13 0x00007f8451f7a558 in start_thread () from /lib64/libpthread.so.0
#14 0x00007f84526cb3ff in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7f839f5a2700 (LWP 1857)):
#0  0x00007f844d6b3ace in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f844d6b40c0 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f844d6b422c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f8452fe969b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007f8452f9234a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007f8452dc231a in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007f8456a9e342 in QQuickPixmapReader::run() () from /usr/lib64/libQt5Quick.so.5
#7  0x00007f8452dc6d2e in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#8  0x00007f8451f7a558 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f84526cb3ff in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f842f37e700 (LWP 1774)):
#0  0x00007f8451f8082d in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f84587718e4 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f8458a59ec0 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f8458771929 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f8451f7a558 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f84526cb3ff in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f843979c700 (LWP 1724)):
#0  0x00007f844d6f9699 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f844d6b40de in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f844d6b422c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f8452fe969b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007f8452f9234a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007f8452dc231a in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007f8455ef8705 in QQmlThreadPrivate::run() () from /usr/lib64/libQt5Qml.so.5
#7  0x00007f8452dc6d2e in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#8  0x00007f8451f7a558 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f84526cb3ff in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f843b3ea700 (LWP 1680)):
#0  0x00007f84526c0c4b in poll () from /lib64/libc.so.6
#1  0x00007f844d6b4119 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f844d6b422c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f8452fe969b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007f8452f9234a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007f8452dc231a in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007f8455ef8705 in QQmlThreadPrivate::run() () from /usr/lib64/libQt5Qml.so.5
#7  0x00007f8452dc6d2e in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#8  0x00007f8451f7a558 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f84526cb3ff in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f8440ecb700 (LWP 1641)):
#0  0x00007f84526c0c4b in poll () from /lib64/libc.so.6
#1  0x00007f844d6b4119 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f844d6b422c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f8452fe969b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007f8452f9234a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007f8452dc231a in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007f8453468a45 in QDBusConnectionManager::run() () from /usr/lib64/libQt5DBus.so.5
#7  0x00007f8452dc6d2e in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#8  0x00007f8451f7a558 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f84526cb3ff in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f8442f3c700 (LWP 1615)):
#0  0x00007f84526c0c4b in poll () from /lib64/libc.so.6
#1  0x00007f84576a0387 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007f84576a217a in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007f84458ec4b9 in QXcbEventReader::run() () from /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007f8452dc6d2e in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#5  0x00007f8451f7a558 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f84526cb3ff in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f84590b0900 (LWP 1602)):
[KCrash Handler]
#6  0x00007f8456b623e0 in QQuickWindow::maybeUpdate() () from /usr/lib64/libQt5Quick.so.5
#7  0x00007f8456b63228 in forceUpdate(QQuickItem*) () from /usr/lib64/libQt5Quick.so.5
#8  0x00007f8456b631f1 in forceUpdate(QQuickItem*) () from /usr/lib64/libQt5Quick.so.5
#9  0x00007f8456b631f1 in forceUpdate(QQuickItem*) () from /usr/lib64/libQt5Quick.so.5
#10 0x00007f8456b631f1 in forceUpdate(QQuickItem*) () from /usr/lib64/libQt5Quick.so.5
#11 0x00007f8456b631f1 in forceUpdate(QQuickItem*) () from /usr/lib64/libQt5Quick.so.5
#12 0x00007f8456b631f1 in forceUpdate(QQuickItem*) () from /usr/lib64/libQt5Quick.so.5
#13 0x00007f8456b631f1 in forceUpdate(QQuickItem*) () from /usr/lib64/libQt5Quick.so.5
#14 0x00007f8456b631f1 in forceUpdate(QQuickItem*) () from /usr/lib64/libQt5Quick.so.5
#15 0x00007f8456b631f1 in forceUpdate(QQuickItem*) () from /usr/lib64/libQt5Quick.so.5
#16 0x00007f8456b631f1 in forceUpdate(QQuickItem*) () from /usr/lib64/libQt5Quick.so.5
#17 0x00007f8456b631f1 in forceUpdate(QQuickItem*) () from /usr/lib64/libQt5Quick.so.5
#18 0x00007f8456b631f1 in forceUpdate(QQuickItem*) () from /usr/lib64/libQt5Quick.so.5
#19 0x00007f8456b631f1 in forceUpdate(QQuickItem*) () from /usr/lib64/libQt5Quick.so.5
#20 0x00007f8456b65ac4 in QQuickWindowPrivate::syncSceneGraph() () from /usr/lib64/libQt5Quick.so.5
#21 0x00007f8456afef2b in QSGGuiThreadRenderLoop::renderWindow(QQuickWindow*) () from /usr/lib64/libQt5Quick.so.5
#22 0x00007f8456affeba in QSGGuiThreadRenderLoop::exposureChanged(QQuickWindow*) () from /usr/lib64/libQt5Quick.so.5
#23 0x00007f84537ef09b in QWindow::event(QEvent*) () from /usr/lib64/libQt5Gui.so.5
#24 0x00007f8456b6eba5 in QQuickWindow::event(QEvent*) () from /usr/lib64/libQt5Quick.so.5
#25 0x000055aa9b05ba7b in PanelView::event (this=0x7f84340d76a0, e=0x7fff2cbfa960) at /usr/src/debug/plasma-workspace-5.10.5/shell/panelview.cpp:910
#26 0x00007f8453f979bc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#27 0x00007f8453f9ed74 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#28 0x00007f8452f93d38 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#29 0x00007f84537e4a09 in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) () from /usr/lib64/libQt5Gui.so.5
#30 0x00007f84537e556d in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib64/libQt5Gui.so.5
#31 0x00007f84537bef9b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Gui.so.5
#32 0x00007f844594bce0 in userEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/libQt5XcbQpa.so.5
#33 0x00007f844d6b3f67 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#34 0x00007f844d6b41a0 in ?? () from /usr/lib64/libglib-2.0.so.0
#35 0x00007f844d6b422c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#36 0x00007f8452fe967f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#37 0x00007f8452f9234a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#38 0x00007f8452f9abd4 in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
#39 0x000055aa9b04ccf2 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma-workspace-5.10.5/shell/main.cpp:166

Possible duplicates by query: bug 377044.

Reported using DrKonqi
Comment 1 Marco Martin 2017-12-20 13:14:27 UTC
*** Bug 388056 has been marked as a duplicate of this bug. ***
Comment 2 Justin Zobel 2020-12-03 01:12:15 UTC
Thank you for the report, Pieter.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved" when you respond, thank you.
Comment 3 Bug Janitor Service 2020-12-18 04:35:04 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2021-01-02 04:34:38 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!
Comment 5 Nate Graham 2021-11-08 19:51:03 UTC
*** Bug 444960 has been marked as a duplicate of this bug. ***
Comment 6 Nate Graham 2021-11-08 19:52:06 UTC
Just got a duplicate from Plasma 5.23 (Bug 444960); re-opening.
Comment 7 Nate Graham 2022-02-16 00:56:22 UTC
*** Bug 450163 has been marked as a duplicate of this bug. ***
Comment 8 Nate Graham 2023-05-17 02:39:19 UTC
No new reports in a year and a half and the multi-monitor infrastructure has been re-done; assuming once again that it's been fixed.