Bug 281040 - Crash after unplugging the power adapter
Summary: Crash after unplugging the power adapter
Status: RESOLVED UNMAINTAINED
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: 2011-08-30 11:19 UTC by Ronny Standtke
Modified: 2011-08-30 22:55 UTC (History)
1 user (show)

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 Ronny Standtke 2011-08-30 11:19:50 UTC
Application: kded4 ($Id: kded.cpp 1031637 2009-10-05 16:58:19Z lunakl $)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.7.2
Operating System: Linux 2.6.39-bpo.2-686-pae i686
Distribution: Debian GNU/Linux 6.0.2 (squeeze)

-- Information about the crash:
Whenever I unplug the power adapter from my Asus Eee PC 1215N notebook, I get this crash report.

The crash can be reproduced every time.

 -- Backtrace:
Application: KDE-Dienst (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0xb5545710 (LWP 3114))]

Thread 2 (Thread 0xaea6eb70 (LWP 3166)):
#0  0xb5ecb29c in poll () from /lib/libc.so.6
#1  0xb592b06b in IA__g_poll (fds=0x8f67ba8, nfds=1, timeout=-1) at /build/buildd-glib2.0_2.24.2-1-i386-AScyie/glib2.0-2.24.2/glib/gpoll.c:127
#2  0xb591ddbc in g_main_context_poll (context=0x901edd0, block=<value optimized out>, dispatch=1, self=0x901dcd8) at /build/buildd-glib2.0_2.24.2-1-i386-AScyie/glib2.0-2.24.2/glib/gmain.c:2904
#3  g_main_context_iterate (context=0x901edd0, block=<value optimized out>, dispatch=1, self=0x901dcd8) at /build/buildd-glib2.0_2.24.2-1-i386-AScyie/glib2.0-2.24.2/glib/gmain.c:2586
#4  0xb591e1c8 in IA__g_main_context_iteration (context=0x901edd0, may_block=1) at /build/buildd-glib2.0_2.24.2-1-i386-AScyie/glib2.0-2.24.2/glib/gmain.c:2654
#5  0xb6cd8bff in QEventDispatcherGlib::processEvents (this=0x8faa9b8, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0xb6ca9009 in QEventLoop::processEvents (this=0xaea6e2a0, flags=) at kernel/qeventloop.cpp:149
#7  0xb6ca948a in QEventLoop::exec (this=0xaea6e2a0, flags=...) at kernel/qeventloop.cpp:201
#8  0xb6ba6f3e in QThread::exec (this=0x8faa2d8) at thread/qthread.cpp:492
#9  0xaec73b76 in ?? () from /usr/lib/kde4/kded_bluedevil.so
#10 0xb6baa282 in QThreadPrivate::start (arg=0x8faa2d8) at thread/qthread_unix.cpp:320
#11 0xb59bb7b0 in start_thread () from /lib/libpthread.so.0
#12 0xb5ed88fe in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb5545710 (LWP 3114)):
[KCrash Handler]
#5  Solid::Battery::type (this=0x0) at ../../../solid/solid/battery.cpp:53
#6  0xb1c89e3d in PowerDevilDaemon::recacheBatteryPointer (this=0x8f31870, force=false) at ../../../powerdevil/daemon/PowerDevilDaemon.cpp:247
#7  0xb1c8a1e8 in PowerDevilDaemon::reloadProfile (this=0x8f31870, state=2) at ../../../powerdevil/daemon/PowerDevilDaemon.cpp:1062
#8  0xb1c8c2c9 in PowerDevilDaemon::acAdapterStateChanged (this=0x8f31870, state=2, forced=false) at ../../../powerdevil/daemon/PowerDevilDaemon.cpp:333
#9  0xb1c8e787 in PowerDevilDaemon::qt_metacall (this=0x8f31870, _c=QMetaObject::InvokeMetaMethod, _id=24, _a=0xbf88ae18) at ./PowerDevilDaemon.moc:211
#10 0xb6cb022a in QMetaObject::metacall (object=0x8f31870, cl=3213405036, idx=32, argv=0xbf88ae18) at kernel/qmetaobject.cpp:237
#11 0xb6cc2e75 in QMetaObject::activate (sender=0x8f31438, m=0xb1c2b288, local_signal_index=1, argv=0xbf88ae18) at kernel/qobject.cpp:3278
#12 0xb1c08003 in Solid::Control::PowerManager::Notifier::acAdapterStateChanged (this=0x8f31438, _t1=2) at ./powermanager.moc:107
#13 0xb1c08187 in Solid::Control::PowerManager::Notifier::qt_metacall (this=0x8f31438, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xbf88af78) at ./powermanager.moc:84
#14 0xb1c081e2 in Solid::Control::PowerManagerPrivate::qt_metacall (this=0x8f31438, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xbf88af78) at ./powermanager_p.moc:68
#15 0xb6cb022a in QMetaObject::metacall (object=0x8f31438, cl=3213405036, idx=5, argv=0xbf88af78) at kernel/qmetaobject.cpp:237
#16 0xb6cc2e75 in QMetaObject::activate (sender=0x8f32548, m=0xb33980b0, local_signal_index=1, argv=0xbf88af78) at kernel/qobject.cpp:3278
#17 0xb33946a3 in Solid::Control::Ifaces::PowerManager::acAdapterStateChanged (this=0x8f32548, _t1=2) at ./powermanager.moc:107
#18 0xb3370348 in HalPower::slotPlugStateChanged (this=0x8f32548, newState=false) at ../../../solid/hal/halpower.cpp:549
#19 0xb33719d8 in HalPower::qt_metacall (this=0x8f32548, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0xbf88b0d4) at ./halpower.moc:85
#20 0xb6cb022a in QMetaObject::metacall (object=0x8f32548, cl=3213405036, idx=11, argv=0xbf88b0d4) at kernel/qmetaobject.cpp:237
#21 0xb6cc2e75 in QMetaObject::activate (sender=0x8f169f8, m=0xb5aea32c, local_signal_index=0, argv=0xbf88b0d4) at kernel/qobject.cpp:3278
#22 0xb5a99a8f in Solid::AcAdapter::plugStateChanged (this=0x8f169f8, _t1=false, _t2=...) at ./acadapter.moc:112
#23 0xb5a99bb7 in Solid::AcAdapter::qt_metacall (this=0x8f169f8, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbf88b204) at ./acadapter.moc:77
#24 0xb6cb022a in QMetaObject::metacall (object=0x8f169f8, cl=3213405036, idx=4, argv=0xbf88b204) at kernel/qmetaobject.cpp:237
#25 0xb6cc2e75 in QMetaObject::activate (sender=0x8f35dc8, m=0xb5aed8e0, local_signal_index=0, argv=0xbf88b204) at kernel/qobject.cpp:3278
#26 0xb5abc4cf in Solid::Backends::Hal::AcAdapter::plugStateChanged (this=0x8f35dc8, _t1=false, _t2=...) at ./backends/hal/halacadapter.moc:94
#27 0xb5abc671 in Solid::Backends::Hal::AcAdapter::slotPropertyChanged (this=0x8f35dc8, changes=...) at ../../../solid/solid/backends/hal/halacadapter.cpp:45
#28 0xb5abc772 in Solid::Backends::Hal::AcAdapter::qt_metacall (this=0x8f35dc8, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xbf88b388) at ./backends/hal/halacadapter.moc:82
#29 0xb6cb022a in QMetaObject::metacall (object=0x8f35dc8, cl=3213405036, idx=5, argv=0xbf88b388) at kernel/qmetaobject.cpp:237
#30 0xb6cc2e75 in QMetaObject::activate (sender=0x8f51e08, m=0xb5aeea60, local_signal_index=0, argv=0xbf88b388) at kernel/qobject.cpp:3278
#31 0xb5ac6c73 in Solid::Backends::Hal::HalDevice::propertyChanged (this=0x8f51e08, _t1=...) at ./backends/hal/haldevice.moc:99
#32 0xb5ac7773 in Solid::Backends::Hal::HalDevice::slotPropertyModified (this=0x8f51e08, changes=...) at ../../../solid/solid/backends/hal/haldevice.cpp:543
#33 0xb5ac79ce in Solid::Backends::Hal::HalDevice::qt_metacall (this=0x8f51e08, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbf88b538) at ./backends/hal/haldevice.moc:86
#34 0xb5c7ace1 in QDBusConnectionPrivate::deliverCall (this=0x8f31720, object=0x8f51e08, msg=..., metaTypes=..., slotIdx=6) at qdbusintegrator.cpp:941
#35 0xb5c85587 in QDBusCallDeliveryEvent::placeMetaCall(QObject*) () from /usr/lib/libQtDBus.so.4
#36 0xb6cbc702 in QObject::event (this=0x8f51e08, e=0xb5aea3a4) at kernel/qobject.cpp:1217
#37 0xb61a9f8c in QApplicationPrivate::notify_helper (this=0x8e84b80, receiver=0x8f51e08, e=0x9040ab0) at kernel/qapplication.cpp:4462
#38 0xb61af8ee in QApplication::notify (this=0xbf88be90, receiver=0x8f51e08, e=0x9040ab0) at kernel/qapplication.cpp:3862
#39 0xb6fbdbfa in KApplication::notify (this=0xbf88be90, receiver=0x8f51e08, event=0x9040ab0) at ../../kdeui/kernel/kapplication.cpp:302
#40 0xb6caa55b in QCoreApplication::notifyInternal (this=0xbf88be90, receiver=0x8f51e08, event=0x9040ab0) at kernel/qcoreapplication.cpp:731
#41 0xb6cad75c in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x8e378a8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#42 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8e378a8) at kernel/qcoreapplication.cpp:1372
#43 0xb6cad8bd in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1265
#44 0xb6cd90d4 in QCoreApplication::sendPostedEvents (s=0x8e86d78) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#45 postEventSourceDispatch (s=0x8e86d78) at kernel/qeventdispatcher_glib.cpp:277
#46 0xb591a305 in g_main_dispatch (context=0x8e86cf8) at /build/buildd-glib2.0_2.24.2-1-i386-AScyie/glib2.0-2.24.2/glib/gmain.c:1960
#47 IA__g_main_context_dispatch (context=0x8e86cf8) at /build/buildd-glib2.0_2.24.2-1-i386-AScyie/glib2.0-2.24.2/glib/gmain.c:2513
#48 0xb591dfe8 in g_main_context_iterate (context=0x8e86cf8, block=<value optimized out>, dispatch=1, self=0x8e84718) at /build/buildd-glib2.0_2.24.2-1-i386-AScyie/glib2.0-2.24.2/glib/gmain.c:2591
#49 0xb591e1c8 in IA__g_main_context_iteration (context=0x8e86cf8, may_block=1) at /build/buildd-glib2.0_2.24.2-1-i386-AScyie/glib2.0-2.24.2/glib/gmain.c:2654
#50 0xb6cd8bc5 in QEventDispatcherGlib::processEvents (this=0x8e38348, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#51 0xb626c285 in QGuiEventDispatcherGlib::processEvents (this=0x8e38348, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#52 0xb6ca9009 in QEventLoop::processEvents (this=0xbf88bde4, flags=) at kernel/qeventloop.cpp:149
#53 0xb6ca948a in QEventLoop::exec (this=0xbf88bde4, flags=...) at kernel/qeventloop.cpp:201
#54 0xb6cad97f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#55 0xb61a8f47 in QApplication::exec () at kernel/qapplication.cpp:3736
#56 0xb5150d4e in kdemain (argc=1, argv=0x8e735c8) at ../../kded/kded.cpp:932
#57 0x0804e38b in launch (argc=<value optimized out>, _name=<value optimized out>, args=<value optimized out>, cwd=0x0, envc=0, envs=0x0, reset_env=false, tty=0x0, avoid_loops=false, 
    startup_id_str=0x80515bb "0") at ../../kinit/kinit.cpp:729
#58 0x080500a0 in main (argc=4, argv=0xbf88c6c4, envp=0xbf88c6d8) at ../../kinit/kinit.cpp:1800

Reported using DrKonqi
Comment 1 Christoph Feck 2011-08-30 22:55:01 UTC
If the bug is reproducible with KDE 4.6.5 or KDE 4.7.0, please attach an updated backtrace.