Bug 331996

Summary: Resume from sleep
Product: [Unmaintained] kdelibs Reporter: Emil Laslo <lasloemil>
Component: kdedAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 4.12.2   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Emil Laslo 2014-03-10 20:57:10 UTC
Application: kded4 (4.12.2)
KDE Platform Version: 4.12.2
Qt Version: 4.8.5
Operating System: Linux 3.13.6-200.fc20.x86_64 x86_64
Distribution: "Fedora release 20 (Heisenbug)"

-- Information about the crash:
- What I was doing when the application crashed:
Opened the laptop's lid. It seems that it's replicable in 9 out of 10 cases.

The crash can be reproduced sometimes.

-- Backtrace:
Application: KDE Daemon (kded4), 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 0x7f51d8e9b8c0 (LWP 1373))]

Thread 6 (Thread 0x7f51cc8c4700 (LWP 1377)):
#0  0x00007fffa872c7c2 in clock_gettime ()
#1  0x0000003de2702f3d in __GI___clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:115
#2  0x0000003debed37ab in do_gettime (frac=0x7f51cc8c3a70, sec=0x7f51cc8c3a68) at tools/qelapsedtimer_unix.cpp:127
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:144
#4  0x0000003debfb4655 in updateCurrentTime (this=0x7f51c8002860) at kernel/qeventdispatcher_unix.cpp:354
#5  QTimerInfoList::timerWait (this=0x7f51c8002860, tm=...) at kernel/qeventdispatcher_unix.cpp:460
#6  0x0000003debfb2cdc in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f51cc8c3b44) at kernel/qeventdispatcher_glib.cpp:136
#7  0x0000003debfb2da5 in timerSourcePrepare (source=<optimized out>, timeout=timeout@entry=0x7f51cc8c3b44) at kernel/qeventdispatcher_glib.cpp:169
#8  0x0000003de5248bed in g_main_context_prepare (context=context@entry=0x7f51c80009a0, priority=priority@entry=0x7f51cc8c3bd0) at gmain.c:3340
#9  0x0000003de52494bb in g_main_context_iterate (context=context@entry=0x7f51c80009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3693
#10 0x0000003de52496dc in g_main_context_iteration (context=0x7f51c80009a0, may_block=1) at gmain.c:3774
#11 0x0000003debfb2ec6 in QEventDispatcherGlib::processEvents (this=0x7f51c80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#12 0x0000003debf82edf in QEventLoop::processEvents (this=this@entry=0x7f51cc8c3d10, flags=...) at kernel/qeventloop.cpp:149
#13 0x0000003debf8322d in QEventLoop::exec (this=this@entry=0x7f51cc8c3d10, flags=...) at kernel/qeventloop.cpp:204
#14 0x0000003debe79baf in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#15 0x0000003debe7c3af in QThreadPrivate::start (arg=0x269f3b0) at thread/qthread_unix.cpp:338
#16 0x0000003de2e07f33 in start_thread (arg=0x7f51cc8c4700) at pthread_create.c:309
#17 0x0000003de26f4ded in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7f51c6659700 (LWP 1384)):
#0  0x00007fffa872c7c2 in clock_gettime ()
#1  0x0000003de2702f3d in __GI___clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:115
#2  0x0000003debed37ab in do_gettime (frac=0x7f51c6658a20, sec=0x7f51c6658a18) at tools/qelapsedtimer_unix.cpp:127
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:144
#4  0x0000003debfb4655 in updateCurrentTime (this=0x7f51c0002660) at kernel/qeventdispatcher_unix.cpp:354
#5  QTimerInfoList::timerWait (this=0x7f51c0002660, tm=...) at kernel/qeventdispatcher_unix.cpp:460
#6  0x0000003debfb2cdc in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f51c6658af4) at kernel/qeventdispatcher_glib.cpp:136
#7  0x0000003debfb2da5 in timerSourcePrepare (source=<optimized out>, timeout=timeout@entry=0x7f51c6658af4) at kernel/qeventdispatcher_glib.cpp:169
#8  0x0000003de5248bed in g_main_context_prepare (context=context@entry=0x7f51c00009a0, priority=priority@entry=0x7f51c6658b80) at gmain.c:3340
#9  0x0000003de52494bb in g_main_context_iterate (context=context@entry=0x7f51c00009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3693
#10 0x0000003de52496dc in g_main_context_iteration (context=0x7f51c00009a0, may_block=1) at gmain.c:3774
#11 0x0000003debfb2ec6 in QEventDispatcherGlib::processEvents (this=0x7f51c00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#12 0x0000003debf82edf in QEventLoop::processEvents (this=this@entry=0x7f51c6658cc0, flags=...) at kernel/qeventloop.cpp:149
#13 0x0000003debf8322d in QEventLoop::exec (this=this@entry=0x7f51c6658cc0, flags=...) at kernel/qeventloop.cpp:204
#14 0x0000003debe79baf in QThread::exec (this=this@entry=0x272dd40) at thread/qthread.cpp:536
#15 0x0000003debf63863 in QInotifyFileSystemWatcherEngine::run (this=0x272dd40) at io/qfilesystemwatcher_inotify.cpp:265
#16 0x0000003debe7c3af in QThreadPrivate::start (arg=0x272dd40) at thread/qthread_unix.cpp:338
#17 0x0000003de2e07f33 in start_thread (arg=0x7f51c6659700) at pthread_create.c:309
#18 0x0000003de26f4ded in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7f5197df2700 (LWP 1447)):
#0  0x0000003de26ea9dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x0000003de52495b4 in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7f51900010c0, timeout=-1, context=0x27ef1e0) at gmain.c:4007
#2  g_main_context_iterate (context=0x27ef1e0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3708
#3  0x0000003de5249a3a in g_main_loop_run (loop=0x27ef170) at gmain.c:3907
#4  0x00000032118d0376 in gdbus_shared_thread_func (user_data=0x27ef1b0) at gdbusprivate.c:278
#5  0x0000003de526ea45 in g_thread_proxy (data=0x27a3450) at gthread.c:798
#6  0x0000003de2e07f33 in start_thread (arg=0x7f5197df2700) at pthread_create.c:309
#7  0x0000003de26f4ded in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f51973e5700 (LWP 1448)):
#0  0x0000003de2e0b1fe in __pthread_mutex_unlock_usercnt (decr=1, mutex=0x7f5188000a60) at pthread_mutex_unlock.c:57
#1  __GI___pthread_mutex_unlock (mutex=0x7f5188000a60) at pthread_mutex_unlock.c:310
#2  0x0000003de528a5d1 in g_mutex_unlock (mutex=mutex@entry=0x7f51880009a0) at gthread-posix.c:232
#3  0x0000003de5248690 in g_main_context_acquire (context=0x7f51880009a0) at gmain.c:3141
#4  0x0000003de5249465 in g_main_context_iterate (context=context@entry=0x7f51880009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3663
#5  0x0000003de52496dc in g_main_context_iteration (context=0x7f51880009a0, may_block=1) at gmain.c:3774
#6  0x0000003debfb2ec6 in QEventDispatcherGlib::processEvents (this=0x7f51880008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#7  0x0000003debf82edf in QEventLoop::processEvents (this=this@entry=0x7f51973e4cd0, flags=...) at kernel/qeventloop.cpp:149
#8  0x0000003debf8322d in QEventLoop::exec (this=this@entry=0x7f51973e4cd0, flags=...) at kernel/qeventloop.cpp:204
#9  0x0000003debe79baf in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#10 0x0000003b22421b47 in KCupsConnection::run() () from /lib64/libkcupslib.so
#11 0x0000003debe7c3af in QThreadPrivate::start (arg=0x26e7080) at thread/qthread_unix.cpp:338
#12 0x0000003de2e07f33 in start_thread (arg=0x7f51973e5700) at pthread_create.c:309
#13 0x0000003de26f4ded in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f5196be4700 (LWP 1449)):
#0  0x0000003de26ea9dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x0000003de52495b4 in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7f518c0021c0, timeout=-1, context=0x7f518c0009a0) at gmain.c:4007
#2  g_main_context_iterate (context=context@entry=0x7f518c0009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3708
#3  0x0000003de52496dc in g_main_context_iteration (context=0x7f518c0009a0, may_block=1) at gmain.c:3774
#4  0x0000003debfb2ec6 in QEventDispatcherGlib::processEvents (this=0x7f518c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#5  0x0000003debf82edf in QEventLoop::processEvents (this=this@entry=0x7f5196be3d10, flags=...) at kernel/qeventloop.cpp:149
#6  0x0000003debf8322d in QEventLoop::exec (this=this@entry=0x7f5196be3d10, flags=...) at kernel/qeventloop.cpp:204
#7  0x0000003debe79baf in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#8  0x0000003debe7c3af in QThreadPrivate::start (arg=0x26de850) at thread/qthread_unix.cpp:338
#9  0x0000003de2e07f33 in start_thread (arg=0x7f5196be4700) at pthread_create.c:309
#10 0x0000003de26f4ded in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f51d8e9b8c0 (LWP 1373)):
[KCrash Handler]
#6  0x0000003870ca6887 in Solid::Backends::UPower::Battery::slotChanged (this=0x290c4f0) at /usr/src/debug/kdelibs-4.12.2/solid/solid/backends/upower/upowerbattery.cpp:149
#7  0x0000003debf98cf8 in QMetaObject::activate (sender=0x2792cc0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#8  0x0000003debf98cf8 in QMetaObject::activate (sender=sender@entry=0x2792cd0, m=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffa8642620) at kernel/qobject.cpp:3547
#9  0x0000003dee437be2 in QDBusInterfacePrivate::metacall (this=0x2836b90, c=<optimized out>, id=0, argv=0x7fffa8642620) at qdbusinterface.cpp:278
#10 0x0000003dee424cb6 in QDBusConnectionPrivate::deliverCall (this=0x25a9360, object=0x2792cd0, msg=..., metaTypes=..., slotIdx=5) at qdbusintegrator.cpp:951
#11 0x0000003debf9d27e in QObject::event (this=0x2792cd0, e=<optimized out>) at kernel/qobject.cpp:1194
#12 0x0000003690fc9d8c in QApplicationPrivate::notify_helper (this=this@entry=0x2473ba0, receiver=receiver@entry=0x2792cd0, e=e@entry=0x29645e0) at kernel/qapplication.cpp:4562
#13 0x0000003690fd0725 in QApplication::notify (this=this@entry=0x7fffa8642e80, receiver=receiver@entry=0x2792cd0, e=e@entry=0x29645e0) at kernel/qapplication.cpp:4348
#14 0x00000036d6a4aa1a in KApplication::notify (this=0x7fffa8642e80, receiver=0x2792cd0, event=0x29645e0) at /usr/src/debug/kdelibs-4.12.2/kdeui/kernel/kapplication.cpp:311
#15 0x0000003debf8439d in QCoreApplication::notifyInternal (this=0x7fffa8642e80, receiver=receiver@entry=0x2792cd0, event=event@entry=0x29645e0) at kernel/qcoreapplication.cpp:949
#16 0x0000003debf87485 in sendEvent (event=0x29645e0, receiver=0x2792cd0) at kernel/qcoreapplication.h:231
#17 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x243e520) at kernel/qcoreapplication.cpp:1573
#18 0x0000003debf87923 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1466
#19 0x0000003debfb3623 in sendPostedEvents () at kernel/qcoreapplication.h:236
#20 postEventSourceDispatch (s=s@entry=0x2475000) at kernel/qeventdispatcher_glib.cpp:280
#21 0x0000003de52492a6 in g_main_dispatch (context=0x2473ea0) at gmain.c:3066
#22 g_main_context_dispatch (context=context@entry=0x2473ea0) at gmain.c:3642
#23 0x0000003de5249628 in g_main_context_iterate (context=context@entry=0x2473ea0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3713
#24 0x0000003de52496dc in g_main_context_iteration (context=0x2473ea0, may_block=1) at gmain.c:3774
#25 0x0000003debfb2ea5 in QEventDispatcherGlib::processEvents (this=0x243fe80, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#26 0x000000369106bca6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#27 0x0000003debf82edf in QEventLoop::processEvents (this=this@entry=0x7fffa8642d40, flags=...) at kernel/qeventloop.cpp:149
#28 0x0000003debf8322d in QEventLoop::exec (this=this@entry=0x7fffa8642d40, flags=...) at kernel/qeventloop.cpp:204
#29 0x0000003debf88749 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#30 0x0000003690fc83fc in QApplication::exec () at kernel/qapplication.cpp:3823
#31 0x000000386fa0af0b in kdemain (argc=1, argv=0x7fffa8642fc8) at /usr/src/debug/kdelibs-4.12.2/kded/kded.cpp:925
#32 0x0000003de2621d65 in __libc_start_main (main=0x4007e0 <main(int, char**)>, argc=1, argv=0x7fffa8642fc8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffa8642fb8) at libc-start.c:285
#33 0x0000000000400811 in _start ()

Possible duplicates by query: bug 331779, bug 330156, bug 329033, bug 328733, bug 328057.

Reported using DrKonqi
Comment 1 Christoph Feck 2014-03-11 00:03:14 UTC

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