Bug 434478 - kdeinit5 crashes when spectacle shows a notification
Summary: kdeinit5 crashes when spectacle shows a notification
Status: RESOLVED DUPLICATE of bug 430862
Alias: None
Product: kio-extras
Classification: Frameworks and Libraries
Component: Thumbnails and previews (show other bugs)
Version: 20.12.3
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-16 09:38 UTC by Matthias Mueller
Modified: 2021-03-17 23:29 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
crashlog of kdeinit5 (795 bytes, text/vnd.kde.kcrash-report)
2021-03-16 09:38 UTC, Matthias Mueller
Details
stacktrace with debug symbols (2.11 KB, text/vnd.kde.kcrash-report)
2021-03-17 08:28 UTC, eskot98
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Mueller 2021-03-16 09:38:43 UTC
Created attachment 136725 [details]
crashlog of kdeinit5

SUMMARY
kdeinit5 segfaults when taking a screenshot with spectacle since update from Framework 5.79 to 5.80

STEPS TO REPRODUCE
1. take a screenshot with spectacle that causes a notification popup with a preview (for example super+printscreen for the active window)
2. see the notification pop up with the thumbnail
3. see kdeinit5 crash dialogue

OBSERVED RESULT
kdeinit5 crashes

EXPECTED RESULT
no crash ;)

This happens after the last Manjaro Update, i guess because of framework 5.79->5.80. I can upload a detailed update log if needed.

KDE Plasma Version: 5.21.2
KDE Frameworks Version: 5.80.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
First reported by another user in the update thread - so unlikely to be a local issue.
I found https://bugs.kde.org/show_bug.cgi?id=430862 that might be related?
Comment 1 eskot98 2021-03-17 08:28:49 UTC
Created attachment 136774 [details]
stacktrace with debug symbols

I'm also experiencing this problem on Arch Linux. It seems that this is somehow caused by KIO 5.80, as downgrading KIO to 5.79 fixes the issue.

I managed to build both kio and kio-extras Arch packages with debug symbols, and have attached a stack trace with those debug symbols.
Comment 2 Nate Graham 2021-03-17 23:22:49 UTC
Still missing most debug symbols:

Application: kdeinit5 (kdeinit5), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f92c01a4e08 in __memmove_sse2_unaligned_erms () from /usr/lib/libc.so.6
#5  0x00007f92c1134492 in memcpy (__len=27648, __src=<optimized out>, __dest=0x7f92b85f6000) at /usr/include/bits/string_fortified.h:29
#6  ThumbnailProtocol::get (this=0x7ffd6ede5860, url=...) at /usr/src/debug/kio-extras-20.12.3/thumbnail/thumbnail.cpp:315
#7  0x00007f92bc667c8f in QMapNode<QString, QVariant>::doDestroySubTree (this=0x43) at /usr/include/qt/QtCore/qmap.h:136
#8  QMapNode<QString, QVariant>::destroySubTree (this=0x43) at /usr/include/qt/QtCore/qmap.h:126
#9  QMapNode<QString, QVariant>::doDestroySubTree (this=<optimized out>) at /usr/include/qt/QtCore/qmap.h:139
#10 QMapNode<QString, QVariant>::destroySubTree (this=<optimized out>) at /usr/include/qt/QtCore/qmap.h:126
#11 QMapData<QString, QVariant>::destroy (this=0x7ffd6ede5860) at /usr/include/qt/QtCore/qmap.h:245
#12 0x00007f92becb377b in ?? () from /usr/lib/libglib-2.0.so.0
#13 0x00007f92bc62af8a in QStringBuilder<QString, QLatin1String>::convertTo<QString> (this=<optimized out>) at /usr/include/qt/QtCore/qstringbuilder.h:112
#14 QStringBuilder<QString, QLatin1String>::operator QString (this=<optimized out>) at /usr/include/qt/QtCore/qstringbuilder.h:131
#15 KRecentDocument::add (url=..., desktopEntryName=...) at /usr/src/debug/kio-5.80.1/src/core/krecentdocument.cpp:97
#16 0x0000560505a89710 in ?? ()
#17 0x00007f92bfe33888 in vtable for QApplication () from /usr/lib/libQt5Widgets.so.5
#18 0x000056050544c860 in ?? ()
#19 0x00007f92c11385e8 in vtable for ThumbnailProtocol () from /usr/lib/qt/plugins/kf5/kio/thumbnail.so
#20 0x0000560505a89710 in ?? ()
#21 0x00007f92c0669480 in ?? () from /usr/lib/libQt5Core.so.5
#22 0x0000560505a8a6d0 in ?? ()
#23 0x0000560505a8fb70 in ?? ()
#24 0x0000560505a77430 in ?? ()
#25 0x0000008000000080 in ?? ()
#26 0x0000560505a6e910 in ?? ()
#27 0x0000560505a6e7b0 in ?? ()
#28 0x00007f92c06693c0 in ?? () from /usr/lib/libQt5Core.so.5
#29 0x00007f92c0668940 in ?? () from /usr/lib/libQt5Core.so.5
#30 0x0000000000000000 in ?? ()
[Inferior 1 (process 18600) detached]


It appears ot be crashing somewhere in the thumbnailer, but we'll need a backtrace that includes debug symbols for kio-extras to proceed. Can you get one? Thanks!
Comment 3 Nate Graham 2021-03-17 23:26:50 UTC
Actually yeah, it looks like the same issue as Bug 430862. No need to get a new backtrace as yours was complete enough after all.
Comment 4 Nate Graham 2021-03-17 23:29:30 UTC

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