Bug 182198 - Requests non-existing agent type ASSERTION in KDE/kdepimlibs/akonadi/agentmanager.cpp
Summary: Requests non-existing agent type ASSERTION in KDE/kdepimlibs/akonadi/agentma...
Status: RESOLVED FIXED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: libakonadi (show other bugs)
Version: 4.2
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Volker Krause
URL:
Keywords:
: 188386 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-01-28 21:04 UTC by rusconi
Modified: 2010-10-23 23:59 UTC (History)
4 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 rusconi 2009-01-28 21:04:11 UTC
Version:            (using Devel)
Compiler:          gcc (Debian 4.3.2-1.1) 4.3.2  / g++ (Debian 4.3.2-1.1) 4.3.2 
OS:                Linux
Installed from:    Compiled sources

When I start kaddressbook or kopete, both crash with the two following stack traces. I wonder if this is a problem in both applications, or in libakonadi or in the akonadi server (I'm not proficient yet with these things).

kaddressbook:
=============

Application: KAddressBook (kaddressbook), signal SIGABRT

Thread 1 (Thread 0xb49d66c0 (LWP 4051)):
[KCrash Handler]
#6  0xffffe410 in __kernel_vsyscall ()
#7  0xb5b08640 in raise () from /lib/i686/cmov/libc.so.6
#8  0xb5b0a018 in abort () from /lib/i686/cmov/libc.so.6
#9  0xb5dea9fb in qt_message_output (msgType=QtFatalMsg, 
    buf=0xbff0f3b0 "ASSERT failure in fillAgentInstance: \"Requests non-existing agent type\", file /home/kde-devel/kde/src/KDE/kdepimlibs/akonadi/agentmanager.cpp, line 236")
    at global/qglobal.cpp:2102
#10 0xb5deaa5f in qFatal (msg=0xb5f36afc "ASSERT failure in %s: \"%s\", file %s, line %d") at global/qglobal.cpp:2303
#11 0xb5deaaa4 in qt_assert_x (where=0xb31c9ec0 "fillAgentInstance", what=0xb31c9e88 "Requests non-existing agent type", 
    file=0xb31c9c64 "/home/kde-devel/kde/src/KDE/kdepimlibs/akonadi/agentmanager.cpp", line=236) at global/qglobal.cpp:1880
#12 0xb3160133 in Akonadi::AgentManagerPrivate::fillAgentInstance (this=0x813d690, identifier=@0x83249b8) at /home/kde-devel/kde/src/KDE/kdepimlibs/akonadi/agentmanager.cpp:236
#13 0xb3161465 in Akonadi::AgentManagerPrivate::agentInstanceAdded (this=0x813d690, identifier=@0x83249b8) at /home/kde-devel/kde/src/KDE/kdepimlibs/akonadi/agentmanager.cpp:83
#14 0xb31617f4 in Akonadi::AgentManager::qt_metacall (this=0x8129b48, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbff115cc) at /home/kde-devel/kde/build/KDE/kdepimlibs/akonadi/agentmanager.moc:120
#15 0xb5ef80ca in QMetaObject::activate (sender=0x81299a8, from_signal_index=5, to_signal_index=5, argv=0xbff115cc) at kernel/qobject.cpp:3028
#16 0xb5ef8557 in QMetaObject::activate (sender=0x81299a8, m=0xb31df604, local_signal_index=0, argv=0xbff115cc) at kernel/qobject.cpp:3101
#17 0xb31c50c2 in OrgFreedesktopAkonadiAgentManagerInterface::agentInstanceAdded (this=0x81299a8, _t1=@0x83249b8) at /home/kde-devel/kde/build/KDE/kdepimlibs/akonadi/agentmanagerinterface.moc:203
#18 0xb31c5151 in OrgFreedesktopAkonadiAgentManagerInterface::qt_metacall (this=0x81299a8, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbff117f0)
    at /home/kde-devel/kde/build/KDE/kdepimlibs/akonadi/agentmanagerinterface.moc:137
