Bug 270037 - KDE daemon crash when waking up my PC
Summary: KDE daemon crash when waking up my PC
Status: RESOLVED FIXED
Alias: None
Product: solid
Classification: Frameworks and Libraries
Component: libsolid-upower (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Lukáš Tinkl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-03 22:39 UTC by Xavier Besnard
Modified: 2011-11-14 02:26 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (7.93 KB, text/plain)
2011-07-23 09:19 UTC, Johan Sannemo
Details
New crash information added by DrKonqi (9.66 KB, text/plain)
2011-07-25 01:59 UTC, Craig Magina
Details
New crash information added by DrKonqi (6.47 KB, text/plain)
2011-11-14 02:26 UTC, Roger Luedecke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xavier Besnard 2011-04-03 22:39:03 UTC
Application: kded4 ($Id$)
KDE Platform Version: 4.6.1 (4.6.1)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-7-generic i686
Distribution: Ubuntu Natty (development branch)

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

Waking up the PC and launching the network manager for a wifi connexion

Conf: ACER One D531h, Kubuntu natty updated dayly

-- Backtrace:
Application: Démon de KDE (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0xb7726b60 (LWP 1753))]

Thread 3 (Thread 0xb35ffb70 (LWP 1762)):
#0  0x00fb2d41 in clock_gettime (clock_id=1, tp=0xb35ff000) at ../sysdeps/unix/clock_gettime.c:116
#1  0x00bfbdd8 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x00cc84f2 in updateCurrentTime (this=0xb360180c, tm=...) at kernel/qeventdispatcher_unix.cpp:339
#4  QTimerInfoList::timerWait (this=0xb360180c, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x00cc6d32 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb35ff0dc) at kernel/qeventdispatcher_glib.cpp:136
#6  0x00cc6dcd in timerSourcePrepare (source=0xb36017d8, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x0763cfd4 in g_main_context_prepare (context=<value optimized out>, priority=0xb35ff14c) at /build/buildd/glib2.0-2.28.4/./glib/gmain.c:2761
#8  0x0763de63 in g_main_context_iterate (context=0x88fdbc0, block=1, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.28.4/./glib/gmain.c:3071
#9  0x0763e524 in g_main_context_iteration (context=0x88fdbc0, may_block=1) at /build/buildd/glib2.0-2.28.4/./glib/gmain.c:3154
#10 0x00cc7577 in QEventDispatcherGlib::processEvents (this=0x88fdb40, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0x00c99289 in QEventLoop::processEvents (this=0xb35ff290, flags=...) at kernel/qeventloop.cpp:149
#12 0x00c99522 in QEventLoop::exec (this=0xb35ff290, flags=...) at kernel/qeventloop.cpp:201
#13 0x00ba32a0 in QThread::exec (this=0x88f57b0) at thread/qthread.cpp:492
#14 0x00c7afdb in QInotifyFileSystemWatcherEngine::run (this=0x88f57b0) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x00ba5da2 in QThreadPrivate::start (arg=0x88f57b0) at thread/qthread_unix.cpp:320
#16 0x01f2ae99 in start_thread (arg=0xb35ffb70) at pthread_create.c:304
#17 0x00ea75fe in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xb2de8b70 (LWP 1866)):
#0  0x00ffa416 in __kernel_vsyscall ()
#1  0x00e98e36 in __poll (fds=0x896eff0, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x0764e84b in g_poll (fds=0x896eff0, nfds=3, timeout=-1) at /build/buildd/glib2.0-2.28.4/./glib/gpoll.c:132
#3  0x0763e1af in g_main_context_poll (context=0x896fdb0, block=124053536, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.28.4/./glib/gmain.c:3404
#4  g_main_context_iterate (context=0x896fdb0, block=124053536, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.28.4/./glib/gmain.c:3086
#5  0x0763e92b in g_main_loop_run (loop=0x896fda0) at /build/buildd/glib2.0-2.28.4/./glib/gmain.c:3299
#6  0x03487434 in gdbus_shared_thread_func (data=0x0) at /build/buildd/glib2.0-2.28.4/./gio/gdbusprivate.c:276
#7  0x076672df in g_thread_create_proxy (data=0x896fe40) at /build/buildd/glib2.0-2.28.4/./glib/gthread.c:1897
#8  0x01f2ae99 in start_thread (arg=0xb2de8b70) at pthread_create.c:304
#9  0x00ea75fe in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb7726b60 (LWP 1753)):
[KCrash Handler]
#7  0x01ba1536 in Solid::Backends::UPower::Battery::slotChanged (this=0x893d288) at ../../../solid/solid/backends/upower/upowerbattery.cpp:127
#8  0x01ba1662 in Solid::Backends::UPower::Battery::qt_metacall (this=0x893d288, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfae5ffc) at ./backends/upower/upowerbattery.moc:88
#9  0x00ca06ba in QMetaObject::metacall (object=0x893d288, cl=QMetaObject::InvokeMetaMethod, idx=7, argv=0xbfae5ffc) at kernel/qmetaobject.cpp:237
#10 0x00cb04ff in QMetaObject::activate (sender=0x8983470, m=0x1bcc520, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3287
#11 0x01b3e587 in Solid::Backends::UPower::UPowerDevice::changed (this=0x8983470) at moc_upowerdevice.cpp:90
#12 0x01ba02c0 in Solid::Backends::UPower::UPowerDevice::slotChanged (this=0x8983470) at ../../../solid/solid/backends/upower/upowerdevice.cpp:218
#13 0x01b3e608 in Solid::Backends::UPower::UPowerDevice::qt_metacall (this=0x8983470, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfae62dc) at moc_upowerdevice.cpp:79
#14 0x00ca06ba in QMetaObject::metacall (object=0x8983470, cl=QMetaObject::InvokeMetaMethod, idx=5, argv=0xbfae62dc) at kernel/qmetaobject.cpp:237
#15 0x00cb04ff in QMetaObject::activate (sender=0x8983478, m=0x893a670, local_signal_index=0, argv=0xbfae62dc) at kernel/qobject.cpp:3287
#16 0x00f699e3 in QDBusInterfacePrivate::metacall (this=0x89614e0, c=QMetaObject::InvokeMetaMethod, id=0, argv=0xbfae62dc) at qdbusinterface.cpp:278
#17 0x00f54acd in QDBusConnectionPrivate::deliverCall (this=0x88cd708, object=0x8983478, msg=..., metaTypes=..., slotIdx=5) at qdbusintegrator.cpp:942
#18 0x00f5f1d7 in QDBusCallDeliveryEvent::placeMetaCall (this=0x894a9c0, object=0x8983478) at qdbusintegrator_p.h:103
#19 0x00caf3b7 in QObject::event (this=0x8983478, e=0x894a9c0) at kernel/qobject.cpp:1226
#20 0x01128d24 in QApplicationPrivate::notify_helper (this=0x882c950, receiver=0x8983478, e=0x894a9c0) at kernel/qapplication.cpp:4462
#21 0x0112d8ce in QApplication::notify (this=0xbfae6b60, receiver=0x8983478, e=0x894a9c0) at kernel/qapplication.cpp:3862
#22 0x005793ca in KApplication::notify (this=0xbfae6b60, receiver=0x8983478, event=0x894a9c0) at ../../kdeui/kernel/kapplication.cpp:311
#23 0x00c9a0bb in QCoreApplication::notifyInternal (this=0xbfae6b60, receiver=0x8983478, event=0x894a9c0) at kernel/qcoreapplication.cpp:731
#24 0x00c9dc79 in sendEvent (receiver=0x0, event_type=0, data=0x87856d8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#25 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x87856d8) at kernel/qcoreapplication.cpp:1372
#26 0x00c9de0d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1265
#27 0x00cc73c4 in sendPostedEvents (s=0x882ed00) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#28 postEventSourceDispatch (s=0x882ed00) at kernel/qeventdispatcher_glib.cpp:277
#29 0x0763daa8 in g_main_dispatch (context=0x882eaa8) at /build/buildd/glib2.0-2.28.4/./glib/gmain.c:2440
#30 g_main_context_dispatch (context=0x882eaa8) at /build/buildd/glib2.0-2.28.4/./glib/gmain.c:3013
#31 0x0763e270 in g_main_context_iterate (context=0x882eaa8, block=124053536, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.28.4/./glib/gmain.c:3091
#32 0x0763e524 in g_main_context_iteration (context=0x882eaa8, may_block=1) at /build/buildd/glib2.0-2.28.4/./glib/gmain.c:3154
#33 0x00cc753c in QEventDispatcherGlib::processEvents (this=0x8808bc8, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#34 0x011dc775 in QGuiEventDispatcherGlib::processEvents (this=0x8808bc8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x00c99289 in QEventLoop::processEvents (this=0xbfae6ac4, flags=...) at kernel/qeventloop.cpp:149
#36 0x00c99522 in QEventLoop::exec (this=0xbfae6ac4, flags=...) at kernel/qeventloop.cpp:201
#37 0x00c9decc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#38 0x011268e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#39 0x01f1ab50 in kdemain (argc=1, argv=0x87e9878) at ../../kded/kded.cpp:925
#40 0x0804dc5f in launch (argc=1, _name=0x8052207 "kded4", args=<value optimized out>, cwd=0x0, envc=0, envs=<value optimized out>, reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x805208e "0") at ../../kinit/kinit.cpp:746
#41 0x0805085c in main (argc=0, argv=0x0, envp=0x88cce78) at ../../kinit/kinit.cpp:1861

