Bug 391109

Summary: Powerdevil crash on wakup from suspend to ram in dock with wayland
Product: [Plasma] Powerdevil Reporter: dns2utf8 <kde.org>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: javiercorderoperez, kde
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description dns2utf8 2018-02-26 16:24:47 UTC
Application: org_kde_powerdevil ()

Qt Version: 5.10.1
Frameworks Version: 5.43.0
Operating System: Linux 4.15.5-1-ARCH x86_64
Distribution: "Arch Linux"

-- Information about the crash:
- What I was doing when the application crashed:

I was using kde with wayland for a cupple of days without issue.
When I opened my t460s inside the dock powerdevil crashed.

-- Backtrace:
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 0x7f1659329840 (LWP 687))]

Thread 6 (Thread 0x7f163deb9700 (LWP 794)):
#0  0x00007f1651160b94 in g_mutex_unlock () at /usr/lib/libglib-2.0.so.0
#1  0x00007f1651119509 in g_main_context_prepare () at /usr/lib/libglib-2.0.so.0
#2  0x00007f1651119f1e in  () at /usr/lib/libglib-2.0.so.0
#3  0x00007f165111a10e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#4  0x00007f1656fc4314 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f1656f663db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f1656d757ae in QThread::exec() () at /usr/lib/libQt5Core.so.5
#7  0x00007f1656d7ab4d in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f165368c08c in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f1656682e7f in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7f163e6ba700 (LWP 793)):
#0  0x00007f165667897b in poll () at /usr/lib/libc.so.6
#1  0x00007f1651119ff3 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f165111a10e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f1656fc4314 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f1656f663db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f1656d757ae in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007f1656d7ab4d in  () at /usr/lib/libQt5Core.so.5
#7  0x00007f165368c08c in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007f1656682e7f in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7f163ffff700 (LWP 751)):
#0  0x00007f165667897b in poll () at /usr/lib/libc.so.6
#1  0x00007f1651119ff3 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f165111a3b2 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#3  0x00007f16450ee6d8 in  () at /usr/lib/libgio-2.0.so.0
#4  0x00007f165114226a in  () at /usr/lib/libglib-2.0.so.0
#5  0x00007f165368c08c in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007f1656682e7f in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f1644970700 (LWP 750)):
#0  0x00007f16566743d8 in read () at /usr/lib/libc.so.6
#1  0x00007f165115f7d1 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f1651119ac8 in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#3  0x00007f1651119f96 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007f165111a10e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#5  0x00007f165111a162 in  () at /usr/lib/libglib-2.0.so.0
#6  0x00007f165114226a in  () at /usr/lib/libglib-2.0.so.0
#7  0x00007f165368c08c in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007f1656682e7f in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f164645b700 (LWP 709)):
#0  0x00007f165667897b in poll () at /usr/lib/libc.so.6
#1  0x00007f1651119ff3 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f165111a10e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f1656fc4314 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f1656f663db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f1656d757ae in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007f16573e7416 in  () at /usr/lib/libQt5DBus.so.5
#7  0x00007f1656d7ab4d in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f165368c08c in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f1656682e7f in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f1659329840 (LWP 687)):
[KCrash Handler]
#5  0x00007f1658d2fa37 in PowerDevil::Core::onResumingFromIdle() () at /usr/lib/libpowerdevilcore.so.2
#6  0x00007f1658d611a6 in  () at /usr/lib/libpowerdevilcore.so.2
#7  0x00007f1656f986c6 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#8  0x00007f165540d246 in  () at /usr/lib/libKF5IdleTime.so.5
#9  0x00007f1656f986c6 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#10 0x00007f1656f987ef in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#11 0x00007f16469d21c8 in ffi_call_unix64 () at /usr/lib/libffi.so.6
#12 0x00007f16469d1c2a in ffi_call () at /usr/lib/libffi.so.6
#13 0x00007f1647269bad in  () at /usr/lib/libwayland-client.so.0
#14 0x00007f1647266679 in  () at /usr/lib/libwayland-client.so.0
#15 0x00007f16472679b4 in wl_display_dispatch_queue_pending () at /usr/lib/libwayland-client.so.0
#16 0x00007f16474c868c in QtWaylandClient::QWaylandDisplay::flushRequests() () at /usr/lib/libQt5WaylandClient.so.5
#17 0x00007f1656f986c6 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#18 0x00007f1656fc42bf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#19 0x00007f16475004a2 in  () at /usr/lib/libQt5WaylandClient.so.5
#20 0x00007f1656f663db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#21 0x00007f1645a56411 in  () at /usr/lib/qt/plugins/kauth/backend/kauth_backend_plugin.so
#22 0x00007f1653d2023f in KAuth::Action::setName(QString const&) () at /usr/lib/libKF5Auth.so.5
#23 0x00007f1653d202b1 in KAuth::Action::Action(QString const&) () at /usr/lib/libKF5Auth.so.5
#24 0x00007f163f3d022d in PowerDevilUPowerBackend::setBrightness(int, PowerDevil::BackendInterface::BrightnessControlType) () at /usr/lib/qt/plugins/kf5/powerdevil/powerdevilupowerbackend.so
#25 0x00007f1658d5933f in  () at /usr/lib/libpowerdevilcore.so.2
#26 0x00007f1658d2876f in PowerDevil::Action::trigger(QMap<QString, QVariant> const&) () at /usr/lib/libpowerdevilcore.so.2
#27 0x00007f1658d59e7f in  () at /usr/lib/libpowerdevilcore.so.2
#28 0x00007f1658d5a174 in  () at /usr/lib/libpowerdevilcore.so.2
#29 0x00007f1658d2fa3d in PowerDevil::Core::onResumingFromIdle() () at /usr/lib/libpowerdevilcore.so.2
#30 0x00007f1658d611a6 in  () at /usr/lib/libpowerdevilcore.so.2
#31 0x00007f1656f986c6 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#32 0x00007f165540d246 in  () at /usr/lib/libKF5IdleTime.so.5
#33 0x00007f1656f986c6 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#34 0x00007f1656f987ef in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#35 0x00007f16469d21c8 in ffi_call_unix64 () at /usr/lib/libffi.so.6
#36 0x00007f16469d1c2a in ffi_call () at /usr/lib/libffi.so.6
#37 0x00007f1647269bad in  () at /usr/lib/libwayland-client.so.0
#38 0x00007f1647266679 in  () at /usr/lib/libwayland-client.so.0
#39 0x00007f16472679b4 in wl_display_dispatch_queue_pending () at /usr/lib/libwayland-client.so.0
#40 0x00007f16474c868c in QtWaylandClient::QWaylandDisplay::flushRequests() () at /usr/lib/libQt5WaylandClient.so.5
#41 0x00007f1656f986c6 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#42 0x00007f1656fc42bf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#43 0x00007f16475004a2 in  () at /usr/lib/libQt5WaylandClient.so.5
#44 0x00007f1656f663db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#45 0x00007f1645a56411 in  () at /usr/lib/qt/plugins/kauth/backend/kauth_backend_plugin.so
#46 0x00007f1653d2023f in KAuth::Action::setName(QString const&) () at /usr/lib/libKF5Auth.so.5
#47 0x00007f1653d202b1 in KAuth::Action::Action(QString const&) () at /usr/lib/libKF5Auth.so.5
#48 0x00007f163f3d022d in PowerDevilUPowerBackend::setBrightness(int, PowerDevil::BackendInterface::BrightnessControlType) () at /usr/lib/qt/plugins/kf5/powerdevil/powerdevilupowerbackend.so
#49 0x00007f1658d5933f in  () at /usr/lib/libpowerdevilcore.so.2
#50 0x00007f1658d2876f in PowerDevil::Action::trigger(QMap<QString, QVariant> const&) () at /usr/lib/libpowerdevilcore.so.2
#51 0x00007f1658d59e7f in  () at /usr/lib/libpowerdevilcore.so.2
#52 0x00007f1658d5a174 in  () at /usr/lib/libpowerdevilcore.so.2
#53 0x00007f1658d2fa3d in PowerDevil::Core::onResumingFromIdle() () at /usr/lib/libpowerdevilcore.so.2
#54 0x00007f1658d611a6 in  () at /usr/lib/libpowerdevilcore.so.2
#55 0x00007f1656f986c6 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#56 0x00007f165540d246 in  () at /usr/lib/libKF5IdleTime.so.5
#57 0x00007f1656f986c6 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#58 0x00007f1656f987ef in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#59 0x00007f16469d21c8 in ffi_call_unix64 () at /usr/lib/libffi.so.6
#60 0x00007f16469d1c2a in ffi_call () at /usr/lib/libffi.so.6
#61 0x00007f1647269bad in  () at /usr/lib/libwayland-client.so.0
#62 0x00007f1647266679 in  () at /usr/lib/libwayland-client.so.0
#63 0x00007f16472679b4 in wl_display_dispatch_queue_pending () at /usr/lib/libwayland-client.so.0
#64 0x00007f16474c868c in QtWaylandClient::QWaylandDisplay::flushRequests() () at /usr/lib/libQt5WaylandClient.so.5
#65 0x00007f1656f986c6 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#66 0x00007f1656fc42bf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#67 0x00007f16475004a2 in  () at /usr/lib/libQt5WaylandClient.so.5
#68 0x00007f1656f663db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#69 0x00007f1645a56411 in  () at /usr/lib/qt/plugins/kauth/backend/kauth_backend_plugin.so
#70 0x00007f1653d2023f in KAuth::Action::setName(QString const&) () at /usr/lib/libKF5Auth.so.5
#71 0x00007f1653d202b1 in KAuth::Action::Action(QString const&) () at /usr/lib/libKF5Auth.so.5
#72 0x00007f163f3d022d in PowerDevilUPowerBackend::setBrightness(int, PowerDevil::BackendInterface::BrightnessControlType) () at /usr/lib/qt/plugins/kf5/powerdevil/powerdevilupowerbackend.so
#73 0x00007f1658d5933f in  () at /usr/lib/libpowerdevilcore.so.2
#74 0x00007f1658d2876f in PowerDevil::Action::trigger(QMap<QString, QVariant> const&) () at /usr/lib/libpowerdevilcore.so.2
#75 0x00007f1658d59e7f in  () at /usr/lib/libpowerdevilcore.so.2
#76 0x00007f1658d5a174 in  () at /usr/lib/libpowerdevilcore.so.2
#77 0x00007f1658d2fa3d in PowerDevil::Core::onResumingFromIdle() () at /usr/lib/libpowerdevilcore.so.2
#78 0x00007f1658d611a6 in  () at /usr/lib/libpowerdevilcore.so.2
#79 0x00007f1656f986c6 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#80 0x00007f165540d246 in  () at /usr/lib/libKF5IdleTime.so.5
#81 0x00007f1656f986c6 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#82 0x00007f1656f987ef in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#83 0x00007f16469d21c8 in ffi_call_unix64 () at /usr/lib/libffi.so.6
#84 0x00007f16469d1c2a in ffi_call () at /usr/lib/libffi.so.6
#85 0x00007f1647269bad in  () at /usr/lib/libwayland-client.so.0
#86 0x00007f1647266679 in  () at /usr/lib/libwayland-client.so.0
#87 0x00007f16472679b4 in wl_display_dispatch_queue_pending () at /usr/lib/libwayland-client.so.0
#88 0x00007f16474c868c in QtWaylandClient::QWaylandDisplay::flushRequests() () at /usr/lib/libQt5WaylandClient.so.5
#89 0x00007f1656f986c6 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#90 0x00007f1656fc42bf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#91 0x00007f16475004a2 in  () at /usr/lib/libQt5WaylandClient.so.5
#92 0x00007f1656f663db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#93 0x00007f1645a56411 in  () at /usr/lib/qt/plugins/kauth/backend/kauth_backend_plugin.so
#94 0x00007f1653d2023f in KAuth::Action::setName(QString const&) () at /usr/lib/libKF5Auth.so.5
#95 0x00007f1653d202b1 in KAuth::Action::Action(QString const&) () at /usr/lib/libKF5Auth.so.5
#96 0x00007f163f3d022d in PowerDevilUPowerBackend::setBrightness(int, PowerDevil::BackendInterface::BrightnessControlType) () at /usr/lib/qt/plugins/kf5/powerdevil/powerdevilupowerbackend.so
#97 0x00007f1658d5933f in  () at /usr/lib/libpowerdevilcore.so.2
#98 0x00007f1658d2876f in PowerDevil::Action::trigger(QMap<QString, QVariant> const&) () at /usr/lib/libpowerdevilcore.so.2
#99 0x00007f1658d59e7f in  () at /usr/lib/libpowerdevilcore.so.2
#100 0x00007f1658d5a174 in  () at /usr/lib/libpowerdevilcore.so.2
#101 0x00007f1658d2fa3d in PowerDevil::Core::onResumingFromIdle() () at /usr/lib/libpowerdevilcore.so.2
#102 0x00007f1658d611a6 in  () at /usr/lib/libpowerdevilcore.so.2
#103 0x00007f1656f986c6 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#104 0x00007f165540d246 in  () at /usr/lib/libKF5IdleTime.so.5
#105 0x00007f1656f986c6 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#106 0x00007f1656f987ef in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#107 0x00007f16469d21c8 in ffi_call_unix64 () at /usr/lib/libffi.so.6
#108 0x00007f16469d1c2a in ffi_call () at /usr/lib/libffi.so.6
#109 0x00007f1647269bad in  () at /usr/lib/libwayland-client.so.0
#110 0x00007f1647266679 in  () at /usr/lib/libwayland-client.so.0
#111 0x00007f16472679b4 in wl_display_dispatch_queue_pending () at /usr/lib/libwayland-client.so.0
#112 0x00007f16474c86b4 in QtWaylandClient::QWaylandDisplay::flushRequests() () at /usr/lib/libQt5WaylandClient.so.5
#113 0x00007f1656f986c6 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#114 0x00007f1656fa4fa9 in QSocketNotifier::activated(int, QSocketNotifier::QPrivateSignal) () at /usr/lib/libQt5Core.so.5
#115 0x00007f1656fa5384 in QSocketNotifier::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#116 0x00007f1656f67c2b in QCoreApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#117 0x00007f1656f67da0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#118 0x00007f1656fc4f8e in  () at /usr/lib/libQt5Core.so.5
#119 0x00007f1651119e38 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#120 0x00007f165111a081 in  () at /usr/lib/libglib-2.0.so.0
#121 0x00007f165111a10e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#122 0x00007f1656fc4314 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#123 0x00007f16475004a2 in  () at /usr/lib/libQt5WaylandClient.so.5
#124 0x00007f1656f663db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#125 0x00007f1656f6f7d8 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#126 0x0000555e23b592a9 in  ()
#127 0x00007f16565adf4a in __libc_start_main () at /usr/lib/libc.so.6
#128 0x0000555e23b5930a in _start ()

Reported using DrKonqi
Comment 1 Kai Uwe Broulik 2018-04-10 07:12:34 UTC
*** Bug 392951 has been marked as a duplicate of this bug. ***
Comment 2 Kai Uwe Broulik 2018-05-02 06:47:04 UTC

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