#19 0xb5fae0d8 in QDBusConnectionPrivate::deliverCall (this=0x8060a78, object=0x81299a8, msg=@0x85ba9bc, metaTypes=@0x85ba9c0, slotIdx=5) at qdbusintegrator.cpp:849
#20 0xb5fb835e in QDBusCallDeliveryEvent::placeMetaCall (this=0x85ba990, object=0x81299a8) at qdbusintegrator_p.h:130
#21 0xb5ef6474 in QObject::event (this=0x81299a8, e=0x85ba990) at kernel/qobject.cpp:1152
#22 0xb634f479 in QApplicationPrivate::notify_helper (this=0x806c0a8, receiver=0x81299a8, e=0x85ba990) at kernel/qapplication.cpp:3803
#23 0xb634f78e in QApplication::notify (this=0xbff1210c, receiver=0x81299a8, e=0x85ba990) at kernel/qapplication.cpp:3393
#24 0xb6c611b7 in KApplication::notify (this=0xbff1210c, receiver=0x81299a8, event=0x85ba990) at /home/kde-devel/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307
#25 0xb5ee3a1b in QCoreApplication::notifyInternal (this=0xbff1210c, receiver=0x81299a8, event=0x85ba990) at kernel/qcoreapplication.cpp:583
#26 0xb634c37f in QCoreApplication::sendEvent (receiver=0x81299a8, event=0x85ba990) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:209
#27 0xb5ee3f3b in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x80534a0) at kernel/qcoreapplication.cpp:1195
#28 0xb5ee40f7 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1091
#29 0xb63f5ac4 in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:214
#30 0xb5f1227c in postEventSourceDispatch (s=0x806f150) at kernel/qeventdispatcher_glib.cpp:205
#31 0xb4f441b8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#32 0xb4f47853 in ?? () from /usr/lib/libglib-2.0.so.0
#33 0x0806f0c8 in ?? ()
#34 0x00000000 in ?? ()



kopete:
=======

Application: Kopete (kopete), signal SIGABRT
[Current thread is 0 (LWP 4024)]

Thread 2 (Thread 0xb2cc0b90 (LWP 4152)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb6d7f025 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb6e0ff54 in QWaitConditionPrivate::wait (this=0x857b870, time=4294967295) at thread/qwaitcondition_unix.cpp:82
#3  0xb6e0fa53 in QWaitCondition::wait (this=0x85757f0, mutex=0x85757ec, time=4294967295) at thread/qwaitcondition_unix.cpp:154
#4  0xb762ae13 in QHostInfoAgent::run (this=0x85757e0) at kernel/qhostinfo.cpp:241
#5  0xb6e0f631 in QThreadPrivate::start (arg=0x85757e0) at thread/qthread_unix.cpp:185
#6  0xb6d7b4c0 in start_thread () from /lib/i686/cmov/libpthread.so.0
#7  0xb63396de in clone () from /lib/i686/cmov/libc.so.6

Thread 1 (Thread 0xb59018d0 (LWP 4024)):
[KCrash Handler]
#6  0xffffe410 in __kernel_vsyscall ()
#7  0xb6284640 in raise () from /lib/i686/cmov/libc.so.6
#8  0xb6286018 in abort () from /lib/i686/cmov/libc.so.6
#9  0xb6e059fb in qt_message_output (msgType=QtFatalMsg, 
    buf=0xbfa45a30 "ASSERT failure in fillAgentInstance: \"Requests non-existing agent type\", file /home/kde-devel/kde/src/KDE/kdepimlibs/akonadi/agentmanager.cpp, line 236")
    at global/qglobal.cpp:2102
#10 0xb6e05a5f in qFatal (msg=0xb6f51afc "ASSERT failure in %s: \"%s\", file %s, line %d") at global/qglobal.cpp:2303
#11 0xb6e05aa4 in qt_assert_x (where=0xb403cec0 "fillAgentInstance", what=0xb403ce88 "Requests non-existing agent type", 
    file=0xb403cc64 "/home/kde-devel/kde/src/KDE/kdepimlibs/akonadi/agentmanager.cpp", line=236) at global/qglobal.cpp:1880
