Summary: | Requests non-existing agent type ASSERTION in KDE/kdepimlibs/akonadi/agentmanager.cpp | ||
---|---|---|---|
Product: | [Frameworks and Libraries] Akonadi | Reporter: | rusconi <listes.rusconi> |
Component: | libakonadi | Assignee: | Volker Krause <vkrause> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | christophe, psyluche, ria.freelander, toma |
Priority: | NOR | ||
Version: | 4.2 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
rusconi
2009-01-28 21:04:11 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 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. *** Bug 188386 has been marked as a duplicate of this bug. *** Should be fixed in revision 947310 of kdesupport/akonadi. 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 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 } |