Reported using DrKonqi
Comment 1 Johan Sannemo 2011-07-23 09:19:32 UTC
Created attachment 62109 [details]
New crash information added by DrKonqi

kded4 ($Id$) on KDE Platform 4.6.2 (4.6.2) using Qt 4.7.2

- What I was doing when the application crashed:

Just woke  the PC from sleep mode. Then surfed the web and suddenly got a message about a KDE crash.

-- Backtrace (Reduced):
#7  0xb54b2716 in Solid::Backends::UPower::Battery::slotChanged (this=0x9e49b40) at ../../../solid/solid/backends/upower/upowerbattery.cpp:127
#8  0xb54b2842 in Solid::Backends::UPower::Battery::qt_metacall (this=0x9e49b40, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbf9cc54c) at ./backends/upower/upowerbattery.moc:88
[...]
#11 0xb544f927 in Solid::Backends::UPower::UPowerDevice::changed (this=0x9b42598) at moc_upowerdevice.cpp:90
#12 0xb54b14a0 in Solid::Backends::UPower::UPowerDevice::slotChanged (this=0x9b42598) at ../../../solid/solid/backends/upower/upowerdevice.cpp:218
#13 0xb544f9a8 in Solid::Backends::UPower::UPowerDevice::qt_metacall (this=0x9b42598, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbf9cc82c) at moc_upowerdevice.cpp:79
Comment 2 Craig Magina 2011-07-25 01:59:17 UTC
Created attachment 62164 [details]
New crash information added by DrKonqi

