Bug 316366

Summary: KDE Daemon crashed due to upower
Product: [Unmaintained] solid Reporter: Levi Anderson <lmandersonsr>
Component: libsolid-upowerAssignee: Lukáš Tinkl <lukas>
Status: RESOLVED DUPLICATE    
Severity: crash CC: afiestas
Priority: NOR    
Version: 4.9.5   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Levi Anderson 2013-03-08 14:45:16 UTC
Application: kded4 ($Id$)
KDE Platform Version: 4.9.5
Qt Version: 4.8.4
Operating System: Linux 3.7.9-205.fc18.x86_64 x86_64
Distribution: "Fedora release 18 (Spherical Cow)"

-- Information about the crash:
- What I was doing when the application crashed:

KDE Daemon crashed during normal boot up.  Boot up procedure was normal as far as I could tell.

-- 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 0x7f356a51f880 (LWP 1407))]

Thread 5 (Thread 0x7f355cec5700 (LWP 1416)):
#0  0x0000003e143a582b in idleTimerSourcePrepare (source=<optimized out>, timeout=timeout@entry=0x7f355cec4b14) at kernel/qeventdispatcher_glib.cpp:209
#1  0x00000032904475b8 in g_main_context_prepare (context=context@entry=0x7f35580009a0, priority=priority@entry=0x7f355cec4b78) at gmain.c:2986
#2  0x0000003290447c4b in g_main_context_iterate (context=context@entry=0x7f35580009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3270
#3  0x0000003290447e44 in g_main_context_iteration (context=0x7f35580009a0, may_block=1) at gmain.c:3351
#4  0x0000003e143a6126 in QEventDispatcherGlib::processEvents (this=0x7f35580008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x0000003e1437680f in QEventLoop::processEvents (this=this@entry=0x7f355cec4cd0, flags=...) at kernel/qeventloop.cpp:149
#6  0x0000003e14376a98 in QEventLoop::exec (this=0x7f355cec4cd0, flags=...) at kernel/qeventloop.cpp:204
#7  0x0000003e14278980 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#8  0x0000003e1435703f in QInotifyFileSystemWatcherEngine::run (this=0x2409be0) at io/qfilesystemwatcher_inotify.cpp:256
#9  0x0000003e1427b95c in QThreadPrivate::start (arg=0x2409be0) at thread/qthread_unix.cpp:338
#10 0x00000036d4807d15 in start_thread (arg=0x7f355cec5700) at pthread_create.c:308
#11 0x00000036d40f246d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 4 (Thread 0x7f3556054700 (LWP 1477)):
#0  0x00000036d40e998d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x0000003290447d24 in g_main_context_poll (priority=2147483647, n_fds=3, fds=0x7f35480010c0, timeout=-1, context=0x24801d0) at gmain.c:3584
#2  g_main_context_iterate (context=0x24801d0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3285
#3  0x0000003290448182 in g_main_loop_run (loop=0x2480160) at gmain.c:3484
#4  0x0000003298ccc546 in gdbus_shared_thread_func (user_data=0x24801a0) at gdbusprivate.c:277
#5  0x000000329046b605 in g_thread_proxy (data=0x247df20) at gthread.c:797
#6  0x00000036d4807d15 in start_thread (arg=0x7f3556054700) at pthread_create.c:308
#7  0x00000036d40f246d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 3 (Thread 0x7f3555647700 (LWP 1479)):
#0  0x00000036d4809c12 in __GI___pthread_mutex_lock (mutex=0x7f3540000a60) at pthread_mutex_lock.c:95
#1  0x0000003290484da1 in g_mutex_lock (mutex=mutex@entry=0x7f35400009a0) at gthread-posix.c:210
#2  0x00000032904475c3 in g_main_context_prepare (context=context@entry=0x7f35400009a0, priority=priority@entry=0x7f3555646ba8) at gmain.c:2988
#3  0x0000003290447c4b in g_main_context_iterate (context=context@entry=0x7f35400009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3270
#4  0x0000003290447e44 in g_main_context_iteration (context=0x7f35400009a0, may_block=1) at gmain.c:3351
#5  0x0000003e143a6126 in QEventDispatcherGlib::processEvents (this=0x7f35400008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x0000003e1437680f in QEventLoop::processEvents (this=this@entry=0x7f3555646d00, flags=...) at kernel/qeventloop.cpp:149
#7  0x0000003e14376a98 in QEventLoop::exec (this=0x7f3555646d00, flags=...) at kernel/qeventloop.cpp:204
#8  0x0000003e14278980 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#9  0x0000003e1427b95c in QThreadPrivate::start (arg=0x241e300) at thread/qthread_unix.cpp:338
#10 0x00000036d4807d15 in start_thread (arg=0x7f3555647700) at pthread_create.c:308
#11 0x00000036d40f246d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 2 (Thread 0x7f3554e46700 (LWP 1480)):
#0  0x00000036d40e998d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x0000003290447d24 in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7f354c0027c0, timeout=-1, context=0x7f354c0009a0) at gmain.c:3584
#2  g_main_context_iterate (context=context@entry=0x7f354c0009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3285
#3  0x0000003290447e44 in g_main_context_iteration (context=0x7f354c0009a0, may_block=1) at gmain.c:3351
#4  0x0000003e143a6126 in QEventDispatcherGlib::processEvents (this=0x7f354c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x0000003e1437680f in QEventLoop::processEvents (this=this@entry=0x7f3554e45d00, flags=...) at kernel/qeventloop.cpp:149
#6  0x0000003e14376a98 in QEventLoop::exec (this=0x7f3554e45d00, flags=...) at kernel/qeventloop.cpp:204
#7  0x0000003e14278980 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#8  0x0000003e1427b95c in QThreadPrivate::start (arg=0x23d8f50) at thread/qthread_unix.cpp:338
#9  0x00000036d4807d15 in start_thread (arg=0x7f3554e46700) at pthread_create.c:308
#10 0x00000036d40f246d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 1 (Thread 0x7f356a51f880 (LWP 1407)):
[KCrash Handler]
#6  0x00000035a0478d9e in Solid::Backends::UPower::Battery::slotChanged (this=0x24a6580) at /usr/src/debug/kdelibs-4.9.5/solid/solid/backends/upower/upowerbattery.cpp:128
#7  0x0000003e1438ceef in QMetaObject::activate (sender=0x248cbd0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#8  0x0000003e1438ceef in QMetaObject::activate (sender=0x248cbe0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7ffff99f50c0) at kernel/qobject.cpp:3539
#9  0x0000003e150376a1 in QDBusInterfacePrivate::metacall (this=0x24baf50, c=<optimized out>, id=0, argv=0x7ffff99f50c0) at qdbusinterface.cpp:278
#10 0x0000003e150230c3 in QDBusConnectionPrivate::deliverCall (this=0x23d4250, object=0x248cbe0, msg=..., metaTypes=..., slotIdx=5) at qdbusintegrator.cpp:951
#11 0x0000003e1438c3ce in QObject::event (this=0x248cbe0, e=<optimized out>) at kernel/qobject.cpp:1194
#12 0x0000003e15fca5cc in QApplicationPrivate::notify_helper (this=this@entry=0x21da6d0, receiver=receiver@entry=0x248cbe0, e=e@entry=0x2605fb0) at kernel/qapplication.cpp:4562
#13 0x0000003e15fcea4a in QApplication::notify (this=0x7ffff99f5cc0, receiver=0x248cbe0, e=0x2605fb0) at kernel/qapplication.cpp:4423
#14 0x0000003e17e46916 in KApplication::notify (this=0x7ffff99f5cc0, receiver=0x248cbe0, event=0x2605fb0) at /usr/src/debug/kdelibs-4.9.5/kdeui/kernel/kapplication.cpp:311
#15 0x0000003e14377abe in QCoreApplication::notifyInternal (this=0x7ffff99f5cc0, receiver=receiver@entry=0x248cbe0, event=event@entry=0x2605fb0) at kernel/qcoreapplication.cpp:946
#16 0x0000003e1437b571 in sendEvent (event=0x2605fb0, receiver=0x248cbe0) at kernel/qcoreapplication.h:231
#17 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x21a65b0) at kernel/qcoreapplication.cpp:1570
#18 0x0000003e143a5f73 in sendPostedEvents () at kernel/qcoreapplication.h:236
#19 postEventSourceDispatch (s=s@entry=0x21dbcc0) at kernel/qeventdispatcher_glib.cpp:279
#20 0x0000003290447a55 in g_main_dispatch (context=0x21dbc00) at gmain.c:2715
#21 g_main_context_dispatch (context=context@entry=0x21dbc00) at gmain.c:3219
#22 0x0000003290447d88 in g_main_context_iterate (context=context@entry=0x21dbc00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3290
#23 0x0000003290447e44 in g_main_context_iteration (context=0x21dbc00, may_block=1) at gmain.c:3351
#24 0x0000003e143a6106 in QEventDispatcherGlib::processEvents (this=0x21a7e90, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#25 0x0000003e1606a73e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#26 0x0000003e1437680f in QEventLoop::processEvents (this=this@entry=0x7ffff99f5a40, flags=...) at kernel/qeventloop.cpp:149
#27 0x0000003e14376a98 in QEventLoop::exec (this=0x7ffff99f5a40, flags=...) at kernel/qeventloop.cpp:204
#28 0x0000003e1437b888 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#29 0x00000035a0e08510 in kdemain (argc=1, argv=0x7ffff99f5e08) at /usr/src/debug/kdelibs-4.9.5/kded/kded.cpp:924
#30 0x00000036d4021a05 in __libc_start_main (main=0x4007e0 <main(int, char**)>, argc=1, ubp_av=0x7ffff99f5e08, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffff99f5df8) at libc-start.c:225
#31 0x0000000000400811 in _start ()

Possible duplicates by query: bug 315125, bug 307243, bug 300851, bug 297446.

Reported using DrKonqi
Comment 1 Alex Fiestas 2013-03-12 23:47:23 UTC
Has this ever happened again? I don't see how this can crash so if we want to fix this we'll need to do some further testing (for what we need to be able to reproduce this).

Thanks !
Comment 2 Alex Fiestas 2013-03-13 00:32:30 UTC

*** This bug has been marked as a duplicate of bug 288410 ***
Comment 3 Levi Anderson 2013-03-13 00:47:31 UTC
No this has not crashed again....sorry I can't be of more help.
On Mar 12, 2013 7:47 PM, "Alex Fiestas" <afiestas@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=316366
>
> Alex Fiestas <afiestas@kde.org> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>              Status|UNCONFIRMED                 |NEEDSINFO
>                  CC|                            |afiestas@kde.org
>          Resolution|---                         |WAITINGFORINFO
>
> --- Comment #1 from Alex Fiestas <afiestas@kde.org> ---
> Has this ever happened again? I don't see how this can crash so if we want
> to
> fix this we'll need to do some further testing (for what we need to be
> able to
> reproduce this).
>
> Thanks !
>
> --
> You are receiving this mail because:
> You reported the bug.
>