Bug 313789

Summary: Crash after using Krunner
Product: [Unmaintained] kdelibs Reporter: Fabian <0inkane>
Component: kdedAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED NOT A BUG    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Chakra   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Better backtrace

Description Fabian 2013-01-23 21:54:50 UTC
Application: kded4 ($Id$)
KDE Platform Version: 4.9.98
Qt Version: 4.8.4
Operating System: Linux 3.7.3-1-CHAKRA x86_64
Distribution: "Chakra"

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

I launched rekonq via Krunner.

Further note: The bug report which I marked as possible dublicate doesn't seem to have much in common with the one I'm reporting, but in there's a comment mentioning similiar behaviour in it.

-- Backtrace:
Application: KDE-Dienst (kdeinit4), signal: Aborted
[Current thread is 1 (Thread 0x7fdd131a2780 (LWP 1204))]

Thread 4 (Thread 0x7fdcfa143700 (LWP 1220)):
#0  0x00007fdd1815bb6f in ?? () from /lib/libc.so.6
#1  0x00007fdd18147046 in poll () from /lib/libc.so.6
#2  0x00007fdd1504d264 in ?? () from /usr/lib/libglib-2.0.so.0
#3  0x00007fdd1504d384 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0x00007fdd1982cfb6 in QEventDispatcherGlib::processEvents (this=0x7fdcf40008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007fdd197f9d2f in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fdd197f9f88 in QEventLoop::exec (this=0x7fdcfa142dc0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fdd196ee76d in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#8  0x00007fdd197d8c33 in QInotifyFileSystemWatcherEngine::run (this=0xdf24c0) at io/qfilesystemwatcher_inotify.cpp:256
#9  0x00007fdd196f1519 in QThreadPrivate::start (arg=0xdf24c0) at thread/qthread_unix.cpp:338
#10 0x00007fdd1945ee0e in start_thread () from /lib/libpthread.so.0
#11 0x00007fdd1814f1dd in clone () from /lib/libc.so.6

Thread 3 (Thread 0x7fdcf95e0700 (LWP 1226)):
#0  0x00007fdd19460d2e in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0x00007fdd15088ad1 in g_mutex_lock () from /usr/lib/libglib-2.0.so.0
#2  0x00007fdd1504c989 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#3  0x00007fdd1504d18b in ?? () from /usr/lib/libglib-2.0.so.0
#4  0x00007fdd1504d384 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0x00007fdd1982cfb6 in QEventDispatcherGlib::processEvents (this=0x7fdce80008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007fdd197f9d2f in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fdd197f9f88 in QEventLoop::exec (this=0x7fdcf95dfdc0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fdd196ee76d in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#9  0x00007fdcfd4fe495 in KCupsConnection::run() () from /usr/lib/libkcupslib.so
#10 0x00007fdd196f1519 in QThreadPrivate::start (arg=0xeacc70) at thread/qthread_unix.cpp:338
#11 0x00007fdd1945ee0e in start_thread () from /lib/libpthread.so.0
#12 0x00007fdd1814f1dd in clone () from /lib/libc.so.6

Thread 2 (Thread 0x7fdce6f86700 (LWP 1227)):
#0  0x00007fdd1814705f in poll () from /lib/libc.so.6
#1  0x00007fdd1504d264 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007fdd1504d384 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007fdd1982cfb6 in QEventDispatcherGlib::processEvents (this=0x7fdce00008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fdd197f9d2f in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fdd197f9f88 in QEventLoop::exec (this=0x7fdce6f85e00, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fdd196ee76d in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#7  0x00007fdd196f1519 in QThreadPrivate::start (arg=0xe11270) at thread/qthread_unix.cpp:338
#8  0x00007fdd1945ee0e in start_thread () from /lib/libpthread.so.0
#9  0x00007fdd1814f1dd in clone () from /lib/libc.so.6