kded4 ($Id$) on KDE Platform 4.6.90 (4.7 RC1) using Qt 4.7.3

- What I was doing when the application crashed:
My computer returned from suspend and the kde crash reporting assistant was awaiting me with this crash.

-- Backtrace (Reduced):
#7  0x00007f6752e71206 in Solid::Backends::UPower::Battery::slotChanged (this=0x7f673d3dc4b0) at ../../../solid/solid/backends/upower/upowerbattery.cpp:127
#8  0x00007f6752e712fe in Solid::Backends::UPower::Battery::qt_metacall (this=0x7f673d3dc4b0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff448e40a0) at ./backends/upower/upowerbattery.moc:88
[...]
#10 0x00007f6752e168b1 in Solid::Backends::UPower::UPowerDevice::qt_metacall (this=0x7f673d3d9b30, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>) at moc_upowerdevice.cpp:79
[...]
#12 0x00007f6757a87ecd in QDBusInterfacePrivate::metacall (this=0x7f673d285c40, c=<value optimized out>, id=0, argv=0x7fff448e4430) at qdbusinterface.cpp:278
#13 0x00007f6757a73ff9 in QDBusConnectionPrivate::deliverCall (this=0x11fcc00, object=0x7f673d3d9b40, msg=..., metaTypes=..., slotIdx=5) at qdbusintegrator.cpp:942
Comment 3 Lukáš Tinkl 2011-07-25 09:45:38 UTC
Git commit 71ac772ada5b3020b901c0dffbf5c4e1a49a2107 by Lukas Tinkl.
Committed on 25/07/2011 at 11:44.
Pushed by lukas into branch 'KDE/4.6'.