#12 0xb3fd3133 in Akonadi::AgentManagerPrivate::fillAgentInstance (this=0x825c860, identifier=@0x85ae4f8) at /home/kde-devel/kde/src/KDE/kdepimlibs/akonadi/agentmanager.cpp:236
#13 0xb3fd4465 in Akonadi::AgentManagerPrivate::agentInstanceAdded (this=0x825c860, identifier=@0x85ae4f8) at /home/kde-devel/kde/src/KDE/kdepimlibs/akonadi/agentmanager.cpp:83
#14 0xb3fd47f4 in Akonadi::AgentManager::qt_metacall (this=0x8287af0, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbfa47c4c) at /home/kde-devel/kde/build/KDE/kdepimlibs/akonadi/agentmanager.moc:120
#15 0xb6f130ca in QMetaObject::activate (sender=0x829a5e8, from_signal_index=5, to_signal_index=5, argv=0xbfa47c4c) at kernel/qobject.cpp:3028
#16 0xb6f13557 in QMetaObject::activate (sender=0x829a5e8, m=0xb4052604, local_signal_index=0, argv=0xbfa47c4c) at kernel/qobject.cpp:3101
#17 0xb40380c2 in OrgFreedesktopAkonadiAgentManagerInterface::agentInstanceAdded (this=0x829a5e8, _t1=@0x85ae4f8) at /home/kde-devel/kde/build/KDE/kdepimlibs/akonadi/agentmanagerinterface.moc:203
#18 0xb4038151 in OrgFreedesktopAkonadiAgentManagerInterface::qt_metacall (this=0x829a5e8, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfa47e70)
    at /home/kde-devel/kde/build/KDE/kdepimlibs/akonadi/agentmanagerinterface.moc:137
#19 0xb6fc90d8 in QDBusConnectionPrivate::deliverCall (this=0x80e0058, object=0x829a5e8, msg=@0x85b3c6c, metaTypes=@0x85b3c70, slotIdx=5) at qdbusintegrator.cpp:849
#20 0xb6fd335e in QDBusCallDeliveryEvent::placeMetaCall (this=0x85b3c40, object=0x829a5e8) at qdbusintegrator_p.h:130
#21 0xb6f11474 in QObject::event (this=0x829a5e8, e=0x85b3c40) at kernel/qobject.cpp:1152
#22 0xb6628479 in QApplicationPrivate::notify_helper (this=0x80cb618, receiver=0x829a5e8, e=0x85b3c40) at kernel/qapplication.cpp:3803
#23 0xb662878e in QApplication::notify (this=0xbfa48790, receiver=0x829a5e8, e=0x85b3c40) at kernel/qapplication.cpp:3393
#24 0xb73dd1b7 in KApplication::notify (this=0xbfa48790, receiver=0x829a5e8, event=0x85b3c40) at /home/kde-devel/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307
#25 0xb6efea1b in QCoreApplication::notifyInternal (this=0xbfa48790, receiver=0x829a5e8, event=0x85b3c40) at kernel/qcoreapplication.cpp:583
#26 0xb7a1c209 in QCoreApplication::sendEvent (receiver=0x829a5e8, event=0x85b3c40) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:209
#27 0xb6efef3b in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x80b73e0) at kernel/qcoreapplication.cpp:1195
#28 0xb6eff0f7 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1091
#29 0xb7aa7fb8 in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:214
#30 0xb6f2d27c in postEventSourceDispatch (s=0x80ce500) at kernel/qeventdispatcher_glib.cpp:205
#31 0xb5e0e1b8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#32 0xb5e11853 in ?? () from /usr/lib/libglib-2.0.so.0
#33 0x080ce478 in ?? ()
#34 0x00000000 in ?? ()
Comment 1 Luc Bergeron 2009-02-05 02:37:52 UTC
Same problem here.

Here's my system info:
ArchLinux with kdemod 4.2.0-1 installed

When I try to start kopete it fails with the following backtrace:
=============================
Application: Kopete (kopete), signal SIGABRT
0x00007f501aab7fd0 in __nanosleep_nocancel () from /lib/libc.so.6

