Bug 466904 - Powerdevil keeps crashing after resuming from Screen Energy Saving
Summary: Powerdevil keeps crashing after resuming from Screen Energy Saving
Status: RESOLVED DUPLICATE of bug 466181
Alias: None
Product: Powerdevil
Classification: Plasma
Component: general (show other bugs)
Version: 5.27.2
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-05 19:30 UTC by Wei Hao
Modified: 2023-03-06 23:36 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Screenshot of journalctl (890.50 KB, image/png)
2023-03-05 19:32 UTC, Wei Hao
Details
Screenshot of journalctl (1.39 MB, image/png)
2023-03-05 19:33 UTC, Wei Hao
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wei Hao 2023-03-05 19:30:14 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

Powerdevil  crashes every time after upgrading to 5.27.2 when resuming from Screen Energy Saving mode.
**KDE is running in Wayland mode.**

STEPS TO REPRODUCE
1. Let the device idle to enter Screen Energy Saving. My device is connected to an LG C2 OLED TV monitor through HDMI. After the monitor said the signal lost. Turn off the monitor
2. Wait for 10 mins
3. Turn on the monitor and move the mice or click the keyboard.
4. Enter the OS and you can find powerdevil keeps crashing and there are tons of logs every second during the idle time.

OBSERVED RESULT
powerdevil crashed and "qt.qpa.wayland: Creating a fake screen in order for Qt not to crash" many times and all running apps like fcitx5, telegram, etc tray icon are missing. Though they are still running.
EXPECTED RESULT
Log in back normally

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Linux beelink-gtr6 6.2.2-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 03 Mar 2023 15:58:31 +0000 x86_64 GNU/Linux
(available in About System)
KDE Plasma Version: 5.27.2
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
CPU: 16 × AMD Ryzen 9 6900HX with Radeon Graphics
GPU: Integrated AMD Radeon 680M

