Bug 172433

Summary: kded crash by starting amarok 2 beta 2
Product: [Unmaintained] kdelibs Reporter: Vinzenz Hersche <hersche>
Component: kdedAssignee: David Faure <faure>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andreaswuest, donald_allwright
Priority: NOR    
Version: 4.1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Unspecified   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Vinzenz Hersche 2008-10-09 08:54:03 UTC
Version:            (using KDE 4.1.2)
Installed from:    Ubuntu Packages

Everytime when i start amarok 2 beta 2, kded4 crashes. for me, it's no problem, but the crashmanager say that everytime.. i could reproduce the failure under gnome2, so i don't know, if this had a connection.

hope, you could use it!

Anwendung: KDE-Dienst (kded4), Signal SIGABRT
[Thread debugging using libthread_db enabled]
[New Thread 0x7fa68323e7a0 (LWP 5971)]
[KCrash handler]
#5  0x00007fa682b0e095 in raise () from /lib/libc.so.6
#6  0x00007fa682b0faf0 in abort () from /lib/libc.so.6
#7  0x00007fa681875055 in qt_message_output (msgType=QtFatalMsg, 
    buf=<value optimized out>) at global/qglobal.cpp:2061
#8  0x00007fa68187519d in qFatal (msg=<value optimized out>)
    at global/qglobal.cpp:2263
#9  0x00007fa678cf1edd in KdedGlobalAccel::setShortcut (this=0x7d5f20, 
    actionId=<value optimized out>, keys=@0x81b0f0, 
    flags=<value optimized out>)
    at /build/buildd/kde4libs-4.1.2/kdeui/shortcuts/kdedglobalaccel.cpp:412
#10 0x00007fa678cf63e0 in KdedGlobalAccelAdaptor::setShortcut (
    this=<value optimized out>, actionId=@0x74fc30, keys=@0x81b0f0, flags=2)
    at /build/buildd/kde4libs-4.1.2/kdeui/shortcuts/kdedglobalaccel_adaptor.h:76
#11 0x00007fa678cf247d in KdedGlobalAccelAdaptor::qt_metacall (this=0x7ce110, 
    _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, 
    _a=0x7fff8b26ec00)
    at /build/buildd/kde4libs-4.1.2/obj-x86_64-linux-gnu/kdeui/kdedglobalaccel_adaptor.moc:115
#12 0x00007fa6812c4243 in QDBusConnectionPrivate::deliverCall (this=0x620830, 
    object=0x7ce110, msg=@0x8026c0, metaTypes=@0x781520, slotIdx=13)
    at qdbusintegrator.cpp:865
#13 0x00007fa6812c53ff in QDBusConnectionPrivate::activateCall (
    this=0x620830, object=0x7ce110, flags=337, msg=@0x8026c0)
    at qdbusintegrator.cpp:777
#14 0x00007fa6812c5d09 in QDBusConnectionPrivate::activateObject (
    this=0x620830, node=@0x802698, msg=@0x8026c0, 
    pathStartPos=<value optimized out>) at qdbusintegrator.cpp:1299
#15 0x00007fa6812c5e98 in QDBusActivateObjectEvent::placeMetaCall (
    this=0x802650) at qdbusintegrator.cpp:1412
#16 0x00007fa68196d497 in QObject::event (this=0x7d5f20, e=0x802650)
    at kernel/qobject.cpp:1140
#17 0x00007fa680901acf in QApplicationPrivate::notify_helper (this=0x62a310, 
    receiver=0x7d5f20, e=0x802650) at kernel/qapplication.cpp:3800
#18 0x00007fa680903c85 in QApplication::notify (this=0x7fff8b26f870, 
    receiver=0x7d5f20, e=0x802650) at kernel/qapplication.cpp:3765
#19 0x00007fa6822751f1 in KApplication::notify (this=0x7fff8b26f870, 
    receiver=0x7d5f20, event=0x802650)
    at /build/buildd/kde4libs-4.1.2/kdeui/kernel/kapplication.cpp:311
#20 0x00007fa68195e6b9 in QCoreApplication::notifyInternal (
    this=0x7fff8b26f870, receiver=0x7d5f20, event=0x802650)
    at kernel/qcoreapplication.cpp:591
