Bug 303722 - KDE daemon crashes randomly.
Summary: KDE daemon crashes randomly.
Status: RESOLVED WORKSFORME
Alias: None
Product: kdelibs
Classification: Unmaintained
Component: kded (show other bugs)
Version: unspecified
Platform: Kubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
: 303925 306161 306529 307299 309117 311047 311172 311962 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-07-18 07:59 UTC by P. Varet
Modified: 2018-10-30 13:11 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description P. Varet 2012-07-18 07:59:44 UTC
Application: kded4 ($Id$)
KDE Platform Version: 4.8.4 (4.8.4)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-26-generic-pae i686
Distribution: Ubuntu 12.04 LTS

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

Nothing whatsoever. It's a work computer which stays on at night. This morning I found the crash dialog waiting for me and decided it was time I reported the issue.

This happens regularly, perhaps once every few weeks or so.

-- Backtrace:
Application: KDE Daemon (kdeinit4), signal: Aborted
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb5694740 (LWP 1992))]

Thread 5 (Thread 0xaf02eb40 (LWP 2088)):
[KCrash Handler]
#7  0xb7772424 in __kernel_vsyscall ()
#8  0xb5f001ef in raise () from /lib/i386-linux-gnu/libc.so.6
#9  0xb5f03835 in abort () from /lib/i386-linux-gnu/libc.so.6
#10 0xb5954fa0 in mem_error (format=0xb59d5bdc "failed to allocate %u bytes (alignment: %u): %s\n") at /build/buildd/glib2.0-2.32.3/./glib/gslice.c:1442
#11 0xb595531f in allocator_add_slab (chunk_size=24, ix=2, allocator=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gslice.c:1261
#12 slab_allocator_alloc_chunk (chunk_size=24) at /build/buildd/glib2.0-2.32.3/./glib/gslice.c:1300
#13 0xb59a1740 in magazine_cache_pop_magazine (countp=0xae700484, ix=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gslice.c:724
#14 thread_memory_magazine1_reload (ix=<optimized out>, tmem=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gslice.c:794
#15 g_slice_alloc (mem_size=24) at /build/buildd/glib2.0-2.32.3/./glib/gslice.c:992
#16 0xb59bcd3e in g_variant_alloc (type=0xb59cacc6, serialised=1, trusted=1) at /build/buildd/glib2.0-2.32.3/./glib/gvariant-core.c:476
#17 0xb59bce63 in g_variant_new_from_bytes (type=0xb59cacc6, bytes=0xbdcff880, trusted=1) at /build/buildd/glib2.0-2.32.3/./glib/gvariant-core.c:511
#18 0xb59b64f2 in g_variant_new_from_trusted (type=0xb59cacc6, data=<optimized out>, size=4) at /build/buildd/glib2.0-2.32.3/./glib/gvariant.c:327
#19 0xb59b66b5 in g_variant_new_uint32 (value=4) at /build/buildd/glib2.0-2.32.3/./glib/gvariant.c:516
#20 0xaf112161 in parse_value_from_blob (mis=0xa66e49b0, dis=0x97b9910, type=0xbfd3e00b, just_align=0, indent=8, error=0xaf02de6c) at /build/buildd/glib2.0-2.32.3/./gio/gdbusmessage.c:1159
#21 0xaf1122a4 in parse_value_from_blob (mis=0xa66e49b0, dis=0x97b9910, type=0xbfd3e002, just_align=0, indent=6, error=0xaf02df2c) at /build/buildd/glib2.0-2.32.3/./gio/gdbusmessage.c:1439
#22 0xaf112496 in parse_value_from_blob (mis=0xa66e49b0, dis=0x97b9910, type=0xbfd3e001, just_align=0, indent=4, error=0xaf02dfec) at /build/buildd/glib2.0-2.32.3/./gio/gdbusmessage.c:1354
#23 0xaf1122a4 in parse_value_from_blob (mis=0xa66e49b0, dis=0x97b9910, type=0xbfd3e000, just_align=0, indent=2, error=0xaf02e108) at /build/buildd/glib2.0-2.32.3/./gio/gdbusmessage.c:1439
#24 0xaf113e25 in g_dbus_message_new_from_blob (blob=0xae705a00 "l\002\001\001\320{", blob_len=31776, capabilities=G_DBUS_CAPABILITY_FLAGS_UNIX_FD_PASSING, error=0xaf02e108) at /build/buildd/glib2.0-2.32.3/./gio/gdbusmessage.c:1793
#25 0xaf11f816 in _g_dbus_worker_do_read_cb (input_stream=0x96e40e0, res=0xbdc44770, user_data=0x96fe2d0) at /build/buildd/glib2.0-2.32.3/./gio/gdbusprivate.c:753
#26 0xaf0b4ba5 in g_simple_async_result_complete (simple=0xbdc44770) at /build/buildd/glib2.0-2.32.3/./gio/gsimpleasyncresult.c:767
#27 0xaf0b4ccb in complete_in_idle_cb (data=0xbdc44770) at /build/buildd/glib2.0-2.32.3/./gio/gsimpleasyncresult.c:779
#28 0xb5984850 in g_idle_dispatch (source=0xbfd3d1b0, callback=0xaf0b4cb0 <complete_in_idle_cb>, user_data=0xbdc44770) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:4657
#29 0xb5986d86 in g_main_dispatch (context=0x96fe620) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:2539
#30 g_main_context_dispatch (context=0x96fe620) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3075
#31 0xb5987125 in g_main_context_iterate (dispatch=1, block=-1248245168, context=0x96fe620, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3146
#32 g_main_context_iterate (context=0x96fe620, block=-1248245168, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3083
#33 0xb598756b in g_main_loop_run (loop=0x96fe610) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3340
#34 0xaf11d1ba in gdbus_shared_thread_func (user_data=0x9694d38) at /build/buildd/glib2.0-2.32.3/./gio/gdbusprivate.c:277
#35 0xb59aa6b3 in g_thread_proxy (data=0x96e4a90) at /build/buildd/glib2.0-2.32.3/./glib/gthread.c:801
#36 0xb5a4dd4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#37 0xb5fbcace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 4 (Thread 0xae6ffb40 (LWP 2134)):
#0  0xb5a3cdcd in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0xb6cf5315 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#2  0xb6ddf226 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#3  0xb6ddf57a in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#4  0xb6ddde23 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#5  0xb6dddebd in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#6  0xb5986872 in g_main_context_prepare (context=0xadd004e0, priority=0xae6ff118) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:2836
#7  0xb5986faf in g_main_context_iterate (dispatch=1, block=1, context=0xadd004e0, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3126
#8  g_main_context_iterate (context=0xadd004e0, block=1, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3083
#9  0xb5987201 in g_main_context_iteration (context=0xadd004e0, may_block=1) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3207
#10 0xb6dde8e7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#11 0xb6daa50d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#12 0xb6daa7a9 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#13 0xb6c9394c in QThread::exec() () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#14 0xb6d87b5d in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#15 0xb6c96de0 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#16 0xb5a4dd4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0xb5fbcace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 3 (Thread 0xa9bb3b40 (LWP 2235)):
#0  0xb7772424 in __kernel_vsyscall ()
#1  0xb5a545a2 in __lll_lock_wait () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb5a4fecb in _L_lock_891 () from /lib/i386-linux-gnu/libpthread.so.0
#3  0xb5a4fe60 in pthread_mutex_lock () from /lib/i386-linux-gnu/libpthread.so.0
#4  0xb5fca5f4 in pthread_mutex_lock () from /lib/i386-linux-gnu/libc.so.6
#5  0xb59c63d0 in g_mutex_lock (mutex=0xb5a38a7c) at /build/buildd/glib2.0-2.32.3/./glib/gthread-posix.c:208
#6  0xb59a0c51 in private_thread_memory_cleanup (data=0xa92005a8) at /build/buildd/glib2.0-2.32.3/./glib/gslice.c:774
#7  0xb5a4db3e in __nptl_deallocate_tsd () from /lib/i386-linux-gnu/libpthread.so.0
#8  0xb5a4dd5a in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#9  0xb5fbcace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xa8343b40 (LWP 12882)):
#0  0xb59c60db in g_mutex_get_impl (mutex=0x99fa598) at /build/buildd/glib2.0-2.32.3/./glib/gthread-posix.c:118
#1  0xb59c63c8 in g_mutex_lock (mutex=0x99fa598) at /build/buildd/glib2.0-2.32.3/./glib/gthread-posix.c:208
#2  0xb5987060 in g_main_context_iterate (dispatch=1, block=-1248245168, context=0x99fa598, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3150
#3  g_main_context_iterate (context=0x99fa598, block=-1248245168, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3083
#4  0xb5987201 in g_main_context_iteration (context=0x99fa598, may_block=1) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3207
#5  0xb6dde8e7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#6  0xb6daa50d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#7  0xb6daa7a9 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#8  0xb6c9394c in QThread::exec() () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#9  0xb6d87b5d in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#10 0xb6c96de0 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#11 0xb5a4dd4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0xb5fbcace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb5694740 (LWP 1992)):
#0  0xb5a50d10 in pthread_mutex_unlock () from /lib/i386-linux-gnu/libpthread.so.0
#1  0xb5fca634 in pthread_mutex_unlock () from /lib/i386-linux-gnu/libc.so.6
#2  0xb59c6410 in g_mutex_unlock (mutex=0xa920c4f0) at /build/buildd/glib2.0-2.32.3/./glib/gthread-posix.c:227
#3  0xb5986b2b in g_main_context_check (context=0xa920c4f0, max_priority=<optimized out>, fds=0xa9202e60, n_fds=1) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3057
#4  0xb5987042 in g_main_context_iterate (dispatch=1, block=-1248245168, context=0xa920c4f0, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3143
#5  g_main_context_iterate (context=0xa920c4f0, block=-1248245168, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3083
#6  0xb598756b in g_main_loop_run (loop=0xa92064a8) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3340
#7  0xaf1ad93c in polkit_authority_check_authorization_sync () from /usr/lib/i386-linux-gnu/libpolkit-gobject-1.so.0
#8  0xaf1cb20c in PolkitQt1::Authority::checkAuthorizationSync(QString const&, PolkitQt1::Subject const&, QFlags<PolkitQt1::Authority::AuthorizationFlag>) () from /usr/lib/libpolkit-qt-core-1.so.1
#9  0xaf3e1288 in ?? () from /usr/lib/kde4/plugins/kauth/backend/kauth_backend_plugin.so
#10 0xaf3e19cc in ?? () from /usr/lib/kde4/plugins/kauth/backend/kauth_backend_plugin.so
#11 0xaf3e049b in ?? () from /usr/lib/kde4/plugins/kauth/backend/kauth_backend_plugin.so
#12 0xb6dc26b1 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#13 0xaf1c7795 in PolkitQt1::Authority::configChanged() () from /usr/lib/libpolkit-qt-core-1.so.1
#14 0xaf1cb3f3 in PolkitQt1::Authority::Private::pk_config_changed() () from /usr/lib/libpolkit-qt-core-1.so.1
#15 0xb57ee243 in g_cclosure_marshal_VOID__VOIDv (closure=0x969ca08, return_value=0x0, instance=0x96e4c00, args=0xbf963da8 "\360\314\032\257", marshal_data=0x0, n_params=0, param_types=0x0) at /build/buildd/glib2.0-2.32.3/./gobject/gmarshal.c:115
#16 0xb57ec727 in _g_closure_invoke_va (closure=0x969ca08, return_value=0x0, instance=0x96e4c00, args=0xbf963da8 "\360\314\032\257", n_params=0, param_types=0x0) at /build/buildd/glib2.0-2.32.3/./gobject/gclosure.c:840
#17 0xb5805a29 in g_signal_emit_valist (instance=0x96e4c00, signal_id=3, detail=0, var_args=0xbf963da8 "\360\314\032\257") at /build/buildd/glib2.0-2.32.3/./gobject/gsignal.c:3207
#18 0xb58068af in g_signal_emit_by_name (instance=0x96e4c00, detailed_signal=0xaf1b77ff "changed") at /build/buildd/glib2.0-2.32.3/./gobject/gsignal.c:3389
#19 0xaf1acd49 in ?? () from /usr/lib/i386-linux-gnu/libpolkit-gobject-1.so.0
#20 0xb569b35a in ffi_call_SYSV () from /usr/lib/i386-linux-gnu/libffi.so.6
#21 0xb569b08f in ffi_call () from /usr/lib/i386-linux-gnu/libffi.so.6
#22 0xb57ecd94 in g_cclosure_marshal_generic (closure=0x96a3370, return_gvalue=0x0, n_param_values=4, param_values=0xbf9640e0, invocation_hint=0xbf964060, marshal_data=0x0) at /build/buildd/glib2.0-2.32.3/./gobject/gclosure.c:1454
#23 0xb57ec484 in g_closure_invoke (closure=0x96a3370, return_value=0x0, n_param_values=4, param_values=0xbf9640e0, invocation_hint=0xbf964060) at /build/buildd/glib2.0-2.32.3/./gobject/gclosure.c:777
#24 0xb57fe0d9 in signal_emit_unlocked_R (node=0x96e4370, detail=0, instance=0x96de810, emission_return=0x0, instance_and_params=0xbf9640e0) at /build/buildd/glib2.0-2.32.3/./gobject/gsignal.c:3547
#25 0xb58062dc in g_signal_emit_valist (instance=0x96de810, signal_id=5, detail=0, var_args=0xbf964318 "") at /build/buildd/glib2.0-2.32.3/./gobject/gsignal.c:3296
#26 0xb5806453 in g_signal_emit (instance=0x96de810, signal_id=5, detail=0) at /build/buildd/glib2.0-2.32.3/./gobject/gsignal.c:3352
#27 0xaf1194d7 in on_signal_received (connection=0x96f9810, sender_name=0x9501a20 ":1.9", object_path=0xc3060d0 "/org/freedesktop/PolicyKit1/Authority", interface_name=0xc2c4f00 "org.freedesktop.PolicyKit1.Authority", signal_name=0x96bf568 "Changed", parameters=0xbffe83b0, user_data=0x94d5e18) at /build/buildd/glib2.0-2.32.3/./gio/gdbusproxy.c:927
#28 0xaf1073c6 in emit_signal_instance_in_idle_cb (data=0x944b008) at /build/buildd/glib2.0-2.32.3/./gio/gdbusconnection.c:3665
#29 0xb5984850 in g_idle_dispatch (source=0xbc71058, callback=0xaf107330 <emit_signal_instance_in_idle_cb>, user_data=0x944b008) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:4657
#30 0xb5986d86 in g_main_dispatch (context=0x94d5e80) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:2539
#31 g_main_context_dispatch (context=0x94d5e80) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3075
#32 0xb5987125 in g_main_context_iterate (dispatch=1, block=-1248245168, context=0x94d5e80, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3146
#33 g_main_context_iterate (context=0x94d5e80, block=-1248245168, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3083
#34 0xb5987201 in g_main_context_iteration (context=0x94d5e80, may_block=1) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3207
#35 0xb6dde887 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#36 0xb634faaa in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#37 0xb6daa50d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#38 0xb6daa7a9 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#39 0xb6dafeba in QCoreApplication::exec() () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#40 0xb6294a74 in QApplication::exec() () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#41 0xb548a959 in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_kded4.so
#42 0x0804f8a4 in _start ()

