Bug 240925 - IMAP resource crashed while syncing
Summary: IMAP resource crashed while syncing
Status: RESOLVED WORKSFORME
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: IMAP resource (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Kevin Ottens
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-06 19:27 UTC by Torgny Nyblom
Modified: 2011-09-17 16:26 UTC (History)
2 users (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 Torgny Nyblom 2010-06-06 19:27:59 UTC
Application: akonadi_imap_resource (0.1)
KDE Platform Version: 4.4.82 (KDE 4.4.82 (KDE 4.5 >= 20100601)) (Compiled from sources)
Qt Version: 4.7.0
Operating System: Linux 2.6.34-8-desktop x86_64
Distribution: "openSUSE 11.3 Milestone 7 (x86_64)"

-- Information about the crash:
during initial sync of collection. Rest of sync finished ok.

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

Thread 3 (Thread 0x7f04d9dc3710 (LWP 3172)):
#0  0x00007f04ef7d5d88 in QListData::size (this=0xdd8110) at ../../include/QtCore/../../../../../src/trunk/KDE/qt-copy/src/corelib/tools/qlist.h:94
#1  0x00007f04ef94f402 in QList<GPollFDWithQSocketNotifier*>::count (this=0xdd8110) at ../../include/QtCore/../../../../../src/trunk/KDE/qt-copy/src/corelib/tools/qlist.h:267
#2  0x00007f04ef94ddcb in socketNotifierSourceCheck (source=0xdd80b0) at /home/naga/kde/src/trunk/KDE/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:83
#3  0x00007f04ea11f718 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f04ea11fff2 in ?? () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f04ea120510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#6  0x00007f04ef94ebe2 in QEventDispatcherGlib::processEvents (this=0xd59a40, flags=...) at /home/naga/kde/src/trunk/KDE/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:414
#7  0x00007f04ef913736 in QEventLoop::processEvents (this=0x7f04d9dc2da0, flags=...) at /home/naga/kde/src/trunk/KDE/qt-copy/src/corelib/kernel/qeventloop.cpp:149
#8  0x00007f04ef91388a in QEventLoop::exec (this=0x7f04d9dc2da0, flags=...) at /home/naga/kde/src/trunk/KDE/qt-copy/src/corelib/kernel/qeventloop.cpp:201
#9  0x00007f04ef7f7492 in QThread::exec (this=0x18d7f60) at /home/naga/kde/src/trunk/KDE/qt-copy/src/corelib/thread/qthread.cpp:490
#10 0x00007f04edfc3f6f in KIMAP::SessionThread::run (this=0x18d7f60) at /home/kde-trunk/kde/src/KDE/kdepimlibs/kimap/sessionthread.cpp:167
#11 0x00007f04ef7f9c78 in QThreadPrivate::start (arg=0x18d7f60) at /home/naga/kde/src/trunk/KDE/qt-copy/src/corelib/thread/qthread_unix.cpp:266
#12 0x00007f04ef547a4f in start_thread (arg=0x7f04d9dc3710) at pthread_create.c:297
#13 0x00007f04eb13482d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f04dc057710 (LWP 3174)):
#0  0x00007f04ea11fddd in ?? () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f04ea120510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f04ef94ebe2 in QEventDispatcherGlib::processEvents (this=0x8c0570, flags=...) at /home/naga/kde/src/trunk/KDE/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:414
#3  0x00007f04ef913736 in QEventLoop::processEvents (this=0x7f04dc056da0, flags=...) at /home/naga/kde/src/trunk/KDE/qt-copy/src/corelib/kernel/qeventloop.cpp:149
#4  0x00007f04ef91388a in QEventLoop::exec (this=0x7f04dc056da0, flags=...) at /home/naga/kde/src/trunk/KDE/qt-copy/src/corelib/kernel/qeventloop.cpp:201
#5  0x00007f04ef7f7492 in QThread::exec (this=0xa92d70) at /home/naga/kde/src/trunk/KDE/qt-copy/src/corelib/thread/qthread.cpp:490
#6  0x00007f04edfc3f6f in KIMAP::SessionThread::run (this=0xa92d70) at /home/kde-trunk/kde/src/KDE/kdepimlibs/kimap/sessionthread.cpp:167
#7  0x00007f04ef7f9c78 in QThreadPrivate::start (arg=0xa92d70) at /home/naga/kde/src/trunk/KDE/qt-copy/src/corelib/thread/qthread_unix.cpp:266
#8  0x00007f04ef547a4f in start_thread (arg=0x7f04dc057710) at pthread_create.c:297
#9  0x00007f04eb13482d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f04f054d760 (LWP 3153)):
[KCrash Handler]
#6  0x00007f04eb0969e5 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f04eb097ee6 in abort () at abort.c:92
#8  0x00007f04ef7eeb54 in qt_message_output (msgType=QtFatalMsg, buf=0xa6c598 "ASSERT: \"d->mStreaming\" in file /home/kde-trunk/kde/src/KDE/kdepimlibs/akonadi/itemsync.cpp, line 417")
    at /home/naga/kde/src/trunk/KDE/qt-copy/src/corelib/global/qglobal.cpp:2271
#9  0x00007f04ef7eecd0 in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=0x7f04ef996518 "ASSERT: \"%s\" in file %s, line %d", ap=0x7fffb4ddaeb0)
    at /home/naga/kde/src/trunk/KDE/qt-copy/src/corelib/global/qglobal.cpp:2317
#10 0x00007f04ef7ef53e in qFatal (msg=0x7f04ef996518 "ASSERT: \"%s\" in file %s, line %d") at /home/naga/kde/src/trunk/KDE/qt-copy/src/corelib/global/qglobal.cpp:2500
#11 0x00007f04ef7ee707 in qt_assert (assertion=0x7f04f00eeab9 "d->mStreaming", file=0x7f04f00ee6b0 "/home/kde-trunk/kde/src/KDE/kdepimlibs/akonadi/itemsync.cpp", line=417)
    at /home/naga/kde/src/trunk/KDE/qt-copy/src/corelib/global/qglobal.cpp:2016
#12 0x00007f04f006953d in Akonadi::ItemSync::deliveryDone (this=0x87cb60) at /home/kde-trunk/kde/src/KDE/kdepimlibs/akonadi/itemsync.cpp:417
#13 0x00007f04f00897c3 in Akonadi::ResourceBase::itemsRetrievalDone (this=0x7c6360) at /home/kde-trunk/kde/src/KDE/kdepimlibs/akonadi/resourcebase.cpp:523
#14 0x000000000042e5e0 in ImapResource::onFlagsFetchDone (this=0x7c6360) at /home/kde-trunk/kde/src/KDE/kdepim/runtime/resources/imap/imapresource.cpp:937
#15 0x0000000000437144 in ImapResource::qt_metacall (this=0x7c6360, _c=QMetaObject::InvokeMetaMethod, _id=20, _a=0x7fffb4ddb1a0)
    at /home/kde-trunk/kde/build/KDE/kdepim/runtime/resources/imap/imapresource.moc:187
#16 0x00007f04ef91dd0b in QMetaObject::metacall (object=0x7c6360, cl=QMetaObject::InvokeMetaMethod, idx=59, argv=0x7fffb4ddb1a0)
    at /home/naga/kde/src/trunk/KDE/qt-copy/src/corelib/kernel/qmetaobject.cpp:237
#17 0x00007f04ef932ae9 in QMetaObject::activate (sender=0x167c570, m=0x7f04ec0484c0, local_signal_index=3, argv=0x7fffb4ddb1a0)
    at /home/naga/kde/src/trunk/KDE/qt-copy/src/corelib/kernel/qobject.cpp:3272
#18 0x00007f04ebc8977b in KJob::result (this=0x167c570, _t1=0x167c570) at /home/kde-trunk/kde/build/KDE/kdelibs/kdecore/kjob.moc:194
#19 0x00007f04ebc88be9 in KJob::emitResult (this=0x167c570) at /home/kde-trunk/kde/src/KDE/kdelibs/kdecore/jobs/kjob.cpp:312
#20 0x00007f04edfa9dda in KIMAP::Job::handleErrorReplies (this=0x167c570, response=...) at /home/kde-trunk/kde/src/KDE/kdepimlibs/kimap/job.cpp:86
#21 0x00007f04edfae0c4 in KIMAP::FetchJob::handleResponse (this=0x167c570, response=...) at /home/kde-trunk/kde/src/KDE/kdepimlibs/kimap/fetchjob.cpp:255
#22 0x00007f04edfc0a3b in KIMAP::SessionPrivate::responseReceived (this=0x336e5d0, response=...) at /home/kde-trunk/kde/src/KDE/kdepimlibs/kimap/session.cpp:238
#23 0x00007f04edfc16a8 in KIMAP::Session::qt_metacall (this=0x283e370, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0x708ee0) at /home/kde-trunk/kde/build/KDE/kdepimlibs/kimap/session.moc:103
#24 0x00007f04ef91dd0b in QMetaObject::metacall (object=0x283e370, cl=QMetaObject::InvokeMetaMethod, idx=8, argv=0x708ee0)
    at /home/naga/kde/src/trunk/KDE/qt-copy/src/corelib/kernel/qmetaobject.cpp:237
#25 0x00007f04ef92d186 in QMetaCallEvent::placeMetaCall (this=0x324d7a0, object=0x283e370) at /home/naga/kde/src/trunk/KDE/qt-copy/src/corelib/kernel/qobject.cpp:534
#26 0x00007f04ef92e407 in QObject::event (this=0x283e370, e=0x324d7a0) at /home/naga/kde/src/trunk/KDE/qt-copy/src/corelib/kernel/qobject.cpp:1211
#27 0x00007f04ee7b35c8 in QApplicationPrivate::notify_helper (this=0x69b530, receiver=0x283e370, e=0x324d7a0) at /home/naga/kde/src/trunk/KDE/qt-copy/src/gui/kernel/qapplication.cpp:4384
#28 0x00007f04ee7b0b9a in QApplication::notify (this=0x7fffb4ddc4b0, receiver=0x283e370, e=0x324d7a0) at /home/naga/kde/src/trunk/KDE/qt-copy/src/gui/kernel/qapplication.cpp:3788
#29 0x00007f04ec780b1f in KApplication::notify (this=0x7fffb4ddc4b0, receiver=0x283e370, event=0x324d7a0) at /home/kde-trunk/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:302
#30 0x00007f04ef915bd7 in QCoreApplication::notifyInternal (this=0x7fffb4ddc4b0, receiver=0x283e370, event=0x324d7a0)
    at /home/naga/kde/src/trunk/KDE/qt-copy/src/corelib/kernel/qcoreapplication.cpp:732
#31 0x00007f04ef9198f1 in QCoreApplication::sendEvent (receiver=0x283e370, event=0x324d7a0) at ../../include/QtCore/../../../../../src/trunk/KDE/qt-copy/src/corelib/kernel/qcoreapplication.h:215
#32 0x00007f04ef916e10 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x681c40) at /home/naga/kde/src/trunk/KDE/qt-copy/src/corelib/kernel/qcoreapplication.cpp:1373
#33 0x00007f04ef916a31 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /home/naga/kde/src/trunk/KDE/qt-copy/src/corelib/kernel/qcoreapplication.cpp:1266
#34 0x00007f04ef94f317 in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../../../../src/trunk/KDE/qt-copy/src/corelib/kernel/qcoreapplication.h:220
#35 0x00007f04ef94e318 in postEventSourceDispatch (s=0x69f110) at /home/naga/kde/src/trunk/KDE/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:276
#36 0x00007f04ea11fa93 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#37 0x00007f04ea120270 in ?? () from /usr/lib64/libglib-2.0.so.0
#38 0x00007f04ea120510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#39 0x00007f04ef94ebbf in QEventDispatcherGlib::processEvents (this=0x681320, flags=...) at /home/naga/kde/src/trunk/KDE/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:412
#40 0x00007f04ee888d66 in QGuiEventDispatcherGlib::processEvents (this=0x681320, flags=...) at /home/naga/kde/src/trunk/KDE/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:204
#41 0x00007f04ef913736 in QEventLoop::processEvents (this=0x7fffb4ddc420, flags=...) at /home/naga/kde/src/trunk/KDE/qt-copy/src/corelib/kernel/qeventloop.cpp:149
#42 0x00007f04ef91388a in QEventLoop::exec (this=0x7fffb4ddc420, flags=...) at /home/naga/kde/src/trunk/KDE/qt-copy/src/corelib/kernel/qeventloop.cpp:201
#43 0x00007f04ef9162ca in QCoreApplication::exec () at /home/naga/kde/src/trunk/KDE/qt-copy/src/corelib/kernel/qcoreapplication.cpp:1009
#44 0x00007f04ee7b0712 in QApplication::exec () at /home/naga/kde/src/trunk/KDE/qt-copy/src/gui/kernel/qapplication.cpp:3663
#45 0x00007f04f0087408 in Akonadi::ResourceBase::init (r=0x7c6360) at /home/kde-trunk/kde/src/KDE/kdepimlibs/akonadi/resourcebase.cpp:240
#46 0x000000000043c3f7 in Akonadi::ResourceBase::init<ImapResource> (argc=3, argv=0x7fffb4ddc608) at /home/naga/kde/inst/trunk/include/akonadi/resourcebase.h:186
#47 0x0000000000436c77 in main (argc=3, argv=0x7fffb4ddc608) at /home/kde-trunk/kde/src/KDE/kdepim/runtime/resources/imap/imapresource.cpp:1972

Reported using DrKonqi
Comment 1 Kevin Ottens 2011-09-17 16:26:05 UTC
Is it still happening for you with 4.7.x? I've been unable to reproduce that one, it just works for me.

In case you still experience this please feel free to reopen. In such a case, we would need much more information like the actual IMAP server used and so on.