Summary: | Various pieces of QML-based KDE software crash on launch in QQmlPropertyCacheCreator<QQmlTypeCompiler>::propertyCacheForObject() | ||
---|---|---|---|
Product: | [I don't know] kde | Reporter: | Justin Zobel <justin.zobel> |
Component: | general | Assignee: | Unassigned bugs <unassigned-bugs-null> |
Status: | RESOLVED UPSTREAM | ||
Severity: | crash | CC: | 4wy78uwh, alessiofolli, carl, Debraym46, dev, eugene.savitsky, guido-kdebugs, james.r.austin, justin, kdedev, klybymtb38, lincoln.backed470, martin.ignatov01, miatsukichan, nate, nathaniel.graham, nicolas.fella, pridefulmizuki, revatema08, rosswzyang, sderfla, sitter, staroy25786, woskimi |
Priority: | VHI | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
URL: | https://bugreports.qt.io/browse/QTBUG-136810 | ||
Latest Commit: | Version Fixed In: | Qt 6.8.4 & 6.9.2 | |
Sentry Crash Report: | |||
Attachments: |
attachment-3293581-0.html
cache file |
Description
Justin Zobel
2022-12-31 00:52:53 UTC
What distr *** Bug 478205 has been marked as a duplicate of this bug. *** *** Bug 480317 has been marked as a duplicate of this bug. *** *** Bug 493825 has been marked as a duplicate of this bug. *** *** Bug 493789 has been marked as a duplicate of this bug. *** *** Bug 491774 has been marked as a duplicate of this bug. *** *** Bug 474112 has been marked as a duplicate of this bug. *** *** Bug 492627 has been marked as a duplicate of this bug. *** From duplicate reports, affected software includes Plasma, System Settings, and Merkuro. *** Bug 495044 has been marked as a duplicate of this bug. *** *** Bug 501024 has been marked as a duplicate of this bug. *** (In reply to Nate Graham from comment #11) > *** Bug 501024 has been marked as a duplicate of this bug. *** My bug report was resolved as a duplicate on this unresolved bug, that's been reported since DEC 2022. Just curious, has there been any progress listed elsewhere? I see are a number of other bugs marked as a duplicate, just not sure if there is something external that is also tracking this? There's no progress listed elsewhere to my knowledge. (In reply to Nate Graham from comment #1) > What distr Sorry I missed this. I can't say exactly but it would have either been Solus or Fedora. *** Bug 501386 has been marked as a duplicate of this bug. *** *** Bug 501333 has been marked as a duplicate of this bug. *** (In reply to Justin Zobel from comment #14) > (In reply to Nate Graham from comment #1) > > What distr > > Sorry I missed this. I can't say exactly but it would have either been Solus > or Fedora. I'm having this issue on Fedora, has anyone else had a similar issue on Solus? (In reply to staroy25786 from comment #17) > I'm having this issue on Fedora, has anyone else had a similar issue on > Solus? Not to my knowledge. There isn't anything on the Solus bug tracker https://issues.getsol.us I also haven't seen anyone complain about this in support channels, nor have I had this crash on my 2 Solus systems plasma-discover (fedora kinoite 41) Thread 19 "QQmlThread" received signal SIGSEGV, Segmentation fault. QQmlPropertyCacheCreator<QQmlTypeCompiler>::propertyCacheForObject (this=this@entry=0x7fff99e297c0, obj=obj@entry=0x7fff946757f8, context=..., error=error@entry=0x7fff99e291b0) at /usr/src/debug/qt6-qtdeclarative-6.8.1-6.fc41.x86_64/src/qml/qml/qqmlpropertycachecreator_p.h:392 392 if (typeRef->isFullyDynamicType()) { (gdb) print *obj $3 = {inheritedTypeNameIndex = 88, idNameIndex = 0, id = -1, indexOfDefaultPropertyOrAlias = -1, defaultPropertyIsAlias = false, flags = 0, location = {m_data = { storage = {val = 37748971}}}, locationOfIdProperty = {m_data = {storage = {val = 0}}}, declarationsOverride = 0x0, functionsAndExpressions = 0x7fff94659cf8, runtimeFunctionIndices = {data = 0x0, count = 0}, namedObjectsInComponent = {data = 0x0, count = 0}, properties = 0x7fff94659c68, aliases = 0x7fff94659c80, qmlEnums = 0x7fff94659c98, qmlSignals = 0x7fff94659cb0, bindings = 0x7fff94659cc8, functions = 0x7fff94659ce0, inlineComponents = 0x7fff94659d10, requiredPropertyExtraDatas = 0x7fff94659d28} print objectContainer->stringAt(obj->inheritedTypeNameIndex) $6 = {d = {d = 0x7fff9464dc40, ptr = 0x7fff9464dc50 u"QQC2.MenuSeparator", size = 18}, static _empty = 0 u'\000'} *** Bug 501923 has been marked as a duplicate of this bug. *** *** Bug 501717 has been marked as a duplicate of this bug. *** I wonder if this is some sort of packaging mishap on Fedora somehow (despite this happening on Ubuntu and OpenSUSE too)? Created attachment 179952 [details] attachment-3293581-0.html Problem was in my home directory. Cleared .cache and plasmashell stopped crashing, but various plasma components had visual issues. Notably dolphin and systemsettings. Restored .local from a known working date and everything was back to normal. On Wed, Apr 2, 2025 at 7:19 AM <bugzilla_noreply@kde.org> wrote: > https://bugs.kde.org/show_bug.cgi?id=463648 > > --- Comment #22 from staroy25786@nbss.nbed.nb.ca --- > I wonder if this is some sort of packaging mishap on Fedora somehow > (despite > this happening on Ubuntu and OpenSUSE too)? > > -- > You are receiving this mail because: > You are on the CC list for the bug. *** Bug 502606 has been marked as a duplicate of this bug. *** > | What | Removed | Added |
> |-----------|-------------------------|----------------------|
> | Component | general | Spam |
> | CC | | klybymtb38@gmail.com |
> | Product | kde | Spam |
I presume that this being refiled as spam is itself an act by a spammer?
Yes indeed; thanks for correcting it! In the future please also report spammers' email addresses using a sysadmin ticket (https://phabricator.kde.org/maniphest/task/edit/form/2/) so their account can be deleted. I've done that this time. (In reply to Nate Graham from comment #26) > Yes indeed; thanks for correcting it! ...I hadn't yet, but I've at least set it as untriaged now, as it was beforehand. I wasn't able to detect any spam on this bug aside from the vandalism of reassigning this to Spam. The offending user account has now been blocked. *** Bug 504034 has been marked as a duplicate of this bug. *** Renaming .cache folder fixed the crashing for me (bug 504034). Should I try to localize the affecting folder in the /.cache? If you could, that would be very very helpful! Created attachment 181232 [details]
cache file
Narrowed down to this file. Deleting it makes the crash go away.
BTW It is located in /home/xxxxxx/.cache/plasmashell/qmlcache/ Thank you! That's extremely valuable information. Please copy the cache back into place and grab the output when starting plasmashell like so: QT_LOGGING_RULES=qt.qml.diskcache*=true plasmashell --replace the output of `kinfo` would also be good (In reply to Harald Sitter from comment #35) > Please copy the cache back into place and grab the output when starting > plasmashell like so: > > QT_LOGGING_RULES=qt.qml.diskcache*=true plasmashell --replace > > the output of `kinfo` would also be good Could you please make step-by-step guide? I'm just a normal user, not a coder. :) 1. Place back the cache file - OK 2. Log out from Plasma - OK 3. Log in to Plasma - OK 4. Then I immediately get a crash, but I have a terminal window open, so I can run commands. 5. run in terminal QT_LOGGING_RULES=qt.qml.diskcache*=true plasmashell --replace 6. Then I have to run plasmashell manually? By typing plasmashell command? 7. Then run kinfo? 1. OK, I got it myself :) 2. For some reason the cache file today was not affecting the system and there was no crash copying it back... :-/ 3. But I test Linux with Tumbleweed, that has "Time Machine", so I can go back any time. 4. ~> QT_LOGGING_RULES=qt.qml.diskcache*=true plasmashell --replace kf.plasma.quick: Applet preload policy set to 1 qt.qml.diskcache: Checksum mismatch for cached version of "file:///usr/share/plasma/plasmoids/org.kde.panel/contents/ui/main.qml" KCrash: Attempting to start /usr/bin/plasmashell KCrash: Application 'plasmashell' crashing... crashRecursionCounter = 2 Segmentation fault (core dumped) kf.plasma.quick: Applet preload policy set to 1 qt.qml.diskcache: Checksum mismatch for cached version of "file:///usr/share/plasma/plasmoids/org.kde.panel/contents/ui/main.qml" KCrash: Attempting to start /usr/bin/plasmashell KCrash: Application 'plasmashell' crashing... crashRecursionCounter = 2 kf.plasma.quick: Applet preload policy set to 1 qt.qml.diskcache: Checksum mismatch for cached version of "file:///usr/share/plasma/plasmoids/org.kde.panel/contents/ui/main.qml" And it attempts to start plasmashell forever... ~> kinfo Operating System: openSUSE Tumbleweed 20250417 KDE Plasma Version: 6.3.80 KDE Frameworks Version: 6.14.0 Qt Version: 6.9.0 Kernel Version: 6.14.2-1-default (64-bit) Graphics Platform: Wayland Processors: 16 × AMD Ryzen 7 5825U with Radeon Graphics Memory: 16 GiB of RAM (14.5 GiB usable) Graphics Processor: llvmpipe 5. I use the Icons + Text vertical panel, if that may help. I can confirm the crash by installing tumbleweed, having bluetooth, and adjusting the timestamp of file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/ui/Toolbar.qml to be the one in the cache file. https://bugreports.qt.io/browse/QTBUG-136810 Thanks a ton for nailing that down, Harald! Now fixed upstream in Qt 6.8.4 & 6.9.2, thanks to Ulf Hermann! *** Bug 504933 has been marked as a duplicate of this bug. *** *** Bug 505076 has been marked as a duplicate of this bug. *** |