Reported using DrKonqi
Comment 1 Christoph Feck 2012-07-18 19:55:43 UTC
Please check which kded module causes the crash. For more information, see http://kdepepo.wordpress.com/2011/05/11/troubleshooting-kded4-bugs/
Comment 2 Jekyll Wu 2012-07-22 14:50:40 UTC
*** Bug 303925 has been marked as a duplicate of this bug. ***
Comment 3 Jekyll Wu 2012-09-02 15:32:00 UTC
*** Bug 306161 has been marked as a duplicate of this bug. ***
Comment 4 Jekyll Wu 2012-09-10 14:20:21 UTC
*** Bug 306529 has been marked as a duplicate of this bug. ***
Comment 5 Christoph Feck 2012-09-10 17:43:03 UTC
If you can provide the information requested in comment #1, please add it.
Comment 6 P. Varet 2012-09-11 08:01:43 UTC
Hi Christoph,

The crash is very sporadic. How can we tell between kded not crashing because a module was disabled, and kded not crashing because the crash just hasn't occurred?
Comment 7 Jekyll Wu 2012-09-24 07:24:34 UTC
*** Bug 307299 has been marked as a duplicate of this bug. ***
Comment 8 Jekyll Wu 2012-10-27 23:04:19 UTC
*** Bug 309117 has been marked as a duplicate of this bug. ***
Comment 9 Jekyll Wu 2012-12-02 23:57:21 UTC
*** Bug 311047 has been marked as a duplicate of this bug. ***
Comment 10 Jekyll Wu 2012-12-05 04:10:53 UTC
*** Bug 311172 has been marked as a duplicate of this bug. ***
Comment 11 Christoph Feck 2012-12-20 04:18:58 UTC
*** Bug 311962 has been marked as a duplicate of this bug. ***
Comment 12 Andrew Crouthamel 2018-10-29 22:21:31 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 13 Bruce Lerner 2018-10-30 02:34:24 UTC
I am currently running Kubuntu 18.04 on both desktop (diy) and laptop(HP) which shows KDE Plasma 5.12.6 and kded5 5.44.0.  I have not seen a "morning crash" in years, definitely not since 16.04. I would not consider this an active issue.
Comment 14 Andrew Crouthamel 2018-10-30 13:11:26 UTC
Thanks for the update!