Bug 284244

Summary: Akonadi IMAP process crash while upgrading.
Product: [Frameworks and Libraries] Akonadi Reporter: P. Varet <p.varet>
Component: IMAP resourceAssignee: Kevin Ottens <ervin>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kdepim-bugs, vkrause
Priority: NOR    
Version: 4.7   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description P. Varet 2011-10-17 08:54:25 UTC
Application: akonadi_imap_resource (4.7)
KDE Platform Version: 4.7.1 (4.7.1)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-12-generic i686
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed:

Just upgraded the distro. Booted up, launched KMail. KMail migration dialog came up, was accepted, and then the migration failed (no details given) with a message to manually run 'kmail-migrator --interactive'.

Ran  'kmail-migrator --interactive', which failed too. Deleted .kde/share/config/kmail-migratorrc as advised on some forum. Ran 'kmail-migrator --interactive' again. It worked, but spawned a host of error notifications about 'unusable folders' that contained no further details.

Then the crash occured.

-- Backtrace:
Application: GMail SecurActive of type IMAP E-Mail Server (akonadi_imap_resource), signal: Segmentation fault
[Current thread is 1 (Thread 0xb77f7710 (LWP 10175))]

Thread 3 (Thread 0xb51fdb70 (LWP 10232)):
#0  0x0631cd10 in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0x0024c7d5 in do_gettime (frac=0xb51fd040, sec=0xb51fd038) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x0031f4b6 in QTimerInfoList::updateCurrentTime (this=0xa1c7134) at kernel/qeventdispatcher_unix.cpp:339
#4  0x0031f80a in QTimerInfoList::timerWait (this=0xa1c7134, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x0031e053 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xb51fd14c) at kernel/qeventdispatcher_glib.cpp:136
#6  0x0031e0ed in timerSourcePrepare (source=0xa1c7100, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x0841388c in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x08414637 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x08414c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x0031eb37 in QEventDispatcherGlib::processEvents (this=0xa1d7900, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0x002ef1dd in QEventLoop::processEvents (this=0xb51fd2d0, flags=...) at kernel/qeventloop.cpp:149
#12 0x002ef421 in QEventLoop::exec (this=0xb51fd2d0, flags=...) at kernel/qeventloop.cpp:201
#13 0x001f290b in QThread::exec (this=0xa1fbab0) at thread/qthread.cpp:498
#14 0x0059c4d0 in KIMAP::SessionThread::run (this=0xa1fbab0) at ../../kimap/sessionthread.cpp:169
#15 0x001f57b3 in QThreadPrivate::start (arg=0xa1fbab0) at thread/qthread_unix.cpp:331
#16 0x00e4dd31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0x06f670ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0xb49fcb70 (LWP 10233)):
#0  0x0843c6d0 in g_thread_self () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0x08414c18 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0x0031eb37 in QEventDispatcherGlib::processEvents (this=0xa26bc90, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#3  0x002ef1dd in QEventLoop::processEvents (this=0xb49fc2d0, flags=...) at kernel/qeventloop.cpp:149
#4  0x002ef421 in QEventLoop::exec (this=0xb49fc2d0, flags=...) at kernel/qeventloop.cpp:201
#5  0x001f290b in QThread::exec (this=0xa012b28) at thread/qthread.cpp:498
#6  0x0059c4d0 in KIMAP::SessionThread::run (this=0xa012b28) at ../../kimap/sessionthread.cpp:169
#7  0x001f57b3 in QThreadPrivate::start (arg=0xa012b28) at thread/qthread_unix.cpp:331
#8  0x00e4dd31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#9  0x06f670ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb77f7710 (LWP 10175)):
[KCrash Handler]
#7  0x08099f46 in takeFirst (this=0xa014d44) at /usr/include/qt4/QtCore/qlist.h:477
#8  SessionPool::declareSessionReady (this=0xa014d20, session=0xb6202a50) at ../../../resources/imap/sessionpool.cpp:207
#9  0x0809a1ab in SessionPool::onNamespacesTestDone (this=0xa014d20, job=0xa1c5370) at ../../../resources/imap/sessionpool.cpp:435
#10 0x0809bdd9 in SessionPool::qt_metacall (this=0xa014d20, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbfa44688) at ./sessionpool.moc:120
#11 0x002f6b7d in metacall (argv=0xbfa44688, idx=16, cl=QMetaObject::InvokeMetaMethod, object=0xa014d20) at kernel/qmetaobject.cpp:237
#12 QMetaObject::metacall (object=0xa014d20, cl=QMetaObject::InvokeMetaMethod, idx=16, argv=0xbfa44688) at kernel/qmetaobject.cpp:232
#13 0x00305a6a in QMetaObject::activate (sender=0xa1d7608, m=0x1f2158c, local_signal_index=3, argv=0xbfa44688) at kernel/qobject.cpp:3278
#14 0x01d73a05 in KJob::result (this=0xa1d7608, _t1=0xa1d7608) at ./kjob.moc:194
#15 0x01d73a58 in KJob::emitResult (this=0xa1d7608) at ../../kdecore/jobs/kjob.cpp:312
#16 0x00581643 in KIMAP::Job::handleErrorReplies (this=0xa1d7608, response=...) at ../../kimap/job.cpp:86
#17 0x005935a6 in KIMAP::NamespaceJob::handleResponse (this=0xa1c5370, response=...) at ../../kimap/namespacejob.cpp:128
#18 0x0059a464 in KIMAP::SessionPrivate::responseReceived (this=0xa1b3bb8, response=...) at ../../kimap/session.cpp:271
#19 0x0059b5c6 in KIMAP::Session::qt_metacall (this=0xb6202a50, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xa1971f0) at ./session.moc:113
#20 0x002f6b7d in metacall (argv=0xa1971f0, idx=11, cl=QMetaObject::InvokeMetaMethod, object=0xb6202a50) at kernel/qmetaobject.cpp:237
#21 QMetaObject::metacall (object=0xb6202a50, cl=QMetaObject::InvokeMetaMethod, idx=11, argv=0xa1971f0) at kernel/qmetaobject.cpp:232
#22 0x00301685 in QMetaCallEvent::placeMetaCall (this=0xa02fb40, object=0xb6202a50) at kernel/qobject.cpp:535
#23 0x00308b52 in QObject::event (this=0xb6202a50, e=0xa02fb40) at kernel/qobject.cpp:1217
#24 0x00fdfd54 in notify_helper (e=0xa02fb40, receiver=0xb6202a50, this=0x9efa388) at kernel/qapplication.cpp:4486
#25 QApplicationPrivate::notify_helper (this=0x9efa388, receiver=0xb6202a50, e=0xa02fb40) at kernel/qapplication.cpp:4458
#26 0x00fe5103 in QApplication::notify (this=0xa02fb40, receiver=0xb6202a50, e=0xa02fb40) at kernel/qapplication.cpp:3886
#27 0x030cb721 in KApplication::notify (this=0xbfa45040, receiver=0xb6202a50, event=0xa02fb40) at ../../kdeui/kernel/kapplication.cpp:311
#28 0x002f019e in QCoreApplication::notifyInternal (this=0xbfa45040, receiver=0xb6202a50, event=0xa02fb40) at kernel/qcoreapplication.cpp:787
#29 0x002f3f93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#30 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9eded60) at kernel/qcoreapplication.cpp:1428
#31 0x002f40ec in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1321
#32 0x0031e6a4 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#33 postEventSourceDispatch (s=0x9efcb00) at kernel/qeventdispatcher_glib.cpp:277
#34 0x0841425f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#35 0x08414990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#36 0x08414c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#37 0x0031eada in QEventDispatcherGlib::processEvents (this=0x9edfc68, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#38 0x01097e3a in QGuiEventDispatcherGlib::processEvents (this=0x9edfc68, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x002ef1dd in QEventLoop::processEvents (this=0xbfa44fa4, flags=...) at kernel/qeventloop.cpp:149
#40 0x002ef421 in QEventLoop::exec (this=0xbfa44fa4, flags=...) at kernel/qeventloop.cpp:201
#41 0x002f419d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#42 0x00fdd8f4 in QApplication::exec () at kernel/qapplication.cpp:3760
#43 0x008369d1 in Akonadi::ResourceBase::init (r=0x9ff5200) at ../../akonadi/resourcebase.cpp:393
#44 0x0805e127 in Akonadi::ResourceBase::init<ImapResource> (argc=3, argv=0xbfa45114) at /usr/include/akonadi/resourcebase.h:188
#45 0x0805859b in main (argc=3, argv=0xbfa45114) at ../../../resources/imap/imapresource.cpp:598

Possible duplicates by query: bug 284218, bug 284169, bug 284165, bug 284164, bug 284159.

Reported using DrKonqi
Comment 1 Christophe Marin 2011-11-18 00:10:09 UTC

*** This bug has been marked as a duplicate of bug 242698 ***