Bug 256837

Summary: Crash on data migration
Product: [Frameworks and Libraries] Akonadi Reporter: András Manţia <amantia>
Component: IMAP resourceAssignee: Kevin Ottens <ervin>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kdepim-bugs, vkrause
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description András Manţia 2010-11-13 20:08:43 UTC
Application: akonadi_imap_resource (0.1)
KDE Platform Version: 4.5.76 (4.6 >= 20101111) (Compiled from sources)
Qt Version: 4.7.1
Operating System: Linux 2.6.36-2.99.51.a91d17c-default x86_64
Distribution: "openSUSE 11.3 (x86_64)"

-- Information about the crash:
I got the following crash while running the kmail migratort. Imap resource crashes multiple times during the migration process.

The crash can be reproduced every time.

-- Backtrace:
Application: Akonadi Resource (akonadi_imap_resource), signal: Aborted
[Current thread is 1 (Thread 0x7f15d67c1760 (LWP 1015))]

Thread 4 (Thread 0x7f15c29a0710 (LWP 1020)):
#0  0x00007f15d5a2dd5f in QThreadData::current () at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/thread/qthread_unix.cpp:191
#1  0x00007f15d5b83d1d in postEventSourcePrepare (s=0x900240, timeout=0x0) at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:254
#2  0x00007f15d5b83dbe in postEventSourceCheck (source=0x900240) at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:270
#3  0x00007f15d0268718 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f15d0268ff2 in ?? () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f15d0269510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#6  0x00007f15d5b846e4 in QEventDispatcherGlib::processEvents (this=0x8e4390, flags=...) at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:417
#7  0x00007f15d5b4912a in QEventLoop::processEvents (this=0x7f15c299fda0, flags=...) at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/kernel/qeventloop.cpp:149
#8  0x00007f15d5b4927e in QEventLoop::exec (this=0x7f15c299fda0, flags=...) at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/kernel/qeventloop.cpp:201
#9  0x00007f15d5a2b852 in QThread::exec (this=0x7398e0) at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/thread/qthread.cpp:490
#10 0x00007f15d41eabb2 in KIMAP::SessionThread::run (this=0x7398e0) at /home/kolab/development/sources/kde-trunk/kdepimlibs/kimap/sessionthread.cpp:166
#11 0x00007f15d5a2e098 in QThreadPrivate::start (arg=0x7398e0) at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/thread/qthread_unix.cpp:285
#12 0x00007f15d577ba4f in start_thread () from /lib64/libpthread.so.0
#13 0x00007f15d127f82d in clone () from /lib64/libc.so.6
#14 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f15c219f710 (LWP 1021)):
#0  0x00007f15d5780709 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f15d5a2f589 in QWaitConditionPrivate::wait (this=0x918770, time=30000) at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/thread/qwaitcondition_unix.cpp:86
#2  0x00007f15d5a2f34d in QWaitCondition::wait (this=0x919c68, mutex=0x919c60, time=30000) at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/thread/qwaitcondition_unix.cpp:160
#3  0x00007f15d5a1f6fd in QThreadPoolThread::run (this=0x919940) at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/concurrent/qthreadpool.cpp:140
#4  0x00007f15d5a2e098 in QThreadPrivate::start (arg=0x919940) at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/thread/qthread_unix.cpp:285
#5  0x00007f15d577ba4f in start_thread () from /lib64/libpthread.so.0
#6  0x00007f15d127f82d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f15bfaff710 (LWP 1023)):
#0  0x00007f15d026905f in ?? () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f15d0269510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f15d5b846e4 in QEventDispatcherGlib::processEvents (this=0x8c20d0, flags=...) at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:417
#3  0x00007f15d5b4912a in QEventLoop::processEvents (this=0x7f15bfafeda0, flags=...) at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/kernel/qeventloop.cpp:149
#4  0x00007f15d5b4927e in QEventLoop::exec (this=0x7f15bfafeda0, flags=...) at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/kernel/qeventloop.cpp:201
#5  0x00007f15d5a2b852 in QThread::exec (this=0x9072c0) at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/thread/qthread.cpp:490
#6  0x00007f15d41eabb2 in KIMAP::SessionThread::run (this=0x9072c0) at /home/kolab/development/sources/kde-trunk/kdepimlibs/kimap/sessionthread.cpp:166
#7  0x00007f15d5a2e098 in QThreadPrivate::start (arg=0x9072c0) at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/thread/qthread_unix.cpp:285
#8  0x00007f15d577ba4f in start_thread () from /lib64/libpthread.so.0
#9  0x00007f15d127f82d in clone () from /lib64/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f15d67c1760 (LWP 1015)):
[KCrash Handler]
#6  0x00007f15d11e19e5 in raise () from /lib64/libc.so.6
#7  0x00007f15d11e2ee6 in abort () from /lib64/libc.so.6
#8  0x00007f15d5a22f88 in qt_message_output (msgType=QtFatalMsg, buf=0x911408 "ASSERT: \"!isEmpty()\" in file /opt/qt4/include/QtCore/qlist.h, line 269")
    at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/global/qglobal.cpp:2282
