D16425: Added new Suspend then Hibernate option

Alejandro Valdes noreply at phabricator.kde.org
Tue Nov 6 09:00:37 GMT 2018


avaldes updated this revision to Diff 44950.
avaldes added a comment.


  I have changed the message.
  
  Also, if anyone can help me, I'm having a segmentation fault with these changes when an application inhibits power saving. This does happen with or without having available hibernation in the machine. Is there any manual on how can I debug powerdevil? I wasn't able to find much when searching for it.
  
    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 0x7fa4c8735840 (LWP 12369))]
    
    Thread 5 (Thread 0x7fa4c4e18700 (LWP 12396)):
    #0  0x00007fa4ce93d7a4 in read () at /usr/lib/libc.so.6
    #1  0x00007fa4cced1781 in  () at /usr/lib/libglib-2.0.so.0
    #2  0x00007fa4ccf21a50 in g_main_context_check () at /usr/lib/libglib-2.0.so.0
    #3  0x00007fa4ccf22e86 in  () at /usr/lib/libglib-2.0.so.0
    #4  0x00007fa4ccf23f62 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
    #5  0x00007fa4c5d46c28 in  () at /usr/lib/libgio-2.0.so.0
    #6  0x00007fa4cceec3eb in  () at /usr/lib/libglib-2.0.so.0
    #7  0x00007fa4cdb66a9d in start_thread () at /usr/lib/libpthread.so.0
    #8  0x00007fa4ce94cb23 in clone () at /usr/lib/libc.so.6
    
    Thread 4 (Thread 0x7fa4c5619700 (LWP 12393)):
    #0  0x00007fa4ce93d7a4 in read () at /usr/lib/libc.so.6
    #1  0x00007fa4cced1781 in  () at /usr/lib/libglib-2.0.so.0
    #2  0x00007fa4ccf21a50 in g_main_context_check () at /usr/lib/libglib-2.0.so.0
    #3  0x00007fa4ccf22e86 in  () at /usr/lib/libglib-2.0.so.0
    #4  0x00007fa4ccf22fce in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
    #5  0x00007fa4ccf23022 in  () at /usr/lib/libglib-2.0.so.0
    #6  0x00007fa4cceec3eb in  () at /usr/lib/libglib-2.0.so.0
    #7  0x00007fa4cdb66a9d in start_thread () at /usr/lib/libpthread.so.0
    #8  0x00007fa4ce94cb23 in clone () at /usr/lib/libc.so.6
    
    Thread 3 (Thread 0x7fa4c675e700 (LWP 12388)):
    #0  0x00007fa4ce93d7a4 in read () at /usr/lib/libc.so.6
    #1  0x00007fa4cced1781 in  () at /usr/lib/libglib-2.0.so.0
    #2  0x00007fa4ccf21a50 in g_main_context_check () at /usr/lib/libglib-2.0.so.0
    #3  0x00007fa4ccf22e86 in  () at /usr/lib/libglib-2.0.so.0
    #4  0x00007fa4ccf22fce in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
    #5  0x00007fa4cee68fe4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
    #6  0x00007fa4cee148cc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
    #7  0x00007fa4cec5deb9 in QThread::exec() () at /usr/lib/libQt5Core.so.5
    #8  0x00007fa4cf0baba6 in  () at /usr/lib/libQt5DBus.so.5
    #9  0x00007fa4cec67f65 in  () at /usr/lib/libQt5Core.so.5
    #10 0x00007fa4cdb66a9d in start_thread () at /usr/lib/libpthread.so.0
    #11 0x00007fa4ce94cb23 in clone () at /usr/lib/libc.so.6
    
    Thread 2 (Thread 0x7fa4c737d700 (LWP 12378)):
    #0  0x00007fa4ce941c21 in poll () at /usr/lib/libc.so.6
    #1  0x00007fa4ce053630 in  () at /usr/lib/libxcb.so.1
    #2  0x00007fa4ce0552db in xcb_wait_for_event () at /usr/lib/libxcb.so.1
    #3  0x00007fa4c82e3c5a in  () at /usr/lib/libQt5XcbQpa.so.5
    #4  0x00007fa4cec67f65 in  () at /usr/lib/libQt5Core.so.5
    #5  0x00007fa4cdb66a9d in start_thread () at /usr/lib/libpthread.so.0
    #6  0x00007fa4ce94cb23 in clone () at /usr/lib/libc.so.6
    
    Thread 1 (Thread 0x7fa4c8735840 (LWP 12369)):
    [KCrash Handler]
    #6  0x00007fa4cecb2523 in QHashData::nextNode(QHashData::Node*) () at /usr/lib/libQt5Core.so.5
    #7  0x00007fa4cfe0f8e5 in PowerDevil::PolicyAgent::onServiceUnregistered(QString const&) () at /usr/lib/libpowerdevilcore.so.2
    #8  0x00007fa4cfe3ac8a in  () at /usr/lib/libpowerdevilcore.so.2
    #9  0x00007fa4cee3fa7c in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
    #10 0x00007fa4cf118626 in QDBusServiceWatcher::serviceUnregistered(QString const&) () at /usr/lib/libQt5DBus.so.5
    #11 0x00007fa4cf118e8b in  () at /usr/lib/libQt5DBus.so.5
    #12 0x00007fa4cf119293 in QDBusServiceWatcher::qt_metacall(QMetaObject::Call, int, void**) () at /usr/lib/libQt5DBus.so.5
    #13 0x00007fa4cf0c69ef in  () at /usr/lib/libQt5DBus.so.5
    #14 0x00007fa4cee40352 in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
    #15 0x00007fa4cee15c39 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
    #16 0x00007fa4cee18ccc in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
    #17 0x00007fa4cee699d4 in  () at /usr/lib/libQt5Core.so.5
    #18 0x00007fa4ccf213cf in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
    #19 0x00007fa4ccf22f89 in  () at /usr/lib/libglib-2.0.so.0
    #20 0x00007fa4ccf22fce in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
    #21 0x00007fa4cee68fc9 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
    #22 0x00007fa4c8379da2 in  () at /usr/lib/libQt5XcbQpa.so.5
    #23 0x00007fa4cee148cc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
    #24 0x00007fa4cee1cbc6 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
    #25 0x000055c94f91d0c6 in  ()
    #26 0x00007fa4ce875223 in __libc_start_main () at /usr/lib/libc.so.6
    #27 0x000055c94f91d12e in _start ()
    [Inferior 1 (process 12369) detached]

REPOSITORY
  R122 Powerdevil

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D16425?vs=44294&id=44950

REVISION DETAIL
  https://phabricator.kde.org/D16425

AFFECTED FILES
  daemon/actions/bundled/handlebuttoneventsconfig.cpp
  daemon/actions/bundled/handlebuttoneventsconfig.h
  daemon/actions/bundled/suspendsessionconfig.cpp
  daemon/actions/bundled/suspendsessionconfig.h

To: avaldes, broulik
Cc: graesslin, ngraham, plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20181106/c52d8365/attachment-0001.html>


More information about the Plasma-devel mailing list