#21 0x00007fa68195f9db in QCoreApplicationPrivate::sendPostedEvents (
    receiver=0x0, event_type=0, data=0x6032d0)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#22 0x00007fa6819876e3 in postEventSourceDispatch (s=<value optimized out>)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#23 0x00007fa67d9ff3d4 in IA__g_main_context_dispatch (context=0x62cc40)
    at /build/buildd/glib2.0-2.16.4/glib/gmain.c:2012
#24 0x00007fa67da026e5 in g_main_context_iterate (context=0x62cc40, block=1, 
    dispatch=1, self=<value optimized out>)
    at /build/buildd/glib2.0-2.16.4/glib/gmain.c:2645
#25 0x00007fa67da02bcb in IA__g_main_context_iteration (context=0x62cc40, 
    may_block=1) at /build/buildd/glib2.0-2.16.4/glib/gmain.c:2708
#26 0x00007fa6819879df in QEventDispatcherGlib::processEvents (this=0x62a2b0, 
    flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:325
#27 0x00007fa68098b20f in QGuiEventDispatcherGlib::processEvents (
    this=0x1753, flags=<value optimized out>)
    at kernel/qguieventdispatcher_glib.cpp:204
#28 0x00007fa68195db35 in QEventLoop::processEvents (
    this=<value optimized out>, flags=@0x7fff8b26f760)
    at kernel/qeventloop.cpp:149
#29 0x00007fa68195dc8b in QEventLoop::exec (this=0x7fff8b26f7a0, 
    flags=@0x7fff8b26f7b0) at kernel/qeventloop.cpp:200
#30 0x00007fa68195fcd9 in QCoreApplication::exec ()
    at kernel/qcoreapplication.cpp:849
#31 0x00007fa682e47a21 in kdemain (argc=1, argv=0x7fff8b26fcb8)
    at /build/buildd/kde4libs-4.1.2/kded/kded.cpp:847
#32 0x00007fa682afa1c4 in __libc_start_main () from /lib/libc.so.6
#33 0x0000000000400639 in _start ()
#0  0x00007fa682b79b50 in __nanosleep_nocancel () from /lib/libc.so.6
Comment 1 Donald Allwright 2008-10-09 11:17:31 UTC
I'm also seeing this on KDE4.1.2 in hardy from the ppa repo. It seems to be triggered by trying to restore amarok2beta2 to the session. typing kded4 in a terminal gives me the same crash while amarok is running, but if I close it down kded4 starts up without crashing. No backtrace available, but the terminal shows the following output:

me@my-desktop:~$ kded4
me@my-desktop:~$ ASSERT: "d->keyToAction.value(key) == ad" in file /build/buildd/kde4libs-4.1.2/kdeui/shortcuts/kdedglobalaccel.cpp, line 412
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = kded4 path = <unknown> pid = 7673
sock_file=/home/me/.kde4/socket-my-desktop/kdeinit4__0
ASSERT: "d->keyToAction.value(key) == ad" in file /build/buildd/kde4libs-4.1.2/kdeui/shortcuts/kdedglobalaccel.cpp, line 412
Comment 2 Demetrius 2008-10-09 14:38:26 UTC
I have same problem
Comment 3 David Faure 2008-10-09 23:59:32 UTC

*** This bug has been marked as a duplicate of bug 172316 ***
Comment 4 andreaswuest 2008-10-11 16:49:12 UTC
i can confirm this bug. here is my stacktrace:

Application: KDE Daemon (kded4), signal SIGABRT
[Thread debugging using libthread_db enabled]
[New Thread 0xb61bca80 (LWP 11817)]
[KCrash handler]
#6  0xb7f13410 in __kernel_vsyscall ()
#7  0xb7dc5085 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb7dc6a01 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb7491367 in qt_message_output (msgType=QtFatalMsg, 
    buf=0xbff9fb6c "ASSERT: \"d->keyToAction.value(key) == ad\" in file /build/buildd/kde4libs-4.1.2/kdeui/shortcuts/kdedglobalaccel.cpp, line 412")
    at global/qglobal.cpp:2061
#10 0xb7491458 in qFatal (msg=0xb75d8498 "ASSERT: \"%s\" in file %s, line %d")
    at global/qglobal.cpp:2263
#11 0xb7491505 in qt_assert (
    assertion=0xb48a3818 "d->keyToAction.value(key) == ad", 
    file=0xb48a37a4 "/build/buildd/kde4libs-4.1.2/kdeui/shortcuts/kdedglobalaccel.cpp", line=412) at global/qglobal.cpp:1831
