Bug 198741

Summary: Akonadi crashes every few seconds
Product: [Frameworks and Libraries] Akonadi Reporter: Michael Sadick <msadick>
Component: IMAP resourceAssignee: Tom Albers <toma>
Status: RESOLVED FIXED    
Severity: crash CC: christophe, vkrause
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Michael Sadick 2009-07-03 09:12:05 UTC
Application that crashed: akonadi_imap_resource
Version of the application: 0.1
KDE Version: 4.2.95 (KDE 4.2.95 (KDE 4.3 RC1)) "release 139"
Qt Version: 4.5.2
Operating System: Linux 2.6.27.23-0.1-default x86_64
Distribution: "openSUSE 11.1 (x86_64)"

What I was doing when the application crashed:
Using KDE 4.3 RC1 on openSUSE 11.1, a message that Akonadi has crashed pops up every few minutes. This happens regardless of whether or not I push the button that says "restart application".   This happens during normal use of KDE.

 -- Backtrace:
Application: Akonadi Resource (akonadi_imap_resource), signal: Segmentation fault
[KCrash Handler]
#5  ImapAccount::server (this=0x0) at /usr/include/QtCore/qstring.h:711
#6  0x0000000000418a0a in ImapResource::rootRemoteId (this=0x7ea8d0) at /usr/src/debug/kdepim-runtime-4.2.95/resources/imap/imapresource.cpp:1050
#7  0x0000000000418cfd in ImapResource::mailBoxForRemoteId (this=0x7ea8d0, remoteId=<value optimized out>) at /usr/src/debug/kdepim-runtime-4.2.95/resources/imap/imapresource.cpp:1061
#8  0x0000000000421f8f in ImapResource::retrieveItems (this=0x7ea8d0, col=@0x7f0270) at /usr/src/debug/kdepim-runtime-4.2.95/resources/imap/imapresource.cpp:497
#9  0x00007f2e2aec86f8 in Akonadi::ResourceBasePrivate::slotSynchronizeCollection (this=<value optimized out>, col=<value optimized out>)
    at /usr/src/debug/kdepimlibs-4.2.95/akonadi/resourcebase.cpp:439
#10 0x00007f2e2aecae1e in Akonadi::ResourceBase::qt_metacall (this=0x7ea8d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff33350460)
    at /usr/src/debug/kdepimlibs-4.2.95/build/akonadi/resourcebase.moc:109
#11 0x0000000000424585 in ImapResource::qt_metacall (this=0x7fff3334ffd0, _c=QMetaObject::InvokeMetaMethod, _id=859111681, _a=0x7f2e2ab89860)
    at /usr/src/debug/kdepim-runtime-4.2.95/build/resources/imap/imapresource.moc:119
#12 0x00007f2e2a8aa6e2 in QMetaObject::activate (sender=0x80a110, from_signal_index=<value optimized out>, to_signal_index=5, argv=0x7f2e2ab89860) at kernel/qobject.cpp:3113
#13 0x00007f2e2aecc135 in Akonadi::ResourceScheduler::executeCollectionSync (this=0x7fff3334ffd0, _t1=<value optimized out>)
    at /usr/src/debug/kdepimlibs-4.2.95/build/akonadi/resourcescheduler_p.moc:122
#14 0x00007f2e2aecd865 in Akonadi::ResourceScheduler::executeNext (this=0x80a110) at /usr/src/debug/kdepimlibs-4.2.95/akonadi/resourcescheduler.cpp:186
#15 0x00007f2e2aeceff0 in Akonadi::ResourceScheduler::qt_metacall (this=0x80a110, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff33350670)
    at /usr/src/debug/kdepimlibs-4.2.95/build/akonadi/resourcescheduler_p.moc:104
#16 0x00007f2e2a8aa6e2 in QMetaObject::activate (sender=0x80b590, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x7f2e2ab89860) at kernel/qobject.cpp:3113
#17 0x00007f2e2a8b041f in QSingleShotTimer::timerEvent (this=0x80b590) at kernel/qtimer.cpp:298
#18 0x00007f2e2a8a5533 in QObject::event (this=0x80b590, e=0x0) at kernel/qobject.cpp:1075
#19 0x00007f2e29b19b0d in QApplicationPrivate::notify_helper (this=0x661cb0, receiver=0x80b590, e=0x7fff33350d70) at kernel/qapplication.cpp:4056
#20 0x00007f2e29b21d9a in QApplication::notify (this=0x7fff33351140, receiver=0x80b590, e=0x7fff33350d70) at kernel/qapplication.cpp:4021
#21 0x00007f2e281cb5cb in KApplication::notify (this=0x7fff33351140, receiver=0x80b590, event=0x7fff33350d70) at /usr/src/debug/kdelibs-4.2.95/kdeui/kernel/kapplication.cpp:302
#22 0x00007f2e2a89594c in QCoreApplication::notifyInternal (this=0x7fff33351140, receiver=0x80b590, event=0x7fff33350d70) at kernel/qcoreapplication.cpp:610
#23 0x00007f2e2a8c2b60 in QTimerInfoList::activateTimers (this=0x6655d0) at kernel/qcoreapplication.h:213
#24 0x00007f2e2a8beddd in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:165
#25 0x00007f2e25c960fb in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#26 0x00007f2e25c998cd in ?? () from /usr/lib64/libglib-2.0.so.0
#27 0x00007f2e25c99a8b in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#28 0x00007f2e2a8bed3f in QEventDispatcherGlib::processEvents (this=0x6489a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#29 0x00007f2e29bb0fef in QGuiEventDispatcherGlib::processEvents (this=0x7fff3334ffd0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#30 0x00007f2e2a8941d2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 859115664}) at kernel/qeventloop.cpp:149
#31 0x00007f2e2a8945a4 in QEventLoop::exec (this=0x7fff333510d0, flags={i = 859115744}) at kernel/qeventloop.cpp:201
#32 0x00007f2e2a896894 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#33 0x00007f2e2aec8342 in Akonadi::ResourceBase::init (r=0x7ea8d0) at /usr/src/debug/kdepimlibs-4.2.95/akonadi/resourcebase.cpp:208
#34 0x000000000041c478 in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/include/akonadi/resourcebase.h:185

Reported using DrKonqi
Comment 1 Volker Krause 2009-08-12 14:09:37 UTC
Fixed in trunk.