D8561: [d_ptr] Do not harsh destroy QThread

Anthony Fieroni noreply at phabricator.kde.org
Mon Oct 30 21:08:19 UTC 2017


anthonyfieroni created this revision.
anthonyfieroni added reviewers: Plasma, davidedmundson.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.

REVISION SUMMARY
  systemd makes coredumps in /var/lib/systemd/coredumps when kactivitymanagerd_plugin_sqlite.so quits
  
    coredumpctl list
    coredumpctl gdb PID
    (gdb) bt
    #0  0x00006d63f0d0513f in raise () from /lib/libc.so.6
    #1  0x00006d63f0d0656a in abort () from /lib/libc.so.6
    #2  0x00006d63f148792e in QMessageLogger::fatal(char const*, ...) const ()
       from /usr/lib/libQt5Core.so.5
    #3  0x00006d63f14991bc in QThread::~QThread() () from /usr/lib/libQt5Core.so.5
    #4  0x00006d63d17c6c8a in ?? ()
       from /usr/lib/qt5/plugins/kactivitymanagerd/1/kactivitymanagerd_plugin_sqlite.so
    #5  0x00006d63f0d07a80 in __run_exit_handlers () from /lib/libc.so.6
    #6  0x00006d63f0d07ada in exit () from /lib/libc.so.6
    #7  0x00006d63f2dd5e75 in QXcbConnection::processXcbEvents() ()
    ---Type <return> to continue, or q <return> to quit---
       from /usr/lib/qt5/plugins/platforms/../../../libQt5XcbQpa.so.5
    #8  0x00006d63f1699141 in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5

TEST PLAN
  Try to nice quit a thread

REPOSITORY
  R161 KActivity Manager Service

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

AFFECTED FILES
  src/utils/d_ptr_implementation.h

To: anthonyfieroni, #plasma, davidedmundson
Cc: plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20171030/6e9306a6/attachment.html>


More information about the Plasma-devel mailing list