Bug 386166 - PowerDevil crash after wake from suspend with MacBook Pro 11,4 on plasma wayland
Summary: PowerDevil crash after wake from suspend with MacBook Pro 11,4 on plasma wayland
Status: RESOLVED DUPLICATE of bug 345618
Alias: None
Product: Powerdevil
Classification: Plasma
Component: general (show other bugs)
Version: 5.11.1
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2017-10-25 06:29 UTC by Espen Fossen
Modified: 2018-05-02 06:46 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Espen Fossen 2017-10-25 06:29:03 UTC
Application: org_kde_powerdevil ()

Qt Version: 5.9.2
Frameworks Version: 5.39.0
Operating System: Linux 4.13.7-1-macbook x86_64
Distribution: "Arch Linux"

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

Sometimes after wake from suspend PowerDevil crashes. Only happends when in a wayland session, not on X session. Does not happend all the time, but maybe 2 out of 3 times.

* Plasma 5.11.1 with Wayland session

The crash can be reproduced sometimes.

-- 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 0x7fb879cc0640 (LWP 14032))]

Thread 6 (Thread 0x7fb856d1d700 (LWP 14196)):
#0  0x00007fb871b995f9 in g_mutex_lock () at /usr/lib/libglib-2.0.so.0
#1  0x00007fb871b71f99 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#2  0x00007fb878421cf4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007fb8783c548b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007fb8781de27e in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007fb8781e2fcb in  () at /usr/lib/libQt5Core.so.5
#6  0x00007fb87408508a in start_thread () at /usr/lib/libpthread.so.0
#7  0x00007fb877aef24f in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7fb85751e700 (LWP 14195)):
#0  0x00007fb877ae4d4b in poll () at /usr/lib/libc.so.6
#1  0x00007fb871b71ed3 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fb871b71fae in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007fb878421cf4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007fb8783c548b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007fb8781de27e in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007fb8781e2fcb in  () at /usr/lib/libQt5Core.so.5
#7  0x00007fb87408508a in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007fb877aef24f in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7fb864fb9700 (LWP 14043)):
#0  0x00007fb877ae4d4b in poll () at /usr/lib/libc.so.6
#1  0x00007fb871b71ed3 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fb871b72f42 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#3  0x00007fb865a21e28 in  () at /usr/lib/libgio-2.0.so.0
#4  0x00007fb871b661eb in  () at /usr/lib/libglib-2.0.so.0
#5  0x00007fb87408508a in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007fb877aef24f in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7fb8657ba700 (LWP 14042)):
#0  0x00007fb877ae4d4b in poll () at /usr/lib/libc.so.6
#1  0x00007fb871b71ed3 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fb871b71fae in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007fb871b72002 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007fb871b661eb in  () at /usr/lib/libglib-2.0.so.0
#5  0x00007fb87408508a in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007fb877aef24f in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7fb866dff700 (LWP 14041)):
#0  0x00007fb871b71761 in g_main_context_prepare () at /usr/lib/libglib-2.0.so.0
#1  0x00007fb871b71df6 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fb871b71fae in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007fb878421cf4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007fb8783c548b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007fb8781de27e in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007fb87883d376 in  () at /usr/lib/libQt5DBus.so.5
#7  0x00007fb8781e2fcb in  () at /usr/lib/libQt5Core.so.5
#8  0x00007fb87408508a in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007fb877aef24f in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7fb879cc0640 (LWP 14032)):
[KCrash Handler]
#5  0x00007fb878234023 in QHashData::nextNode(QHashData::Node*) () at /usr/lib/libQt5Core.so.5
#6  0x00007fb8796b5d4c in PowerDevil::Core::onResumingFromIdle() () at /usr/lib/libpowerdevilcore.so.2
#7  0x00007fb8796e7436 in  () at /usr/lib/libpowerdevilcore.so.2
#8  0x00007fb8783f6c16 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#9  0x00007fb87687a246 in  () at /usr/lib/libKF5IdleTime.so.5
#10 0x00007fb8783f6c16 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#11 0x00007fb8783f6d3f in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#12 0x00007fb8673761c8 in ffi_call_unix64 () at /usr/lib/libffi.so.6
#13 0x00007fb867375c2a in ffi_call () at /usr/lib/libffi.so.6
#14 0x00007fb867c0dbad in  () at /usr/lib/libwayland-client.so.0
#15 0x00007fb867c0a679 in  () at /usr/lib/libwayland-client.so.0
#16 0x00007fb867c0b9b4 in wl_display_dispatch_queue_pending () at /usr/lib/libwayland-client.so.0
#17 0x00007fb867e6ba5c in QtWaylandClient::QWaylandDisplay::flushRequests() () at /usr/lib/libQt5WaylandClient.so.5
#18 0x00007fb8783f6c16 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#19 0x00007fb878421c9f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#20 0x00007fb8783c548b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#21 0x00007fb8663fa411 in  () at /usr/lib/qt/plugins/kauth/backend/kauth_backend_plugin.so
#22 0x00007fb874f681ff in KAuth::Action::setName(QString const&) () at /usr/lib/libKF5Auth.so.5
#23 0x00007fb874f68271 in KAuth::Action::Action(QString const&) () at /usr/lib/libKF5Auth.so.5
#24 0x00007fb86438a22d in PowerDevilUPowerBackend::setBrightness(int, PowerDevil::BackendInterface::BrightnessControlType) () at /usr/lib/qt/plugins/kf5/powerdevil/powerdevilupowerbackend.so
#25 0x00007fb8796df59f in  () at /usr/lib/libpowerdevilcore.so.2
#26 0x00007fb8796ae89f in PowerDevil::Action::trigger(QMap<QString, QVariant> const&) () at /usr/lib/libpowerdevilcore.so.2
#27 0x00007fb8796e009e in  () at /usr/lib/libpowerdevilcore.so.2
#28 0x00007fb8796e037f in  () at /usr/lib/libpowerdevilcore.so.2
#29 0x00007fb8796b5c58 in PowerDevil::Core::onResumingFromIdle() () at /usr/lib/libpowerdevilcore.so.2
#30 0x00007fb8796e7436 in  () at /usr/lib/libpowerdevilcore.so.2
#31 0x00007fb8783f6c16 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#32 0x00007fb87687a246 in  () at /usr/lib/libKF5IdleTime.so.5
#33 0x00007fb8783f6c16 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#34 0x00007fb8783f6d3f in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#35 0x00007fb8673761c8 in ffi_call_unix64 () at /usr/lib/libffi.so.6
#36 0x00007fb867375c2a in ffi_call () at /usr/lib/libffi.so.6
#37 0x00007fb867c0dbad in  () at /usr/lib/libwayland-client.so.0
#38 0x00007fb867c0a679 in  () at /usr/lib/libwayland-client.so.0
#39 0x00007fb867c0b9b4 in wl_display_dispatch_queue_pending () at /usr/lib/libwayland-client.so.0
#40 0x00007fb867e6ba5c in QtWaylandClient::QWaylandDisplay::flushRequests() () at /usr/lib/libQt5WaylandClient.so.5
#41 0x00007fb8783f6c16 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#42 0x00007fb878421c9f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#43 0x00007fb8783c548b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#44 0x00007fb8663fa411 in  () at /usr/lib/qt/plugins/kauth/backend/kauth_backend_plugin.so
#45 0x00007fb874f681ff in KAuth::Action::setName(QString const&) () at /usr/lib/libKF5Auth.so.5
#46 0x00007fb874f68271 in KAuth::Action::Action(QString const&) () at /usr/lib/libKF5Auth.so.5
#47 0x00007fb86438a22d in PowerDevilUPowerBackend::setBrightness(int, PowerDevil::BackendInterface::BrightnessControlType) () at /usr/lib/qt/plugins/kf5/powerdevil/powerdevilupowerbackend.so
#48 0x00007fb8796df59f in  () at /usr/lib/libpowerdevilcore.so.2
#49 0x00007fb8796ae89f in PowerDevil::Action::trigger(QMap<QString, QVariant> const&) () at /usr/lib/libpowerdevilcore.so.2
#50 0x00007fb8796e009e in  () at /usr/lib/libpowerdevilcore.so.2
#51 0x00007fb8796e037f in  () at /usr/lib/libpowerdevilcore.so.2
#52 0x00007fb8796b5c58 in PowerDevil::Core::onResumingFromIdle() () at /usr/lib/libpowerdevilcore.so.2
#53 0x00007fb8796e7436 in  () at /usr/lib/libpowerdevilcore.so.2
#54 0x00007fb8783f6c16 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#55 0x00007fb87687a246 in  () at /usr/lib/libKF5IdleTime.so.5
#56 0x00007fb8783f6c16 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#57 0x00007fb8783f6d3f in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#58 0x00007fb8673761c8 in ffi_call_unix64 () at /usr/lib/libffi.so.6
#59 0x00007fb867375c2a in ffi_call () at /usr/lib/libffi.so.6
#60 0x00007fb867c0dbad in  () at /usr/lib/libwayland-client.so.0
#61 0x00007fb867c0a679 in  () at /usr/lib/libwayland-client.so.0
#62 0x00007fb867c0b9b4 in wl_display_dispatch_queue_pending () at /usr/lib/libwayland-client.so.0
#63 0x00007fb867e6ba84 in QtWaylandClient::QWaylandDisplay::flushRequests() () at /usr/lib/libQt5WaylandClient.so.5
#64 0x00007fb8783f6c16 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#65 0x00007fb878421d18 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#66 0x00007fb8783c548b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#67 0x00007fb8783ce4d8 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#68 0x00005604fb42ec01 in  ()
#69 0x00007fb877a19f6a in __libc_start_main () at /usr/lib/libc.so.6
#70 0x00005604fb42ec6a in _start ()

Reported using DrKonqi
Comment 1 Christoph Feck 2017-10-25 17:33:01 UTC
Seems to be a recursion caused by KAuth.
Comment 2 Kai Uwe Broulik 2018-05-02 06:46:52 UTC

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