Thread 1 (Thread 0x7f50200ac750 (LWP 25628)):
[KCrash Handler]
#5  0x00007f501aa4b0c5 in raise () from /lib/libc.so.6
#6  0x00007f501aa4c5e3 in abort () from /lib/libc.so.6
#7  0x00007f501c3fa0a5 in qt_message_output () from /usr/lib/libQtCore.so.4
#8  0x00007f501c3fa1c7 in qFatal () from /usr/lib/libQtCore.so.4
#9  0x00007f5011a8d497 in Akonadi::AgentManagerPrivate::fillAgentInstance (this=0xe4b230, identifier=@0xe32988)
    at /srv/userstore/sandsmark/kdemod/kdemod-core/work/kdepimlibs/src/kdepimlibs-4.2.0/akonadi/agentmanager.cpp:236
#10 0x00007f5011a8db47 in AgentManager (this=0xe4b580) at /srv/userstore/sandsmark/kdemod/kdemod-core/work/kdepimlibs/src/kdepimlibs-4.2.0/akonadi/agentmanager.cpp:300
#11 0x00007f5011a8dedd in Akonadi::AgentManager::self () at /srv/userstore/sandsmark/kdemod/kdemod-core/work/kdepimlibs/src/kdepimlibs-4.2.0/akonadi/agentmanager.cpp:315
#12 0x00007f5011ae5545 in ServerManager (this=0xe4ba70, dd=<value optimized out>) at /srv/userstore/sandsmark/kdemod/kdemod-core/work/kdepimlibs/src/kdepimlibs-4.2.0/akonadi/servermanager.cpp:95
#13 0x00007f5011ae625a in Akonadi::ServerManager::self () at /srv/userstore/sandsmark/kdemod/kdemod-core/work/kdepimlibs/src/kdepimlibs-4.2.0/akonadi/servermanager.cpp:43
#14 0x00007f5011ab2801 in Control (this=0xe4a8e0) at /srv/userstore/sandsmark/kdemod/kdemod-core/work/kdepimlibs/src/kdepimlibs-4.2.0/akonadi/control.cpp:163
#15 0x00007f5011ab3063 in Akonadi::Control::start () at /srv/userstore/sandsmark/kdemod/kdemod-core/work/kdepimlibs/src/kdepimlibs-4.2.0/akonadi/control.cpp:106
#16 0x00007f5011d2d9fc in KABC::ResourceAkonadi::ResourceAkonadi () from /usr/lib/kde4/kabc_akonadi.so
#17 0x00007f5011d2c1b9 in KRES::PluginFactory<KABC::ResourceAkonadi, KABC::ResourceAkonadiConfig>::resource () from /usr/lib/kde4/kabc_akonadi.so
#18 0x00007f501e0e832c in KRES::Factory::Private::resourceInternal (this=0xc459f0, type=@0x7fff281f2d00, group=0x7fff281f2c60)
    at /srv/userstore/sandsmark/kdemod/kdemod-core/work/kdepimlibs/src/kdepimlibs-4.2.0/kresources/factory.cpp:223
#19 0x00007f501e0ec7ae in KRES::ManagerImpl::readResourceConfig (this=0xc85690, identifier=@0xded2d8, checkActive=false)
    at /srv/userstore/sandsmark/kdemod/kdemod-core/work/kdepimlibs/src/kdepimlibs-4.2.0/kresources/managerimpl.cpp:357
#20 0x00007f501e0ed5fd in KRES::ManagerImpl::readConfig (this=0xc85690, cfg=<value optimized out>)
    at /srv/userstore/sandsmark/kdemod/kdemod-core/work/kdepimlibs/src/kdepimlibs-4.2.0/kresources/managerimpl.cpp:132
#21 0x00007f501f612740 in AddressBook (this=0xc97da0, config=<value optimized out>) at /srv/userstore/sandsmark/kdemod/kdemod-core/work/kdepimlibs/src/kdepimlibs-4.2.0/kresources/manager.h:265
#22 0x00007f501f641539 in StdAddressBook (this=0xc97da0, asynchronous=false, doInit=false)
    at /srv/userstore/sandsmark/kdemod/kdemod-core/work/kdepimlibs/src/kdepimlibs-4.2.0/kabc/stdaddressbook.cpp:126