ADDITIONAL INFORMATION
Some crash logs
```
Mar 06 02:49:53 beelink-gtr6 systemd[1]: systemd-coredump@481-40677-0.service: Deactivated successfully.
Mar 06 02:49:53 beelink-gtr6 systemd[1647]: plasma-powerdevil.service: Main process exited, code=dumped, status=11/SEGV
Mar 06 02:49:53 beelink-gtr6 systemd[1647]: plasma-powerdevil.service: Failed with result 'timeout'.
Mar 06 02:49:53 beelink-gtr6 systemd[1647]: Failed to start Powerdevil.
Mar 06 02:49:53 beelink-gtr6 systemd[1647]: plasma-powerdevil.service: Consumed 1.524s CPU time.
Mar 06 02:49:53 beelink-gtr6 systemd[1647]: plasma-powerdevil.service: Scheduled restart job, restart counter is at 121.
Mar 06 02:49:53 beelink-gtr6 systemd[1647]: Stopped Powerdevil.
Mar 06 02:49:53 beelink-gtr6 systemd[1647]: plasma-powerdevil.service: Consumed 1.524s CPU time.
Mar 06 02:49:53 beelink-gtr6 systemd[1647]: Starting Powerdevil...
Mar 06 02:49:53 beelink-gtr6 org_kde_powerdevil[40687]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Mar 06 02:49:53 beelink-gtr6 org_kde_powerdevil[40687]: org.kde.powerdevil: org.kde.powerdevil.chargethresholdhelper.getthreshold failed "Charge thresholds are not supported by the kernel for this hardware"
Mar 06 02:49:53 beelink-gtr6 org_kde_powerdevil[40687]: org.kde.powerdevil: org.kde.powerdevil.backlighthelper.brightness failed
Mar 06 02:49:54 beelink-gtr6 org_kde_powerdevil[40687]: KCrash: Attempting to start /usr/lib/org_kde_powerdevil
Mar 06 02:49:54 beelink-gtr6 org_kde_powerdevil[40687]: 32 -- exe=/usr/lib/org_kde_powerdevil
Mar 06 02:49:54 beelink-gtr6 org_kde_powerdevil[40687]: 17 -- platform=wayland
Mar 06 02:49:54 beelink-gtr6 org_kde_powerdevil[40687]: 27 -- appname=org_kde_powerdevil
Mar 06 02:49:54 beelink-gtr6 org_kde_powerdevil[40687]: 17 -- apppath=/usr/lib
Mar 06 02:49:54 beelink-gtr6 org_kde_powerdevil[40687]: 10 -- signal=11
Mar 06 02:49:54 beelink-gtr6 org_kde_powerdevil[40687]: 10 -- pid=40687
Mar 06 02:49:54 beelink-gtr6 org_kde_powerdevil[40687]: 18 -- appversion=5.27.2
Mar 06 02:49:54 beelink-gtr6 org_kde_powerdevil[40687]: 40 -- programname=KDE Power Management System
Mar 06 02:49:54 beelink-gtr6 org_kde_powerdevil[40687]: 31 -- bugaddress=submit@bugs.kde.org
Mar 06 02:49:54 beelink-gtr6 org_kde_powerdevil[40687]: 23 -- productname=Powerdevil
Mar 06 02:49:54 beelink-gtr6 org_kde_powerdevil[40687]: 15 -- restarted=true
Mar 06 02:49:54 beelink-gtr6 org_kde_powerdevil[40687]: KCrash: crashing... crashRecursionCounter = 2
Mar 06 02:49:54 beelink-gtr6 org_kde_powerdevil[40687]: KCrash: Application Name = org_kde_powerdevil path = /usr/lib pid = 40687
Mar 06 02:49:54 beelink-gtr6 org_kde_powerdevil[40687]: KCrash: Arguments: /usr/lib/org_kde_powerdevil
Mar 06 02:49:54 beelink-gtr6 org_kde_powerdevil[40687]: KCrash: Attempting to start /usr/lib/drkonqi
Mar 06 02:49:54 beelink-gtr6 org_kde_powerdevil[40722]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Mar 06 02:49:54 beelink-gtr6 drkonqi[40723]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Mar 06 02:49:54 beelink-gtr6 org_kde_powerdevil[40722]: org.kde.powerdevil: org.kde.powerdevil.chargethresholdhelper.getthreshold failed "Charge thresholds are not supported by the kernel for this hardware"
Mar 06 02:49:54 beelink-gtr6 org_kde_powerdevil[40722]: org.kde.powerdevil: org.kde.powerdevil.backlighthelper.brightness failed
Mar 06 02:49:54 beelink-gtr6 drkonqi[40723]: kf.notifications: env says KDE is running but SNI unavailable -- check KDE_FULL_SESSION and XDG_CURRENT_DESKTOP
Mar 06 02:49:54 beelink-gtr6 drkonqi[40723]: kf5idletime_wayland: This plugin does not support polling idle time
Mar 06 02:49:55 beelink-gtr6 org_kde_powerdevil[40722]: KCrash: Attempting to start /usr/lib/org_kde_powerdevil
Mar 06 02:49:55 beelink-gtr6 org_kde_powerdevil[40722]: 32 -- exe=/usr/lib/org_kde_powerdevil
Mar 06 02:49:55 beelink-gtr6 org_kde_powerdevil[40722]: 17 -- platform=wayland
Mar 06 02:49:55 beelink-gtr6 org_kde_powerdevil[40722]: 27 -- appname=org_kde_powerdevil
Mar 06 02:49:55 beelink-gtr6 org_kde_powerdevil[40722]: 17 -- apppath=/usr/lib
Mar 06 02:49:55 beelink-gtr6 org_kde_powerdevil[40722]: 10 -- signal=11
Mar 06 02:49:55 beelink-gtr6 org_kde_powerdevil[40722]: 10 -- pid=40722
Mar 06 02:49:55 beelink-gtr6 org_kde_powerdevil[40722]: 18 -- appversion=5.27.2
Mar 06 02:49:55 beelink-gtr6 org_kde_powerdevil[40722]: 40 -- programname=KDE Power Management System
Mar 06 02:49:55 beelink-gtr6 org_kde_powerdevil[40722]: 31 -- bugaddress=submit@bugs.kde.org
Mar 06 02:49:55 beelink-gtr6 org_kde_powerdevil[40722]: 23 -- productname=Powerdevil
Mar 06 02:49:55 beelink-gtr6 org_kde_powerdevil[40722]: 15 -- restarted=true
Mar 06 02:49:55 beelink-gtr6 org_kde_powerdevil[40722]: KCrash: crashing... crashRecursionCounter = 2
Mar 06 02:49:55 beelink-gtr6 org_kde_powerdevil[40722]: KCrash: Application Name = org_kde_powerdevil path = /usr/lib pid = 40722
Mar 06 02:49:55 beelink-gtr6 org_kde_powerdevil[40722]: KCrash: Arguments: /usr/lib/org_kde_powerdevil
Mar 06 02:49:55 beelink-gtr6 org_kde_powerdevil[40751]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Mar 06 02:49:55 beelink-gtr6 systemd[1]: Started Process Core Dump (PID 40752/UID 0).
Mar 06 02:49:55 beelink-gtr6 org_kde_powerdevil[40751]: org.kde.powerdevil: org.kde.powerdevil.chargethresholdhelper.getthreshold failed "Charge thresholds are not supported by the kernel for this hardware"
Mar 06 02:49:55 beelink-gtr6 org_kde_powerdevil[40751]: org.kde.powerdevil: org.kde.powerdevil.backlighthelper.brightness failed
Mar 06 02:49:55 beelink-gtr6 systemd-coredump[40759]: Removed old coredump core.org_kde_powerde.1000.87a3b3f4ca1342c0bebbf99924ad0b10.193576.1677990521000000.zst.
Mar 06 02:49:55 beelink-gtr6 systemd-coredump[40759]: [🡕] Process 40722 (org_kde_powerde) of user 1000 dumped core.
                                                      
                                                      Stack trace of thread 40722:
                                                      #0  0x00007fb6b92a08ec n/a (libc.so.6 + 0x878ec)
                                                      #1  0x00007fb6b9251ea8 raise (libc.so.6 + 0x38ea8)
                                                      #2  0x00007fb6ba79137c _ZN6KCrash19defaultCrashHandlerEi (libKF5Crash.so.5 + 0x737c)
                                                      #3  0x00007fb6b9251f50 n/a (libc.so.6 + 0x38f50)
                                                      #4  0x00007fb6ba7ac479 wl_proxy_marshal_array_flags (libwayland-client.so.0 + 0xa479)
                                                      #5  0x00007fb6ba7acafa wl_proxy_marshal_flags (libwayland-client.so.0 + 0xaafa)
                                                      #6  0x00007fb6b0471f5b n/a (libKF5ScreenDpms.so.8 + 0x6f5b)
                                                      #7  0x00007fb6b0472960 n/a (libKF5ScreenDpms.so.8 + 0x7960)
                                                      #8  0x00007fb6b9abea71 n/a (libQt5Core.so.5 + 0x2bea71)
                                                      #9  0x00007fb6b3eb6adf _ZN15QtWaylandClient15QWaylandDisplay19addRegistryListenerEPFvPvP11wl_registryjRK7QStringjES1_ (libQt5WaylandClient.so.5 + 0x74adf)
                                                      #10 0x00007fb6b3ed4c80 _ZN23QWaylandClientExtension19addRegistryListenerEv (libQt5WaylandClient.so.5 + 0x92c80)
                                                      #11 0x00007fb6b9a9d51e _ZNK11QMetaMethod6invokeEP7QObjectN2Qt14ConnectionTypeE22QGenericReturnArgument16QGenericArgumentS5_S5_S5_S5_S5_S5_S5_S5_S5_ (libQt5Core.so.5 + 0x29d51e)
                                                      #12 0x00007fb6b9a9df10 _ZN11QMetaObject12invokeMethodEP7QObjectPKcN2Qt14ConnectionTypeE22QGenericReturnArgument16QGenericArgumentS7_S7_S7_S7_S7_S7_S7_S7_S7_ (libQt5Core.so.5 + 0x29df10)
                                                      #13 0x00007fb6b0471d8c n/a (libKF5ScreenDpms.so.8 + 0x6d8c)
                                                      #14 0x00007fb6b0473928 _ZNK7KScreen4Dpms11isSupportedEv (libKF5ScreenDpms.so.8 + 0x8928)
                                                      #15 0x00007fb6ba75ad70 _ZN10PowerDevil10ActionPool4initEPNS_4CoreE (libpowerdevilcore.so.2 + 0x12d70)
                                                      #16 0x00007fb6ba762a9d _ZN10PowerDevil4Core14onBackendReadyEv (libpowerdevilcore.so.2 + 0x1aa9d)
                                                      #17 0x00007fb6b9abea71 n/a (libQt5Core.so.5 + 0x2bea71)
                                                      #18 0x00007fb6b0c9e35b _ZN23PowerDevilUPowerBackend18initWithBrightnessEb (powerdevilupowerbackend.so + 0x1135b)
                                                      #19 0x00007fb6b9abea71 n/a (libQt5Core.so.5 + 0x2bea71)
                                                      #20 0x00007fb6b0c95414 _ZN23PowerDevilUPowerBackend24brightnessSupportQueriedEb (powerdevilupowerbackend.so + 0x8414)
                                                      #21 0x00007fb6b9abea71 n/a (libQt5Core.so.5 + 0x2bea71)
                                                      #22 0x00007fb6ba5e343a _ZN4KJob6resultEPS_NS_14QPrivateSignalE (libKF5CoreAddons.so.5 + 0x5a43a)
                                                      #23 0x00007fb6ba5e954c _ZN4KJob9finishJobEb (libKF5CoreAddons.so.5 + 0x6054c)
                                                      #24 0x00007fb6b9abea71 n/a (libQt5Core.so.5 + 0x2bea71)
                                                      #25 0x00007fb6b1f27785 n/a (kauth_helper_plugin.so + 0xa785)
                                                      #26 0x00007fb6b1f27e91 n/a (kauth_helper_plugin.so + 0xae91)
                                                      #27 0x00007fb6ba56a45f n/a (libQt5DBus.so.5 + 0x6145f)
                                                      #28 0x00007fb6b9ab1bb0 _ZN7QObject5eventEP6QEvent (libQt5Core.so.5 + 0x2b1bb0)
                                                      #29 0x00007fb6b9a8df48 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5 + 0x28df48)
                                                      #30 0x00007fb6b9a8ea53 _ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData (libQt5Core.so.5 + 0x28ea53)
                                                      #31 0x00007fb6b9ad4e88 n/a (libQt5Core.so.5 + 0x2d4e88)
                                                      #32 0x00007fb6b851682b g_main_context_dispatch (libglib-2.0.so.0 + 0x5582b)
                                                      #33 0x00007fb6b856dcc9 n/a (libglib-2.0.so.0 + 0xaccc9)
                                                      #34 0x00007fb6b85150e2 g_main_context_iteration (libglib-2.0.so.0 + 0x540e2)
                                                      #35 0x00007fb6b9ad8c6c _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2d8c6c)
                                                      #36 0x00007fb6b9a866ec _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2866ec)
                                                      #37 0x00007fb6b9a91219 _ZN16QCoreApplication4execEv (libQt5Core.so.5 + 0x291219)
                                                      #38 0x000055ebf9eb155b n/a (org_kde_powerdevil + 0x655b)
                                                      #39 0x00007fb6b923c790 n/a (libc.so.6 + 0x23790)
                                                      #40 0x00007fb6b923c84a __libc_start_main (libc.so.6 + 0x2384a)
                                                      #41 0x000055ebf9eb2095 n/a (org_kde_powerdevil + 0x7095)
                                                      
                                                      Stack trace of thread 40728:
                                                      #0  0x00007fb6b929b9a0 n/a (libc.so.6 + 0x829a0)
                                                      #1  0x00007fb6b92a1ea2 pthread_mutex_lock (libc.so.6 + 0x88ea2)
                                                      #2  0x00007fb6ba7a981d wl_display_cancel_read (libwayland-client.so.0 + 0x781d)
                                                      #3  0x00007fb6b3eb4da6 n/a (libQt5WaylandClient.so.5 + 0x72da6)
                                                      #4  0x00007fb6b98e432a n/a (libQt5Core.so.5 + 0xe432a)
                                                      #5  0x00007fb6b929ebb5 n/a (libc.so.6 + 0x85bb5)
                                                      #6  0x00007fb6b9320d90 n/a (libc.so.6 + 0x107d90)
                                                      
                                                      Stack trace of thread 40727:
                                                      #0  0x00007fb6b929b9a0 n/a (libc.so.6 + 0x829a0)
                                                      #1  0x00007fb6b92a1ea2 pthread_mutex_lock (libc.so.6 + 0x88ea2)
                                                      #2  0x00007fb6ba7a981d wl_display_cancel_read (libwayland-client.so.0 + 0x781d)
                                                      #3  0x00007fb6b3eb4da6 n/a (libQt5WaylandClient.so.5 + 0x72da6)
                                                      #4  0x00007fb6b98e432a n/a (libQt5Core.so.5 + 0xe432a)
                                                      #5  0x00007fb6b929ebb5 n/a (libc.so.6 + 0x85bb5)
                                                      #6  0x00007fb6b9320d90 n/a (libc.so.6 + 0x107d90)
                                                      
                                                      Stack trace of thread 40726:
                                                      #0  0x00007fb6b93139df __poll (libc.so.6 + 0xfa9df)
                                                      #1  0x00007fb6b856dc2f n/a (libglib-2.0.so.0 + 0xacc2f)
                                                      #2  0x00007fb6b85150e2 g_main_context_iteration (libglib-2.0.so.0 + 0x540e2)
                                                      #3  0x00007fb6b9ad8c6c _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2d8c6c)
                                                      #4  0x00007fb6b9a866ec _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2866ec)
                                                      #5  0x00007fb6b98e725f _ZN7QThread4execEv (libQt5Core.so.5 + 0xe725f)
                                                      #6  0x00007fb6ba52ccba n/a (libQt5DBus.so.5 + 0x23cba)
                                                      #7  0x00007fb6b98e432a n/a (libQt5Core.so.5 + 0xe432a)
                                                      #8  0x00007fb6b929ebb5 n/a (libc.so.6 + 0x85bb5)
                                                      #9  0x00007fb6b9320d90 n/a (libc.so.6 + 0x107d90)
                                                      
                                                      Stack trace of thread 40729:
                                                      #0  0x00007fb6b93139df __poll (libc.so.6 + 0xfa9df)
                                                      #1  0x00007fb6b856dc2f n/a (libglib-2.0.so.0 + 0xacc2f)
                                                      #2  0x00007fb6b85150e2 g_main_context_iteration (libglib-2.0.so.0 + 0x540e2)
                                                      #3  0x00007fb6b8515132 n/a (libglib-2.0.so.0 + 0x54132)
                                                      #4  0x00007fb6b8543db5 n/a (libglib-2.0.so.0 + 0x82db5)
                                                      #5  0x00007fb6b929ebb5 n/a (libc.so.6 + 0x85bb5)
                                                      #6  0x00007fb6b9320d90 n/a (libc.so.6 + 0x107d90)
                                                      
                                                      Stack trace of thread 40730:
                                                      #0  0x00007fb6b93139df __poll (libc.so.6 + 0xfa9df)
                                                      #1  0x00007fb6b856dc2f n/a (libglib-2.0.so.0 + 0xacc2f)
                                                      #2  0x00007fb6b8515d8f g_main_loop_run (libglib-2.0.so.0 + 0x54d8f)
                                                      #3  0x00007fb6b1e20aec n/a (libgio-2.0.so.0 + 0x10aaec)
                                                      #4  0x00007fb6b8543db5 n/a (libglib-2.0.so.0 + 0x82db5)
                                                      #5  0x00007fb6b929ebb5 n/a (libc.so.6 + 0x85bb5)
                                                      #6  0x00007fb6b9320d90 n/a (libc.so.6 + 0x107d90)
                                                      
                                                      Stack trace of thread 40749:
                                                      #0  0x00007fb6b9316341 pselect (libc.so.6 + 0xfd341)
                                                      #1  0x00007fb6b880a524 n/a (libusbmuxd-2.0.so.6 + 0x2524)
                                                      #2  0x00007fb6b880b8a9 n/a (libusbmuxd-2.0.so.6 + 0x38a9)
                                                      #3  0x00007fb6b929ebb5 n/a (libc.so.6 + 0x85bb5)
                                                      #4  0x00007fb6b9320d90 n/a (libc.so.6 + 0x107d90)
                                                      ELF object binary architecture: AMD x86-64
Mar 06 02:49:55 beelink-gtr6 systemd[1]: systemd-coredump@482-40752-0.service: Deactivated successfully.
Mar 06 02:49:56 beelink-gtr6 org_kde_powerdevil[40751]: KCrash: Attempting to start /usr/lib/org_kde_powerdevil
Mar 06 02:49:56 beelink-gtr6 org_kde_powerdevil[40751]: 32 -- exe=/usr/lib/org_kde_powerdevil
Mar 06 02:49:56 beelink-gtr6 org_kde_powerdevil[40751]: 17 -- platform=wayland
Mar 06 02:49:56 beelink-gtr6 org_kde_powerdevil[40751]: 27 -- appname=org_kde_powerdevil
Mar 06 02:49:56 beelink-gtr6 org_kde_powerdevil[40751]: 17 -- apppath=/usr/lib
Mar 06 02:49:56 beelink-gtr6 org_kde_powerdevil[40751]: 10 -- signal=11
Mar 06 02:49:56 beelink-gtr6 org_kde_powerdevil[40751]: 10 -- pid=40751
Mar 06 02:49:56 beelink-gtr6 org_kde_powerdevil[40751]: 18 -- appversion=5.27.2
Mar 06 02:49:56 beelink-gtr6 org_kde_powerdevil[40751]: 40 -- programname=KDE Power Management System
Mar 06 02:49:56 beelink-gtr6 org_kde_powerdevil[40751]: 31 -- bugaddress=submit@bugs.kde.org
Mar 06 02:49:56 beelink-gtr6 org_kde_powerdevil[40751]: 23 -- productname=Powerdevil
Mar 06 02:49:56 beelink-gtr6 org_kde_powerdevil[40751]: 15 -- restarted=true
Mar 06 02:49:56 beelink-gtr6 org_kde_powerdevil[40751]: KCrash: crashing... crashRecursionCounter = 2
Mar 06 02:49:56 beelink-gtr6 org_kde_powerdevil[40751]: KCrash: Application Name = org_kde_powerdevil path = /usr/lib pid = 40751
Mar 06 02:49:56 beelink-gtr6 org_kde_powerdevil[40751]: KCrash: Arguments: /usr/lib/org_kde_powerdevil
Mar 06 02:49:56 beelink-gtr6 org_kde_powerdevil[40778]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Mar 06 02:49:56 beelink-gtr6 systemd[1]: Started Process Core Dump (PID 40779/UID 0).
Mar 06 02:49:56 beelink-gtr6 org_kde_powerdevil[40778]: org.kde.powerdevil: org.kde.powerdevil.chargethresholdhelper.getthreshold failed "Charge thresholds are not supported by the kernel for this hardware"
Mar 06 02:49:56 beelink-gtr6 org_kde_powerdevil[40778]: org.kde.powerdevil: org.kde.powerdevil.backlighthelper.brightness failed
Mar 06 02:49:56 beelink-gtr6 systemd-coredump[40782]: Removed old coredump core.org_kde_powerde.1000.87a3b3f4ca1342c0bebbf99924ad0b10.193791.1677990523000000.zst.
Mar 06 02:49:56 beelink-gtr6 systemd-coredump[40782]: [🡕] Process 40751 (org_kde_powerde) of user 1000 dumped core.
                                                      
                                                      Stack trace of thread 40751:
                                                      #0  0x00007fa0312a08ec n/a (libc.so.6 + 0x878ec)
                                                      #1  0x00007fa031251ea8 raise (libc.so.6 + 0x38ea8)
                                                      #2  0x00007fa03282737c _ZN6KCrash19defaultCrashHandlerEi (libKF5Crash.so.5 + 0x737c)
                                                      #3  0x00007fa031251f50 n/a (libc.so.6 + 0x38f50)
                                                      #4  0x00007fa032842479 wl_proxy_marshal_array_flags (libwayland-client.so.0 + 0xa479)
                                                      #5  0x00007fa032842afa wl_proxy_marshal_flags (libwayland-client.so.0 + 0xaafa)
                                                      #6  0x00007fa0284fff5b n/a (libKF5ScreenDpms.so.8 + 0x6f5b)
                                                      #7  0x00007fa028500960 n/a (libKF5ScreenDpms.so.8 + 0x7960)
                                                      #8  0x00007fa031abea71 n/a (libQt5Core.so.5 + 0x2bea71)
                                                      #9  0x00007fa02b924adf _ZN15QtWaylandClient15QWaylandDisplay19addRegistryListenerEPFvPvP11wl_registryjRK7QStringjES1_ (libQt5WaylandClient.so.5 + 0x74adf)
                                                      #10 0x00007fa02b942c80 _ZN23QWaylandClientExtension19addRegistryListenerEv (libQt5WaylandClient.so.5 + 0x92c80)
                                                      #11 0x00007fa031a9d51e _ZNK11QMetaMethod6invokeEP7QObjectN2Qt14ConnectionTypeE22QGenericReturnArgument16QGenericArgumentS5_S5_S5_S5_S5_S5_S5_S5_S5_ (libQt5Core.so.5 + 0x29d51e)
                                                      #12 0x00007fa031a9df10 _ZN11QMetaObject12invokeMethodEP7QObjectPKcN2Qt14ConnectionTypeE22QGenericReturnArgument16QGenericArgumentS7_S7_S7_S7_S7_S7_S7_S7_S7_ (libQt5Core.so.5 + 0x29df10)
                                                      #13 0x00007fa0284ffd8c n/a (libKF5ScreenDpms.so.8 + 0x6d8c)
                                                      #14 0x00007fa028501928 _ZNK7KScreen4Dpms11isSupportedEv (libKF5ScreenDpms.so.8 + 0x8928)
                                                      #15 0x00007fa0327f0d70 _ZN10PowerDevil10ActionPool4initEPNS_4CoreE (libpowerdevilcore.so.2 + 0x12d70)
                                                      #16 0x00007fa0327f8a9d _ZN10PowerDevil4Core14onBackendReadyEv (libpowerdevilcore.so.2 + 0x1aa9d)
                                                      #17 0x00007fa031abea71 n/a (libQt5Core.so.5 + 0x2bea71)
                                                      #18 0x00007fa02afe035b _ZN23PowerDevilUPowerBackend18initWithBrightnessEb (powerdevilupowerbackend.so + 0x1135b)
                                                      #19 0x00007fa031abea71 n/a (libQt5Core.so.5 + 0x2bea71)
                                                      #20 0x00007fa02afd7414 _ZN23PowerDevilUPowerBackend24brightnessSupportQueriedEb (powerdevilupowerbackend.so + 0x8414)
                                                      #21 0x00007fa031abea71 n/a (libQt5Core.so.5 + 0x2bea71)
                                                      #22 0x00007fa03267943a _ZN4KJob6resultEPS_NS_14QPrivateSignalE (libKF5CoreAddons.so.5 + 0x5a43a)
                                                      #23 0x00007fa03267f54c _ZN4KJob9finishJobEb (libKF5CoreAddons.so.5 + 0x6054c)
                                                      #24 0x00007fa031abea71 n/a (libQt5Core.so.5 + 0x2bea71)
                                                      #25 0x00007fa02c45b785 n/a (kauth_helper_plugin.so + 0xa785)
                                                      #26 0x00007fa02c45be91 n/a (kauth_helper_plugin.so + 0xae91)
                                                      #27 0x00007fa03260045f n/a (libQt5DBus.so.5 + 0x6145f)
                                                      #28 0x00007fa031ab1bb0 _ZN7QObject5eventEP6QEvent (libQt5Core.so.5 + 0x2b1bb0)
                                                      #29 0x00007fa031a8df48 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5 + 0x28df48)
                                                      #30 0x00007fa031a8ea53 _ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData (libQt5Core.so.5 + 0x28ea53)
                                                      #31 0x00007fa031ad4e88 n/a (libQt5Core.so.5 + 0x2d4e88)
                                                      #32 0x00007fa03051682b g_main_context_dispatch (libglib-2.0.so.0 + 0x5582b)
                                                      #33 0x00007fa03056dcc9 n/a (libglib-2.0.so.0 + 0xaccc9)
                                                      #34 0x00007fa0305150e2 g_main_context_iteration (libglib-2.0.so.0 + 0x540e2)
                                                      #35 0x00007fa031ad8c6c _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2d8c6c)
                                                      #36 0x00007fa031a866ec _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2866ec)
                                                      #37 0x00007fa031a91219 _ZN16QCoreApplication4execEv (libQt5Core.so.5 + 0x291219)
                                                      #38 0x0000557270f9a55b n/a (org_kde_powerdevil + 0x655b)
                                                      #39 0x00007fa03123c790 n/a (libc.so.6 + 0x23790)
                                                      #40 0x00007fa03123c84a __libc_start_main (libc.so.6 + 0x2384a)
                                                      #41 0x0000557270f9b095 n/a (org_kde_powerdevil + 0x7095)
                                                      
                                                      Stack trace of thread 40756:
                                                      #0  0x00007fa0313139df __poll (libc.so.6 + 0xfa9df)
                                                      #1  0x00007fa02b922cdd n/a (libQt5WaylandClient.so.5 + 0x72cdd)
                                                      #2  0x00007fa0318e432a n/a (libQt5Core.so.5 + 0xe432a)
                                                      #3  0x00007fa03129ebb5 n/a (libc.so.6 + 0x85bb5)
                                                      #4  0x00007fa031320d90 n/a (libc.so.6 + 0x107d90)
                                                      
                                                      Stack trace of thread 40770:
                                                      #0  0x00007fa031316341 pselect (libc.so.6 + 0xfd341)
                                                      #1  0x00007fa02f012524 n/a (libusbmuxd-2.0.so.6 + 0x2524)
                                                      #2  0x00007fa02f0138a9 n/a (libusbmuxd-2.0.so.6 + 0x38a9)
                                                      #3  0x00007fa03129ebb5 n/a (libc.so.6 + 0x85bb5)
                                                      #4  0x00007fa031320d90 n/a (libc.so.6 + 0x107d90)
                                                      
                                                      Stack trace of thread 40757:
                                                      #0  0x00007fa0313139df __poll (libc.so.6 + 0xfa9df)
                                                      #1  0x00007fa03056dc2f n/a (libglib-2.0.so.0 + 0xacc2f)
                                                      #2  0x00007fa0305150e2 g_main_context_iteration (libglib-2.0.so.0 + 0x540e2)
                                                      #3  0x00007fa030515132 n/a (libglib-2.0.so.0 + 0x54132)
                                                      #4  0x00007fa030543db5 n/a (libglib-2.0.so.0 + 0x82db5)
                                                      #5  0x00007fa03129ebb5 n/a (libc.so.6 + 0x85bb5)
                                                      #6  0x00007fa031320d90 n/a (libc.so.6 + 0x107d90)
                                                      
                                                      Stack trace of thread 40754:
                                                      #0  0x00007fa0313139df __poll (libc.so.6 + 0xfa9df)
                                                      #1  0x00007fa03056dc2f n/a (libglib-2.0.so.0 + 0xacc2f)
                                                      #2  0x00007fa0305150e2 g_main_context_iteration (libglib-2.0.so.0 + 0x540e2)
                                                      #3  0x00007fa031ad8c6c _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2d8c6c)
                                                      #4  0x00007fa031a866ec _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2866ec)
                                                      #5  0x00007fa0318e725f _ZN7QThread4execEv (libQt5Core.so.5 + 0xe725f)
                                                      #6  0x00007fa0325c2cba n/a (libQt5DBus.so.5 + 0x23cba)
                                                      #7  0x00007fa0318e432a n/a (libQt5Core.so.5 + 0xe432a)
                                                      #8  0x00007fa03129ebb5 n/a (libc.so.6 + 0x85bb5)
                                                      #9  0x00007fa031320d90 n/a (libc.so.6 + 0x107d90)
                                                      
                                                      Stack trace of thread 40758:
                                                      #0  0x00007fa0313139df __poll (libc.so.6 + 0xfa9df)
                                                      #1  0x00007fa03056dc2f n/a (libglib-2.0.so.0 + 0xacc2f)
                                                      #2  0x00007fa030515d8f g_main_loop_run (libglib-2.0.so.0 + 0x54d8f)
                                                      #3  0x00007fa029e8caec n/a (libgio-2.0.so.0 + 0x10aaec)
                                                      #4  0x00007fa030543db5 n/a (libglib-2.0.so.0 + 0x82db5)
                                                      #5  0x00007fa03129ebb5 n/a (libc.so.6 + 0x85bb5)
                                                      #6  0x00007fa031320d90 n/a (libc.so.6 + 0x107d90)
                                                      
                                                      Stack trace of thread 40755:
                                                      #0  0x00007fa0313139df __poll (libc.so.6 + 0xfa9df)
                                                      #1  0x00007fa02b922cdd n/a (libQt5WaylandClient.so.5 + 0x72cdd)
                                                      #2  0x00007fa0318e432a n/a (libQt5Core.so.5 + 0xe432a)
                                                      #3  0x00007fa03129ebb5 n/a (libc.so.6 + 0x85bb5)
                                                      #4  0x00007fa031320d90 n/a (libc.so.6 + 0x107d90)
                                                      ELF object binary architecture: AMD x86-64
Mar 06 02:49:56 beelink-gtr6 systemd[1]: systemd-coredump@483-40779-0.service: Deactivated successfully.
Mar 06 02:49:57 beelink-gtr6 org_kde_powerdevil[40778]: KCrash: Attempting to start /usr/lib/org_kde_powerdevil
Mar 06 02:49:57 beelink-gtr6 org_kde_powerdevil[40778]: 32 -- exe=/usr/lib/org_kde_powerdevil
Mar 06 02:49:57 beelink-gtr6 org_kde_powerdevil[40778]: 17 -- platform=wayland
Mar 06 02:49:57 beelink-gtr6 org_kde_powerdevil[40778]: 27 -- appname=org_kde_powerdevil
Mar 06 02:49:57 beelink-gtr6 org_kde_powerdevil[40778]: 17 -- apppath=/usr/lib
Mar 06 02:49:57 beelink-gtr6 org_kde_powerdevil[40778]: 10 -- signal=11
Mar 06 02:49:57 beelink-gtr6 org_kde_powerdevil[40778]: 10 -- pid=40778
Mar 06 02:49:57 beelink-gtr6 org_kde_powerdevil[40778]: 18 -- appversion=5.27.2
Mar 06 02:49:57 beelink-gtr6 org_kde_powerdevil[40778]: 40 -- programname=KDE Power Management System
Mar 06 02:49:57 beelink-gtr6 org_kde_powerdevil[40778]: 31 -- bugaddress=submit@bugs.kde.org
Mar 06 02:49:57 beelink-gtr6 org_kde_powerdevil[40778]: 23 -- productname=Powerdevil
Mar 06 02:49:57 beelink-gtr6 org_kde_powerdevil[40778]: 15 -- restarted=true
Mar 06 02:49:57 beelink-gtr6 org_kde_powerdevil[40778]: KCrash: crashing... crashRecursionCounter = 2
Mar 06 02:49:57 beelink-gtr6 org_kde_powerdevil[40778]: KCrash: Application Name = org_kde_powerdevil path = /usr/lib pid = 40778
Mar 06 02:49:57 beelink-gtr6 org_kde_powerdevil[40778]: KCrash: Arguments: /usr/lib/org_kde_powerdevil
Mar 06 02:49:57 beelink-gtr6 org_kde_powerdevil[40807]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Mar 06 02:49:57 beelink-gtr6 systemd[1]: Started Process Core Dump (PID 40808/UID 0).
Mar 06 02:49:58 beelink-gtr6 systemd-coredump[40815]: Removed old coredump core.org_kde_powerde.1000.87a3b3f4ca1342c0bebbf99924ad0b10.193839.1677990525000000.zst.
Mar 06 02:49:58 beelink-gtr6 org_kde_powerdevil[40807]: org.kde.powerdevil: org.kde.powerdevil.chargethresholdhelper.getthreshold failed "Charge thresholds are not supported by the kernel for this hardware"
Mar 06 02:49:58 beelink-gtr6 org_kde_powerdevil[40807]: org.kde.powerdevil: org.kde.powerdevil.backlighthelper.brightness failed
Mar 06 02:49:58 beelink-gtr6 systemd-coredump[40815]: [🡕] Process 40778 (org_kde_powerde) of user 1000 dumped core.
                                                      
                                                      Stack trace of thread 40778:
                                                      #0  0x00007f36ce2a08ec n/a (libc.so.6 + 0x878ec)
                                                      #1  0x00007f36ce251ea8 raise (libc.so.6 + 0x38ea8)
                                                      #2  0x00007f36cf6f237c _ZN6KCrash19defaultCrashHandlerEi (libKF5Crash.so.5 + 0x737c)
                                                      #3  0x00007f36ce251f50 n/a (libc.so.6 + 0x38f50)
                                                      #4  0x00007f36cf70d479 wl_proxy_marshal_array_flags (libwayland-client.so.0 + 0xa479)
                                                      #5  0x00007f36cf70dafa wl_proxy_marshal_flags (libwayland-client.so.0 + 0xaafa)
                                                      #6  0x00007f36c53d0f5b n/a (libKF5ScreenDpms.so.8 + 0x6f5b)
                                                      #7  0x00007f36c53d1960 n/a (libKF5ScreenDpms.so.8 + 0x7960)
```
These errors loop endlessly. It seems that DPMS caused the error.
Now my workaround is temporarily masking the powerdevil service.
Comment 1 Wei Hao 2023-03-05 19:32:44 UTC
Created attachment 157022 [details]
Screenshot of journalctl
Comment 2 Wei Hao 2023-03-05 19:33:12 UTC
Created attachment 157023 [details]
Screenshot of journalctl
Comment 3 Nate Graham 2023-03-06 23:36:44 UTC

*** This bug has been marked as a duplicate of bug 466181 ***