Bug 380156

Summary: Plasma crashed in Plasma::Theme::listCachedRectKeys()
Product: [Frameworks and Libraries] libplasma Reporter: Jannis Liapis <ahepas1999>
Component: libplasmaAssignee: Marco Martin <notmart>
Status: RESOLVED WORKSFORME    
Severity: crash CC: bhush94, justin.zobel, nate, notmart, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.34.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jannis Liapis 2017-05-24 17:13:27 UTC
Application: plasmashell (5.9.5)

Qt Version: 5.8.0
Frameworks Version: 5.34.0
Operating System: Linux 4.11.2-1-MANJARO x86_64
Distribution: "Manjaro Linux"

-- Information about the crash:
I was watching a video in fullscreen didn't notice anything strange. Noticed the crash icon in the taskbar...

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

Thread 9 (Thread 0x7f8c8afa5700 (LWP 1432)):
#0  0x00007f8d6abfc67d in poll () at /usr/lib/libc.so.6
#1  0x00007f8d659d39b6 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f8d659d3acc in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f8d6b52309b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f8d6b4cc8ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f8d6b2eea73 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007f8c8c6290a7 in KCupsConnection::run() () at /usr/lib/libkcupslib.so
#7  0x00007f8d6b2f36d8 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f8d6a1a82e7 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f8d6ac0654f in clone () at /usr/lib/libc.so.6

Thread 8 (Thread 0x7f8c99ccc700 (LWP 1296)):
#0  0x00007f8d6abfc67d in poll () at /usr/lib/libc.so.6
#1  0x00007f8d659d39b6 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f8d659d3acc in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f8d6b52309b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f8d6b4cc8ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f8d6b2eea73 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007f8d6b2f36d8 in  () at /usr/lib/libQt5Core.so.5
#7  0x00007f8d6a1a82e7 in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007f8d6ac0654f in clone () at /usr/lib/libc.so.6