#23 0x00007f501f641f7e in KABC::StdAddressBook::self (asynchronous=<value optimized out>)
    at /srv/userstore/sandsmark/kdemod/kdemod-core/work/kdepimlibs/src/kdepimlibs-4.2.0/kabc/stdaddressbook.cpp:89
#24 0x00007f501f642096 in KABC::StdAddressBook::self () at /srv/userstore/sandsmark/kdemod/kdemod-core/work/kdepimlibs/src/kdepimlibs-4.2.0/kabc/stdaddressbook.cpp:81
#25 0x00007f501ee818fd in Kopete::KABCPersistence::addressBook () from /usr/lib/libkopete.so.4
#26 0x000000000044a510 in _start ()

Same thing with kmail:
=====================
Application: Kontact (kontact), signal SIGABRT
0x00007fc6256a5001 in nanosleep () from /lib/libc.so.6
[Current thread is 0 (LWP 25719)]

Thread 2 (Thread 0x7fc60f359950 (LWP 25724)):
#0  0x00007fc627050fed in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fc6272beae7 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#2  0x00007fc6272b61f9 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007fc6272bdd79 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007fc62704cfc7 in start_thread () from /lib/libpthread.so.0
#5  0x00007fc6256d55dd in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fc62baa4750 (LWP 25719)):
[KCrash Handler]
#5  0x00007fc6256380c5 in raise () from /lib/libc.so.6
#6  0x00007fc6256395e3 in abort () from /lib/libc.so.6
#7  0x00007fc6272b70a5 in qt_message_output () from /usr/lib/libQtCore.so.4
#8  0x00007fc6272b71c7 in qFatal () from /usr/lib/libQtCore.so.4
#9  0x00007fc60e499497 in Akonadi::AgentManagerPrivate::fillAgentInstance (this=0x27ee060, identifier=@0x277da88)
    at /srv/userstore/sandsmark/kdemod/kdemod-core/work/kdepimlibs/src/kdepimlibs-4.2.0/akonadi/agentmanager.cpp:236
#10 0x00007fc60e499b47 in AgentManager (this=0x277e130) at /srv/userstore/sandsmark/kdemod/kdemod-core/work/kdepimlibs/src/kdepimlibs-4.2.0/akonadi/agentmanager.cpp:300
#11 0x00007fc60e499edd in Akonadi::AgentManager::self () at /srv/userstore/sandsmark/kdemod/kdemod-core/work/kdepimlibs/src/kdepimlibs-4.2.0/akonadi/agentmanager.cpp:315
#12 0x00007fc60e4f1545 in ServerManager (this=0x2791fb0, dd=<value optimized out>) at /srv/userstore/sandsmark/kdemod/kdemod-core/work/kdepimlibs/src/kdepimlibs-4.2.0/akonadi/servermanager.cpp:95
#13 0x00007fc60e4f225a in Akonadi::ServerManager::self () at /srv/userstore/sandsmark/kdemod/kdemod-core/work/kdepimlibs/src/kdepimlibs-4.2.0/akonadi/servermanager.cpp:43
#14 0x00007fc60e4be801 in Control (this=0x277b560) at /srv/userstore/sandsmark/kdemod/kdemod-core/work/kdepimlibs/src/kdepimlibs-4.2.0/akonadi/control.cpp:163
#15 0x00007fc60e4bf063 in Akonadi::Control::start () at /srv/userstore/sandsmark/kdemod/kdemod-core/work/kdepimlibs/src/kdepimlibs-4.2.0/akonadi/control.cpp:106
#16 0x00007fc60e7399fc in KABC::ResourceAkonadi::ResourceAkonadi () from /usr/lib/kde4/kabc_akonadi.so
#17 0x00007fc60e7381b9 in KRES::PluginFactory<KABC::ResourceAkonadi, KABC::ResourceAkonadiConfig>::resource () from /usr/lib/kde4/kabc_akonadi.so
#18 0x00007fc62956332c in KRES::Factory::Private::resourceInternal (this=0x277bf60, type=@0x7fff33be5650, group=0x7fff33be55b0)
    at /srv/userstore/sandsmark/kdemod/kdemod-core/work/kdepimlibs/src/kdepimlibs-4.2.0/kresources/factory.cpp:223
