Bug 320619 - kded crash on resume from sleep with low battery
Summary: kded crash on resume from sleep with low battery
Status: RESOLVED DUPLICATE of bug 320175
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: kded (show other bugs)
Version: unspecified
Platform: Debian stable Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-02 15:54 UTC by Nick Leverton
Modified: 2013-06-08 19:58 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (10.63 KB, text/plain)
2013-06-08 19:58 UTC, Danyal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Leverton 2013-06-02 15:54:00 UTC
Application: kded4 ($Id$)
KDE Platform Version: 4.8.4 (4.8.4)
Qt Version: 4.8.2
Operating System: Linux 3.8-1-amd64 x86_64
Distribution: Debian GNU/Linux 7.0 (wheezy)

-- Information about the crash:
as in the suggested duplicate  kded crashed on resume with low battery status.  i put the laptop to sleep when battery was approx 25%.  during sleep it dropped below 20% and on resume had a red warning on the battery and kded crashed as attached.

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

Thread 3 (Thread 0x7f61c115d700 (LWP 5118)):
#0  0x00007f61ddaf3e33 in *__GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f61dab07624 in g_main_context_poll (n_fds=1, fds=0x7f61bc002ff0, timeout=-1, context=0x1fa3640, priority=<optimized out>) at /tmp/buildd/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:3440
#2  g_main_context_iterate (context=context@entry=0x1fa3640, block=block@entry=1, dispatch=dispatch@entry=1, self=<error reading variable: Unhandled dwarf expression opcode 0xfa>) at /tmp/buildd/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:3141
#3  0x00007f61dab07744 in g_main_context_iteration (context=0x1fa3640, may_block=1) at /tmp/buildd/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:3207
#4  0x00007f61def17296 in QEventDispatcherGlib::processEvents (this=0x208f570, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f61deee78af in QEventLoop::processEvents (this=this@entry=0x7f61c115ce10, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f61deee7b38 in QEventLoop::exec (this=0x7f61c115ce10, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f61dedead70 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007f61deec81bf in QInotifyFileSystemWatcherEngine::run (this=0x20d67c0) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f61dededd0b in QThreadPrivate::start (arg=0x20d67c0) at thread/qthread_unix.cpp:307
#10 0x00007f61db5e6b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
#11 0x00007f61ddafea7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f61bbcac700 (LWP 5187)):
#0  0x00007f61db5e9205 in __pthread_mutex_lock (mutex=0x2106c50) at pthread_mutex_lock.c:92
#1  0x00007f61dab43421 in g_mutex_lock (mutex=mutex@entry=0x2106b90) at /tmp/buildd/glib2.0-2.33.12+really2.32.4/./glib/gthread-posix.c:208
#2  0x00007f61dab06e69 in g_main_context_prepare (context=context@entry=0x2106b90, priority=priority@entry=0x7f61bbcabe08) at /tmp/buildd/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:2838
#3  0x00007f61dab0754b in g_main_context_iterate (context=0x2106b90, block=block@entry=1, dispatch=dispatch@entry=1, self=<error reading variable: Unhandled dwarf expression opcode 0xfa>) at /tmp/buildd/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:3126
#4  0x00007f61dab07a82 in g_main_loop_run (loop=0x2106b40) at /tmp/buildd/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:3340
#5  0x00007f61bbd79a86 in gdbus_shared_thread_func (user_data=0x2106b60) at /tmp/buildd/glib2.0-2.33.12+really2.32.4/./gio/gdbusprivate.c:277
#6  0x00007f61dab29f45 in g_thread_proxy (data=0x20f6b20) at /tmp/buildd/glib2.0-2.33.12+really2.32.4/./glib/gthread.c:801
#7  0x00007f61db5e6b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
#8  0x00007f61ddafea7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f61e02b4760 (LWP 5107)):
[KCrash Handler]
#6  0x0000000000000000 in ?? ()
#7  0x00007f61d610027f in Solid::Backends::UPower::Battery::slotChanged (this=0x7f61bd4baad0) at ../../../solid/solid/backends/upower/upowerbattery.cpp:130
#8  0x00007f61deefe54f in QMetaObject::activate (sender=0x7f61bdaae700, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#9  0x00007f61deefe54f in QMetaObject::activate (sender=0x7f61bdaae710, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff3a463f80) at kernel/qobject.cpp:3547
#10 0x00007f61dc525261 in QDBusInterfacePrivate::metacall (this=0x7f61bdaabcb0, c=<optimized out>, id=0, argv=0x7fff3a463f80) at qdbusinterface.cpp:278
#11 0x00007f61dc510c13 in QDBusConnectionPrivate::deliverCall (this=0x1eee190, object=0x7f61bdaae710, msg=..., metaTypes=..., slotIdx=5) at qdbusintegrator.cpp:947
#12 0x00007f61deefda2e in QObject::event (this=0x7f61bdaae710, e=<optimized out>) at kernel/qobject.cpp:1195
#13 0x00007f61de29270c in QApplicationPrivate::notify_helper (this=this@entry=0x1dbc320, receiver=receiver@entry=0x7f61bdaae710, e=e@entry=0x425b0b0) at kernel/qapplication.cpp:4556
#14 0x00007f61de296b8a in QApplication::notify (this=0x7fff3a464b80, receiver=0x7f61bdaae710, e=0x425b0b0) at kernel/qapplication.cpp:4417
#15 0x00007f61dfcb0886 in KApplication::notify (this=0x7fff3a464b80, receiver=0x7f61bdaae710, event=0x425b0b0) at ../../kdeui/kernel/kapplication.cpp:311
#16 0x00007f61deee8b5e in QCoreApplication::notifyInternal (this=0x7fff3a464b80, receiver=receiver@entry=0x7f61bdaae710, event=event@entry=0x425b0b0) at kernel/qcoreapplication.cpp:915
#17 0x00007f61deeec9e1 in sendEvent (event=0x425b0b0, receiver=0x7f61bdaae710) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#18 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1d162b0) at kernel/qcoreapplication.cpp:1539
#19 0x00007f61def170e3 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#20 postEventSourceDispatch (s=s@entry=0x1dba940) at kernel/qeventdispatcher_glib.cpp:279
#21 0x00007f61dab07355 in g_main_dispatch (context=0x1dbd440) at /tmp/buildd/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:2539
#22 g_main_context_dispatch (context=context@entry=0x1dbd440) at /tmp/buildd/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:3075
#23 0x00007f61dab07688 in g_main_context_iterate (context=context@entry=0x1dbd440, block=block@entry=1, dispatch=dispatch@entry=1, self=<error reading variable: Unhandled dwarf expression opcode 0xfa>) at /tmp/buildd/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:3146
#24 0x00007f61dab07744 in g_main_context_iteration (context=0x1dbd440, may_block=1) at /tmp/buildd/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:3207
#25 0x00007f61def17276 in QEventDispatcherGlib::processEvents (this=0x1d17750, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#26 0x00007f61de33383e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#27 0x00007f61deee78af in QEventLoop::processEvents (this=this@entry=0x7fff3a464900, flags=...) at kernel/qeventloop.cpp:149
#28 0x00007f61deee7b38 in QEventLoop::exec (this=0x7fff3a464900, flags=...) at kernel/qeventloop.cpp:204
#29 0x00007f61deeeccf8 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#30 0x00007f61cb685a80 in kdemain (argc=1, argv=0x1d72310) at ../../kded/kded.cpp:924
#31 0x0000000000408a72 in launch (argc=argc@entry=1, _name=_name@entry=0x40b6b7 "kded4", args=args@entry=0x0, cwd=cwd@entry=0x0, envc=envc@entry=0, envs=<optimized out>, envs@entry=0x0, reset_env=reset_env@entry=false, tty=tty@entry=0x0, avoid_loops=avoid_loops@entry=false, startup_id_str=startup_id_str@entry=0x40b53e "0") at ../../kinit/kinit.cpp:746
#32 0x0000000000405f69 in main (argc=4, argv=<optimized out>, envp=0x7fff3a465590) at ../../kinit/kinit.cpp:1861

