Bug 335615 - crash when resuming from sleep with "low battery" notification
Summary: crash when resuming from sleep with "low battery" notification
Status: RESOLVED DUPLICATE of bug 288410
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: kded (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-05-30 22:27 UTC by gjditchfield
Modified: 2014-05-31 02:11 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gjditchfield 2014-05-30 22:27:57 UTC
Application: kded4 (4.13.0)
KDE Platform Version: 4.13.0
Qt Version: 4.8.2
Operating System: Linux 3.2.0-63-generic-pae i686
Distribution: Ubuntu 12.04.4 LTS

-- Information about the crash:
This crash seems to occur whenever I wake my laptop from a sleeping state and KDe displays a "low battery" notification.

- What I was doing when the application crashed:
* Run the battery down to some value in the 20% to 25% range.
* Put the laptop to sleep.
* Leave it overnight.
* Wake the laptop and enter the screen locker's password.
At that point I get several notifications that the battery is low (under 20%) and the crash dialog appears.

This has happened three times in a row since I noticed the possible pattern.

The crash can be reproduced every time.

-- Backtrace:
Application: KDE Dæmon (kded4), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb56c9740 (LWP 31204))]

Thread 4 (Thread 0xac8a8b40 (LWP 31219)):
#0  0xb77aa424 in __kernel_vsyscall ()
#1  0xb5fe2460 in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0xb59caa3b in g_poll (fds=0xabf02298, nfds=3, timeout=-1) at /build/buildd/glib2.0-2.32.4/./glib/gpoll.c:132
#3  0xb59bd06e in g_main_context_poll (n_fds=3, fds=0xabf02298, timeout=<optimized out>, context=0x8d6af48, priority=<optimized out>) at /build/buildd/glib2.0-2.32.4/./glib/gmain.c:3440
#4  g_main_context_iterate (dispatch=1, block=-1248024048, context=0x8d6af48, self=<optimized out>) at /build/buildd/glib2.0-2.32.4/./glib/gmain.c:3141
#5  g_main_context_iterate (context=0x8d6af48, block=-1248024048, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.32.4/./glib/gmain.c:3083
#6  0xb59bd52b in g_main_loop_run (loop=0x8d6af38) at /build/buildd/glib2.0-2.32.4/./glib/gmain.c:3340
#7  0xac9784aa in gdbus_shared_thread_func (user_data=0x8d6c000) at /build/buildd/glib2.0-2.32.4/./gio/gdbusprivate.c:277
#8  0xb59e0673 in g_thread_proxy (data=0x8d65690) at /build/buildd/glib2.0-2.32.4/./glib/gthread.c:801
#9  0xb5a83d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#10 0xb5ff0bae in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 3 (Thread 0xabeffb40 (LWP 31225)):
#0  0xb5a82480 in __i686.get_pc_thunk.bx () from /lib/i386-linux-gnu/libpthread.so.0
#1  0xb5a85cbf in pthread_mutex_lock () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb5ffe6d4 in pthread_mutex_lock () from /lib/i386-linux-gnu/libc.so.6
#3  0xb59fc3f0 in g_mutex_lock (mutex=0xab5004e0) at /build/buildd/glib2.0-2.32.4/./glib/gthread-posix.c:208
#4  0xb59bcb45 in g_main_context_check (context=0xab5004e0, max_priority=2147483647, fds=0xab501eb0, n_fds=1) at /build/buildd/glib2.0-2.32.4/./glib/gmain.c:3025
#5  0xb59bd002 in g_main_context_iterate (dispatch=1, block=-1248024048, context=0xab5004e0, self=<optimized out>) at /build/buildd/glib2.0-2.32.4/./glib/gmain.c:3143
#6  g_main_context_iterate (context=0xab5004e0, block=-1248024048, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.32.4/./glib/gmain.c:3083
#7  0xb59bd1c1 in g_main_context_iteration (context=0xab5004e0, may_block=1) at /build/buildd/glib2.0-2.32.4/./glib/gmain.c:3207
#8  0xb6e12de7 in QEventDispatcherGlib::processEvents (this=0xab500468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#9  0xb6dde6ad in QEventLoop::processEvents (this=0xabeff240, flags=...) at kernel/qeventloop.cpp:149
#10 0xb6dde949 in QEventLoop::exec (this=0xabeff240, flags=...) at kernel/qeventloop.cpp:204
#11 0xb6cc7a1c in QThread::exec (this=0x8d6fe70) at thread/qthread.cpp:501
#12 0xb6dbbcfd in QInotifyFileSystemWatcherEngine::run (this=0x8d6fe70) at io/qfilesystemwatcher_inotify.cpp:248
#13 0xb6ccaeb0 in QThreadPrivate::start (arg=0x8d6fe70) at thread/qthread_unix.cpp:307
#14 0xb5a83d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#15 0xb5ff0bae in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xaf124b40 (LWP 9532)):
#0  0xb5a72dcd in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0xb6d293e5 in do_gettime (frac=0xaf123fb0, sec=0xaf123fa8) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb6e13726 in QTimerInfoList::updateCurrentTime (this=0xacc00c9c) at kernel/qeventdispatcher_unix.cpp:343
#4  0xb6e13a7a in QTimerInfoList::timerWait (this=0xacc00c9c, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#5  0xb6e12323 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xaf1240bc) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb6e123bd in timerSourcePrepare (source=0xacc00c68, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0xb59bc832 in g_main_context_prepare (context=0xacc01878, priority=0xaf124118) at /build/buildd/glib2.0-2.32.4/./glib/gmain.c:2836
#8  0xb59bcf6f in g_main_context_iterate (dispatch=1, block=1, context=0xacc01878, self=<optimized out>) at /build/buildd/glib2.0-2.32.4/./glib/gmain.c:3126
#9  g_main_context_iterate (context=0xacc01878, block=1, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.32.4/./glib/gmain.c:3083
#10 0xb59bd1c1 in g_main_context_iteration (context=0xacc01878, may_block=1) at /build/buildd/glib2.0-2.32.4/./glib/gmain.c:3207
#11 0xb6e12de7 in QEventDispatcherGlib::processEvents (this=0xacc01800, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#12 0xb6dde6ad in QEventLoop::processEvents (this=0xaf124240, flags=...) at kernel/qeventloop.cpp:149
#13 0xb6dde949 in QEventLoop::exec (this=0xaf124240, flags=...) at kernel/qeventloop.cpp:204
#14 0xb6cc7a1c in QThread::exec (this=0x8cc8598) at thread/qthread.cpp:501
#15 0xb6dbbcfd in QInotifyFileSystemWatcherEngine::run (this=0x8cc8598) at io/qfilesystemwatcher_inotify.cpp:248
#16 0xb6ccaeb0 in QThreadPrivate::start (arg=0x8cc8598) at thread/qthread_unix.cpp:307
#17 0xb5a83d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#18 0xb5ff0bae in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb56c9740 (LWP 31204)):
[KCrash Handler]
#7  Solid::Backends::UPower::Battery::slotChanged (this=0x8d5cbc8) at ../../../solid/solid/backends/upower/upowerbattery.cpp:139
#8  0xb6df6bb1 in QMetaObject::activate (sender=0x8e29e40, m=0xb3a7ae30, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3547
#9  0xb39afe85 in Solid::Backends::UPower::UPowerDevice::changed (this=0x8e29e40) at moc_upowerdevice.cpp:108
#10 0xb3a1bf20 in Solid::Backends::UPower::UPowerDevice::slotChanged (this=0x8e29e40) at ../../../solid/solid/backends/upower/upowerdevice.cpp:239
#11 0xb39afed8 in Solid::Backends::UPower::UPowerDevice::qt_static_metacall (_o=0x8e29e40, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfa4e73c) at moc_upowerdevice.cpp:58
#12 0xb6df6bb1 in QMetaObject::activate (sender=0x8e29e48, m=0x8e18880, local_signal_index=0, argv=0xbfa4e73c) at kernel/qobject.cpp:3547
#13 0xb5b8d6a0 in QDBusInterfacePrivate::metacall (this=0x8ed7cc0, c=QMetaObject::InvokeMetaMethod, id=0, argv=0xbfa4e73c) at qdbusinterface.cpp:278
#14 0xb5b77a38 in QDBusConnectionPrivate::deliverCall (this=0x8c5bf70, object=0x8e29e48, msg=..., metaTypes=..., slotIdx=1) at qdbusintegrator.cpp:947
#15 0xb5b81c8d in QDBusCallDeliveryEvent::placeMetaCall (this=0x8ed6b80, object=0x8e29e48) at qdbusintegrator_p.h:103
#16 0xb6dfb17b in QObject::event (this=0x8e29e48, e=0x8ed6b80) at kernel/qobject.cpp:1195
#17 0xb62cadf4 in notify_helper (e=0x8ed6b80, receiver=0x8e29e48, this=0x8ba6920) at kernel/qapplication.cpp:4556
#18 QApplicationPrivate::notify_helper (this=0x8ba6920, receiver=0x8e29e48, e=0x8ed6b80) at kernel/qapplication.cpp:4528
#19 0xb62d015d in QApplication::notify (this=0x8ed6b80, receiver=0x8e29e48, e=0x8ed6b80) at kernel/qapplication.cpp:4285
#20 0xb75381e1 in KApplication::notify (this=0xbfa4ef80, receiver=0x8e29e48, event=0x8ed6b80) at ../../kdeui/kernel/kapplication.cpp:311
#21 0xb6ddfe0e in QCoreApplication::notifyInternal (this=0xbfa4ef80, receiver=0x8e29e48, event=0x8ed6b80) at kernel/qcoreapplication.cpp:915
#22 0xb6de3f68 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#23 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8b39a40) at kernel/qcoreapplication.cpp:1539
#24 0xb6de429c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1432
#25 0xb6e12994 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#26 postEventSourceDispatch (s=0x8ba8710) at kernel/qeventdispatcher_glib.cpp:279
#27 0xb59bcd46 in g_main_dispatch (context=0x8ba7c38) at /build/buildd/glib2.0-2.32.4/./glib/gmain.c:2539
#28 g_main_context_dispatch (context=0x8ba7c38) at /build/buildd/glib2.0-2.32.4/./glib/gmain.c:3075
#29 0xb59bd0e5 in g_main_context_iterate (dispatch=1, block=-1248024048, context=0x8ba7c38, self=<optimized out>) at /build/buildd/glib2.0-2.32.4/./glib/gmain.c:3146
#30 g_main_context_iterate (context=0x8ba7c38, block=-1248024048, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.32.4/./glib/gmain.c:3083
#31 0xb59bd1c1 in g_main_context_iteration (context=0x8ba7c38, may_block=1) at /build/buildd/glib2.0-2.32.4/./glib/gmain.c:3207
#32 0xb6e12d87 in QEventDispatcherGlib::processEvents (this=0x8b3adf0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#33 0xb6383a1a in QGuiEventDispatcherGlib::processEvents (this=0x8b3adf0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#34 0xb6dde6ad in QEventLoop::processEvents (this=0xbfa4eee4, flags=...) at kernel/qeventloop.cpp:149
#35 0xb6dde949 in QEventLoop::exec (this=0xbfa4eee4, flags=...) at kernel/qeventloop.cpp:204
#36 0xb6de434a in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#37 0xb62c89c4 in QApplication::exec () at kernel/qapplication.cpp:3817
#38 0xb534c7b9 in kdemain (argc=1, argv=0x8b864b0) at ../../kded/kded.cpp:940
#39 0x0804f85c in launch (argc=<optimized out>, _name=0x8052599 "kded4", args=<optimized out>, cwd=0x0, envc=0, envs=<optimized out>, reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x8052481 "0") at ../../kinit/kinit.cpp:738
#40 0x0804c9ef in main (argc=146429320, argv=0xb60a7478, envp=0x10) at ../../kinit/kinit.cpp:1853

The reporter indicates this bug may be a duplicate of or related to bug 288410.

Possible duplicates by query: bug 333679, bug 328057, bug 327839, bug 327329.

Reported using DrKonqi
Comment 1 Jekyll Wu 2014-05-31 02:11:30 UTC

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