Summary: | Three kwin and plasmashell kconf update programs crashed when Plasma started | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Matt Fagnani <matt.fagnani> |
Component: | generic-crash | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED UPSTREAM | ||
Severity: | crash | CC: | christoph, fabian, nicolas.fella, thiago, viniciush.dev |
Priority: | NOR | ||
Version First Reported In: | 6.2.90 | ||
Target Milestone: | 1.0 | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
URL: | https://bugreports.qt.io/browse/QTBUG-133500 | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Matt Fagnani
2025-02-05 08:37:11 UTC
Tumbleweed hit the same issues with Qt 6.8.2: https://openqa.opensuse.org/tests/4830727#step/coredump_collect/7 The crashes disappear after reverting two commits: fabian@fvogt-thinkpad:~/qtbase/build> git revert 38f287443c82510719079a254910424b5e510b25 [losgelöster HEAD a64e451d703] Revert "QThread/Unix: move the pthread_key to a file-scope static" 1 file changed, 11 insertions(+), 28 deletions(-) fabian@fvogt-thinkpad:~/qtbase/build> git revert 5acbda4b06ea5f494b56353ff9df60e1a016b55a [losgelöster HEAD a4fd6f6114d] Revert "QThread/Unix: revert to pthread destruction instead of thread_local" Reported upstream as https://bugreports.qt.io/browse/QTBUG-133500 Possibly related to https://bugreports.qt.io/browse/QTBUG-133206 One of the crashing applications is https://invent.kde.org/plasma/kwin/-/blob/master/kconf_update/kwin-6.0-reset-active-mouse-screen.cpp I don't see any global statics. (In reply to Thiago Macieira from comment #4) > One of the crashing applications is > https://invent.kde.org/plasma/kwin/-/blob/master/kconf_update/kwin-6.0-reset- > active-mouse-screen.cpp > > I don't see any global statics. They are inside KConfig Do note the lack of QCoreApplication implies the Qt state is invalid. I don't know if it helps to have it started, but it should be done anyway. Nicolas, could you confirm that the updated Qt from the 6.8 branch does not crash? Jan Grulich backported the patches suggested by Thiago at https://bugreports.qt.io/browse/QTBUG-133500 https://src.fedoraproject.org/rpms/qt6-qtbase/c/0038317cfdf611eb2d220b9ed196452921b893ae?branch=rawhide. I updated to qt6-qtbase-6.8.2-2.fc42 which had the patches. The kwin and plasmashell kconf update programs didn't crash when I ran them manually in konsole after the update and restarting Plasma 6.2.90. Each program had output lines like QThreadStorage: Thread 0x55c3bb15fc50 exited after QThreadStorage1 destroyed. Thanks. Thanks for the information. I need to understand what is happening, though I can't promise to fix anything. And please add the missing QCoreApplication to those tools. I've compiled kwin-6.0-reset-active-mouse-screen and I can reproduce some crashes. I don't know if it's the same, but I'll investigate. i think i'm also affected by this bug, i can't log in to kde using sddm(the logs look like the ones from the qt-bug), but i can from the tty Operating System: Fedora Linux 41 KDE Plasma Version: 6.3.0 KDE Frameworks Version: 6.10.0 Qt Version: 6.8.2 Kernel Version: 6.12.13-200.fc41.x86_64 (64-bit) Graphics Platform: Wayland Processors: 16 × AMD Ryzen 7 5700U with Radeon Graphics Memory: 7,6 GB of RAM Graphics Processor: AMD Radeon Graphics Manufacturer: LENOVO Product Name: 82MF System Version: IdeaPad 3 15ALC6 (In reply to Vinícius from comment #11) > i think i'm also affected by this bug, i can't log in to kde using sddm(the > logs look like the ones from the qt-bug), but i can from the tty That's definitely unrelated to the Qt bug. (In reply to Fabian Vogt from comment #12) > (In reply to Vinícius from comment #11) > > i think i'm also affected by this bug, i can't log in to kde using sddm(the > > logs look like the ones from the qt-bug), but i can from the tty > > That's definitely unrelated to the Qt bug. i have the same QthreadStorage destroyed in my logs so i thought it would be the same i had the fev 15 16:47:45 fedora-laptop sddm-helper-start-wayland[12228]: "QThreadStorage: Thread 0x55df91d5ea90 exited after QThreadStorage 7 destroyed\n" fev 15 16:47:45 fedora-laptop sddm-helper-start-wayland[12228]: Stopping... "kwin_wayland" fev 15 16:47:45 fedora-laptop systemd[1]: Starting systemd-hostnamed.service - Hostname Service... fev 15 16:47:45 fedora-laptop audit: BPF prog-id=101 op=LOAD fev 15 16:47:45 fedora-laptop audit: BPF prog-id=100 op=LOAD fev 15 16:47:45 fedora-laptop audit: BPF prog-id=99 op=LOAD fev 15 16:47:45 fedora-laptop audit: BPF prog-id=91 op=UNLOAD fev 15 16:47:45 fedora-laptop audit: BPF prog-id=92 op=UNLOAD [...] fev 15 16:47:45 fedora-laptop sddm-helper-start-wayland[12228]: "kwin_wayland_drm: atomic commit failed: Permission denied\n" fev 15 16:47:45 fedora-laptop sddm-helper-start-wayland[12228]: "kwin_wayland_drm: atomic commit failed: Permission denied\n" fev 15 16:47:45 fedora-laptop sddm-helper[14804]: Starting Wayland user session: "/etc/sddm/wayland-session" "/usr/libexec/plasma-dbus-run-session-if-needed /usr/bin/startplasma-wayland" Please try Qt 6.8.3 or later. |