Bug 313361 - kded4 crash while resuming my laptop
Summary: kded4 crash while resuming my laptop
Status: RESOLVED DUPLICATE of bug 306908
Alias: None
Product: kdelibs
Classification: Unmaintained
Component: kded (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-16 12:12 UTC by Laurent Bonnaud
Modified: 2013-01-16 16:12 UTC (History)
0 users

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 Laurent Bonnaud 2013-01-16 12:12:31 UTC
Application: kded4 ($Id$)
KDE Platform Version: 4.9.97
Qt Version: 4.8.3
Operating System: Linux 3.5.0-22-generic i686
Distribution: Ubuntu 12.10

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

I had resumed my laptop from suspend to RAM and saw the DrKonqui crash window.

This bug is a duplicate of many other bugs, but I'm reporting it nevertheless because:
 - it concerns the most recent KDE version (4.9.97 aka 4.10RC2)
 - I had restarted kded4 in a terminal (after killing it to work around a memory leak) and therefore I have a clean debug output

Here is the debug output:

[...]
QProcessPrivate::createPipe: Cannot create pipe 0x9439334: Too many open files
QSocketNotifier: Invalid socket specified
QProcessPrivate::createPipe: Cannot create pipe 0x943934c: Too many open files
QSocketNotifier: Invalid socket specified
QProcessPrivate::createPipe: Cannot create pipe 0x9439364: Too many open files
QSocketNotifier: Invalid socket specified
QProcessPrivate::createPipe: Cannot create pipe 0x94393c4: Too many open files
QProcessPrivate::createPipe: Cannot create pipe 0x94393cc: Too many open files
QSocketNotifier: Invalid socket specified
QSocketNotifier: Invalid socket specified
QFile::remove: Empty or null file name
Object::disconnect: Unexpected null parameter
Object::disconnect: Unexpected null parameter
Object::disconnect: Unexpected null parameter
Object::disconnect: Unexpected null parameter
QFile::remove: Empty or null file name
QProcessPrivate::createPipe: Cannot create pipe 0x9347bbc: Too many open files
QSocketNotifier: Invalid socket specified
QProcessPrivate::createPipe: Cannot create pipe 0x9347bd4: Too many open files
QSocketNotifier: Invalid socket specified
QProcessPrivate::createPipe: Cannot create pipe 0x9347bec: Too many open files
QSocketNotifier: Invalid socket specified
QProcessPrivate::createPipe: Cannot create pipe 0x9347c4c: Too many open files
QProcessPrivate::createPipe: Cannot create pipe 0x9347c54: Too many open files
QSocketNotifier: Invalid socket specified
QSocketNotifier: Invalid socket specified
*** buffer overflow detected ***: kded4 terminated
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(__fortify_fail+0x65)[0xb766d065]
/lib/i386-linux-gnu/libc.so.6(+0x102e1a)[0xb766be1a]
/lib/i386-linux-gnu/libc.so.6(+0x103fda)[0xb766cfda]
/usr/lib/i386-linux-gnu/libQtCore.so.4(+0x153203)[0xb6056203]
/usr/lib/i386-linux-gnu/libQtCore.so.4(_ZN8QProcess14waitForStartedEi+0x34)[0xb600ae64]
/usr/lib/i386-linux-gnu/libQtCore.so.4(_ZN8QProcess15waitForFinishedEi+0x80)[0xb600af90]
/usr/lib/libkdecore.so.5(_ZN8KProcess7executeEi+0x32)[0xb63578a2]
/usr/lib/kde4/kded_keyboard.so(+0x192ed)[0xae9c12ed]
/usr/lib/kde4/kded_keyboard.so(+0x1aa3e)[0xae9c2a3e]
/usr/lib/kde4/kded_keyboard.so(_ZN14KeyboardDaemon17configureKeyboardEv+0x5e)[0xae9b3c5e]
/usr/lib/kde4/kded_keyboard.so(+0xa7a4)[0xae9b27a4]
/usr/lib/i386-linux-gnu/libQtCore.so.4(_ZN11QMetaObject8activateEP7QObjectPKS_iPPv+0x256)[0xb6095ed6]
/usr/lib/kde4/kded_keyboard.so(+0xa455)[0xae9b2455]
/usr/lib/kde4/kded_keyboard.so(+0x19060)[0xae9c1060]
/usr/lib/kde4/kded_keyboard.so(+0x15308)[0xae9bd308]
/usr/lib/libkdeui.so.5(_ZN12KApplication14x11EventFilterEP7_XEvent+0x93)[0xb71e1283]
/usr/lib/i386-linux-gnu/libQtGui.so.4(+0x1b4386)[0xb66e3386]
/usr/lib/i386-linux-gnu/libQtGui.so.4(_ZN12QApplication15x11ProcessEventEP7_XEvent+0x113)[0xb66f4993]
/usr/lib/i386-linux-gnu/libQtGui.so.4(+0x1f1dc4)[0xb6720dc4]
/lib/i386-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x143)[0xb59589e3]
/lib/i386-linux-gnu/libglib-2.0.so.0(+0x46d80)[0xb5958d80]
/lib/i386-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x41)[0xb5958e61]
/usr/lib/i386-linux-gnu/libQtCore.so.4(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x7f)[0xb60af99f]
/usr/lib/i386-linux-gnu/libQtGui.so.4(+0x1f19aa)[0xb67209aa]
/usr/lib/i386-linux-gnu/libQtCore.so.4(_ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE+0x4c)[0xb607c26c]
/usr/lib/i386-linux-gnu/libQtCore.so.4(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0x141)[0xb607c561]
/usr/lib/i386-linux-gnu/libQtCore.so.4(_ZN16QCoreApplication4execEv+0x9a)[0xb6081cba]
/usr/lib/i386-linux-gnu/libQtGui.so.4(_ZN12QApplication4execEv+0x24)[0xb6667fc4]
/usr/lib/kde4/libkdeinit/libkdeinit4_kded4.so(kdemain+0x900)[0xb774ffd0]
kded4[0x804854b]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0xb75824d3]
kded4[0x8048571]
======= Memory map: ========
KCrash: Attempting to start /usr/bin/kded4 from kdeinit
Warning: socket() failed: : Too many open files
KCrash: Attempting to start /usr/bin/kded4 directly
KCrash: Application 'kded4' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/bonnaud/.kde/socket-vougeot/kdeinit4__0
QSocketNotifier: Invalid socket 12 and type 'Read', disabling...
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection for control created "/Mixers/ALSA__HDA_Intel_1/Master_0" 
QDBusConnection for control created "/Mixers/ALSA__HDA_Intel_1/PCM_0" 
QDBusConnection for control created "/Mixers/ALSA__HDA_Intel_1/Mic_0" 
QDBusConnection for control created "/Mixers/ALSA__HDA_Intel_1/Mic_Boost_0" 
QDBusConnection for control created "/Mixers/ALSA__HDA_Intel_1/Beep_0" 
QDBusConnection for control created "/Mixers/ALSA__HDA_Intel_1/Capture_0" 
QDBusConnection for control created "/Mixers/ALSA__HDA_Intel_1/Digital_0" 
QDBusConnection for control created "/Mixers/ALSA__HDA_Intel_1/Dock_0" 
QDBusConnection for control created "/Mixers/ALSA__HDA_Intel_1/Dock_Mic_0" 
QDBusConnection for control created "/Mixers/ALSA__HDA_Intel_1/Dock_Mic_Boost_0" 
QDBusConnection for control created "/Mixers/ALSA__HDA_Intel_1/Internal_Mic_0" 
QDBusConnection for control created "/Mixers/ALSA__HDA_Intel_1/Internal_Mic_Boost_0" 
QDBusConnection for control created "/Mixers/ALSA__HDA_ATI_HDMI_1/IEC958_0" 
QDBusObjectPath: invalid path "/modules/muon-notifier"
kded(1587): The kded module name ' "muon-notifier" ' is invalid! 
No outputs have backlight property
notification-daemon
QDBusObjectPath: invalid path ""
file retriever error: 114
file retriever error: 114
file retriever error: 114
file retriever error: 114
file retriever error: 114
file retriever error: 114
file retriever error: 114
file retriever error: 114
file retriever error: 114
file retriever error: 114
file retriever error: 114
file retriever error: 114
file retriever error: 114
file retriever error: 114
file retriever error: 114
file retriever error: 114
file retriever error: 114
file retriever error: 114
file retriever error: 114
file retriever error: 114
file retriever error: 114

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