Thread 1 (Thread 0x7fdd131a2780 (LWP 1204)):
[KCrash Handler]
#6  0x00007fdd1809fc45 in raise () from /lib/libc.so.6
#7  0x00007fdd180a10c8 in abort () from /lib/libc.so.6
#8  0x00007fdd13a61305 in ?? () from /usr/lib/libdbus-1.so.3
#9  0x00007fdd13a5812c in ?? () from /usr/lib/libdbus-1.so.3
#10 0x00007fdd13a4a826 in dbus_message_iter_append_basic () from /usr/lib/libdbus-1.so.3
#11 0x00007fdd164cb64e in append (arg=..., this=0x7fff12ea0040) at qdbusmarshaller.cpp:130
#12 QDBusMarshaller::appendVariantInternal (this=0x7fff12ea0040, arg=<optimized out>) at qdbusmarshaller.cpp:451
#13 0x00007fdd164a3500 in QDBusMessagePrivate::toDBusMessage (message=<optimized out>, capabilities=<optimized out>, error=0x7fff12ea02d0) at qdbusmessage.cpp:189
#14 0x00007fdd16491153 in QDBusConnectionPrivate::send (this=0xbb6100, message=...) at qdbusintegrator.cpp:1849
#15 0x00007fdd16498951 in QDBusConnectionPrivate::deliverCall (this=0xbb6100, object=0x1686b60, msg=..., metaTypes=<optimized out>, slotIdx=4) at qdbusintegrator.cpp:964
#16 0x00007fdd164999f5 in QDBusConnectionPrivate::activateCall (this=0xbb6100, object=0x1686b60, flags=273, msg=...) at qdbusintegrator.cpp:863
#17 0x00007fdd1649a396 in QDBusConnectionPrivate::activateObject (this=0xbb6100, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1427
#18 0x00007fdd1649a48b in QDBusActivateObjectEvent::placeMetaCall (this=0xe892e0) at qdbusintegrator.cpp:1541
#19 0x00007fdd1981236e in QObject::event (this=0x1970c40, e=<optimized out>) at kernel/qobject.cpp:1194
#20 0x00007fdd188db021 in QApplicationPrivate::notify_helper (this=0xbcc370, receiver=0x1970c40, e=0xe892e0) at kernel/qapplication.cpp:4562
#21 0x00007fdd188e00f9 in QApplication::notify (this=0x7fff12ea12a0, receiver=0x1970c40, e=0xe892e0) at kernel/qapplication.cpp:4423
#22 0x00007fdd1a5b5256 in KApplication::notify (this=0x7fff12ea12a0, receiver=0x1970c40, event=0xe892e0) at /chakra/desktop-unstable/kdelibs/src/kdelibs-4.9.98/kdeui/kernel/kapplication.cpp:311
#23 0x00007fdd197fb7ee in QCoreApplication::notifyInternal (this=0x7fff12ea12a0, receiver=0x1970c40, event=0xe892e0) at kernel/qcoreapplication.cpp:946
#24 0x00007fdd197ff198 in sendEvent (event=0xe892e0, receiver=0x1970c40) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#25 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xb152b0) at kernel/qcoreapplication.cpp:1570
#26 0x00007fdd1982ce03 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#27 postEventSourceDispatch (s=0xbca820) at kernel/qeventdispatcher_glib.cpp:279
#28 0x00007fdd1504ceac in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#29 0x00007fdd1504d2c8 in ?? () from /usr/lib/libglib-2.0.so.0
#30 0x00007fdd1504d384 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#31 0x00007fdd1982cf96 in QEventDispatcherGlib::processEvents (this=0xb177d0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#32 0x00007fdd1898854e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#33 0x00007fdd197f9d2f in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#34 0x00007fdd197f9f88 in QEventLoop::exec (this=0x7fff12ea1020, flags=...) at kernel/qeventloop.cpp:204
#35 0x00007fdd197ff5a8 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#36 0x00007fdd04ba62e0 in kdemain (argc=1, argv=0xbac5d0) at /chakra/desktop-unstable/kdelibs/src/kdelibs-4.9.98/kded/kded.cpp:924
#37 0x0000000000407fdb in launch (argc=1, _name=0x40a8f3 "kded4", args=0x0, cwd=0x0, envc=0, envs=<optimized out>, reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x40a782 "0") at /chakra/desktop-unstable/kdelibs/src/kdelibs-4.9.98/kinit/kinit.cpp:726
#38 0x000000000040575a in main (argc=4, argv=<optimized out>, envp=0x7fff12ea1c80) at /chakra/desktop-unstable/kdelibs/src/kdelibs-4.9.98/kinit/kinit.cpp:1841

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

Possible duplicates by query: bug 300246.

