Bug 311926

Summary: KDE Daemon crashes periodically
Product: [Applications] apper Reporter: Ron Peck <bittercode>
Component: generalAssignee: Daniel Nicoletti <dantti12>
Status: RESOLVED FIXED    
Severity: crash CC: afiestas, Larry
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Ron Peck 2012-12-19 09:24:07 UTC
Application: kded4 ($Id$)
KDE Platform Version: 4.8.5 (4.8.5)
Qt Version: 4.8.3
Operating System: Linux 3.6.10-2.fc16.x86_64 x86_64
Distribution: "Fedora release 16 (Verne)"

-- Information about the crash:
- Unusual behavior I noticed:
During the day or when I'm away I get a message that pops up saying the KDE Daemon crashed. Nothing happens that I'm aware of but it keeps popping up.

The crash can be reproduced every time.

-- Backtrace:
Application: KDE Daemon (kded4), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:39
39		cmpq $-4095, %rax	/* Check %rax for error.  */
[Current thread is 1 (Thread 0x7f2ee6c04840 (LWP 1633))]

Thread 3 (Thread 0x7f2ed3fff700 (LWP 1720)):
#0  0x0000003ca70e8803 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x0000003ca8c45448 in g_main_context_poll (n_fds=1, fds=0x7f2ecc002200, priority=<optimized out>, timeout=-1, context=0x7f2ecc0009a0) at gmain.c:3402
#2  g_main_context_iterate (context=0x7f2ecc0009a0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3084
#3  0x0000003ca8c4590c in g_main_context_iteration (context=0x7f2ecc0009a0, may_block=1) at gmain.c:3152
#4  0x000000361adaaca6 in QEventDispatcherGlib::processEvents (this=0x7f2ecc0008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#5  0x000000361ad7ae62 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x000000361ad7b0b7 in QEventLoop::exec (this=0x7f2ed3ffecf0, flags=...) at kernel/qeventloop.cpp:204
#7  0x000000361ac78cd7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x000000361ad5a8bf in QInotifyFileSystemWatcherEngine::run (this=0x150a4b0) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x000000361ac7bd5c in QThreadPrivate::start (arg=0x150a4b0) at thread/qthread_unix.cpp:338
#10 0x0000003ca7c07d90 in start_thread (arg=0x7f2ed3fff700) at pthread_create.c:309
#11 0x0000003ca70f119d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f2ed1a5d700 (LWP 2479)):
[KCrash Handler]
#6  0x0000003ca7036285 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x0000003ca7037b9b in __GI_abort () at abort.c:91
#8  0x0000003dfd82fff5 in _dbus_abort () at dbus-sysdeps.c:94
#9  0x0000003dfd826fc1 in _dbus_warn_check_failed (format=0x3dfd8362b0 "arguments to %s() were incorrect, assertion \"%s\" failed in file %s line %d.\nThis is normally a bug in some application using the D-Bus library.\n") at dbus-internals.c:289
#10 0x000000361cc1c2a7 in q_dbus_pending_call_block (pending=<optimized out>) at qdbus_symbols_p.h:313
#11 QDBusConnectionPrivate::waitForFinished (this=0x1176810, pcall=0x7f2ec00042f0) at qdbusintegrator.cpp:1778
#12 0x000000361cc5ca17 in QDBusPendingCallPrivate::waitForFinished (this=0x7f2ec00042f0) at qdbuspendingcall.cpp:245
#13 0x000000361cc5e6eb in QDBusPendingReplyData::argumentAt (this=0x7f2ed1a5c080, index=0) at qdbuspendingreply.cpp:264
#14 0x000000314a848ae9 in argumentAt<0> (this=0x7f2ed1a5c080) at /usr/include/QtDBus/qdbuspendingreply.h:176
#15 operator QDBusPendingReplyTypes::Select<0, bool, void, void, void, void, void, void, void>::Type (this=0x7f2ed1a5c080) at /usr/include/QtDBus/qdbuspendingreply.h:186
#16 Solid::PowerManagement::appShouldConserveResources () at /usr/src/debug/kdelibs-4.8.5/solid/solid/powermanagement.cpp:77
#17 0x00007f2ed1a62dba in ApperdThread::isSystemReady (this=<optimized out>, ignoreBattery=<optimized out>, ignoreMobile=false) at /usr/src/debug/apper-0.7.2/apperd/ApperdThread.cpp:304
#18 0x00007f2ed1a63215 in ApperdThread::poll (this=0x1625920) at /usr/src/debug/apper-0.7.2/apperd/ApperdThread.cpp:163
#19 0x000000361ad8fc91 in QMetaObject::activate (sender=0x7f2ec0002530, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#20 0x000000361ad94bf9 in QObject::event (this=0x7f2ec0002530, e=<optimized out>) at kernel/qobject.cpp:1157
#21 0x000000361b3c9c14 in notify_helper (e=0x7f2ed1a5cab0, receiver=0x7f2ec0002530, this=0x1185480) at kernel/qapplication.cpp:4557
#22 QApplicationPrivate::notify_helper (this=0x1185480, receiver=0x7f2ec0002530, e=0x7f2ed1a5cab0) at kernel/qapplication.cpp:4529
#23 0x000000361b3ce9e3 in QApplication::notify (this=0x7ffff67be6b0, receiver=0x7f2ec0002530, e=0x7f2ed1a5cab0) at kernel/qapplication.cpp:4418
#24 0x000000314a2528e6 in KApplication::notify (this=0x7ffff67be6b0, receiver=0x7f2ec0002530, event=0x7f2ed1a5cab0) at /usr/src/debug/kdelibs-4.8.5/kdeui/kernel/kapplication.cpp:311
#25 0x000000361ad7bfdc in QCoreApplication::notifyInternal (this=0x7ffff67be6b0, receiver=0x7f2ec0002530, event=0x7f2ed1a5cab0) at kernel/qcoreapplication.cpp:915
#26 0x000000361adaca12 in sendEvent (event=0x7f2ed1a5cab0, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#27 QTimerInfoList::activateTimers (this=0x7f2ec00020d0) at kernel/qeventdispatcher_unix.cpp:611
#28 0x000000361adaa41d in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:186
#29 timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:180
#30 0x000000361adaa441 in idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:233
#31 0x0000003ca8c44f3d in g_main_dispatch (context=0x7f2ec00009a0) at gmain.c:2441
#32 g_main_context_dispatch (context=0x7f2ec00009a0) at gmain.c:3011
#33 0x0000003ca8c45738 in g_main_context_iterate (context=0x7f2ec00009a0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3089
#34 0x0000003ca8c4590c in g_main_context_iteration (context=0x7f2ec00009a0, may_block=1) at gmain.c:3152
#35 0x000000361adaac3f in QEventDispatcherGlib::processEvents (this=0x7f2ec00008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#36 0x000000361ad7ae62 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#37 0x000000361ad7b0b7 in QEventLoop::exec (this=0x7f2ed1a5cd20, flags=...) at kernel/qeventloop.cpp:204
#38 0x000000361ac78cd7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#39 0x000000361ac7bd5c in QThreadPrivate::start (arg=0x1640bb0) at thread/qthread_unix.cpp:338
#40 0x0000003ca7c07d90 in start_thread (arg=0x7f2ed1a5d700) at pthread_create.c:309
#41 0x0000003ca70f119d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f2ee6c04840 (LWP 1633)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:39
#1  0x000000361ac7a7eb in _q_futex (val2=0, addr2=0x0, timeout=0x0, val=2, op=0, addr=0x11769d0) at thread/qmutex_unix.cpp:99
#2  QMutexPrivate::wait (this=0x11769d0, timeout=<optimized out>) at thread/qmutex_unix.cpp:113
#3  0x000000361ac7659d in QMutex::lockInternal (this=<optimized out>) at thread/qmutex.cpp:450
#4  0x000000361cc1b8f5 in QDBusMutexLocker (m=0x1176878, this=<synthetic pointer>, s=0x1176810, a=DoDispatchAction) at qdbusthreaddebug_p.h:188
#5  QDBusDispatchLocker (s=0x1176810, a=DoDispatchAction, this=<synthetic pointer>) at qdbusthreaddebug_p.h:203
#6  QDBusConnectionPrivate::doDispatch (this=0x1176810) at qdbusintegrator.cpp:1127
#7  0x000000361ad94ec6 in QObject::event (this=0x1176810, e=<optimized out>) at kernel/qobject.cpp:1195
#8  0x000000361b3c9c14 in notify_helper (e=0x1602f00, receiver=0x1176810, this=0x1185480) at kernel/qapplication.cpp:4557
#9  QApplicationPrivate::notify_helper (this=0x1185480, receiver=0x1176810, e=0x1602f00) at kernel/qapplication.cpp:4529
#10 0x000000361b3ce9e3 in QApplication::notify (this=0x7ffff67be6b0, receiver=0x1176810, e=0x1602f00) at kernel/qapplication.cpp:4418
#11 0x000000314a2528e6 in KApplication::notify (this=0x7ffff67be6b0, receiver=0x1176810, event=0x1602f00) at /usr/src/debug/kdelibs-4.8.5/kdeui/kernel/kapplication.cpp:311
#12 0x000000361ad7bfdc in QCoreApplication::notifyInternal (this=0x7ffff67be6b0, receiver=0x1176810, event=0x1602f00) at kernel/qcoreapplication.cpp:915
#13 0x000000361ad7fa7a in sendEvent (event=0x1602f00, receiver=0x1176810) at kernel/qcoreapplication.h:231
#14 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x114f4d0) at kernel/qcoreapplication.cpp:1539
#15 0x000000361adaa813 in sendPostedEvents () at kernel/qcoreapplication.h:236
#16 postEventSourceDispatch (s=0x1188e80) at kernel/qeventdispatcher_glib.cpp:279
#17 0x0000003ca8c44f3d in g_main_dispatch (context=0x1187ce0) at gmain.c:2441
#18 g_main_context_dispatch (context=0x1187ce0) at gmain.c:3011
#19 0x0000003ca8c45738 in g_main_context_iterate (context=0x1187ce0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3089
#20 0x0000003ca8c4590c in g_main_context_iteration (context=0x1187ce0, may_block=1) at gmain.c:3152
#21 0x000000361adaac3f in QEventDispatcherGlib::processEvents (this=0x1150990, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#22 0x000000361b46cace in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:207
#23 0x000000361ad7ae62 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#24 0x000000361ad7b0b7 in QEventLoop::exec (this=0x7ffff67be640, flags=...) at kernel/qeventloop.cpp:204
#25 0x000000361ad7fd75 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#26 0x000000314be08de5 in kdemain (argc=1, argv=0x7ffff67bea88) at /usr/src/debug/kdelibs-4.8.5/kded/kded.cpp:924
#27 0x0000003ca702169d in __libc_start_main (main=0x400710 <main(int, char**)>, argc=1, ubp_av=0x7ffff67bea88, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffff67bea78) at libc-start.c:226
#28 0x0000000000400741 in _start ()

This bug may be a duplicate of or related to bug 309485.

Possible duplicates by query: bug 309485, bug 307445, bug 300246.

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-12-19 12:30:15 UTC
*** Bug 309485 has been marked as a duplicate of this bug. ***
Comment 2 Alex Fiestas 2013-03-03 18:19:36 UTC
This seems to be apperd, not powerdevil.
Comment 3 Daniel Nicoletti 2013-03-04 11:29:32 UTC
This is a bug in Qt, which has workarounds for in in Apper 0.8.x, your version is too old, please update.