Bug 317171

Summary: Crash in Solid::Backends::UPower::Battery
Product: [Unmaintained] solid Reporter: David Faure <faure>
Component: libsolid-upowerAssignee: Lukáš Tinkl <lukas>
Status: RESOLVED DUPLICATE    
Severity: crash CC: oliver.henshaw, Stressfreechozeme
Priority: NOR Keywords: drkonqi
Version: 4.10.1   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description David Faure 2013-03-22 09:15:03 UTC
Application: kded4 ($Id$)
KDE Platform Version: 4.10.1 (Compiled from sources)
Qt Version: 4.8.5
Operating System: Linux 3.7.10-1.1-desktop x86_64
Distribution: "openSUSE 12.3 (x86_64)"

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

Resumed the laptop (after suspend-to-RAM), and later on plugged in the power.
kded4 crashed immediately.
I doubt it's reproduceable though, I do this every morning and it's the first time it crashes.
(But well, I upgraded to OpenSUSE 12.3 only a week ago).
This is KDE 4.10 branch self-compiled on top though.

-- Backtrace:
Application: KDE Daemon (kded4), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f56df142780 (LWP 2996))]

Thread 5 (Thread 0x7f56b2aa7700 (LWP 3060)):
#0  0x00007f56db69c87d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f56d7b0eaa4 in g_main_context_poll (n_fds=3, fds=0x7f56840010f0, timeout=-1, context=0x20b2430, priority=<optimized out>) at gmain.c:3584
#2  g_main_context_iterate (context=0x20b2430, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3285
#3  0x00007f56d7b0ef02 in g_main_loop_run (loop=0x1e92ca0) at gmain.c:3484
#4  0x00007f56cd0b1ba6 in gdbus_shared_thread_func (user_data=0x1e92ce0) at gdbusprivate.c:277
#5  0x00007f56d7b32345 in g_thread_proxy (data=0x20ca320) at gthread.c:797
#6  0x00007f56cb2ad764 in ?? () from /usr/X11R6/lib64/libGL.so.1
#7  0x00007f56dd4c6e0f in start_thread (arg=0x7f56b2aa7700) at pthread_create.c:308
#8  0x00007f56db6a57dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7f56b2096700 (LWP 3064)):
#0  0x00007f56dd7f6b41 in do_gettime (sec=0x7f56b2095918, frac=0x7f56b2095910) at tools/qelapsedtimer_unix.cpp:127
#1  0x00007f56dd7f6baa in qt_gettime () at tools/qelapsedtimer_unix.cpp:144
#2  0x00007f56dd9014fe in QTimerInfoList::updateCurrentTime (this=0x7f5688001d60) at kernel/qeventdispatcher_unix.cpp:354
#3  0x00007f56dd9019ba in QTimerInfoList::timerWait (this=0x7f5688001d60, tm=...) at kernel/qeventdispatcher_unix.cpp:461
#4  0x00007f56dd8fe175 in timerSourcePrepareHelper (src=0x7f5688001d00, timeout=0x7f56b2095a74) at kernel/qeventdispatcher_glib.cpp:136
#5  0x00007f56dd8fe333 in timerSourcePrepare (source=0x7f5688001d00, timeout=0x7f56b2095a74) at kernel/qeventdispatcher_glib.cpp:169
#6  0x00007f56d7b0e338 in g_main_context_prepare (context=context@entry=0x7f56880009d0, priority=priority@entry=0x7f56b2095ad8) at gmain.c:2986
#7  0x00007f56d7b0e9cb in g_main_context_iterate (context=context@entry=0x7f56880009d0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3270
#8  0x00007f56d7b0ebc4 in g_main_context_iteration (context=0x7f56880009d0, may_block=1) at gmain.c:3351
#9  0x00007f56dd8feeaa in QEventDispatcherGlib::processEvents (this=0x7f56880008f0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#10 0x00007f56dd8bea6c in QEventLoop::processEvents (this=0x7f56b2095c80, flags=...) at kernel/qeventloop.cpp:149
#11 0x00007f56dd8bec00 in QEventLoop::exec (this=0x7f56b2095c80, flags=...) at kernel/qeventloop.cpp:204
#12 0x00007f56dd783633 in QThread::exec (this=0x1c6ef70) at thread/qthread.cpp:536
#13 0x00007f56bebc25a5 in KCupsConnection::run (this=0x1c6ef70) at /d/kde/src/4/kde/kdeutils/print-manager/libkcups/KCupsConnection.cpp:310
#14 0x00007f56dd7860d9 in QThreadPrivate::start (arg=0x1c6ef70) at thread/qthread_unix.cpp:341
#15 0x00007f56cb2ad764 in ?? () from /usr/X11R6/lib64/libGL.so.1
#16 0x00007f56dd4c6e0f in start_thread (arg=0x7f56b2096700) at pthread_create.c:308
#17 0x00007f56db6a57dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f56b1895700 (LWP 3065)):
#0  0x00007f56db69897d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f56cb2ac74c in ?? () from /usr/X11R6/lib64/libGL.so.1
#2  0x00007f56ca2a9be7 in ?? () from /usr/lib64/tls/libnvidia-tls.so.304.64
#3  0x00007f56d7b4ae0f in read (__nbytes=16, __buf=0x7f56b1894a60, __fd=<optimized out>) at /usr/include/bits/unistd.h:44
#4  g_wakeup_acknowledge (wakeup=0x7f567c001c00) at gwakeup.c:212
#5  0x00007f56d7b0e634 in g_main_context_check (context=context@entry=0x7f567c0009d0, max_priority=2147483647, fds=fds@entry=0x7f567c0029f0, n_fds=n_fds@entry=1) at gmain.c:3129
#6  0x00007f56d7b0ea42 in g_main_context_iterate (context=context@entry=0x7f567c0009d0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3287
#7  0x00007f56d7b0ebc4 in g_main_context_iteration (context=0x7f567c0009d0, may_block=1) at gmain.c:3351
#8  0x00007f56dd8feeaa in QEventDispatcherGlib::processEvents (this=0x7f567c0008f0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#9  0x00007f56dd8bea6c in QEventLoop::processEvents (this=0x7f56b1894ca0, flags=...) at kernel/qeventloop.cpp:149
#10 0x00007f56dd8bec00 in QEventLoop::exec (this=0x7f56b1894ca0, flags=...) at kernel/qeventloop.cpp:204
#11 0x00007f56dd783633 in QThread::exec (this=0x1be0260) at thread/qthread.cpp:536
#12 0x00007f56dd7837e0 in QThread::run (this=0x1be0260) at thread/qthread.cpp:603
#13 0x00007f56dd7860d9 in QThreadPrivate::start (arg=0x1be0260) at thread/qthread_unix.cpp:341
#14 0x00007f56cb2ad764 in ?? () from /usr/X11R6/lib64/libGL.so.1
#15 0x00007f56dd4c6e0f in start_thread (arg=0x7f56b1895700) at pthread_create.c:308
#16 0x00007f56db6a57dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f5683ff7700 (LWP 3066)):
#0  0x00007f56db69c87d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f56d7b0eaa4 in g_main_context_poll (n_fds=1, fds=0x7f56780029e0, timeout=-1, context=0x7f56780009d0, priority=<optimized out>) at gmain.c:3584
#2  g_main_context_iterate (context=context@entry=0x7f56780009d0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3285
#3  0x00007f56d7b0ebc4 in g_main_context_iteration (context=0x7f56780009d0, may_block=1) at gmain.c:3351
#4  0x00007f56dd8feeaa in QEventDispatcherGlib::processEvents (this=0x7f56780008f0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f56dd8bea6c in QEventLoop::processEvents (this=0x7f5683ff6c70, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f56dd8bec00 in QEventLoop::exec (this=0x7f5683ff6c70, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f56dd783633 in QThread::exec (this=0x201ce20) at thread/qthread.cpp:536
#8  0x00007f56dd899445 in QInotifyFileSystemWatcherEngine::run (this=0x201ce20) at io/qfilesystemwatcher_inotify.cpp:256
#9  0x00007f56dd7860d9 in QThreadPrivate::start (arg=0x201ce20) at thread/qthread_unix.cpp:341
#10 0x00007f56cb2ad764 in ?? () from /usr/X11R6/lib64/libGL.so.1
#11 0x00007f56dd4c6e0f in start_thread (arg=0x7f5683ff7700) at pthread_create.c:308
#12 0x00007f56db6a57dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f56df142780 (LWP 2996)):
[KCrash Handler]
#6  0x00007f56d37377ab in Solid::Backends::UPower::Battery::slotChanged (this=0x29a5190) at /d/kde/src/4/kde/kdelibs/solid/solid/backends/upower/upowerbattery.cpp:128
#7  0x00007f56d37379ef in Solid::Backends::UPower::Battery::qt_static_metacall (_o=0x29a5190, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7fff97384ec0) at /d/kde/build/4/kde/kdelibs/solid/solid/backends/upower/upowerbattery.moc:60
#8  0x00007f56dd8e06df in QMetaObject::activate (sender=0x2859980, m=0x7f56d3995fa0 <Solid::Backends::UPower::UPowerDevice::staticMetaObject>, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3548
#9  0x00007f56d36d0c23 in Solid::Backends::UPower::UPowerDevice::changed (this=0x2859980) at /d/kde/build/4/kde/kdelibs/solid/solid/moc_upowerdevice.cpp:104
#10 0x00007f56d3736d2e in Solid::Backends::UPower::UPowerDevice::slotChanged (this=0x2859980) at /d/kde/src/4/kde/kdelibs/solid/solid/backends/upower/upowerdevice.cpp:219
#11 0x00007f56d36d0afd in Solid::Backends::UPower::UPowerDevice::qt_static_metacall (_o=0x2859980, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fff97385290) at /d/kde/build/4/kde/kdelibs/solid/solid/moc_upowerdevice.cpp:53
#12 0x00007f56dd8e06df in QMetaObject::activate (sender=0x2859990, m=0x2001cc0, local_signal_index=0, argv=0x7fff97385290) at kernel/qobject.cpp:3548
#13 0x00007f56ddccbb6c in QDBusInterfacePrivate::metacall (this=0x2914d80, c=QMetaObject::InvokeMetaMethod, id=0, argv=0x7fff97385290) at qdbusinterface.cpp:278
#14 0x00007f56ddccba7a in QDBusInterface::qt_metacall (this=0x2859990, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff97385290) at qdbusinterface.cpp:265
#15 0x00007f56ddcae917 in QDBusConnectionPrivate::deliverCall (this=0x1bc0ec0, object=0x2859990, msg=..., metaTypes=..., slotIdx=5) at qdbusintegrator.cpp:951
#16 0x00007f56ddcbaf46 in QDBusCallDeliveryEvent::placeMetaCall (this=0x29de550, object=0x2859990) at qdbusintegrator_p.h:103
#17 0x00007f56dd8db105 in QObject::event (this=0x2859990, e=0x29de550) at kernel/qobject.cpp:1194
#18 0x00007f56dc68c7d2 in QApplicationPrivate::notify_helper (this=0x18abff0, receiver=0x2859990, e=0x29de550) at kernel/qapplication.cpp:4562
#19 0x00007f56dc689cce in QApplication::notify (this=0x7fff973861d0, receiver=0x2859990, e=0x29de550) at kernel/qapplication.cpp:3944
#20 0x00007f56dea6b46a in KApplication::notify (this=0x7fff973861d0, receiver=0x2859990, event=0x29de550) at /d/kde/src/4/kde/kdelibs/kdeui/kernel/kapplication.cpp:311
#21 0x00007f56dd8c1714 in QCoreApplication::notifyInternal (this=0x7fff973861d0, receiver=0x2859990, event=0x29de550) at kernel/qcoreapplication.cpp:949
#22 0x00007f56dd8c57d9 in QCoreApplication::sendEvent (receiver=0x2859990, event=0x29de550) at kernel/qcoreapplication.h:231
#23 0x00007f56dd8c2b82 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x179f2b0) at kernel/qcoreapplication.cpp:1598
#24 0x00007f56dd8c279f in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1491
#25 0x00007f56dd8ff67d in QCoreApplication::sendPostedEvents () at kernel/qcoreapplication.h:236
#26 0x00007f56dd8fe5d1 in postEventSourceDispatch (s=0x18ad200) at kernel/qeventdispatcher_glib.cpp:279
#27 0x00007f56d7b0e7d5 in g_main_dispatch (context=0x18ad010) at gmain.c:2715
#28 g_main_context_dispatch (context=context@entry=0x18ad010) at gmain.c:3219
#29 0x00007f56d7b0eb08 in g_main_context_iterate (context=context@entry=0x18ad010, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3290
#30 0x00007f56d7b0ebc4 in g_main_context_iteration (context=0x18ad010, may_block=1) at gmain.c:3351
#31 0x00007f56dd8fee87 in QEventDispatcherGlib::processEvents (this=0x17a57b0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#32 0x00007f56dc769a92 in QGuiEventDispatcherGlib::processEvents (this=0x17a57b0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#33 0x00007f56dd8bea6c in QEventLoop::processEvents (this=0x7fff97386140, flags=...) at kernel/qeventloop.cpp:149
#34 0x00007f56dd8bec00 in QEventLoop::exec (this=0x7fff97386140, flags=...) at kernel/qeventloop.cpp:204
#35 0x00007f56dd8c1daa in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#36 0x00007f56dc6898b8 in QApplication::exec () at kernel/qapplication.cpp:3823
#37 0x00007f56c66fe933 in kdemain (argc=1, argv=0x19025c0) at /d/kde/src/4/kde/kdelibs/kded/kded.cpp:924
#38 0x0000000000407388 in launch (argc=1, _name=0x40e05b "kded4", args=0x0, cwd=0x0, envc=0, envs=0x0, reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x40d93f "0") at /d/kde/src/4/kde/kdelibs/kinit/kinit.cpp:726
#39 0x000000000040a618 in main (argc=4, argv=0x7fff97386aa8, envp=0x7fff97386ad0) at /d/kde/src/4/kde/kdelibs/kinit/kinit.cpp:1841

Reported using DrKonqi
Comment 1 Jekyll Wu 2013-04-02 14:44:34 UTC
*** Bug 317733 has been marked as a duplicate of this bug. ***
Comment 2 Oliver Henshaw 2013-04-03 16:44:29 UTC

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