| Summary: | kicker: segfault when built with clang | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | Jannik Glückert <jannik.glueckert> |
| Component: | Application Menu (Kicker) widget | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | crash | CC: | fanzhuyifan, nate, sam |
| Priority: | NOR | ||
| Version First Reported In: | 6.0.2 | ||
| Target Milestone: | 1.0 | ||
| Platform: | Gentoo Packages | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
Backtrace
ASAN output Better backtrace |
||
Created attachment 167223 [details]
ASAN output
Does it crash when you compile with -O2 instead of -O3? Yes. This is inlining related, I can't reproduce without LTO. Are you suggesting a compiler bug? Meanwhile I've been able to get a better backtrace - though I think the ASAN report already shows that this is probably from a bad object. Created attachment 167236 [details]
Better backtrace
Sorry we were not able to get to this yet. Can I ask you to please check to see if it's still an issue with Plasma 6.3? Thanks! (In reply to Nate Graham from comment #5) > Sorry we were not able to get to this yet. Can I ask you to please check to > see if it's still an issue with Plasma 6.3? Thanks! Yes, I can still reproduce with Plasma 6.3.4 Qt 6.8.3 Clang 20.1.2 libstdc++ 14.2.1 Still happening in Plasma 6.4 and (hopefully) a newer version of clang? 🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME. For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging. Thank you for helping us make KDE software even better for everyone! oops, sorry for the late reply as of Plasma 6.4.4 Qt 6.9.2 Clang 21.1.0 libstdc++ 15.2.0 I can no longer reproduce! However, I have only rebuilt the qt libs and the plasma desktop with clang 21 so far. I'll rebuild the other kde libs in the next few days as it may be a transitive bug. I'll also cross check the new versions with clang 20. 🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME. For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging. Thank you for helping us make KDE software even better for everyone! 🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME. |
Created attachment 167222 [details] Backtrace SUMMARY When built with clang, plasmashell-6.0.2 crashes immediately in kicker (wayland session). I managed to get a (probably) useful ASAN run, though I haven't been able to get a symbolized coredump for some reason. Building with gcc did not exhibit this issue. I did not try to reproduce with gcc ASAN or with older clang versions yet, but on first glance it looks like an out of bounds read? Backtrace and ASAN output are in attachments. SOFTWARE/OS VERSIONS Gentoo Linux Plasma 6.0.2 Qt 6.6.2 Clang 18.0.0 libstdc++ 13.2.1 CFLAGS: -O3 -flto=thin