#19 0x00007fc6295677ae in KRES::ManagerImpl::readResourceConfig (this=0x22db4a0, identifier=@0x2775618, checkActive=false)
    at /srv/userstore/sandsmark/kdemod/kdemod-core/work/kdepimlibs/src/kdepimlibs-4.2.0/kresources/managerimpl.cpp:357
#20 0x00007fc6295685fd in KRES::ManagerImpl::readConfig (this=0x22db4a0, cfg=<value optimized out>)
    at /srv/userstore/sandsmark/kdemod/kdemod-core/work/kdepimlibs/src/kdepimlibs-4.2.0/kresources/managerimpl.cpp:132
#21 0x00007fc6297ae740 in AddressBook (this=0x270bd60, config=<value optimized out>) at /srv/userstore/sandsmark/kdemod/kdemod-core/work/kdepimlibs/src/kdepimlibs-4.2.0/kresources/manager.h:265
#22 0x00007fc6297dd539 in StdAddressBook (this=0x270bd60, asynchronous=true, doInit=false)
    at /srv/userstore/sandsmark/kdemod/kdemod-core/work/kdepimlibs/src/kdepimlibs-4.2.0/kabc/stdaddressbook.cpp:126
#23 0x00007fc6297ddf7e in KABC::StdAddressBook::self (asynchronous=<value optimized out>)
    at /srv/userstore/sandsmark/kdemod/kdemod-core/work/kdepimlibs/src/kdepimlibs-4.2.0/kabc/stdaddressbook.cpp:89
#24 0x00007fc613fba9f3 in KMail::FancyHeaderStyle::format () from /usr/lib/libkmailprivate.so.4
#25 0x00007fc613e48007 in KMReaderWin::writeMsgHeader () from /usr/lib/libkmailprivate.so.4
#26 0x00007fc613e4eae0 in KMReaderWin::parseMsg () from /usr/lib/libkmailprivate.so.4
#27 0x00007fc613e3c8c7 in KMReaderWin::displayMessage () from /usr/lib/libkmailprivate.so.4
#28 0x00007fc613e3cab5 in KMReaderWin::updateReaderWin () from /usr/lib/libkmailprivate.so.4
#29 0x00007fc613e49f85 in KMReaderWin::qt_metacall () from /usr/lib/libkmailprivate.so.4
#30 0x00007fc6273a0d30 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#31 0x00007fc62739ccf3 in QObject::event () from /usr/lib/libQtCore.so.4
#32 0x00007fc6262964ed in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#33 0x00007fc62629c87a in QApplication::notify () from /usr/lib/libQtGui.so.4
#34 0x00007fc6281a356b in KApplication::notify () from /usr/lib/libkdeui.so.5
#35 0x00007fc62738f401 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#36 0x00007fc6273b6e86 in ?? () from /usr/lib/libQtCore.so.4
#37 0x00007fc6273b396d in ?? () from /usr/lib/libQtCore.so.4
#38 0x00007fc620b4aaa2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#39 0x00007fc620b4e21d in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#40 0x00007fc620b4e3db in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#41 0x00007fc6273b38cf in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#42 0x00007fc62631704f in ?? () from /usr/lib/libQtGui.so.4
#43 0x00007fc62738dd72 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#44 0x00007fc62738df05 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#45 0x00007fc62822e42d in KWallet::Wallet::openWallet () from /usr/lib/libkdeui.so.5
#46 0x00007fc613f528fc in KMKernel::wallet () from /usr/lib/libkmailprivate.so.4
#47 0x00007fc613ed3760 in KMail::NetworkAccount::readPassword () from /usr/lib/libkmailprivate.so.4
#48 0x00007fc613e6f722 in KMail::AccountManager::readPasswords () from /usr/lib/libkmailprivate.so.4
#49 0x00007fc613ed0b99 in KMail::NetworkAccount::passwd () from /usr/lib/libkmailprivate.so.4
#50 0x00007fc613f4bbf2 in KMail::PopAccount::processNewMail () from /usr/lib/libkmailprivate.so.4
#51 0x00007fc613e71247 in KMail::AccountManager::processNextCheck () from /usr/lib/libkmailprivate.so.4
#52 0x00007fc613e71cf2 in KMail::AccountManager::singleCheckMail () from /usr/lib/libkmailprivate.so.4
#53 0x00007fc613e72161 in KMail::AccountManager::checkMail () from /usr/lib/libkmailprivate.so.4
#54 0x00007fc6140420e4 in KMMainWidget::qt_metacall () from /usr/lib/libkmailprivate.so.4
#55 0x00007fc6273a0d30 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#56 0x00007fc6273a761f in ?? () from /usr/lib/libQtCore.so.4
#57 0x00007fc62739ccf3 in QObject::event () from /usr/lib/libQtCore.so.4
#58 0x00007fc6262964ed in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#59 0x00007fc62629c87a in QApplication::notify () from /usr/lib/libQtGui.so.4
#60 0x00007fc6281a356b in KApplication::notify () from /usr/lib/libkdeui.so.5
#61 0x00007fc62738f401 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#62 0x00007fc6273b6e86 in ?? () from /usr/lib/libQtCore.so.4
#63 0x00007fc6273b396d in ?? () from /usr/lib/libQtCore.so.4
#64 0x00007fc620b4aaa2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#65 0x00007fc620b4e21d in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#66 0x00007fc620b4e3db in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#67 0x00007fc6273b38cf in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#68 0x00007fc62631704f in ?? () from /usr/lib/libQtGui.so.4
#69 0x00007fc62738dd72 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#70 0x00007fc62738df05 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#71 0x00007fc627390065 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#72 0x00000000004049a1 in _start ()

