Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#60944 - [powerdevil] crashes if laptop is (un)plugged while sleeping

Attached to Project: Arch Linux
Opened by Szabin Hamrik (Zegrento7) - Saturday, 01 December 2018, 09:25 GMT
Last edited by Antonio Rojas (arojas) - Tuesday, 17 December 2019, 21:46 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Antonio Rojas (arojas)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Steps to reproduce:
1. Have the laptop powered on
2. Plug it in to charger; the battery icon will indicate charging.
3. Put the laptop to sleep (e.g. close the lid)
4. Unplug charger
5. Wake laptop up

Expected behaviour:
- Battery indicator changes to reflect battery percentage.

Observed behaviour:
- "org_kde_powerdevil has closed unexpectedly"
- "Report bug" and "Restart application" options are not available
- Battery icon disappears
- Brightness control keys cease to function
- All power related settings display the following error:
'Power Management configuration module could not be loaded.
The Power Management Service appears not to be running.
This can be solved by starting or scheduling it inside "Startup and Shutdown"'

Workaround:
- Restart OS

Package version:
- extra/powerdevil 5.14.3-1 [plasma]

Device info:
- HP EliteBook 8570p

Stack trace:

Application: org_kde_powerdevil (org_kde_powerdevil), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f0154014840 (LWP 3949))]

Thread 5 (Thread 0x7f0150ae4700 (LWP 3963)):
#0 0x00007f015a02ec21 in poll () at /usr/lib/libc.so.6
#1 0x00007f0158603ee0 in () at /usr/lib/libglib-2.0.so.0
#2 0x00007f0158604f62 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#3 0x00007f015140cc28 in () at /usr/lib/libgio-2.0.so.0
#4 0x00007f01585cd3eb in () at /usr/lib/libglib-2.0.so.0
#5 0x00007f015924ca9d in start_thread () at /usr/lib/libpthread.so.0
#6 0x00007f015a039b23 in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7f01512e5700 (LWP 3961)):
#0 0x00007f015a02ec21 in poll () at /usr/lib/libc.so.6
#1 0x00007f0158603ee0 in () at /usr/lib/libglib-2.0.so.0
#2 0x00007f0158603fce in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3 0x00007f0158604022 in () at /usr/lib/libglib-2.0.so.0
#4 0x00007f01585cd3eb in () at /usr/lib/libglib-2.0.so.0
#5 0x00007f015924ca9d in start_thread () at /usr/lib/libpthread.so.0
#6 0x00007f015a039b23 in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f015204b700 (LWP 3952)):
#0 0x00007f015a02ec21 in poll () at /usr/lib/libc.so.6
#1 0x00007f0158603ee0 in () at /usr/lib/libglib-2.0.so.0
#2 0x00007f0158603fce in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3 0x00007f015a555fe4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4 0x00007f015a5018cc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5 0x00007f015a34aeb9 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6 0x00007f015a7a7ba6 in () at /usr/lib/libQt5DBus.so.5
#7 0x00007f015a354f65 in () at /usr/lib/libQt5Core.so.5
#8 0x00007f015924ca9d in start_thread () at /usr/lib/libpthread.so.0
#9 0x00007f015a039b23 in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f0152c5c700 (LWP 3951)):
#0 0x00007f015a02ec21 in poll () at /usr/lib/libc.so.6
#1 0x00007f0159739630 in () at /usr/lib/libxcb.so.1
#2 0x00007f015973b2db in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3 0x00007f0153b8ec5a in () at /usr/lib/libQt5XcbQpa.so.5
#4 0x00007f015a354f65 in () at /usr/lib/libQt5Core.so.5
#5 0x00007f015924ca9d in start_thread () at /usr/lib/libpthread.so.0
#6 0x00007f015a039b23 in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f0154014840 (LWP 3949)):
[KCrash Handler]
#6 0x00007f015a39f54f in QHashData::nextNode(QHashData::Node*) () at /usr/lib/libQt5Core.so.5
#7 0x00007f015b4f0dfe in PowerDevil::Core::onResumingFromIdle() () at /usr/lib/libpowerdevilcore.so.2
#8 0x00007f015b4f6099 in PowerDevil::Core::loadProfile(bool) () at /usr/lib/libpowerdevilcore.so.2
#9 0x00007f015b4f8995 in PowerDevil::Core::onAcAdapterStateChanged(PowerDevil::BackendInterface::AcAdapterState) () at /usr/lib/libpowerdevilcore.so.2
#10 0x00007f015b52b514 in () at /usr/lib/libpowerdevilcore.so.2
#11 0x00007f015a52ca7c in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#12 0x00007f015b529f6f in PowerDevil::BackendInterface::acAdapterStateChanged(PowerDevil::BackendInterface::AcAdapterState) () at /usr/lib/libpowerdevilcore.so.2
#13 0x00007f01502bfd0b in PowerDevilUPowerBackend::slotPropertyChanged() () at /usr/lib/qt/plugins/kf5/powerdevil/powerdevilupowerbackend.so
#14 0x00007f01502d244d in () at /usr/lib/qt/plugins/kf5/powerdevil/powerdevilupowerbackend.so
#15 0x00007f01502d2c03 in PowerDevilUPowerBackend::qt_metacall(QMetaObject::Call, int, void**) () at /usr/lib/qt/plugins/kf5/powerdevil/powerdevilupowerbackend.so
#16 0x00007f015a7b39ef in () at /usr/lib/libQt5DBus.so.5
#17 0x00007f015a52d352 in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#18 0x00007f015a502c39 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#19 0x00007f015a505ccc in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#20 0x00007f015a5569d4 in () at /usr/lib/libQt5Core.so.5
#21 0x00007f01586023cf in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#22 0x00007f0158603f89 in () at /usr/lib/libglib-2.0.so.0
#23 0x00007f0158603fce in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#24 0x00007f015a555fc9 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#25 0x00007f0153c24da2 in () at /usr/lib/libQt5XcbQpa.so.5
#26 0x00007f015a5018cc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#27 0x00007f015a509bc6 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#28 0x00005607c255c0c6 in ()
#29 0x00007f0159f62223 in __libc_start_main () at /usr/lib/libc.so.6
#30 0x00005607c255c12e in _start ()
[Inferior 1 (process 3949) detached]
This task depends upon

Closed by  Antonio Rojas (arojas)
Tuesday, 17 December 2019, 21:46 GMT
Reason for closing:  No response
Comment by Antonio Rojas (arojas) - Saturday, 01 December 2018, 20:26 GMT Comment by Antonio Rojas (arojas) - Tuesday, 10 December 2019, 18:44 GMT
Is this still an issue? The upstream report hasn't received any duplicates in over a year.

Loading...