Summary: | chargethresholdhelper crashed in ChargeThresholdHelper::getthreshold with Plasma 6.1.90 | ||
---|---|---|---|
Product: | [Plasma] Powerdevil | Reporter: | Matt Fagnani <matt.fagnani> |
Component: | general | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | geraldo.simiao.kutz, natalie_clarius, nate, notmart |
Priority: | NOR | Keywords: | regression |
Version: | 6.1.90 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/powerdevil/-/commit/950ba15e9b38e4214a1877b8f035f999c1a0db89 | Version Fixed In: | 6.2.0 |
Sentry Crash Report: |
Description
Matt Fagnani
2024-09-23 04:48:05 UTC
That's weird, we have a check in place to ensure that a threshold does exist so I currently don't see how it can reach that point without having a value. does thins happen only when running on a VM? I've seen this problem on bare metal as well as I mentioned. The threshold might have been set but the pointer stopThresholdIt might've been corrupted or pointed to an inaccessible address. I looked at a few of the reports in the search of Nate in comment 1, but I didn't see ChargeThresholdHelper::getthreshold in their comments. When I searched for ChargeThresholdHelper::getthreshold nothing was found a couple days ago. Thanks. Same is happening with my baremetal installation after upgrade to 6.1.90 Operating System: Fedora Linux 41 KDE Plasma Version: 6.1.90 KDE Frameworks Version: 6.6.0 Qt Version: 6.7.2 Kernel Version: 6.11.0-63.fc41.x86_64 (64-bit) Graphics Platform: Wayland Processors: 8 × Intel® Core™ i7-3632QM CPU @ 2.20GHz Memory: 15.4 GiB of RAM Graphics Processor: Mesa Intel® HD Graphics 4000 PID: 11525 (chargethreshold) UID: 0 (root) GID: 0 (root) Signal: 11 (SEGV) Timestamp: Tue 2024-09-24 15:08:55 -03 (1h 39min ago) Command Line: /usr/libexec/kf6/kauth/chargethresholdhelper Executable: /usr/libexec/kf6/kauth/chargethresholdhelper Control Group: /system.slice/system-dbus\x2d:1.3\x2dorg.kde.powerdevil.chargethresholdhelper.slice/dbus-:1.3-org.kde.powerdevil.chargethresholdhelper@2.service Unit: dbus-:1.3-org.kde.powerdevil.chargethresholdhelper@2.service Slice: system-dbus\x2d:1.3\x2dorg.kde.powerdevil.chargethresholdhelper.slice Boot ID: 931fd089568a4c32bc0472cfb558d9ff Machine ID: 9fca7b934b0640838ecb94b41675382e Hostname: rivotril Storage: /var/lib/systemd/coredump/core.chargethreshold.0.931fd089568a4c32bc0472cfb558d9ff.11525.1727201335000000.zst (inaccessible) Package: powerdevil/6.1.90-1.fc41 build-id: e859affc2d5d3f7877dfc2856270e08b6faf1bd6 Message: Process 11525 (chargethreshold) of user 0 dumped core. Module kauth_helper_plugin.so from rpm kf6-kauth-6.6.0-1.fc41.x86_64 Module libbrotlicommon.so.1 from rpm brotli-1.1.0-5.fc41.x86_64 Module liblzma.so.5 from rpm xz-5.6.2-2.fc41.x86_64 Module libblkid.so.1 from rpm util-linux-2.40.2-4.fc41.x86_64 Module libbrotlidec.so.1 from rpm brotli-1.1.0-5.fc41.x86_64 Module libbz2.so.1 from rpm bzip2-1.0.8-19.fc41.x86_64 Module libgraphite2.so.3 from rpm graphite2-1.3.14-16.fc41.x86_64 Module libXext.so.6 from rpm libXext-1.3.6-2.fc41.x86_64 Module libxml2.so.2 from rpm libxml2-2.12.8-2.fc41.x86_64 Module libGLdispatch.so.0 from rpm libglvnd-1.7.0-5.fc41.x86_64 Module libXau.so.6 from rpm libXau-1.0.11-7.fc41.x86_64 Module libffi.so.8 from rpm libffi-3.4.6-3.fc41.x86_64 Module libselinux.so.1 from rpm libselinux-3.7-5.fc41.x86_64 Module libmount.so.1 from rpm util-linux-2.40.2-4.fc41.x86_64 Module libgmodule-2.0.so.0 from rpm glib2-2.82.0-1.fc41.x86_64 Module libfreetype.so.6 from rpm freetype-2.13.2-6.fc41.x86_64 Module libharfbuzz.so.0 from rpm harfbuzz-9.0.0-3.fc41.x86_64 Module libpng16.so.16 from rpm libpng-1.6.40-4.fc41.x86_64 Module libOpenGL.so.0 from rpm libglvnd-1.7.0-5.fc41.x86_64 Module libGLX.so.0 from rpm libglvnd-1.7.0-5.fc41.x86_64 Module libxkbcommon.so.0 from rpm libxkbcommon-1.7.0-4.fc41.x86_64 Module libfontconfig.so.1 from rpm fontconfig-2.15.0-8.fc41.x86_64 Module libEGL.so.1 from rpm libglvnd-1.7.0-5.fc41.x86_64 Module libxcb-keysyms.so.1 from rpm xcb-util-keysyms-0.4.1-6.fc41.x86_64 Module libXfixes.so.3 from rpm libXfixes-6.0.1-4.fc41.x86_64 Module libxcb-res.so.0 from rpm libxcb-1.17.0-2.fc41.x86_64 Module libxcb.so.1 from rpm libxcb-1.17.0-2.fc41.x86_64 Module libX11.so.6 from rpm libX11-1.8.10-2.fc41.x86_64 Module libgobject-2.0.so.0 from rpm glib2-2.82.0-1.fc41.x86_64 Module libgio-2.0.so.0 from rpm glib2-2.82.0-1.fc41.x86_64 Module libpolkit-gobject-1.so.0 from rpm polkit-125-1.fc41.x86_64 Module libQt6Gui.so.6 from rpm qt6-qtbase-6.7.2-6.fc41.x86_64 Module libKF6WindowSystem.so.6 from rpm kf6-kwindowsystem-6.6.0-1.fc41.x86_64 Module libpolkit-qt6-core-1.so.1 from rpm polkit-qt-1-0.200.0-2.fc41.x86_64 Module kauth_backend_plugin.so from rpm kf6-kauth-6.6.0-1.fc41.x86_64 Module libdbus-1.so.3 from rpm dbus-1.14.10-4.fc41.x86_64 Module libcap.so.2 from rpm libcap-2.70-4.fc41.x86_64 Module libpcre2-8.so.0 from rpm pcre2-10.44-1.fc41.1.x86_64 Module libicudata.so.74 from rpm icu-74.2-2.fc41.x86_64 Module libudev.so.1 from rpm systemd-256.6-1.fc41.x86_64 Module libQt6DBus.so.6 from rpm qt6-qtbase-6.7.2-6.fc41.x86_64 Module libcrypto.so.3 from rpm openssl-3.2.2-7.fc41.x86_64 Module libpcre2-16.so.0 from rpm pcre2-10.44-1.fc41.1.x86_64 Module libb2.so.1 from rpm libb2-0.98.1-12.fc41.x86_64 Module libdouble-conversion.so.3 from rpm double-conversion-3.3.0-4.fc41.x86_64 Module libsystemd.so.0 from rpm systemd-256.6-1.fc41.x86_64 Module libz.so.1 from rpm zlib-ng-2.1.7-3.fc41.x86_64 Module libglib-2.0.so.0 from rpm glib2-2.82.0-1.fc41.x86_64 Module libzstd.so.1 from rpm zstd-1.5.6-2.fc41.x86_64 Module libicuuc.so.74 from rpm icu-74.2-2.fc41.x86_64 Module libicui18n.so.74 from rpm icu-74.2-2.fc41.x86_64 Module libKF6CoreAddons.so.6 from rpm kf6-kcoreaddons-6.6.0-1.fc41.x86_64 Module libQt6Core.so.6 from rpm qt6-qtbase-6.7.2-6.fc41.x86_64 Module libKF6AuthCore.so.6 from rpm kf6-kauth-6.6.0-1.fc41.x86_64 Module chargethresholdhelper from rpm powerdevil-6.1.90-1.fc41.x86_64 here's the backtrace: Reading symbols from /usr/libexec/kf6/kauth/chargethresholdhelper... This GDB supports auto-downloading debuginfo from the following URLs: <https://debuginfod.fedoraproject.org/> Enable debuginfod for this session? (y or [n]) y Debuginfod has been enabled. To make this setting permanent, add 'set debuginfod enabled on' to .gdbinit. Downloading separate debug info for /usr/libexec/kf6/kauth/chargethresholdhelper Reading symbols from /home/geraldo/.cache/debuginfod_client/e859affc2d5d3f7877dfc2856270e08b6faf1bd6/debuginfo... Downloading separate debug info for /home/geraldo/.cache/debuginfod_client/e859affc2d5d3f7877dfc2856270e08b6faf1bd6/debuginfo [New LWP 11525] [New LWP 11526] [New LWP 11529] [New LWP 11527] [New LWP 11528] Downloading separate debug info for /usr/lib64/qt6/plugins/kf6/kauth/backend/kauth_backend_plugin.so Downloading separate debug info for /lib64/libpolkit-qt6-core-1.so.1 Downloading separate debug info for /home/geraldo/.cache/debuginfod_client/9a2c52a3b1296d2c3ce7a4016d6a751bc5cadc3e/debuginfo Downloading separate debug info for /lib64/libpolkit-gobject-1.so.0 Downloading separate debug info for /home/geraldo/.cache/debuginfod_client/de1028c6983d448708912d59ea56c605123b608b/debuginfo Downloading separate debug info for /usr/lib64/qt6/plugins/kf6/kauth/helper/kauth_helper_plugin.so [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Core was generated by `/usr/libexec/kf6/kauth/chargethresholdhelper'. Program terminated with signal SIGSEGV, Segmentation fault. Downloading source file /usr/src/debug/powerdevil-6.1.90-1.fc41.x86_64/daemon/chargethresholdhelper_linux.cpp #0 0x00005569ddec1abe in ChargeThresholdHelper::getthreshold (this=<optimized out>, args=...) --Type <RET> for more, q to quit, c to continue without paging-- at /usr/src/debug/powerdevil-6.1.90-1.fc41.x86_64/daemon/chargethresholdhelper_linux.cpp:132 132 const int stopThreshold = *stopThresholdIt; [Current thread is 1 (Thread 0x7fbc28698980 (LWP 11525))] (gdb) Seeing the same here on this Fedora 40 box since updating to 6.2 beta (which has almost daily updates from the COPR I use) Process 141228 (chargethreshold) of user 0 terminated abnormally without generating a coredump. Operating System: Fedora Linux 40 KDE Plasma Version: 6.1.90 KDE Frameworks Version: 6.6.0 Qt Version: 6.7.2 Kernel Version: 6.10.11-200.fc40.x86_64 (64-bit) Graphics Platform: Wayland Processors: 12 × AMD Ryzen 5 5600G with Radeon Graphics Memory: 29.2 GiB of RAM A possibly relevant merge request was started @ https://invent.kde.org/plasma/powerdevil/-/merge_requests/429 Git commit 0b708921b543974650202600b9f01e4957d178de by Alessandro Astone. Committed on 24/09/2024 at 21:16. Pushed by aleasto into branch 'master'. daemon: Do not compare const and non-const QMap iterator This is supposed to be valid C++ 20 [1], and yet it fails comparison. [1]: https://isocpp.org/files/papers/N4860.pdf, § 22.2.1 [container.requirements.general] p7 M +1 -1 daemon/chargethresholdhelper_linux.cpp https://invent.kde.org/plasma/powerdevil/-/commit/0b708921b543974650202600b9f01e4957d178de Git commit 950ba15e9b38e4214a1877b8f035f999c1a0db89 by Alessandro Astone. Committed on 24/09/2024 at 21:26. Pushed by aleasto into branch 'Plasma/6.2'. daemon: Do not compare const and non-const QMap iterator This is supposed to be valid C++ 20 [1], and yet it fails comparison. [1]: https://isocpp.org/files/papers/N4860.pdf, § 22.2.1 [container.requirements.general] p7 (cherry picked from commit 0b708921b543974650202600b9f01e4957d178de) M +1 -1 daemon/chargethresholdhelper_linux.cpp https://invent.kde.org/plasma/powerdevil/-/commit/950ba15e9b38e4214a1877b8f035f999c1a0db89 Confirm fixed on this Fedora 40 box, thank you. |