Thread 3 (Thread 0xb2533b40 (LWP 24406)):
#0  0xb5a30c70 in __pthread_mutex_unlock_usercnt (mutex=0xb1c00550, decr=1) at pthread_mutex_unlock.c:77
#1  0xb76658a4 in pthread_mutex_unlock (mutex=0xb1c00550) at forward.c:184
#2  0xb5999f10 in g_mutex_unlock (mutex=mutex@entry=0xb1c004e0) at /build/buildd/glib2.0-2.34.1/./glib/gthread-posix.c:227
#3  0xb5958515 in g_main_context_prepare (context=context@entry=0xb1c004e0, priority=priority@entry=0xb25330e8) at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:2984
#4  0xb5958bff in g_main_context_iterate (context=context@entry=0xb1c004e0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:3270
#5  0xb5958e61 in g_main_context_iteration (context=0xb1c004e0, may_block=1) at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:3351
#6  0xb60af99f in QEventDispatcherGlib::processEvents (this=0xb1c00468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0xb607c26c in QEventLoop::processEvents (this=this@entry=0xb2533218, flags=...) at kernel/qeventloop.cpp:149
#8  0xb607c561 in QEventLoop::exec (this=0xb2533218, flags=...) at kernel/qeventloop.cpp:204
#9  0xb5f6766c in QThread::exec (this=0x91c4aa0) at thread/qthread.cpp:501
#10 0xb605c55e in QDnotifySignalThread::run (this=0x91c4aa0) at io/qfilesystemwatcher_dnotify.cpp:179
#11 0xb5f6aa58 in QThreadPrivate::start (arg=0x91c4aa0) at thread/qthread_unix.cpp:338
#12 0xb5a2dd4c in start_thread (arg=0xb2533b40) at pthread_create.c:308
#13 0xb7657d3e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xade18b40 (LWP 24418)):
#0  0xb775c424 in __kernel_vsyscall ()
#1  0xb76495f0 in __GI___poll (fds=fds@entry=0xad502398, nfds=nfds@entry=3, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0xb596774b in g_poll (fds=0xad502398, nfds=3, timeout=-1) at /build/buildd/glib2.0-2.34.1/./glib/gpoll.c:132
#3  0xb5958d00 in g_main_context_poll (n_fds=3, fds=0xad502398, timeout=<optimized out>, context=0x93a2390, priority=<optimized out>) at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:3584
#4  g_main_context_iterate (context=0x93a2390, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:3285
#5  0xb59591db in g_main_loop_run (loop=0x93a2370) at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:3484
#6  0xadf0ab7a in gdbus_shared_thread_func (user_data=0x939ff98) at /build/buildd/glib2.0-2.34.1/./gio/gdbusprivate.c:277
#7  0xb597e303 in g_thread_proxy (data=0x92c3a90) at /build/buildd/glib2.0-2.34.1/./glib/gthread.c:797
#8  0xb5a2dd4c in start_thread (arg=0xade18b40) at pthread_create.c:308
#9  0xb7657d3e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb56529c0 (LWP 24404)):
[KCrash Handler]
#7  0xb775c424 in __kernel_vsyscall ()
#8  0xb75971df in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#9  0xb759a825 in __GI_abort () at abort.c:91
#10 0xb75d439a in __libc_message (do_abort=2, fmt=0xb76cc627 "*** %s ***: %s terminated\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:201
#11 0xb766d065 in __GI___fortify_fail (msg=0xb76cc5a8 "buffer overflow detected") at fortify_fail.c:38
#12 0xb766be1a in __GI___chk_fail () at chk_fail.c:29
#13 0xb766cfda in __fdelt_chk (d=4294967295) at fdelt_chk.c:26
#14 0xb6056203 in QProcessPrivate::waitForStarted (this=0x9347b00, msecs=-1) at io/qprocess_unix.cpp:1038
#15 0xb600ae64 in QProcess::waitForStarted (this=this@entry=0xbfe62048, msecs=msecs@entry=-1) at io/qprocess.cpp:1687
#16 0xb600af90 in QProcess::waitForFinished (this=0xbfe62048, msecs=-1) at io/qprocess.cpp:1752
#17 0xb63578a2 in KProcess::execute (this=0xbfe62048, msecs=-1) at ../../kdecore/io/kprocess.cpp:350
#18 0xae9c12ed in XkbHelper::runConfigLayoutCommand (setxkbmapCommandArguments=...) at ../../../kcontrol/keyboard/xkb_helper.cpp:108
#19 0xae9c2a3e in XkbHelper::initializeKeyboardLayouts (config=...) at ../../../kcontrol/keyboard/xkb_helper.cpp:178
#20 0xae9b3c5e in KeyboardDaemon::configureKeyboard (this=0x932d7f8) at ../../../kcontrol/keyboard/keyboard_daemon.cpp:100
#21 0xae9b27a4 in qt_static_metacall (_a=0xbfe6221c, _id=4, _o=0x932d7f8, _c=<optimized out>) at moc_keyboard_daemon.cpp:79
#22 KeyboardDaemon::qt_static_metacall (_o=0x932d7f8, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfe6221c) at moc_keyboard_daemon.cpp:69
#23 0xb6095ed6 in QMetaObject::activate (sender=0x93165f0, m=0xae9d8910 <XInputEventNotifier::staticMetaObject>, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3547
#24 0xae9b2455 in XInputEventNotifier::newKeyboardDevice (this=0x93165f0) at moc_xinput_helper.cpp:101
#25 0xae9c1060 in XInputEventNotifier::processOtherEvents (this=0x93165f0, event=0xbfe6264c) at ../../../kcontrol/keyboard/xinput_helper.cpp:72
#26 0xae9bd308 in XEventNotifier::x11Event (this=0x93165f0, event=0xbfe6264c) at ../../../kcontrol/keyboard/x11_helper.cpp:339
#27 0xb71e1283 in publicx11Event (e=0xbfe6264c, this=<optimized out>) at ../../kdeui/kernel/kapplication.cpp:918
#28 KApplication::x11EventFilter (this=0xbfe62adc, _event=0xbfe6264c) at ../../kdeui/kernel/kapplication.cpp:930
#29 0xb66e3386 in qt_x11EventFilter (ev=0xbfe6264c) at kernel/qapplication_x11.cpp:441
#30 qt_x11EventFilter (ev=0xbfe6264c) at kernel/qapplication_x11.cpp:429
#31 0xb66f4993 in QApplication::x11ProcessEvent (this=0xbfe62adc, event=0xbfe6264c) at kernel/qapplication_x11.cpp:3449
#32 0xb6720dc4 in x11EventSourceDispatch (s=s@entry=0x90e5c68, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#33 0xb59589e3 in g_main_dispatch (context=0x90e4900) at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:2715
#34 g_main_context_dispatch (context=context@entry=0x90e4900) at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:3219
#35 0xb5958d80 in g_main_context_iterate (context=context@entry=0x90e4900, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:3290
#36 0xb5958e61 in g_main_context_iteration (context=0x90e4900, may_block=1) at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:3351
#37 0xb60af99f in QEventDispatcherGlib::processEvents (this=0x90d4938, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#38 0xb67209aa in QGuiEventDispatcherGlib::processEvents (this=0x90d4938, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#39 0xb607c26c in QEventLoop::processEvents (this=this@entry=0xbfe62948, flags=...) at kernel/qeventloop.cpp:149
#40 0xb607c561 in QEventLoop::exec (this=0xbfe62948, flags=...) at kernel/qeventloop.cpp:204
#41 0xb6081cba in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#42 0xb6667fc4 in QApplication::exec () at kernel/qapplication.cpp:3823
#43 0xb774ffd0 in kdemain (argc=1, argv=0xbfe62bc4) at ../../kded/kded.cpp:924
#44 0x0804854b in main (argc=1, argv=0xbfe62bc4) at kded4_dummy.cpp:3

Possible duplicates by query: bug 311748, bug 311040, bug 310392, bug 309355, bug 309348.

Reported using DrKonqi
Comment 1 Jekyll Wu 2013-01-16 16:12:12 UTC
See https://bugs.kde.org/show_bug.cgi?id=306908#c1

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