#9  0x00007f15d5a23104 in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=0x7f15d5bcbc48 "ASSERT: \"%s\" in file %s, line %d", ap=0x7fff3fc695f0)
    at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/global/qglobal.cpp:2328
#10 0x00007f15d5a23972 in qFatal (msg=0x7f15d5bcbc48 "ASSERT: \"%s\" in file %s, line %d") at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/global/qglobal.cpp:2511
#11 0x00007f15d5a22b3b in qt_assert (assertion=0x474290 "!isEmpty()", file=0x474270 "/opt/qt4/include/QtCore/qlist.h", line=269)
    at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/global/qglobal.cpp:2027
#12 0x0000000000444d4c in QList<long long>::first (this=0x82b298) at /opt/qt4/include/QtCore/qlist.h:269
#13 0x0000000000461e56 in QList<long long>::takeFirst (this=0x82b298) at /opt/qt4/include/QtCore/qlist.h:477
#14 0x000000000045fc3b in SessionPool::declareSessionReady (this=0x82b250, session=0x937310) at /home/kolab/development/sources/kde-trunk/kdepim/runtime/resources/imap/sessionpool.cpp:210
#15 0x000000000046086a in SessionPool::onLoginDone (this=0x82b250, job=0x8d7410) at /home/kolab/development/sources/kde-trunk/kdepim/runtime/resources/imap/sessionpool.cpp:347
#16 0x00000000004615cb in SessionPool::qt_metacall (this=0x82b250, _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0x7fff3fc699e0)
    at /home/kolab/development/build/kde-trunk/kdepim/runtime/resources/imap/sessionpool.moc:117
#17 0x00007f15d5b5373b in QMetaObject::metacall (object=0x82b250, cl=QMetaObject::InvokeMetaMethod, idx=14, argv=0x7fff3fc699e0)
    at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/kernel/qmetaobject.cpp:237
#18 0x00007f15d5b685cb in QMetaObject::activate (sender=0x8d7410, m=0x7f15d21bd880, local_signal_index=3, argv=0x7fff3fc699e0)
    at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/kernel/qobject.cpp:3278
#19 0x00007f15d1de4e53 in KJob::result (this=0x8d7410, _t1=0x8d7410) at /home/andris/development/build/kde-trunk/kdelibs/kdecore/kjob.moc:194
#20 0x00007f15d1de42c1 in KJob::emitResult (this=0x8d7410) at /home/andris/development/sources/kde-trunk/kdelibs/kdecore/jobs/kjob.cpp:312
#21 0x00007f15d41de909 in KIMAP::LoginJob::handleResponse (this=0x8d7410, response=...) at /home/kolab/development/sources/kde-trunk/kdepimlibs/kimap/loginjob.cpp:286
#22 0x00007f15d41e71b4 in KIMAP::SessionPrivate::responseReceived (this=0x8f9060, response=...) at /home/kolab/development/sources/kde-trunk/kdepimlibs/kimap/session.cpp:262
#23 0x00007f15d41e8103 in KIMAP::Session::qt_metacall (this=0x937310, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x746180) at /home/kolab/development/build/kde-trunk/kdepimlibs/kimap/session.moc:106
#24 0x00007f15d5b5373b in QMetaObject::metacall (object=0x937310, cl=QMetaObject::InvokeMetaMethod, idx=9, argv=0x746180)
    at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/kernel/qmetaobject.cpp:237
