[kde] [Bug 345618] New: Powerdevil crash from idle desktop.

Matthew Dawson matthew at mjdsystems.ca
Sat Mar 28 16:42:00 GMT 2015


https://bugs.kde.org/show_bug.cgi?id=345618

            Bug ID: 345618
           Summary: Powerdevil crash from idle desktop.
           Product: kde
           Version: unspecified
          Platform: unspecified
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: matthew at mjdsystems.ca

Application: kded5 ()
 (Compiled from sources)
Qt Version: 5.4.0
Operating System: Linux 3.19.0-gentoo x86_64
Distribution: "NAME=Gentoo"

-- Information about the crash:
When I picked up my laptop to begin using it, kded crashed in powerdevil.  It
appears to have crashed in this function:
void Core::onResumingFromIdle()
{
    // Wake up the actions in which an idle action was triggered
    QList< Action* >::iterator i = m_pendingResumeFromIdleActions.begin();
    while (i != m_pendingResumeFromIdleActions.end()) {
        (*i)->onWakeupFromIdle(); // <<--- On this line
        i = m_pendingResumeFromIdleActions.erase(i);
    }
}

I haven't seen it before, so it may just be an unlikely race somewhere.

-- Backtrace:
Application: kded5 (kded5), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
81    T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f2c9638e780 (LWP 24402))]