Thread 7 (Thread 0x7f8cb72bd700 (LWP 1285)):
#0  0x00007f8d6abf837d in read () at /usr/lib/libc.so.6
#1  0x00007f8d65a17e20 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f8d659d347e in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#3  0x00007f8d659d3954 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007f8d659d3acc in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#5  0x00007f8d6b52309b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f8d6b4cc8ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#7  0x00007f8d6b2eea73 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#8  0x00007f8d6efdafd6 in  () at /usr/lib/libQt5Quick.so.5
#9  0x00007f8d6b2f36d8 in  () at /usr/lib/libQt5Core.so.5
#10 0x00007f8d6a1a82e7 in start_thread () at /usr/lib/libpthread.so.0
#11 0x00007f8d6ac0654f in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7f8d47fff700 (LWP 1151)):
#0  0x00007f8d6a1ae756 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f8d70cce234 in  () at /usr/lib/libQt5Script.so.5
#2  0x00007f8d70cce279 in  () at /usr/lib/libQt5Script.so.5
#3  0x00007f8d6a1a82e7 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f8d6ac0654f in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7f8d52190700 (LWP 1148)):
#0  0x00007f8d65a191e4 in g_mutex_unlock () at /usr/lib/libglib-2.0.so.0
#1  0x00007f8d659d33b1 in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#2  0x00007f8d659d3954 in  () at /usr/lib/libglib-2.0.so.0
#3  0x00007f8d659d3acc in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#4  0x00007f8d6b52309b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f8d6b4cc8ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f8d6b2eea73 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#7  0x00007f8d6e427085 in  () at /usr/lib/libQt5Qml.so.5
#8  0x00007f8d6b2f36d8 in  () at /usr/lib/libQt5Core.so.5
#9  0x00007f8d6a1a82e7 in start_thread () at /usr/lib/libpthread.so.0
#10 0x00007f8d6ac0654f in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7f8d53bf2700 (LWP 1104)):
#0  0x00007f8d65a191c9 in g_mutex_lock () at /usr/lib/libglib-2.0.so.0
#1  0x00007f8d659d3101 in g_main_context_query () at /usr/lib/libglib-2.0.so.0
#2  0x00007f8d659d3928 in  () at /usr/lib/libglib-2.0.so.0
#3  0x00007f8d659d3acc in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#4  0x00007f8d6b52309b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f8d6b4cc8ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f8d6b2eea73 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#7  0x00007f8d6e427085 in  () at /usr/lib/libQt5Qml.so.5
#8  0x00007f8d6b2f36d8 in  () at /usr/lib/libQt5Core.so.5
#9  0x00007f8d6a1a82e7 in start_thread () at /usr/lib/libpthread.so.0
#10 0x00007f8d6ac0654f in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f8d596df700 (LWP 941)):
#0  0x00007f8d659d09bc in  () at /usr/lib/libglib-2.0.so.0
#1  0x00007f8d659d2e2b in g_main_context_prepare () at /usr/lib/libglib-2.0.so.0
#2  0x00007f8d659d38db in  () at /usr/lib/libglib-2.0.so.0
#3  0x00007f8d659d3acc in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#4  0x00007f8d6b52309b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f8d6b4cc8ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f8d6b2eea73 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#7  0x00007f8d6c073125 in  () at /usr/lib/libQt5DBus.so.5
#8  0x00007f8d6b2f36d8 in  () at /usr/lib/libQt5Core.so.5
#9  0x00007f8d6a1a82e7 in start_thread () at /usr/lib/libpthread.so.0
#10 0x00007f8d6ac0654f in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f8d5b75b700 (LWP 884)):
#0  0x00007f8d6abfc67d in poll () at /usr/lib/libc.so.6
#1  0x00007f8d6fbf48e0 in  () at /usr/lib/libxcb.so.1
#2  0x00007f8d6fbf6679 in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007f8d5dccd239 in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x00007f8d6b2f36d8 in  () at /usr/lib/libQt5Core.so.5
#5  0x00007f8d6a1a82e7 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007f8d6ac0654f in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f8d71539800 (LWP 876)):
[KCrash Handler]
#6  0x00007f8d6ab4da10 in raise () at /usr/lib/libc.so.6
#7  0x00007f8d6ab4f13a in abort () at /usr/lib/libc.so.6
#8  0x00007f8d6ab8c2b0 in __libc_message () at /usr/lib/libc.so.6
#9  0x00007f8d6ab9290e in malloc_printerr () at /usr/lib/libc.so.6
#10 0x00007f8d6ab94d61 in _int_malloc () at /usr/lib/libc.so.6
#11 0x00007f8d6ab96674 in malloc () at /usr/lib/libc.so.6
#12 0x00007f8d6b2f490c in QArrayData::allocate(unsigned long, unsigned long, unsigned long, QFlags<QArrayData::AllocationOption>) () at /usr/lib/libQt5Core.so.5
#13 0x00007f8d6b371993 in QString::QString(int, Qt::Initialization) () at /usr/lib/libQt5Core.so.5
#14 0x00007f8d6b52ac6d in  () at /usr/lib/libQt5Core.so.5
#15 0x00007f8d6b376b92 in QString::fromUtf8_helper(char const*, int) () at /usr/lib/libQt5Core.so.5
#16 0x00007f8d6cb633ec in KConfig::entryMap(QString const&) const () at /usr/lib/libKF5ConfigCore.so.5
#17 0x00007f8d6cb701e9 in KConfigGroup::entryMap() const () at /usr/lib/libKF5ConfigCore.so.5
#18 0x00007f8d6cb79c60 in KConfigGroup::keyList() const () at /usr/lib/libKF5ConfigCore.so.5
#19 0x00007f8d6f7a1e13 in Plasma::Theme::listCachedRectKeys(QString const&) const () at /usr/lib/libKF5Plasma.so.5
#20 0x00007f8d6f79a78a in  () at /usr/lib/libKF5Plasma.so.5
#21 0x00007f8d6f79b634 in Plasma::Svg::image(QSize const&, QString const&) () at /usr/lib/libKF5Plasma.so.5
#22 0x00007f8cbc061da3 in  () at /usr/lib/qt/qml/org/kde/plasma/core/libcorebindingsplugin.so
#23 0x00007f8d6f095868 in QQuickWindowPrivate::updateDirtyNode(QQuickItem*) () at /usr/lib/libQt5Quick.so.5
#24 0x00007f8d6f09606b in QQuickWindowPrivate::updateDirtyNodes() () at /usr/lib/libQt5Quick.so.5
#25 0x00007f8d6f097062 in QQuickWindowPrivate::syncSceneGraph() () at /usr/lib/libQt5Quick.so.5
#26 0x00007f8d6f032b7f in  () at /usr/lib/libQt5Quick.so.5
#27 0x00007f8d6f0a0616 in QQuickWindow::event(QEvent*) () at /usr/lib/libQt5Quick.so.5
#28 0x0000000000430923 in  ()
#29 0x00007f8d6c43c34c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#30 0x00007f8d6c443b61 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#31 0x00007f8d6b4ce470 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#32 0x00007f8d6ba27aae in QWindowPrivate::deliverUpdateRequest() () at /usr/lib/libQt5Gui.so.5
#33 0x00007f8d6ba27ff9 in QWindow::event(QEvent*) () at /usr/lib/libQt5Gui.so.5
#34 0x00007f8d6f0a05b5 in QQuickWindow::event(QEvent*) () at /usr/lib/libQt5Quick.so.5
#35 0x0000000000430923 in  ()
#36 0x00007f8d6c43c34c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#37 0x00007f8d6c443b61 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#38 0x00007f8d6b4ce470 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#39 0x00007f8d6b521cee in QTimerInfoList::activateTimers() () at /usr/lib/libQt5Core.so.5
#40 0x00007f8d6b522541 in  () at /usr/lib/libQt5Core.so.5
#41 0x00007f8d659d37b7 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#42 0x00007f8d659d3a20 in  () at /usr/lib/libglib-2.0.so.0
#43 0x00007f8d659d3acc in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#44 0x00007f8d6b52307f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#45 0x00007f8d6b4cc8ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#46 0x00007f8d6b4d4e14 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#47 0x000000000041ca42 in  ()
#48 0x00007f8d6ab3a511 in __libc_start_main () at /usr/lib/libc.so.6
#49 0x000000000041cdca in _start ()

Possible duplicates by query: bug 380039, bug 379277, bug 379095, bug 378660, bug 378605.

Reported using DrKonqi
Comment 1 Marco Martin 2017-06-09 11:41:27 UTC
seems a dangling pointer to a Theme instance, difficult to notice what one tough
Comment 2 Marco Martin 2017-06-09 11:47:33 UTC
from the bt they could be either svg::actualTheme or s_systemColorsCache, but both are qweakpointers
Comment 3 Justin Zobel 2020-11-19 04:53:47 UTC
(In reply to Marco Martin from comment #2)
> from the bt they could be either svg::actualTheme or s_systemColorsCache,
> but both are qweakpointers

Marco is there any other information that we need to further diagnose this issue?
Comment 4 Nate Graham 2021-02-26 17:46:46 UTC
Jannis, any chance you remember what themes you were using or had installed? Is this still happening in Plasma 5.21?
Comment 5 Bug Janitor Service 2021-03-13 04:33:33 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 6 Bug Janitor Service 2021-03-28 04:33: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!