Bug 406320 - Powerdevil SEGV in onServiceUnregistered
Summary: Powerdevil SEGV in onServiceUnregistered
Status: RESOLVED DUPLICATE of bug 403776
Alias: None
Product: Powerdevil
Classification: Plasma
Component: general (show other bugs)
Version: 5.15.2
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-08 04:07 UTC by Bernie Innocenti
Modified: 2019-04-08 04:16 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bernie Innocenti 2019-04-08 04:07:23 UTC
SUMMARY

Powerdevil crashes every now and then (it happened 5 or 6 times in two weeks). It seems to happen around suspend/resume, but I'm not sure.

This time I attached GDB and collected this stack trace, hoping it's enough to pinpoint the issue:

Thread 1 "org_kde_powerde" received signal SIGSEGV, Segmentation fault.

#0  0x00007ffff6dd43a9 in QHashData::nextNode(QHashData::Node*) () at /lib64/libQt5Core.so.5
#1  0x00007ffff7f4d98b in PowerDevil::PolicyAgent::onServiceUnregistered(QString const&) ()
    at /lib64/libpowerdevilcore.so.2
#2  0x00007ffff7f77909 in  () at /lib64/libpowerdevilcore.so.2
#3  0x00007ffff6f546ab in QMetaObject::activate(QObject*, int, int, void**) () at /lib64/libQt5Core.so.5
#4  0x00007ffff7260509 in QDBusServiceWatcher::serviceUnregistered(QString const&) () at /lib64/libQt5DBus.so.5
#5  0x00007ffff7260d82 in  () at /lib64/libQt5DBus.so.5
#6  0x00007ffff7261153 in QDBusServiceWatcher::qt_metacall(QMetaObject::Call, int, void**) () at /lib64/libQt5DBus.so.5
#7  0x00007ffff720764b in  () at /lib64/libQt5DBus.so.5
#8  0x00007ffff6f554fa in QObject::event(QEvent*) () at /lib64/libQt5Core.so.5
#9  0x00007ffff6f2a395 in  () at /lib64/libQt5Core.so.5
#10 0x00007ffff6f2a428 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#11 0x00007ffff6f2d383 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) ()
    at /lib64/libQt5Core.so.5
#12 0x00007ffff6f7f737 in  () at /lib64/libQt5Core.so.5
#13 0x00007ffff54d0fa0 in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#14 0x00007ffff54d1338 in  () at /lib64/libglib-2.0.so.0
#15 0x00007ffff54d13e3 in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#16 0x00007ffff6f7f4b2 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
    at /lib64/libQt5Core.so.5
#17 0x00007ffff6f2941b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#18 0x00007ffff6f31106 in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#19 0x000055555555b5f4 in  ()
#20 0x00007ffff692cf33 in __libc_start_main () at /lib64/libc.so.6
#21 0x000055555555b65e in _start ()
Comment 1 Bernie Innocenti 2019-04-08 04:13:13 UTC
Ah, looks like this crash was already fixed in 5.15.3:

https://cgit.kde.org/powerdevil.git/commit/?id=980156cda79e573d99a5bdc07fe379aac07cc42e

But Fedora 30 is still shipping 5.15.2 as of today, I'll check with Rex Dieter.
Comment 2 Bernie Innocenti 2019-04-08 04:16:14 UTC

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