tentative fix for a crash after waking up from sleep

BUG: 270037

M  +3    -0    solid/solid/backends/upower/upowerbattery.cpp

http://commits.kde.org/kdelibs/71ac772ada5b3020b901c0dffbf5c4e1a49a2107
Comment 4 Lukáš Tinkl 2011-07-25 09:48:07 UTC
Git commit 9e03aa212745bebf9dd5f29de1bf722692fb4176 by Lukas Tinkl.
Committed on 25/07/2011 at 11:44.
Pushed by lukas into branch 'KDE/4.7'.

tentative fix for a crash after waking up from sleep

BUG: 270037

M  +3    -0    solid/solid/backends/upower/upowerbattery.cpp

http://commits.kde.org/kdelibs/9e03aa212745bebf9dd5f29de1bf722692fb4176
Comment 5 Lukáš Tinkl 2011-07-25 09:49:11 UTC
Git commit f7ba88023c3929d38806992dc19306f6cbc55b41 by Lukas Tinkl.
Committed on 25/07/2011 at 11:44.
Pushed by lukas into branch 'master'.

tentative fix for a crash after waking up from sleep

BUG: 270037

M  +3    -0    solid/solid/backends/upower/upowerbattery.cpp

http://commits.kde.org/kdelibs/f7ba88023c3929d38806992dc19306f6cbc55b41
Comment 6 Roger Luedecke 2011-11-14 02:26:07 UTC
Created attachment 65635 [details]
New crash information added by DrKonqi

kded4 ($Id$) on KDE Platform 4.7.2 (4.7.2) "release 5" using Qt 4.7.4

This crash has not happened to me, until I had plugged in the power adapter before resuming the computer. This is the only difference from usual, where I have not had this crash.

-- Backtrace (Reduced):
#6  0xb52c817c in Solid::Backends::UPower::Battery::slotChanged (this=0x8243888) at /usr/src/debug/kdelibs-4.7.2/solid/solid/backends/upower/upowerbattery.cpp:130
#7  0xb52c82c3 in Solid::Backends::UPower::Battery::qt_metacall (this=0x8243888, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbf878364) at /usr/src/debug/kdelibs-4.7.2/build/solid/solid/backends/upower/upowerbattery.moc:88
#8  0xb6f047dd in metacall (argv=0xbf878364, idx=7, cl=QMetaObject::InvokeMetaMethod, object=0x8243888) at kernel/qmetaobject.cpp:237
[...]
#11 0xb5260a85 in Solid::Backends::UPower::UPowerDevice::changed (this=0x834a7e0) at /usr/src/debug/kdelibs-4.7.2/build/solid/solid/moc_upowerdevice.cpp:90
#12 0xb52c6610 in Solid::Backends::UPower::UPowerDevice::slotChanged (this=0x834a7e0) at /usr/src/debug/kdelibs-4.7.2/solid/solid/backends/upower/upowerdevice.cpp:218