This bug may be a duplicate of or related to bug 320175.

Possible duplicates by query: bug 320175, bug 317733, bug 317171, bug 316366, bug 315125.

Reported using DrKonqi
Comment 1 Jekyll Wu 2013-06-03 02:54:55 UTC

*** This bug has been marked as a duplicate of bug 320175 ***
Comment 2 Danyal 2013-06-08 19:58:01 UTC
Created attachment 80401 [details]
New crash information added by DrKonqi

kded4 (4.10.3) on KDE Platform 4.10.3 using Qt 4.8.4

- What I was doing when the application crashed:

my system was put into sleep mode with a full battery 
with Firefox and Terminal running 

Was brought out of sleep mode about 12 hours later 
and KDE crashed upon bringing out of sleep 

after the system came up looks like My battery level is at 16% power level

-- Backtrace (Reduced):
#6  0x000000319c493c3e in Solid::Backends::UPower::Battery::slotChanged (this=0x1d73780) at /usr/src/debug/kdelibs-4.10.3/solid/solid/backends/upower/upowerbattery.cpp:128
[...]
#9  0x0000003194a378e1 in QDBusInterfacePrivate::metacall (this=0x2118d10, c=<optimized out>, id=0, argv=0x7fff58aa2500) at qdbusinterface.cpp:278
#10 0x0000003194a22f93 in QDBusConnectionPrivate::deliverCall (this=0x1cd5ae0, object=0x1b2e7f0, msg=..., metaTypes=..., slotIdx=5) at qdbusintegrator.cpp:951
#11 0x000000319318c24e in QObject::event (this=0x1b2e7f0, e=<optimized out>) at kernel/qobject.cpp:1194
#12 0x00000031981ca5cc in QApplicationPrivate::notify_helper (this=this@entry=0x1adabf0, receiver=receiver@entry=0x1b2e7f0, e=e@entry=0x1c87a70) at kernel/qapplication.cpp:4562