Thread 3 (Thread 0x7f2c89c90700 (LWP 24403)):
#0  0x00007f2c95db38cd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f2c90adda12 in poll (__timeout=-1, __nfds=1, __fds=0x7f2c89c8fd40)
at /usr/include/bits/poll2.h:46
#2  _xcb_conn_wait (c=c at entry=0x1bd10c0, cond=cond at entry=0x1bd1100,
vector=vector at entry=0x0, count=count at entry=0x0) at
/usr/src/debug/x11-libs/libxcb-1.11-r1/libxcb-1.11/src/xcb_conn.c:459
#3  0x00007f2c90adf6d7 in xcb_wait_for_event (c=0x1bd10c0) at
/usr/src/debug/x11-libs/libxcb-1.11-r1/libxcb-1.11/src/xcb_in.c:623
#4  0x00007f2c962fada9 in QXcbEventReader::run (this=0x1bdf5f0) at
qxcbconnection.cpp:1099
#5  0x00007f2c940e42fe in QThreadPrivate::start (arg=0x1bdf5f0) at
thread/qthread_unix.cpp:337
#6  0x00007f2c93b14333 in start_thread (arg=0x7f2c89c90700) at
pthread_create.c:309
#7  0x00007f2c95dbd8ad in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f2c74978700 (LWP 24410)):
#0  0x00007f2c95db38cd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f2c91150c7c in g_main_context_poll (priority=2147483647, n_fds=1,
fds=0x7f2c640010c0, timeout=-1, context=0x1dbada0) at
/usr/src/debug/dev-libs/glib-2.40.2/glib-2.40.2/glib/gmain.c:4028
#2  g_main_context_iterate (context=0x1dbada0, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at
/usr/src/debug/dev-libs/glib-2.40.2/glib-2.40.2/glib/gmain.c:3729
#3  0x00007f2c91151072 in g_main_loop_run (loop=0x1d8ceb0) at
/usr/src/debug/dev-libs/glib-2.40.2/glib-2.40.2/glib/gmain.c:3928
#4  0x00007f2c74e67216 in gdbus_shared_thread_func (user_data=0x1dbad70) at
/usr/src/debug/dev-libs/glib-2.40.2/glib-2.40.2/gio/gdbusprivate.c:273
#5  0x00007f2c91178635 in g_thread_proxy (data=0x1dd4850) at
/usr/src/debug/dev-libs/glib-2.40.2/glib-2.40.2/glib/gthread.c:764
#6  0x00007f2c93b14333 in start_thread (arg=0x7f2c74978700) at
pthread_create.c:309
#7  0x00007f2c95dbd8ad in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f2c9638e780 (LWP 24402)):
[KCrash Handler]
#6  0x00007f2c7aefb609 in PowerDevil::Core::onResumingFromIdle (this=0x1d8bc20)
at
/usr/src/debug/kde-plasma/powerdevil-5.2.0/powerdevil-5.2.0/daemon/powerdevilcore.cpp:710
#7  0x00007f2c7af20d85 in PowerDevil::Core::qt_static_metacall (_o=0x18,
_c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x4) at
/usr/src/debug/kde-plasma/powerdevil-5.2.0/powerdevil-5.2.0_build/daemon/moc_powerdevilcore.cpp:219
#8  0x00007f2c9430d157 in QMetaObject::activate (sender=sender at entry=0x1e4a090,
signalOffset=<optimized out>, local_signal_index=local_signal_index at entry=0,
argv=0x0, argv at entry=0x5) at kernel/qobject.cpp:3716
#9  0x00007f2c9430da2f in QMetaObject::activate (sender=sender at entry=0x1e4a090,
m=m at entry=0x7f2c7aee4740 <KIdleTime::staticMetaObject>,
local_signal_index=local_signal_index at entry=0, argv=0x5, argv at entry=0x0) at
kernel/qobject.cpp:3582
#10 0x00007f2c7acdb690 in KIdleTime::resumingFromIdle
(this=this at entry=0x1e4a090) at
/usr/src/debug/kde-frameworks/kidletime-5.7.0/kidletime-5.7.0_build/src/moc_kidletime.cpp:180
#11 0x00007f2c7acdbeb8 in KIdleTimePrivate::_k_resumingFromIdle
(this=<optimized out>) at
/usr/src/debug/kde-frameworks/kidletime-5.7.0/kidletime-5.7.0/src/kidletime.cpp:239
#12 0x00007f2c9430d157 in QMetaObject::activate (sender=sender at entry=0x1e4bd60,
signalOffset=<optimized out>, local_signal_index=local_signal_index at entry=0,
argv=0x0, argv at entry=0x1c21350) at kernel/qobject.cpp:3716
#13 0x00007f2c9430da2f in QMetaObject::activate (sender=sender at entry=0x1e4bd60,
m=m at entry=0x7f2c7aee4cc0 <AbstractSystemPoller::staticMetaObject>,
local_signal_index=local_signal_index at entry=0, argv=0x1c21350, argv at entry=0x0)
at kernel/qobject.cpp:3582
#14 0x00007f2c7ace0010 in AbstractSystemPoller::resumingFromIdle
(this=this at entry=0x1e4bd60) at
/usr/src/debug/kde-frameworks/kidletime-5.7.0/kidletime-5.7.0_build/src/moc_abstractsystempoller.cpp:173
#15 0x00007f2c7acdf8be in XSyncBasedPoller::xcbEvent (this=0x1e4bd60,
event=0x7f2c84001fd0) at
/usr/src/debug/kde-frameworks/kidletime-5.7.0/kidletime-5.7.0/src/xsyncbasedpoller.cpp:304
#16 0x00007f2c7acdfe7e in XSyncBasedPollerHelper::nativeEventFilter
(this=0x7f2c7aee5380 <(anonymous
namespace)::Q_QGS_s_globalXSyncBasedPoller::innerFunction()::holder>,
eventType=..., message=0x7f2c84001fd0, result=<optimized out>) at
/usr/src/debug/kde-frameworks/kidletime-5.7.0/kidletime-5.7.0/src/xsyncbasedpoller.cpp:41
#17 0x00007f2c942d8760 in QAbstractEventDispatcher::filterNativeEvent
(this=this at entry=0x1c1d400, eventType=...,
message=message at entry=0x7f2c84001fd0, result=result at entry=0x7fff33993668) at
kernel/qabstracteventdispatcher.cpp:460
#18 0x00007f2c962f9cdd in QXcbConnection::handleXcbEvent
(this=this at entry=0x1bcf970, event=event at entry=0x7f2c84001fd0) at
qxcbconnection.cpp:854
#19 0x00007f2c962fb1db in QXcbConnection::processXcbEvents (this=0x1bcf970) at
qxcbconnection.cpp:1297
#20 0x00007f2c9430e50a in QObject::event (this=0x1bcf970, e=<optimized out>) at
kernel/qobject.cpp:1245
#21 0x00007f2c9578a42c in QApplicationPrivate::notify_helper (this=0x1bc61a0,
receiver=0x1bcf970, e=0x7f2c8400a0e0) at kernel/qapplication.cpp:3722
#22 0x00007f2c9578fc20 in QApplication::notify (this=0x7fff33993e60,
receiver=0x1bcf970, e=0x7f2c8400a0e0) at kernel/qapplication.cpp:3505
#23 0x00007f2c942dbf5b in QCoreApplication::notifyInternal
(this=0x7fff33993e60, receiver=0x1bcf970, event=event at entry=0x7f2c8400a0e0) at
kernel/qcoreapplication.cpp:932
#24 0x00007f2c942de132 in sendEvent (event=0x7f2c8400a0e0, receiver=<optimized
out>) at kernel/qcoreapplication.h:228
#25 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver at entry=0x0,
event_type=event_type at entry=0, data=0x1bc6310) at
kernel/qcoreapplication.cpp:1536
#26 0x00007f2c942de78a in QCoreApplication::sendPostedEvents
(receiver=receiver at entry=0x0, event_type=event_type at entry=0) at
kernel/qcoreapplication.cpp:1394
#27 0x00007f2c94335273 in postEventSourceDispatch (s=0x1c231f0) at
kernel/qeventdispatcher_glib.cpp:271
#28 0x00007f2c91150a04 in g_main_dispatch (context=0x7f2c84001e00) at
/usr/src/debug/dev-libs/glib-2.40.2/glib-2.40.2/glib/gmain.c:3064
#29 g_main_context_dispatch (context=context at entry=0x7f2c84001e00) at
/usr/src/debug/dev-libs/glib-2.40.2/glib-2.40.2/glib/gmain.c:3663
#30 0x00007f2c91150ce5 in g_main_context_iterate
(context=context at entry=0x7f2c84001e00, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at
/usr/src/debug/dev-libs/glib-2.40.2/glib-2.40.2/glib/gmain.c:3734
#31 0x00007f2c91150dac in g_main_context_iteration (context=0x7f2c84001e00,
may_block=1) at
/usr/src/debug/dev-libs/glib-2.40.2/glib-2.40.2/glib/gmain.c:3795
#32 0x00007f2c9433568b in QEventDispatcherGlib::processEvents (this=0x1c1d400,
flags=...) at kernel/qeventdispatcher_glib.cpp:418
#33 0x00007f2c942d9692 in QEventLoop::exec (this=this at entry=0x7fff33993d80,
flags=..., flags at entry=...) at kernel/qeventloop.cpp:204
#34 0x00007f2c942e153c in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1185
#35 0x00007f2c9460c0bc in QGuiApplication::exec () at
kernel/qguiapplication.cpp:1532
#36 0x00007f2c95786305 in QApplication::exec () at kernel/qapplication.cpp:2956
#37 0x00007f2c9608b1d9 in kdemain (argc=1, argv=<optimized out>) at
/usr/src/debug/kde-frameworks/kded-5.7.0/kded-5.7.0/src/kded.cpp:846
#38 0x00007f2c95cef2f0 in __libc_start_main (main=0x400780 <main(int, char**)>,
argc=1, argv=0x7fff33993fc8, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7fff33993fb8) at libc-start.c:285
#39 0x00000000004007b1 in _start ()

Reported using DrKonqi

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list