#12 0xb489c9d2 in KdedGlobalAccel::setShortcut (this=0x8154460, 
    actionId=@0x8180520, keys=@0x8102320, flags=<value optimized out>)
    at /build/buildd/kde4libs-4.1.2/kdeui/shortcuts/kdedglobalaccel.cpp:412
#13 0xb48a1ce6 in KdedGlobalAccelAdaptor::setShortcut (this=0x81a2bb0, 
    actionId=@0x8180520, keys=@0x8102320, flags=2)
    at /build/buildd/kde4libs-4.1.2/kdeui/shortcuts/kdedglobalaccel_adaptor.h:76
#14 0xb489cfef in KdedGlobalAccelAdaptor::qt_metacall (this=0x81a2bb0, 
    _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbffa1e0c)
    at /build/buildd/kde4libs-4.1.2/obj-i486-linux-gnu/kdeui/kdedglobalaccel_adaptor.moc:115
#15 0xb730d880 in QDBusConnectionPrivate::deliverCall (this=0x80622f0, 
    object=0x81a2bb0, msg=@0x809a958, metaTypes=@0x814716c, slotIdx=13)
    at qdbusintegrator.cpp:865
#16 0xb730ead6 in QDBusConnectionPrivate::activateCall (this=0x80622f0, 
    object=0x81a2bb0, flags=337, msg=@0x809a958) at qdbusintegrator.cpp:777
#17 0xb730f0fc in QDBusConnectionPrivate::activateObject (this=0x80622f0, 
    node=@0x809a944, msg=@0x809a958, pathStartPos=24)
    at qdbusintegrator.cpp:1318
#18 0xb730f4aa in QDBusActivateObjectEvent::placeMetaCall (this=0x809a918)
    at qdbusintegrator.cpp:1412
#19 0xb7594c31 in QObject::event (this=0x8154460, e=0x809a918)
    at kernel/qobject.cpp:1140
#20 0xb6af3f9c in QApplicationPrivate::notify_helper (this=0x805fff8, 
    receiver=0x8154460, e=0x809a918) at kernel/qapplication.cpp:3800
#21 0xb6af8bf9 in QApplication::notify (this=0xbffa2748, receiver=0x8154460, 
    e=0x809a918) at kernel/qapplication.cpp:3392
#22 0xb7a02483 in KApplication::notify (this=0xbffa2748, receiver=0x8154460, 
    event=0x809a918)
    at /build/buildd/kde4libs-4.1.2/kdeui/kernel/kapplication.cpp:311
#23 0xb75850b9 in QCoreApplication::notifyInternal (this=0xbffa2748, 
    receiver=0x8154460, event=0x809a918) at kernel/qcoreapplication.cpp:591
#24 0xb7586469 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, 
    event_type=0, data=0x804b6b0)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#25 0xb758668d in QCoreApplication::sendPostedEvents (receiver=0x0, 
    event_type=0) at kernel/qcoreapplication.cpp:1095
#26 0xb75b062f in postEventSourceDispatch (s=0x8065710)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#27 0xb652bdd6 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#28 0xb652f193 in ?? () from /usr/lib/libglib-2.0.so.0
#29 0xb652f74e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#30 0xb75b09f8 in QEventDispatcherGlib::processEvents (this=0x805e8b8, 
    flags=@0xbffa25d8) at kernel/qeventdispatcher_glib.cpp:325
#31 0xb6b87a25 in QGuiEventDispatcherGlib::processEvents (this=0x805e8b8, 
    flags=@0xbffa2608) at kernel/qguieventdispatcher_glib.cpp:204
#32 0xb758433d in QEventLoop::processEvents (this=0xbffa2680, 
    flags=@0xbffa2644) at kernel/qeventloop.cpp:149
#33 0xb75844cd in QEventLoop::exec (this=0xbffa2680, flags=@0xbffa2688)
    at kernel/qeventloop.cpp:200
#34 0xb758674d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:849
#35 0xb6af3897 in QApplication::exec () at kernel/qapplication.cpp:3330
#36 0xb7f09c12 in kdemain (argc=1, argv=0xbffa2934)
    at /build/buildd/kde4libs-4.1.2/kded/kded.cpp:847
#37 0x08048572 in main (argc=)
    at /build/buildd/kde4libs-4.1.2/obj-i486-linux-gnu/kded/kded4_dummy.cpp:3
#0  0xb7f13410 in __kernel_vsyscall ()