Bug 494401 - With Qt 6.7.3, invoking Cube effects crashes Plasma
Summary: With Qt 6.7.3, invoking Cube effects crashes Plasma
Status: RESOLVED UPSTREAM
Alias: None
Product: kdeplasma-addons
Classification: Unmaintained
Component: Cube (other bugs)
Version First Reported In: 6.2.0
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2024-10-10 10:01 UTC by machaquiro
Modified: 2024-10-23 19:03 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: Qt 6.8.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description machaquiro 2024-10-10 10:01:14 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY


STEPS TO REPRODUCE
1. Activate cube effect using plain color or skybox
2. Meta+c shortcut

OBSERVED RESULT

Effect doesn't show up, black screen, desktop resets

EXPECTED RESULT

Effect working as in Plasma 6.1.5

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro unstable branch
KDE Plasma Version: Plasma 6.2.0
KDE Frameworks Version: 6.6
Qt Version: 6.7.3

ADDITIONAL INFORMATION

Happens on Wayland and X11 and Firefox crashes when this happens.
Comment 1 Filip 2024-10-10 10:26:07 UTC
Can confirm, but can't upload backtrace
Comment 2 Nate Graham 2024-10-10 20:42:27 UTC
Works for me with 3 virtual desktops. Is there a special set of configurations options needed to trigger the crash?
Comment 3 machaquiro 2024-10-11 10:26:41 UTC
The crash happens everytime not sometimes as the title says now.

I'm using 3 virtual desktops too, rest is default.

I did test on Intel only laptop and AMD Ryzen 5 7600X only desktop PC, both have the same problem.

Looking at journalctl i see this everytime it happens on Wayland:

"kernel: kwin_wayland[1156]: segfault at 3f800004 ip 000075085b573e2c sp 00007ffc185fcf90 error 4 in libQt6Quick3D.so.6.7.3[e7e2c,75085b4dc000+ca000] likely on CPU 11 (core 5, socket 0)"

Should i "gdb kwin_wayland" to see what happens? Tried today and it's been hours and still black screen
Comment 4 holyzolly 2024-10-11 19:11:10 UTC
Maybe has to with Nouveau? I have that.

And also not "sometimes" but each time, here.
Comment 6 Vlad Zahorodnii 2024-10-11 19:55:59 UTC
I suspect that it's a Qt 6.7.3 regression.

- I can reproduce the crash on a dev machine with Qt 6.7.3
- but I cannot reproduce it on a dev machine running with Qt built from source from the dev branch
Comment 7 Vlad Zahorodnii 2024-10-11 19:57:13 UTC
We also have crash reports from people running Plasma 6.1.5 + Qt 6.7.3
Comment 8 Nate Graham 2024-10-11 20:06:47 UTC
I have Qt 6.7.2, so if the Qt version is relevant here, that would explain why I couldn't reproduce it.
Comment 9 Thomas Braun 2024-10-11 20:45:54 UTC
Runs with qt 6.8.0
Comment 10 holyzolly 2024-10-12 11:07:56 UTC
Guess we'll just wait for 6.8.0 then
Comment 11 machaquiro 2024-10-15 09:34:43 UTC
Manjaro unstable updated today with QT 6.8 and the cube works again.
Don't know if it's related since KF 6.7 was updated too but Sound menu on Preferences works again the first time you open it.
Comment 12 Nate Graham 2024-10-15 12:43:15 UTC
It's an issue in Qt 6.7.3.
Comment 13 postix 2024-10-16 11:52:05 UTC
(In reply to Nate Graham from comment #12)
> It's an issue in Qt 6.7.3.

According to https://bugs.kde.org/show_bug.cgi?id=493116#c20 there will be no more 6.7.x releases. Is 6.8 also affected?
Comment 14 postix 2024-10-16 11:53:07 UTC
~Is 6.8 also affected?~ 

It's not as of the comments above. Sorry for the noise!
Comment 15 holyzolly 2024-10-19 10:03:45 UTC
6.8.0 Successfully eradicated this bug. Please close this report fixed, and thank you!