Hope this can help out the dev!
Thanks in advance.
Luc
Comment 2 Luc Bergeron 2009-02-09 14:42:37 UTC
AN update...

For a reason that is not known to me kopete, kmail and al. are working again. I was looking around in the system settings of akonadi, restarted the server and found out that everything was working fine. I than tried to run kopete and found out that it'S working again. Kmail is also functionnal.
Comment 3 Jaime Torres 2009-03-29 09:59:49 UTC
*** Bug 188386 has been marked as a duplicate of this bug. ***
Comment 4 Volker Krause 2009-03-31 17:15:55 UTC
Should be fixed in revision 947310 of kdesupport/akonadi.
Comment 5 Volker Krause 2009-03-31 17:17:25 UTC
SVN commit 947472 by vkrause:

Backport SVN commit 947310 by amantia from trunk:

Avoid DBUS lockups


BUG: 182198


 M  +2 -4      agentinstance.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=947472
Comment 6 Volker Krause 2010-10-23 23:59:29 UTC
commit 721f5af5de9f93f7d95c99bae1e988e74dcf835b
branch refs/tags/v1.1.2
Author: Volker Krause <vkrause@kde.org>
Date:   Tue Mar 31 15:17:22 2009 +0000

    Backport SVN commit 947310 by amantia from trunk:
    
    Avoid DBUS lockups
    
    
    BUG: 182198
    
    svn path=/branches/akonadi/1.1/; revision=947472

diff --git a/server/control/agentinstance.cpp b/server/control/agentinstance.cpp
index 109a111..f01ed97 100644
--- a/server/control/agentinstance.cpp
+++ b/server/control/agentinstance.cpp
@@ -218,10 +218,8 @@ void AgentInstance::refreshResourceStatus()
 
 void AgentInstance::errorHandler(const QDBusError & error)
 {
-  mManager->tracer()->error( QLatin1String( "AgentInstance::errorHandler" ),
-      QString( "D-Bus communication error '%1': '%2'" )
-          .arg( error.name(), error.message() ) );
-
+  //avoid using the server tracer, can result in D-BUS lockups
+  qDebug() <<  QString( "D-Bus communication error '%1': '%2'" ).arg( error.name(), error.message() ) ;
   // TODO try again after some time, esp. on timeout errors
 }