Reported using DrKonqi
Comment 1 Fabian 2013-01-24 20:12:52 UTC
Hm, I (probably) got this crash again, and having restarted kded before from konsole, it printed 

process 2910: arguments to dbus_message_iter_append_basic() were incorrect, assertion "_dbus_check_is_valid_path (*string_p)" failed in file dbus-message.c line 2603.
This is normally a bug in some application using the D-Bus library.
  D-Bus not built with -rdynamic so unable to print a backtrace
Comment 2 Fabian 2013-02-01 19:37:25 UTC
Created attachment 76864 [details]
Better backtrace

This is a backtrace with slightly more information. Also, kded4 started from console printed
process 23787: arguments to dbus_message_iter_append_basic() were incorrect, assertion "_dbus_check_is_valid_path (*string_p)" failed in file dbus-message.c line 2603.
This is normally a bug in some application using the D-Bus library.
  /usr/lib/libdbus-1.so.3(+0x56bea) [0x7fd29b761bea]
  /usr/lib/libdbus-1.so.3(+0x5a349) [0x7fd29b765349]
  /usr/lib/libdbus-1.so.3(+0x4266c) [0x7fd29b74d66c]
  /usr/lib/libdbus-1.so.3(dbus_message_iter_append_basic+0xaf) [0x7fd29b730f4f]
  /usr/lib/libQtDBus.so.4(+0x5664e) [0x7fd29f8de64e]
  /usr/lib/libQtDBus.so.4(+0x2e500) [0x7fd29f8b6500]
  /usr/lib/libQtDBus.so.4(+0x1c153) [0x7fd29f8a4153]
  /usr/lib/libQtDBus.so.4(+0x23951) [0x7fd29f8ab951]
  /usr/lib/libQtDBus.so.4(+0x249f5) [0x7fd29f8ac9f5]
  /usr/lib/libQtDBus.so.4(+0x25396) [0x7fd29f8ad396]
  /usr/lib/libQtDBus.so.4(+0x2548b) [0x7fd29f8ad48b]
  /usr/lib/libQtCore.so.4(_ZN7QObject5eventEP6QEvent+0x26e) [0x7fd29f53236e]
  /usr/lib/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0xb1) [0x7fd2a01a6021]
  /usr/lib/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x239) [0x7fd2a01ab0f9]
  /usr/lib/libkdeui.so.5(_ZN12KApplication6notifyEP7QObjectP6QEvent+0x36) [0x7fd2a0f69256]
  /usr/lib/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x8e) [0x7fd29f51b7ee]
  /usr/lib/libQtCore.so.4(_ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData+0x308) [0x7fd29f51f198]
  /usr/lib/libQtCore.so.4(+0x1b9e03) [0x7fd29f54ce03]
  /usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x13c) [0x7fd29cb3eeac]
  /usr/lib/libglib-2.0.so.0(+0x472c8) [0x7fd29cb3f2c8]
  /usr/lib/libglib-2.0.so.0(g_main_context_iteration+0x34) [0x7fd29cb3f384]
  /usr/lib/libQtCore.so.4(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x66) [0x7fd29f54cf96]
  /usr/lib/libQtGui.so.4(+0x27a54e) [0x7fd2a025354e]
  /usr/lib/libQtCore.so.4(_ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE+0x2f) [0x7fd29f519d2f]
  /usr/lib/libQtCore.so.4(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0x108) [0x7fd29f519f88]
  /usr/lib/libQtCore.so.4(_ZN16QCoreApplication4execEv+0x88) [0x7fd29f51f5a8]
  /usr/lib/libkdeinit4_kded4.so(kdemain+0x880) [0x7fd2a1a6e2e0]
  /lib/libc.so.6(__libc_start_main+0xf5) [0x7fd2a16e6455]
  kded4() [0x400651]
KCrash: Attempting to start /usr/bin/kded4 from kdeinit
sock_file=/home/fabian/.kde4/socket-HOSTNAMEchakra-pc/kdeinit4__0
KCrash: Application 'kded4' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/fabian/.kde4/socket-HOSTNAMEchakra-pc/kdeinit4__0
Comment 3 Fabian 2013-02-02 10:51:28 UTC
It seems that the error is related to Appmenu, and seems to happen only on upgrade. Setting this to needsinfo downstream, until it is clear what kind of bug this is.