Bug 223761 - Akonadi agent crashed after command /usr/bin/akonadi_nepomuk_contact_feeder --identifier akonadi_nepomuk_contact_feeder
Summary: Akonadi agent crashed after command /usr/bin/akonadi_nepomuk_contact_feeder -...
Status: RESOLVED NOT A BUG
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Nepomuk Feeder Agents (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Tobias Koenig
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-22 10:30 UTC by Morten Sjoegren
Modified: 2010-08-11 22:58 UTC (History)
1 user (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 Morten Sjoegren 2010-01-22 10:30:48 UTC
Application: akonadi_nepomuk_contact_feeder (0.1)
KDE Platform Version: 4.3.95 (KDE 4.3.95 (KDE 4.4 RC2))
Qt Version: 4.6.1
Operating System: Linux 2.6.32-ARCH x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
I ran the command from a konsole
/usr/bin/akonadi_nepomuk_contact_feeder --identifier akonadi_nepomuk_contact_feeder

And  every time I do that, I immediately get an crash dialog saying that akonadi agent crash.

I'm using chakra-projects KDE4.4rc2 packages on a x86_64 native platform.

 -- Backtrace:
Application: Akonadi Agent (akonadi_nepomuk_contact_feeder), signal: Aborted
[KCrash Handler]
#5  0x0000003483632035 in raise () from /lib/libc.so.6
#6  0x0000003483633460 in abort () from /lib/libc.so.6
#7  0x000000348967176f in qt_message_output (msgType=<value optimized out>, buf=<value optimized out>) at global/qglobal.cpp:2250
#8  0x00007f9491b2c5e1 in ~QDebug (this=0xc8a270) at /usr/include/QtCore/qdebug.h:85
#9  Akonadi::AgentBasePrivate::delayedInit (this=0xc8a270) at /home/phil/kdemod/testing/kdepimlibs/src/kdepimlibs-4.3.95/akonadi/agentbase.cpp:241
#10 0x00007f9491b2c223 in Akonadi::AgentBase::qt_metacall (this=0xc213c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff589e7710)
    at /home/phil/kdemod/testing/kdepimlibs/src/build/akonadi/agentbase.moc:115
#11 0x0000000000411f30 in NepomukFeederAgentBase::qt_metacall (this=0x635c, _c=25436, _id=6, _a=0xffffffffffffffff)
    at /home/phil/kdemod/testing/kdepim-runtime/src/build/agents/nepomuk_contact_feeder/nepomukfeederagentbase.moc:83
#12 0x000000348977ff8f in QMetaObject::activate (sender=<value optimized out>, m=<value optimized out>, local_signal_index=<value optimized out>, argv=<value optimized out>)
    at kernel/qobject.cpp:3275
#13 0x000000348978771f in QSingleShotTimer::timerEvent (this=<value optimized out>) at kernel/qtimer.cpp:308
#14 0x000000348977cbe3 in QObject::event (this=<value optimized out>, e=<value optimized out>) at kernel/qobject.cpp:1212
#15 0x0000003489dbd76c in QApplicationPrivate::notify_helper (this=<value optimized out>, receiver=<value optimized out>, e=<value optimized out>) at kernel/qapplication.cpp:4298
#16 0x0000003489dc3d5b in QApplication::notify (this=<value optimized out>, receiver=<value optimized out>, e=<value optimized out>) at kernel/qapplication.cpp:4181
#17 0x00007f949254e686 in KApplication::notify (this=0x7fff589e8190, receiver=0xc443e0, event=0x7fff589e7e70) at /home/phil/kdemod/testing/kdelibs/src/kdelibs-4.3.95/kdeui/kernel/kapplication.cpp:302
#18 0x000000348976d22c in QCoreApplication::notifyInternal (this=<value optimized out>, receiver=<value optimized out>, event=<value optimized out>) at kernel/qcoreapplication.cpp:704
#19 0x0000003489799ed2 in QCoreApplication::sendEvent (this=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#20 QTimerInfoList::activateTimers (this=<value optimized out>) at kernel/qeventdispatcher_unix.cpp:603
#21 0x00000034897969d4 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#22 0x000000348723926e in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#23 0x000000348723cc28 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#24 0x000000348723cd50 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#25 0x00000034897966c3 in QEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#26 0x0000003489e6bb6e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#27 0x000000348976bb52 in QEventLoop::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventloop.cpp:149
#28 0x000000348976bf2c in QEventLoop::exec (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventloop.cpp:201
#29 0x000000348976fc6b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#30 0x00007f9491b29416 in Akonadi::AgentBase::init (r=0xc213c0) at /home/phil/kdemod/testing/kdepimlibs/src/kdepimlibs-4.3.95/akonadi/agentbase.cpp:491
#31 0x0000000000408ea8 in Akonadi::AgentBase::init<Akonadi::NepomukContactFeeder> (argc=<value optimized out>, argv=<value optimized out>) at /usr/include/akonadi/agentbase.h:317
#32 main (argc=<value optimized out>, argv=<value optimized out>) at /home/phil/kdemod/testing/kdepim-runtime/src/kdepim-runtime-4.3.95/agents/nepomuk_contact_feeder/nepomukcontactfeeder.cpp:262

Reported using DrKonqi
Comment 1 Tobias Koenig 2010-08-03 09:53:00 UTC
Hej,

can you still reproduce this issue with a current version of KDE (e.g. 4.4.5)?
If yes, could you start Akonadi from a Konsole window please (akonadictl restart), reproduce the crash and send the output from the console window?

Ciao,
Tobias
Comment 2 Morten Sjoegren 2010-08-11 20:13:23 UTC
I can reproduce it with KDE 4.5.0 on kubuntu 10.4 also on x86_64.

I don't see any output some the Konsole that came after I ran the command but here is all it wrote:
-------------------------------------------------------------------------------
[akonadiserver] search paths:  ("/usr/lib/ccache/bin", "/home/mabs/kde/bin", "/usr/lib/ccache/bin", "/home/mabs/kde/bin", "/usr/local/sbin", "/usr/local/bin", "/usr/sbin", "/usr/bin", "/sbin", "/bin", "/usr/games", "/usr/sbin", "/usr/local/sbin", "/usr/local/libexec", "/usr/libexec", "/opt/mysql/libexec", "/opt/local/lib/mysql5/bin", "/opt/mysql/sbin")
[akonadiserver] Found mysql_install_db:  "/usr/bin/mysql_install_db"
[akonadiserver] Found mysql_upgrade:  "/usr/bin/mysql_upgrade"
"akonadiserver" [out] "Looking for 'mysql' as: /usr/bin/mysql
" 
"akonadiserver" [out] "Looking for 'mysqlcheck' as: /usr/bin/mysqlcheck                                                                                                                                                                                     
"                                                                                                                                                                                                                                                           
"akonadiserver" [out] "Running 'mysqlcheck' with connection arguments: '--port=3306' '--socket=/var/run/mysqld/mysqld.sock' '--socket=/home/mabs/.local/share/akonadi/db_misc/mysql.socket'                                                                 
"                                                                                                                                                                                                                                                           
[akonadiserver] /usr/bin/mysqlcheck: Got error: 2002: Can't connect to local MySQL server through socket '/home/mabs/.local/share/akonadi/db_misc/mysql.socket' (2) when trying to connect                                                                  
[akonadiserver] FATAL ERROR: Upgrade failed                                                                                                                                                                                                                 
[akonadiserver] Database "akonadi" opened using driver "QMYSQL"                                                                                                                                                                                             
[akonadiserver] DbInitializer::run()                                                                                                                                                                                                                        
[akonadiserver] checking table  "SchemaVersionTable"                                                                                                                                                                                                        
[akonadiserver] checking table  "ResourceTable"                                                                                                                                                                                                             
[akonadiserver] checking table  "CollectionTable"                                                                                                                                                                                                           
[akonadiserver] checking table  "MimeTypeTable"                                                                                                                                                                                                             
[akonadiserver] checking table  "PimItemTable"                                                                                                                                                                                                              
[akonadiserver] checking table  "FlagTable"                                                                                                                                                                                                                 
[akonadiserver] checking table  "PartTable"                                                                                                                                                                                                                 
[akonadiserver] checking table  "CollectionAttributeTable"                                                                                                                                                                                                  
[akonadiserver] checking relation  "PimItemFlagRelation"                                                                                                                                                                                                    
[akonadiserver] checking relation  "CollectionMimeTypeRelation"                                                                                                                                                                                             
[akonadiserver] checking relation  "CollectionPimItemRelation"                                                                                                                                                                                              
[akonadiserver] DbInitializer::run() done                                                                                                                                                                                                                   
[akonadiserver] skipping update 2                                                                                                                                                                                                                           
[akonadiserver] skipping update 3                                                                                                                                                                                                                           
[akonadiserver] skipping update 4                                                                                                                                                                                                                           
[akonadiserver] skipping update 8                                                                                                                                                                                                                           
[akonadiserver] skipping update 10                                                                                                                                                                                                                          
[akonadiserver] skipping update 12                                                                                                                                                                                                                          
[akonadiserver] skipping update 13                                                                                                                                                                                                                          
[akonadiserver] skipping update 14                                                                                                                                                                                                                          
[akonadiserver] skipping update 15                                                                                                                                                                                                                          
[akonadiserver] skipping update 16                                                                                                                                                                                                                          
[akonadiserver] skipping update 17                                                                                                                                                                                                                          
[akonadiserver] skipping update 18                                                                                                                                                                                                                          
[akonadiserver] skipping update 19                                                                                                                                                                                                                          
[akonadiserver] Akonadi::NepomukSearchEngine(0x2402d80) QObject(0x0)                                                                                                                                                                                        
[akonadiserver] DataStore::unhideAllPimItems()                                                                                                                                                                                                              
PLUGINS:  "/usr/share/akonadi/agents"                                                                                                                                                                                                                       
PLUGINS:  ("birthdaysresource.desktop", "contactsresource.desktop", "gcalresource.desktop", "googledataresource.desktop", "icalresource.desktop", "imapresource.desktop", "kabcresource.desktop", "kcalresource.desktop", "knutresource.desktop", "kolabproxyresource.desktop", "localbookmarksresource.desktop", "maildirresource.desktop", "maildispatcheragent.desktop", "mboxresource.desktop", "microblog.desktop", "mtdummyresource.desktop", "nepomukcalendarfeeder.desktop", "nepomukcontactfeeder.desktop", "nepomuktagresource.desktop", "nntpresource.desktop", "notesresource.desktop", "pop3resource.desktop", "vcarddirresource.desktop", "vcardresource.desktop")                                                                                                    
search paths:  ("/usr/lib/ccache/bin", "/home/mabs/kde/bin", "/usr/lib/ccache/bin", "/home/mabs/kde/bin", "/usr/local/sbin", "/usr/local/bin", "/usr/sbin", "/usr/bin", "/sbin", "/bin", "/usr/games")                                                      
PLUGINS inserting:  "akonadi_birthdays_resource" 0 ("Resource")                                                                                                                                                                                             
PLUGINS inserting:  "akonadi_contacts_resource" 2 ("Resource") 
PLUGINS inserting:  "akonadi_gcal_resource" 1 ("Resource") 
PLUGINS inserting:  "akonadi_googledata_resource" 1 ("Resource") 
PLUGINS inserting:  "akonadi_ical_resource" 7 ("Resource") 
PLUGINS inserting:  "akonadi_imap_resource" 2 ("Resource") 
PLUGINS inserting:  "akonadi_kabc_resource" 0 ("Resource") 
PLUGINS inserting:  "akonadi_kcal_resource" 0 ("Resource") 
PLUGINS inserting:  "akonadi_knut_resource" 1 ("Resource") 
PLUGINS inserting:  "akonadi_kolabproxy_resource" 0 ("Resource", "Unique", "NoConfig") 
PLUGINS inserting:  "akonadi_localbookmarks_resource" 1 ("Resource") 
PLUGINS inserting:  "akonadi_maildir_resource" 8 ("Resource") 
PLUGINS inserting:  "akonadi_maildispatcher_agent" 0 ("Unique", "Autostart", "NoConfig") 
PLUGINS inserting:  "akonadi_mbox_resource" 0 ("Resource") 
PLUGINS inserting:  "akonadi_microblog_resource" 2 ("Resource") 
PLUGINS inserting:  "akonadi_mailtransport_dummy_resource" 0 ("Resource", "MailTransport") 
PLUGINS inserting:  "akonadi_nepomuk_calendar_feeder" 0 ("Unique", "NoConfig") 
PLUGINS inserting:  "akonadi_nepomuk_contact_feeder" 0 ("Unique", "Autostart", "NoConfig") 
PLUGINS inserting:  "akonadi_nepomuktag_resource" 0 ("Resource", "Virtual", "Unique", "NoConfig") 
PLUGINS inserting:  "akonadi_nntp_resource" 0 ("Resource") 
PLUGINS inserting:  "akonadi_notes_resource" 0 ("Resource") 
-------------------------------------------------------------------------------------------------
Comment 3 Tobias Koenig 2010-08-11 22:58:13 UTC
Hej Morten,

I missread your first comment:

> I ran the command from a konsole
> /usr/bin/akonadi_nepomuk_contact_feeder --identifier
> akonadi_nepomuk_contact_feeder

You are not supposed to start the nepomuk_contact_feeder manually, of course this won't work. The nepomuk_contact_feeder is started automatically by the akonadiserver or you can add it via akonadiconsole.
So there is no bug. The 'crash' you see is an kFatal warning which is triggered because the wrongly started nepomuk_contact_feeder can't register at the dbus session bus.

Ciao,
Tobias