Summary: | plasmashell and powerdevil crash on logout/reboot/shutdown | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | S. Christian Collins <s_chriscollins> |
Component: | general | Assignee: | David Edmundson <kde> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bhush94, kde, plasma-bugs |
Priority: | NOR | ||
Version: | 5.8.0 | ||
Target Milestone: | 1.0 | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/powerdevil/70177b065389db8cc822dbe88b3cdd383cd1d4cc | Version Fixed In: | 5.8.3 |
Attachments: |
pertinent section of .xsession-errors log
crash backtrace video of the crash |
Description
S. Christian Collins
2016-10-18 15:28:28 UTC
Created attachment 101624 [details]
pertinent section of .xsession-errors log
We need a backtrace to do anything, sorry. You can fake a logout by running "kquitapp plasmashell". from a console. Does that crash? Please reset the bug report status to unconfirmed when you reply. Created attachment 101677 [details]
crash backtrace
I was able to get a crash by simulating the logout (kquitapp plasmashell), and I have attached the backtrace here.
Created attachment 101678 [details]
video of the crash
Here is a video showing the crash behavior on logout, in case it is useful for narrowing things down.
Setting bug status to 'unconfirmed'. Perfect Thanks. This has been reported already and will be fixed soon. Did you say you also had another crash in powerdevil? If so can you redo the kquitapp5 trick to make that crash too. *** This bug has been marked as a duplicate of bug 371215 *** The powerdevil crash doesn't happen using "kquitapp plasmashell", only on an actual logout. Is there anywhere this crash information gets stored, or is it just lost when the system shuts down before drkonqi can be activated? Right, but you can kquitapp5 powerdevil. Actually, you can't because it doesn't explicitly register a org.kde.PowerDevil DBus interface. Was probably forgotten during the split, it's "local.org_kde_powerdevil" right now. You can still ask it to quit manually on DBus. And then powerdevil indeed crashes :) PowerDevil backtrace: Seems it tries to unload all actions and then unset some DPMS stuff but at this point the X connection is already gone. Probably also fallout from the separate binary split. Thread 1 (Thread 0x7f6b6263b940 (LWP 25443)): [KCrash Handler] #6 xcb_send_request64 (c=0x0, flags=flags@entry=0, vector=vector@entry=0x7ffc471abb10, req=req@entry=0x7f6b471d8c80 <xcb_req>) at ../../src/xcb_out.c:187 #7 0x00007f6b5eadb969 in xcb_send_request (c=<optimized out>, flags=flags@entry=0, vector=vector@entry=0x7ffc471abb10, req=req@entry=0x7f6b471d8c80 <xcb_req>) at ../../src/xcb_out.c:292 #8 0x00007f6b46fd82f7 in xcb_dpms_disable (c=<optimized out>) at dpms.c:348 #9 0x00007f6b471e1224 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/powerdevildpmsaction.so #10 0x00007f6b6219460a in PowerDevil::ActionPool::unloadAllActiveActions() () from /usr/lib/x86_64-linux-gnu/libpowerdevilcore.so.2 #11 0x00007f6b62198c26 in PowerDevil::Core::~Core() () from /usr/lib/x86_64-linux-gnu/libpowerdevilcore.so.2 #12 0x00007f6b62198f29 in PowerDevil::Core::~Core() () from /usr/lib/x86_64-linux-gnu/libpowerdevilcore.so.2 #13 0x00007f6b615aa2e3 in QObjectPrivate::deleteChildren() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #14 0x00007f6b615b3484 in QObject::~QObject() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #15 0x00007f6b61582762 in QCoreApplication::~QCoreApplication() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #16 0x0000000000404e65 in ?? () #17 0x00007f6b60bcf830 in __libc_start_main (main=0x404dc0, argc=1, argv=0x7ffc471abf38, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc471abf28) at ../csu/libc-start.c:291 #18 0x0000000000404eb9 in _start () Git commit 70177b065389db8cc822dbe88b3cdd383cd1d4cc by Kai Uwe Broulik. Committed on 25/10/2016 at 16:21. Pushed by broulik into branch 'Plasma/5.8'. Manually delete PowerDevil Core on teardown The QObject children cleanup routine is run after QGuiApplication's destructor after which the X connection has already been cleaned up. By manually deleting in PowerDevilApp's destructor, we delete Core first before any Qt cleanup happens. CHANGELOG: PowerDevil no longer crashes on logout FIXED-IN: 5.8.3 Differential Revision: https://phabricator.kde.org/D3152 M +4 -1 daemon/powerdevilapp.cpp http://commits.kde.org/powerdevil/70177b065389db8cc822dbe88b3cdd383cd1d4cc |