Bug 477255 - SIGSEGV in framesvg.cpp that seems to occur on VirtualBox Gentoo system only. Crashes entire plasmashell!
Summary: SIGSEGV in framesvg.cpp that seems to occur on VirtualBox Gentoo system only....
Status: CLOSED UPSTREAM
Alias: None
Product: libplasma
Classification: Frameworks and Libraries
Component: libplasma (show other bugs)
Version: 5.110.0
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-19 23:28 UTC by johnsirett3
Modified: 2023-11-20 11:28 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description johnsirett3 2023-11-19 23:28:05 UTC
SUMMARY
Have already traced this bug a good bit, but no idea of the exact cause. No issues using any part of KDE Plasma on Arch Linux host system (version on Arch is v5.111.0).
Running Gentoo in a VirtualBox VM, at line 609 of 'plasma-framework/src/plasma/framesvg.cpp', there is a SIGSEGV that will crash the entire plasmashell. This happens as soon as plasmashell is started, rendering the entire KDE environment unusuable. This whole file seems unchanged in 5.111.0 and 5.112.0.
Have rebuilt plasma-frameworks multiple times, crash occurs in same location every time. Since it's called on plasmashell start, I'm guessing the same code must be being called on Arch, and is most definitely *not* SIGSEGV'ing there.
This is definitely a WTF bug.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Gentoo on VM
(available in About System)
KDE Plasma / Frameworks Version: 5.110.0
Qt Version: 5.15.11
Comment 1 johnsirett3 2023-11-20 10:28:28 UTC
Can confirm bug is still occurring in the exact same place on v5.112.0.
Comment 2 johnsirett3 2023-11-20 11:23:31 UTC
On further investigation, it appears the bug is occuring deeper than the aforementioned source line. It's happening inside the QImage::fill(const QColor &color) function in QTGui.
Comment 3 johnsirett3 2023-11-20 11:28:14 UTC
I think I've traced the bug, but it's clearly in QTGui, not Plasma Frameworks. Closing and will reported on the Qt Bug Tracker.