#25 0x00007f15d5b62c0e in QMetaCallEvent::placeMetaCall (this=0x8c9310, object=0x937310) at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/kernel/qobject.cpp:535
#26 0x00007f15d5b63ee9 in QObject::event (this=0x937310, e=0x8c9310) at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/kernel/qobject.cpp:1217
#27 0x00007f15d49ce1d6 in QApplicationPrivate::notify_helper (this=0x6c2f30, receiver=0x937310, e=0x8c9310) at /home/andris/development/sources/kde-trunk/qt-copy/src/gui/kernel/qapplication.cpp:4454
#28 0x00007f15d49cb7fa in QApplication::notify (this=0x7fff3fc6aca0, receiver=0x937310, e=0x8c9310) at /home/andris/development/sources/kde-trunk/qt-copy/src/gui/kernel/qapplication.cpp:3854
#29 0x00007f15d291cee5 in KApplication::notify (this=0x7fff3fc6aca0, receiver=0x937310, event=0x8c9310) at /home/andris/development/sources/kde-trunk/kdelibs/kdeui/kernel/kapplication.cpp:311
#30 0x00007f15d5b4b5c7 in QCoreApplication::notifyInternal (this=0x7fff3fc6aca0, receiver=0x937310, event=0x8c9310)
    at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/kernel/qcoreapplication.cpp:732
#31 0x00007f15d5b4f2f9 in QCoreApplication::sendEvent (receiver=0x937310, event=0x8c9310) at ../../include/QtCore/../../../../../sources/kde-trunk/qt-copy/src/corelib/kernel/qcoreapplication.h:215
#32 0x00007f15d5b4c800 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x6a8c00)
    at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/kernel/qcoreapplication.cpp:1373
#33 0x00007f15d5b4c421 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/kernel/qcoreapplication.cpp:1266
#34 0x00007f15d5b84e19 in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../../../../sources/kde-trunk/qt-copy/src/corelib/kernel/qcoreapplication.h:220
#35 0x00007f15d5b83df8 in postEventSourceDispatch (s=0x6c6b00) at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:277
#36 0x00007f15d0268a93 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#37 0x00007f15d0269270 in ?? () from /usr/lib64/libglib-2.0.so.0
#38 0x00007f15d0269510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#39 0x00007f15d5b846c1 in QEventDispatcherGlib::processEvents (this=0x6a82e0, flags=...) at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:415
#40 0x00007f15d4aa639a in QGuiEventDispatcherGlib::processEvents (this=0x6a82e0, flags=...) at /home/andris/development/sources/kde-trunk/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:204
#41 0x00007f15d5b4912a in QEventLoop::processEvents (this=0x7fff3fc6ac10, flags=...) at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/kernel/qeventloop.cpp:149
#42 0x00007f15d5b4927e in QEventLoop::exec (this=0x7fff3fc6ac10, flags=...) at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/kernel/qeventloop.cpp:201
#43 0x00007f15d5b4bcba in QCoreApplication::exec () at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/kernel/qcoreapplication.cpp:1009
#44 0x00007f15d49cb372 in QApplication::exec () at /home/andris/development/sources/kde-trunk/qt-copy/src/gui/kernel/qapplication.cpp:3728
#45 0x00007f15d62eabe8 in Akonadi::ResourceBase::init (r=0x8141e0) at /home/kolab/development/sources/kde-trunk/kdepimlibs/akonadi/resourcebase.cpp:283
#46 0x000000000042816e in Akonadi::ResourceBase::init<ImapResource> (argc=3, argv=0x7fff3fc6adf8) at /opt/kde4/include/akonadi/resourcebase.h:188
#47 0x0000000000426cb7 in main (argc=3, argv=0x7fff3fc6adf8) at /home/kolab/development/sources/kde-trunk/kdepim/runtime/resources/imap/imapresource.cpp:579

Possible duplicates by query: bug 242698.

Reported using DrKonqi
Comment 1 Volker Krause 2010-12-30 13:48:08 UTC

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