Summary: | System Settings crashes in std::default_delete<KPageViewPrivate> when closing Wallpaper KCM | ||
---|---|---|---|
Product: | [Applications] systemsettings | Reporter: | Patrick Silva <bugseforuns> |
Component: | kcm_wallpaper | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | cwo.kde, duha.bugs, filip.kendes1, kdedev, meven29, meven, nate, ric.prog |
Priority: | NOR | Keywords: | drkonqi, regression |
Version: | 6.1.3 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-workspace/-/commit/7a6d37654aaefcaae38cb20cfe62031ab159f3b3 | Version Fixed In: | |
Sentry Crash Report: | https://crash-reports.kde.org/organizations/kde/issues/4500/events/59207991a903445e843d01a5e0caae43/ | ||
Attachments: | New crash information added by DrKonqi |
Description
Patrick Silva
2024-07-31 13:22:49 UTC
Created attachment 172141 [details]
New crash information added by DrKonqi
DrKonqi auto-attaching complete backtrace.
Confirming, can reproduce. Operating System: Arch Linux KDE Plasma Version: 6.1.80 KDE Frameworks Version: 6.5.0 Qt Version: 6.9.0 Hm I can't reproduce this on Tuxedo OS with 6.1.3 or git master, nor with Fedora 40 (fully upgraded) in a VM. I wonder if it's something Arch-specific. I can reproduce it with current git master built on top of Fedora KDE 40. *** Bug 491259 has been marked as a duplicate of this bug. *** I can also reproduce this reliably on git-master running on Solus, as well as 6.1.3 on another Solus system 1. Open System Settings via command line `systemsettings` 2. Click Wallpaper 3. Change Wallpaper type 4. Click close and then Discard on the confirmation pop up Crash From command line ❯ systemsettings qt.qpa.wayland: eglSwapBuffers failed with 0x300d, surface: 0x0 kf.coreaddons: "Could not find plugin org.kde.potd" qrc:/kcm/kcm_wallpaper/main.qml:132: TypeError: Cannot call method 'hasOwnProperty' of null kf.coreaddons: "Could not find plugin org.kde.image" kf.coreaddons: "Could not find plugin org.kde.image" kf.coreaddons: "Could not find plugin org.kde.slideshow" file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/SlideshowComponent.qml: No such file or directory kf.coreaddons: "Could not find plugin org.kde.image" KCrash: Application 'systemsettings' crashing... crashRecursionCounter = 2 [1] 290990 segmentation fault (core dumped) systemsettings Operating System: Solus 4.5 KDE Plasma Version: 6.1.3 KDE Frameworks Version: 6.4.0 Qt Version: 6.7.2 Kernel Version: 6.9.12-297.current (64-bit) Graphics Platform: Wayland (In reply to TraceyC from comment #6) > I can also reproduce this reliably on git-master running on Solus, as well > as 6.1.3 on another Solus system > > 1. Open System Settings via command line `systemsettings` > 2. Click Wallpaper > 3. Change Wallpaper type > 4. Click close and then Discard on the confirmation pop up > Crash > > From command line > > ❯ systemsettings > qt.qpa.wayland: eglSwapBuffers failed with 0x300d, surface: 0x0 > kf.coreaddons: "Could not find plugin org.kde.potd" > qrc:/kcm/kcm_wallpaper/main.qml:132: TypeError: Cannot call method > 'hasOwnProperty' of null > kf.coreaddons: "Could not find plugin org.kde.image" > kf.coreaddons: "Could not find plugin org.kde.image" > kf.coreaddons: "Could not find plugin org.kde.slideshow" > file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/ > SlideshowComponent.qml: No such file or directory > kf.coreaddons: "Could not find plugin org.kde.image" > KCrash: Application 'systemsettings' crashing... crashRecursionCounter = 2 > [1] 290990 segmentation fault (core dumped) systemsettings > > Operating System: Solus 4.5 > KDE Plasma Version: 6.1.3 > KDE Frameworks Version: 6.4.0 > Qt Version: 6.7.2 > Kernel Version: 6.9.12-297.current (64-bit) > Graphics Platform: Wayland I don't reproduce it with: Operating System: Arch Linux KDE Plasma Version: 6.1.5 KDE Frameworks Version: 6.5.0 Qt Version: 6.7.2 Kernel Version: 6.10.6-arch1-1 (64-bit) Graphics Platform: Wayland Would appreciate a confirmation, from someone else. Then mark this as RESOLVED WORKSFORME. I believe this was fixed by a Plasma maintenance version. Can reproduce on Plasma 6.2 beta with the steps from comment 0. Operating System: Arch Linux KDE Plasma Version: 6.1.90 KDE Frameworks Version: 6.5.0 Qt Version: 6.8.0 Graphics Platform: Wayland A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4693 (In reply to Patrick Silva from comment #8) > Can reproduce on Plasma 6.2 beta with the steps from comment 0. > > Operating System: Arch Linux > KDE Plasma Version: 6.1.90 > KDE Frameworks Version: 6.5.0 > Qt Version: 6.8.0 > Graphics Platform: Wayland Could you someone reproducing the issue could test my merge request ? Unfortunately I can't build plasma-workspace on my system. $ cmake .. ... -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success -- Performing Test COMPILER_HAS_DEPRECATED_ATTR -- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success -- Checking for module 'xkbcommon' -- Found xkbcommon, version 1.7.0 CMake Error at libkmpris/autotests/CMakeLists.txt:16 (find_program): Could not find kglobalacceld_PATH using the following names: kglobalacceld -- Configuring incomplete, errors occurred! Operating System: Arch Linux KDE Plasma Version: 6.1.5 KDE Frameworks Version: 6.5.0 Qt Version: 6.7.2 Kernel Version: 6.10.9-arch1-2 (64-bit) Graphics Platform: Wayland 1 = Crash! Processors: 8 × 11th Gen Intel® Core™ i5-1135G7 @ 2.40GHz Memory: 31.1 GiB of RAM Graphics Processor: Mesa Intel® Xe Graphics Manufacturer: Dell Inc. Product Name: Latitude 3420 2 = Ok Processors: 20 × 12th Gen Intel® Core™ i7-12700H Memory: 15,3 GiB of RAM Graphics Processor: Mesa Intel® Graphics Manufacturer: LENOVO Product Name: 82TB System Version: Legion 5 15IAH7H 3 = Ok Processors: 28 × Intel® Xeon® CPU E5-2697 v3 @ 2.60GHz Memory: 62,7 GiB of RAM Graphics Processor: AMD Radeon RX 580 2048SP Manufacturer: INTEL >Could you someone reproducing the issue could test my merge request ? I can unfortunately no longer reproduce, neither with 6.1.5 nor with master. (In reply to Patrick Silva from comment #11) > Unfortunately I can't build plasma-workspace on my system. > > $ cmake .. > ... > -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY > -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success > -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY > -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success > -- Performing Test COMPILER_HAS_DEPRECATED_ATTR > -- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success > -- Checking for module 'xkbcommon' > -- Found xkbcommon, version 1.7.0 > CMake Error at libkmpris/autotests/CMakeLists.txt:16 (find_program): > Could not find kglobalacceld_PATH using the following names: kglobalacceld > > > -- Configuring incomplete, errors occurred! Can you try building without tests? Not sure how you build, I do this in kde-builder with: kde-builder --cmake-options=-DBUILD_TESTING=OFF Thank you very much, the following command worked: $ cmake .. -DBUILD_TESTING=OFF Méven's merge request fixes the crash on my system. :) (In reply to Patrick Silva from comment #14) > Thank you very much, the following command worked: > > $ cmake .. -DBUILD_TESTING=OFF > > Méven's merge request fixes the crash on my system. :) I merged to master https://invent.kde.org/plasma/plasma-workspace/-/commit/6893ad4d4c53ceb62b998b73e012f7f9f13ffff7. This should be fixed in master, can you (one last time) confirm :) If it does not fix it then it is missing: ``` disconnect(m_outputOrderWatcher, &OutputOrderWatcher::outputOrderChanged, this, nullptr); ``` in dtor, or another way to avoid the wallpaper config to get updated. I still don't quite pinpoint how the application can be in the stacktrace state exactly. > KDE Frameworks Version: 6.5.0 Do you still have this version @Patrick Silva ? Git commit b757708b06611fb521b75120266a498d4a70b1a0 by Méven Car. Committed on 17/09/2024 at 09:04. Pushed by meven into branch 'master'. WallpaperKcm: disconnect from child object To avoid it triggering a slot during destruction. M +5 -0 kcms/wallpaper/wallpapermodule.cpp M +1 -1 kcms/wallpaper/wallpapermodule.h https://invent.kde.org/plasma/plasma-workspace/-/commit/b757708b06611fb521b75120266a498d4a70b1a0 Git commit 7a6d37654aaefcaae38cb20cfe62031ab159f3b3 by Méven Car. Committed on 18/09/2024 at 07:08. Pushed by meven into branch 'Plasma/6.2'. WallpaperKcm: disconnect from child object To avoid it triggering a slot during destruction. (cherry picked from commit b757708b06611fb521b75120266a498d4a70b1a0) M +5 -0 kcms/wallpaper/wallpapermodule.cpp M +1 -1 kcms/wallpaper/wallpapermodule.h https://invent.kde.org/plasma/plasma-workspace/-/commit/7a6d37654aaefcaae38cb20cfe62031ab159f3b3 *** Bug 486572 has been marked as a duplicate of this bug. *** |