Bug 293590 - crash when syning newly added new imap account
Summary: crash when syning newly added new imap account
Status: RESOLVED FIXED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: IMAP resource (show other bugs)
Version: 4.8
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Kevin Ottens
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-08 00:28 UTC by simon
Modified: 2012-02-08 13:45 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.8.1


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description simon 2012-02-08 00:28:10 UTC
Application: akonadi_imap_resource (4.8)
KDE Platform Version: 4.8.00 (4.8.0 (Compiled from sources)
Qt Version: 4.7.4
Operating System: Linux 3.2.1-gentoo-r1 x86_64
Distribution (Platform): Gentoo Packages

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

during sync the syncer crashed on a fresh added emial account, kdepim-runtime from 23-01-2012

-- Backtrace:
Application: IMAP-Konto 1 vom Typ IMAP-E-Mail-Server (akonadi_imap_resource), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f9144a54760 (LWP 31119))]

Thread 3 (Thread 0x7f913303d710 (LWP 31221)):
#0  0x00007fff95bff6f6 in ?? ()
#1  0x00007f913f602429 in clock_gettime () from /lib64/librt.so.1
#2  0x00007f9143deca04 in qt_gettime() () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007f9143eb589d in QTimerInfoList::updateCurrentTime() () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007f9143eb58c5 in QTimerInfoList::timerWait(timeval&) () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00007f9143eb3aad in timerSourcePrepareHelper(GTimerSource*, int*) () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007f9143eb3b4d in timerSourcePrepare(_GSource*, int*) () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007f913f32be3d in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#8  0x00007f913f32c231 in g_main_context_iterate () from /usr/lib64/libglib-2.0.so.0
#9  0x00007f913f32c7a2 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#10 0x00007f9143eb38c6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#11 0x00007f9143e86d12 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#12 0x00007f9143e870fd in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#13 0x00007f9143d9645d in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4
#14 0x00007f9142af656c in KIMAP::SessionThread::run (this=0x728b00) at /var/tmp/portage/kde-base/kdepimlibs-9999/work/kdepimlibs-9999/kimap/sessionthread.cpp:178
#15 0x00007f9143d99405 in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4
#16 0x00007f913f0cf4e7 in start_thread () from /lib64/libpthread.so.0
#17 0x00007f91403be28d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f913236f710 (LWP 31229)):
#0  0x00007fff95bff6f6 in ?? ()
#1  0x00007f913f602429 in clock_gettime () from /lib64/librt.so.1
#2  0x00007f9143deca04 in qt_gettime() () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007f9143eb589d in QTimerInfoList::updateCurrentTime() () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007f9143eb58c5 in QTimerInfoList::timerWait(timeval&) () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00007f9143eb3aad in timerSourcePrepareHelper(GTimerSource*, int*) () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007f9143eb3b4d in timerSourcePrepare(_GSource*, int*) () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007f913f32be3d in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#8  0x00007f913f32c231 in g_main_context_iterate () from /usr/lib64/libglib-2.0.so.0
#9  0x00007f913f32c7a2 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#10 0x00007f9143eb38c6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#11 0x00007f9143e86d12 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#12 0x00007f9143e870fd in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#13 0x00007f9143d9645d in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4
#14 0x00007f9142af656c in KIMAP::SessionThread::run (this=0xe449a0) at /var/tmp/portage/kde-base/kdepimlibs-9999/work/kdepimlibs-9999/kimap/sessionthread.cpp:178
#15 0x00007f9143d99405 in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4
#16 0x00007f913f0cf4e7 in start_thread () from /lib64/libpthread.so.0
#17 0x00007f91403be28d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f9144a54760 (LWP 31119)):
[KCrash Handler]
#6  Akonadi::ItemSync::setFullSyncItems (this=0x0, items=...) at /var/tmp/portage/kde-base/kdepimlibs-9999/work/kdepimlibs-9999/akonadi/itemsync.cpp:144
#7  0x000000000045878c in RetrieveItemsTask::onHeadersReceived(QString const&, QMap<long long, long long> const&, QMap<long long, long long> const&, QMap<long long, QList<QByteArray> > const&, QMap<long long, boost::shared_ptr<KMime::Message> > const&) ()
#8  0x00000000004589d8 in RetrieveItemsTask::qt_metacall(QMetaObject::Call, int, void**) ()
#9  0x00007f9143e9f8df in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#10 0x00007f9142ae2576 in KIMAP::FetchJob::headersReceived (this=0x0, _t1=<value optimized out>, _t2=<value optimized out>, _t3=<value optimized out>, _t4=..., _t5=...) at /var/tmp/portage/kde-base/kdepimlibs-9999/work/kdepimlibs-9999_build/kimap/fetchjob.moc:101
#11 0x00007f9142ae688f in KIMAP::FetchJobPrivate::emitPendings (this=0xf1ba90) at /var/tmp/portage/kde-base/kdepimlibs-9999/work/kdepimlibs-9999/kimap/fetchjob.cpp:57
#12 0x00007f9142ae25e2 in KIMAP::FetchJob::qt_metacall (this=0x926b90, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7fff95ae3750) at /var/tmp/portage/kde-base/kdepimlibs-9999/work/kdepimlibs-9999_build/kimap/fetchjob.moc:89
#13 0x00007f9143e9f8df in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#14 0x00007f9143e99841 in QObject::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#15 0x00007f9143233b8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#16 0x00007f9143238f2d in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#17 0x00007f91412c4f61 in KApplication::notify (this=0x7fff95ae4220, receiver=0xf1bae0, event=0x7fff95ae3ec0) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kdeui/kernel/kapplication.cpp:311
#18 0x00007f9143e87f8b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#19 0x00007f9143eb68ba in QTimerInfoList::activateTimers() () from /usr/lib64/qt4/libQtCore.so.4
#20 0x00007f9143eb3b98 in idleTimerSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/qt4/libQtCore.so.4
#21 0x00007f913f3288fb in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#22 0x00007f913f32c6a0 in g_main_context_iterate () from /usr/lib64/libglib-2.0.so.0
#23 0x00007f913f32c7a2 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#24 0x00007f9143eb3873 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#25 0x00007f91432e478e in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtGui.so.4
#26 0x00007f9143e86d12 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#27 0x00007f9143e870fd in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#28 0x00007f9143e8b0f3 in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#29 0x00007f9144580723 in Akonadi::ResourceBase::init (r=0x83dc30) at /var/tmp/portage/kde-base/kdepimlibs-9999/work/kdepimlibs-9999/akonadi/resourcebase.cpp:408
#30 0x000000000041b5b8 in main ()

This bug may be a duplicate of or related to bug 293327.

Possible duplicates by query: bug 293327, bug 292408, bug 292364, bug 292338, bug 291902.

Reported using DrKonqi
Comment 1 Allen Winter 2012-02-08 13:45:34 UTC
I committed a fix for this a few days ago.  The fix will be included in KDE 4.8.1 and above.