Bug 299137

Summary: KDE Deamon crahed when I disconnected the power supply
Product: [Unmaintained] solid Reporter: Arne Henningsen <arne.henningsen>
Component: powermanagement-daemonAssignee: Dario Freddi <drf>
Status: RESOLVED DUPLICATE    
Severity: crash CC: afiestas
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Arne Henningsen 2012-05-01 06:27:36 UTC
Application: kded4 ($Id$)
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-17-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
When I disconnected the power supply of my laptop computer (HP EliteBook 8560w), the Crash Reporting Assistant reported the the KDE Deamon has crashed.

-- Backtrace:
Application: KDE Daemon (kdeinit4), signal: Aborted
[Current thread is 1 (Thread 0x7f374919c780 (LWP 27631))]

Thread 6 (Thread 0x7f372dbe8700 (LWP 27639)):
#0  __pthread_mutex_unlock_usercnt (mutex=<optimized out>, decr=<optimized out>) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x7f3728021a08) at pthread_mutex_unlock.c:290
#2  0x00007f3743bf73f5 in g_main_context_query () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3743bf7e6a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f3743bf8429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f3747e41f3e in QEventDispatcherGlib::processEvents (this=0x7f3728011900, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#6  0x00007f3747e15cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f3747e15ef7 in QEventLoop::exec (this=0x7f372dbe7d10, flags=...) at kernel/qeventloop.cpp:201
#8  0x00007f3747d2d27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#9  0x00007f3747df8cbf in QInotifyFileSystemWatcherEngine::run (this=0xf98710) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007f3747d2fd05 in QThreadPrivate::start (arg=0xf98710) at thread/qthread_unix.cpp:331
#11 0x00007f3738f1c56c in ?? () from /usr/lib/nvidia-current/libGL.so.1
#12 0x00007f37444c1efc in start_thread (arg=0x7f372dbe8700) at pthread_create.c:304
#13 0x00007f3746a0559d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f372d3e7700 (LWP 27683)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f37469a262f in _L_lock_10501 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007f37469a09c1 in __GI___libc_free (mem=0x7f3746cbe1c0) at malloc.c:3736
#3  0x00007f373860f92c in ?? () from /usr/lib/nvidia-current/tls/libnvidia-tls.so.280.13
#4  0x00007f3743bf34e1 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f3747e41c37 in QEventDispatcherGlib::~QEventDispatcherGlib (this=0xfa6810, __in_chrg=<optimized out>) at kernel/qeventdispatcher_glib.cpp:373
#6  0x00007f3747e41e49 in QEventDispatcherGlib::~QEventDispatcherGlib (this=0xfa6810, __in_chrg=<optimized out>) at kernel/qeventdispatcher_glib.cpp:401
#7  0x00007f3747d2ee34 in QThreadPrivate::finish (arg=0x7f374814a580) at thread/qthread_unix.cpp:367
#8  0x00007f3747d2fd0d in ~__pthread_cleanup_class (this=<synthetic pointer>, __in_chrg=<optimized out>) at /usr/include/pthread.h:545
#9  ~__pthread_cleanup_class (this=<synthetic pointer>, __in_chrg=<optimized out>) at thread/qthread_unix.cpp:824
#10 QThreadPrivate::start (arg=0x7f374814a580) at thread/qthread_unix.cpp:290
#11 0x00007f3738f1c56c in ?? () from /usr/lib/nvidia-current/libGL.so.1
#12 0x00007f37444c1efc in start_thread (arg=0x7f372d3e7700) at pthread_create.c:304
#13 0x00007f3746a0559d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f37255d8700 (LWP 27730)):
#0  0x00007f37469f9473 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f3743bf7f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3743bf8792 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f37258b5516 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f3743c1d2b6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f3738f1c56c in ?? () from /usr/lib/nvidia-current/libGL.so.1
#6  0x00007f37444c1efc in start_thread (arg=0x7f37255d8700) at pthread_create.c:304
#7  0x00007f3746a0559d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f372e3e9700 (LWP 13137)):
#0  0x00007f3747d800ac in qt_gettime () at tools/qelapsedtimer_unix.cpp:149
#1  0x00007f3747e426ed in QTimerInfoList::updateCurrentTime (this=0x173a5b0) at kernel/qeventdispatcher_unix.cpp:339
#2  0x00007f3747e42a33 in QTimerInfoList::timerWait (this=0x173a5b0, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#3  0x00007f3747e4144c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f372e3e8bac) at kernel/qeventdispatcher_glib.cpp:136
#4  0x00007f3747e414f5 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#5  0x00007f3743bf6ff2 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f3743bf7dfd in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f3743bf8429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007f3747e41f3e in QEventDispatcherGlib::processEvents (this=0x1733590, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#9  0x00007f3747e15cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#10 0x00007f3747e15ef7 in QEventLoop::exec (this=0x7f372e3e8d40, flags=...) at kernel/qeventloop.cpp:201
#11 0x00007f3747d2d27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#12 0x00007f3747d2fd05 in QThreadPrivate::start (arg=0x1733950) at thread/qthread_unix.cpp:331
#13 0x00007f3738f1c56c in ?? () from /usr/lib/nvidia-current/libGL.so.1
#14 0x00007f37444c1efc in start_thread (arg=0x7f372e3e9700) at pthread_create.c:304
#15 0x00007f3746a0559d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#16 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f371d530700 (LWP 21313)):
#0  0x00007f37444c51fd in __pthread_mutex_unlock_usercnt (mutex=<optimized out>, decr=<optimized out>) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x70a1588) at pthread_mutex_unlock.c:290
#2  0x00007f3743bf6687 in g_main_context_acquire () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3743bf7d81 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f3743bf8429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f3747e41f3e in QEventDispatcherGlib::processEvents (this=0x58b4840, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#6  0x00007f3747e15cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f3747e15ef7 in QEventLoop::exec (this=0x7f371d52fd40, flags=...) at kernel/qeventloop.cpp:201
#8  0x00007f3747d2d27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#9  0x00007f3747d2fd05 in QThreadPrivate::start (arg=0x7f371aa855c0) at thread/qthread_unix.cpp:331
#10 0x00007f3738f1c56c in ?? () from /usr/lib/nvidia-current/libGL.so.1
#11 0x00007f37444c1efc in start_thread (arg=0x7f371d530700) at pthread_create.c:304
#12 0x00007f3746a0559d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f374919c780 (LWP 27631)):
[KCrash Handler]
#6  0x00007f37469583a5 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f374695bb0b in __GI_abort () at abort.c:92
#8  0x00007f3746991d63 in __libc_message (do_abort=2, fmt=0x7f3746a82e58 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#9  0x00007f374699c6e6 in malloc_printerr (action=3, str=0x7f3746a7fe6f "free(): invalid pointer", ptr=<optimized out>) at malloc.c:6283
#10 0x00007f37469a09cc in __GI___libc_free (mem=<optimized out>) at malloc.c:3738
#11 0x00007f373860f92c in ?? () from /usr/lib/nvidia-current/tls/libnvidia-tls.so.280.13
#12 0x00007f372f56b3b0 in QList (l=..., this=0x7fff9cdf4010) at /usr/include/qt4/QtCore/qlist.h:118
#13 QForeachContainer (t=..., this=0x7fff9cdf4010) at /usr/include/qt4/QtCore/qglobal.h:2253
#14 PowerDevil::Core::onKIdleTimeoutReached (this=0xf6a850, identifier=18, msec=600000) at ../../../powerdevil/daemon/powerdevilcore.cpp:549
#15 0x00007f372f56fd85 in PowerDevil::Core::qt_metacall (this=0xf6a850, _c=QMetaObject::InvokeMetaMethod, _id=30, _a=0x7fff9cdf4180) at ./powerdevilcore.moc:174
#16 0x00007f3747e29eba in QMetaObject::activate (sender=0xf86940, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff9cdf4180) at kernel/qobject.cpp:3278
#17 0x00007f372f34ee0f in KIdleTime::timeoutReached (this=<optimized out>, _t1=18, _t2=600000) at ./kidletime.moc:124
#18 0x00007f372f34f12a in KIdleTimePrivate::_k_timeoutReached (this=<optimized out>, msec=600000) at ../../kutils/kidletime/kidletime.cpp:243
#19 0x00007f372f34f280 in KIdleTime::qt_metacall (this=0xf86940, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0x7fff9cdf4320) at ./kidletime.moc:99
#20 0x00007f3747e29eba in QMetaObject::activate (sender=0x10ded00, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff9cdf4320) at kernel/qobject.cpp:3278
#21 0x00007f372f34f901 in AbstractSystemPoller::timeoutReached (this=<optimized out>, _t1=600000) at ./abstractsystempoller.moc:115
#22 0x00007f372f3525a3 in x11Event (event=0x7fff9cdf48a0, this=0x10ded00) at ../../kutils/kidletime/xsyncbasedpoller.cpp:235
#23 XSyncBasedPoller::x11Event (this=0x10ded00, event=0x7fff9cdf48a0) at ../../kutils/kidletime/xsyncbasedpoller.cpp:218
#24 0x00007f3748b86a16 in publicx11Event (e=0x7fff9cdf48a0, this=<optimized out>) at ../../kdeui/kernel/kapplication.cpp:918
#25 KApplication::x11EventFilter (this=<optimized out>, _event=0x7fff9cdf48a0) at ../../kdeui/kernel/kapplication.cpp:930
#26 0x00007f3747235aa5 in qt_x11EventFilter (ev=0x7fff9cdf48a0) at kernel/qapplication_x11.cpp:440
#27 qt_x11EventFilter (ev=0x7fff9cdf48a0) at kernel/qapplication_x11.cpp:428
#28 0x00007f3747244d20 in QApplication::x11ProcessEvent (this=0x7fff9cdf4ce0, event=0x7fff9cdf48a0) at kernel/qapplication_x11.cpp:3405
#29 0x00007f374726e4a2 in x11EventSourceDispatch (s=0xd4d170, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#30 0x00007f3743bf7a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f3743bf8258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f3743bf8429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007f3747e41ed6 in QEventDispatcherGlib::processEvents (this=0xc9bd30, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#34 0x00007f374726e10e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x00007f3747e15cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#36 0x00007f3747e15ef7 in QEventLoop::exec (this=0x7fff9cdf4c70, flags=...) at kernel/qeventloop.cpp:201
#37 0x00007f3747e1a789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#38 0x00007f3734fc2d65 in kdemain (argc=1, argv=0xdc6410) at ../../kded/kded.cpp:924
#39 0x0000000000408547 in launch (argc=1, _name=0x40b2d7 "kded4", args=<optimized out>, cwd=0x0, envc=<optimized out>, envs=<optimized out>, reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x40b15e "0") at ../../kinit/kinit.cpp:746
#40 0x0000000000405949 in main (argc=4, argv=0x7fff00000001, envp=0x7fff9cdf5e40) at ../../kinit/kinit.cpp:1861

Possible duplicates by query: bug 296435, bug 294766, bug 292022, bug 290830, bug 290682.

Reported using DrKonqi
Comment 1 Christoph Feck 2012-05-01 10:01:03 UTC
Related to/duplicate of bug 298433 or bug 289373.
Comment 2 Alex Fiestas 2013-03-03 17:15:41 UTC

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