Summary: | kded5 keeps crashing in LocationUpdater::resetLocator() after upgrade | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Kamil Dudka <kdudka> |
Component: | Night Color | Assignee: | Alexander Lohnau <alexander.lohnau> |
Status: | RESOLVED NOT A BUG | ||
Severity: | crash | CC: | alexander.lohnau, bharadwaj.raju777, contactbay, nate |
Priority: | NOR | Keywords: | regression |
Version: | 5.24.4 | ||
Target Milestone: | 1.0 | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Kamil Dudka
2022-04-30 19:45:18 UTC
The cause is similar to bug #423864 comment #4: m_configWatcher->config() for some reason returns nullptr. *** Bug 453734 has been marked as a duplicate of this bug. *** Please attach your ~/.config/kwinrc file, then we can check how the code behaves with your config file and see if the issue can be reproduced. On my system and kdesrc-build setups, it works as expected without crashing. Not having the exact same problem as mentioned in this report since I don't have nm-applet installed but as I mentioned in bug report 453734 there seems to be an issue with location service. When I run command 'kded5 --replace' it gives: kf.coreaddons: "Could not load plugin from /usr/lib/qt/plugins/plasma/geolocationprovider/plasma-geolocation-gps.so: Cannot load library /usr/lib/qt/plugins/plasma/geolocationprovider/plasma-geolocation-gps.so: (libgps.so.29: cannot open shared object file: No such file or directory)" Hence night color location service does not work. @raguse Do you experience any crash though? (In reply to Alexander Lohnau from comment #5) > @raguse Do you experience any crash though? No, no crash at all at the frontend (plasmashell). I haven't check logs systematically but I get the repeated error with kded5 --replace or also kcmshell5 kcm_nightcolor. Like said, I don't have nm-applet installed. (In reply to raguse from comment #6) > (In reply to Alexander Lohnau from comment #5) > > @raguse Do you experience any crash though? > > No, no crash at all at the frontend (plasmashell). I haven't check logs > systematically but I get the repeated error with kded5 --replace or also > kcmshell5 kcm_nightcolor. Like said, I don't have nm-applet installed. So I just compared to a virtual machine installation that runs the same OS like I have on my machine but with Plasma 5.24.2 and Frameworks 5.91 (Qt 5.15.2) and there I get the same error as just reported but definitely the location detection service with kcm_nightcolor works. With Plasma 5.24.5 and FW 5.93 now I have these errors in addition: file:///usr/lib/qt/qml/org/kde/kirigami.2/ApplicationItem.qml:151:9: QML Shortcut: Shortcut: Only binding to one of multiple key bindings associated with 13. Use 'sequences: [ <key> ]' to bind to all of them. file:///usr/lib/qt/qml/org/kde/kirigami.2/ApplicationItem.qml:147:9: QML Shortcut: Shortcut: Only binding to one of multiple key bindings associated with 14. Use 'sequences: [ <key> ]' to bind to all of them. So I don't know now where the error comes from now, Frameworks or NetworkManager. I was observing the crashes (approx. one crash per second) on multiple machines after the update. It did not seem related to anything specific in ~/.config/kwinrc. On one of the machines the file has this content: [$Version] update_info=kwin.upd:enable-scale-effect-by-default [Compositing] Enabled=false OpenGLIsUnsafe=false [Desktops] Id_1=80512e95-79c0-44cc-9d1d-8d0c892714de Number=1 Rows=1 On another machine the file has this content: [$Version] update_info=kwin.upd:replace-scalein-with-scale,kwin.upd:port-minimizeanimation-effect-to-js,kwin.upd:port-scale-effect-to-js,kwin.upd:port-dimscreen-effect-to-js,kwin.upd:auto-bordersize,kwin.upd:animation-speed,kwin.upd:desktop-grid-click-behavior,kwin.upd:no-swap-encourage,kwin.upd:make-translucency-effect-disabled-by-default,kwin.upd:remove-flip-switch-effect,kwin.upd:remove-cover-switch-effect,kwin.upd:remove-cubeslide-effect,kwin.upd:remove-xrender-backend,kwin.upd:enable-scale-effect-by-default [Compositing] Enabled=false OpenGLIsUnsafe=true [Desktops] Id_1=2545027f-687a-4bc2-9d8c-ad4e20f1c3b8 Number=1 Rows=1 [org.kde.kdecoration2] BorderSize=Normal BorderSizeAuto=false ButtonsOnLeft=MS ButtonsOnRight=HIAX CloseOnDoubleClickOnMenu=false ShowToolTips=true library=org.kde.kwin.aurorae theme=kwin4_decoration_qml_plastik Out of curiosity I just upgraded all NetworkManager packages within my mentioned virtual machine where night color location service is still working to the latest versions. That includes plasma-nm version 5.24-5-1, networkmanager-qt, NM version 1.36.4-1 amongst others. Night color location service detection still works with plasma 5.24.2 and FW 5.91. I think we can exclude NetworManager as the cause. Another update: The issue reported by me in bug report 453734 seems to be solved with Frameworks 5.94 which I just applied on an VM Arch install which was released today to the repository. I do get location information again in kcm_nightlight. Hopefully it is the same on my main machine with Manjaro once I get the packages in the repo. That leaves the issue left from kded crash as originally reported here. Hopefully it's also fixed for the reporting person. The VM OS Info I used: Operating System: Arch Linux KDE Plasma Version: 5.24.5 KDE Frameworks Version: 5.94.0 Qt Version: 5.15.4 Kernel Version: 5.17.7-arch1-1 (64-bit) Graphics Platform: X11 Processors: 2 × Intel® Core™ i5-4210Y CPU @ 1.50GHz Memory: 3,8 GiB of RAM Graphics Processor: SVGA3D; build: RELEASE; LLVM; > kf.coreaddons: "Could not load plugin from /usr/lib/qt/plugins/plasma/geolocationprovider/plasma-geolocation-gps.so:
> Cannot load library /usr/lib/qt/plugins/plasma/geolocationprovider/plasma-geolocation-gps.so:
> (libgps.so.29: cannot open shared object file: No such file or directory)"
This is caused by a local installation issue: missing file, or non-recompiled library. Check your installation. Since you're on Gentoo, maybe just give everything a clean build to be safe.
(In reply to Nate Graham from comment #11) > > kf.coreaddons: "Could not load plugin from /usr/lib/qt/plugins/plasma/geolocationprovider/plasma-geolocation-gps.so: > > Cannot load library /usr/lib/qt/plugins/plasma/geolocationprovider/plasma-geolocation-gps.so: > > (libgps.so.29: cannot open shared object file: No such file or directory)" > This is caused by a local installation issue: missing file, or > non-recompiled library. Check your installation. Since you're on Gentoo, > maybe just give everything a clean build to be safe. @Nate I guess it's because my Notebook machine is not a GPS device. I interpret it like this. Anyway the location service in night color seems solved now with FW 5.94 upgrade. Many thanks!! I do not think that the problem reported in comment #0 has been resolved. Bug #453734 has obviously not much in common with the SIGSEGV captured in comment #0. m_configWatcher->config() could hardly become nullptr due to missing plasma-geolocation-gps.so. The problem reported in comment #0 was actually caused by bug #457285. |