Bug 256838 - Crash when migrating mails
Summary: Crash when migrating mails
Status: RESOLVED FIXED
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-11-13 20:13 UTC by András Manţia
Modified: 2011-09-17 16:38 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 András Manţia 2010-11-13 20:13:42 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 this crash (among others, already reported), when I was migrating my accounts from kdepim 4.4 to trunk (dimap accounts).

The crash can be reproduced some of the time.

-- Backtrace:
Application: Akonadi Resource (akonadi_imap_resource), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f9c5e940760 (LWP 989))]

Thread 4 (Thread 0x7f9c4b320710 (LWP 992)):
#0  0x00007f9c583e6f88 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f9c583e7e69 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f9c583e8510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f9c5dd036e4 in QEventDispatcherGlib::processEvents (this=0x751630, flags=...) at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:417
#4  0x00007f9c5dcc812a in QEventLoop::processEvents (this=0x7f9c4b31fda0, flags=...) at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/kernel/qeventloop.cpp:149
#5  0x00007f9c5dcc827e in QEventLoop::exec (this=0x7f9c4b31fda0, flags=...) at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/kernel/qeventloop.cpp:201
#6  0x00007f9c5dbaa852 in QThread::exec (this=0x849c90) at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/thread/qthread.cpp:490
#7  0x00007f9c5c369bb2 in KIMAP::SessionThread::run (this=0x849c90) at /home/kolab/development/sources/kde-trunk/kdepimlibs/kimap/sessionthread.cpp:166
#8  0x00007f9c5dbad098 in QThreadPrivate::start (arg=0x849c90) at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/thread/qthread_unix.cpp:285
#9  0x00007f9c5d8faa4f in start_thread () from /lib64/libpthread.so.0
#10 0x00007f9c593fe82d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f9c4ab1f710 (LWP 1273)):
#0  0x00007f9c5dd02b49 in timerSourcePrepare (source=0x7f9c583e7920, timeout=0x7f9c4ab1eb50) at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:157
#1  0x00007f9c583e6f7f in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f9c583e7e69 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f9c583e8510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f9c5dd036e4 in QEventDispatcherGlib::processEvents (this=0x8efc60, flags=...) at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:417
#5  0x00007f9c5dcc812a in QEventLoop::processEvents (this=0x7f9c4ab1eda0, flags=...) at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/kernel/qeventloop.cpp:149
#6  0x00007f9c5dcc827e in QEventLoop::exec (this=0x7f9c4ab1eda0, flags=...) at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/kernel/qeventloop.cpp:201
#7  0x00007f9c5dbaa852 in QThread::exec (this=0x732e10) at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/thread/qthread.cpp:490
#8  0x00007f9c5c369bb2 in KIMAP::SessionThread::run (this=0x732e10) at /home/kolab/development/sources/kde-trunk/kdepimlibs/kimap/sessionthread.cpp:166
#9  0x00007f9c5dbad098 in QThreadPrivate::start (arg=0x732e10) at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/thread/qthread_unix.cpp:285
#10 0x00007f9c5d8faa4f in start_thread () from /lib64/libpthread.so.0
#11 0x00007f9c593fe82d in clone () from /lib64/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f9c4847f710 (LWP 1275)):
#0  0x00007f9c5d8ff709 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f9c5dbae589 in QWaitConditionPrivate::wait (this=0x736be0, time=30000) at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/thread/qwaitcondition_unix.cpp:86
#2  0x00007f9c5dbae34d in QWaitCondition::wait (this=0x8fb648, mutex=0x8fb640, time=30000) at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/thread/qwaitcondition_unix.cpp:160
#3  0x00007f9c5db9e6fd in QThreadPoolThread::run (this=0x8e3820) at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/concurrent/qthreadpool.cpp:140
#4  0x00007f9c5dbad098 in QThreadPrivate::start (arg=0x8e3820) at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/thread/qthread_unix.cpp:285
#5  0x00007f9c5d8faa4f in start_thread () from /lib64/libpthread.so.0
#6  0x00007f9c593fe82d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f9c5e940760 (LWP 989)):
[KCrash Handler]
#6  0x00007f9c5db8a16a in QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::data (this=0x8)
    at ../../include/QtCore/../../../../../sources/kde-trunk/qt-copy/src/corelib/tools/qscopedpointer.h:135
#7  0x00007f9c5dc8aed9 in qGetPtrHelper<QScopedPointer<QObjectData> > (p=...) at ../../include/QtCore/../../../../../sources/kde-trunk/qt-copy/src/corelib/global/qglobal.h:2338
#8  0x00007f9c5dc8b048 in QSettings::d_func (this=0x0) at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/io/qsettings.h:83
#9  0x00007f9c5dc8a7b1 in QSettings::setValue (this=0x0, key=..., value=...) at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/io/qsettings.cpp:3221
#10 0x00007f9c5e3a982e in Akonadi::AgentBase::setOnline (this=0x74ab80, state=true) at /home/kolab/development/sources/kde-trunk/kdepimlibs/akonadi/agentbase.cpp:588
#11 0x0000000000424d1c in ImapResource::onConnectDone (this=0x74ab80, errorCode=0, errorString=...) at /home/kolab/development/sources/kde-trunk/kdepim/runtime/resources/imap/imapresource.cpp:221
#12 0x0000000000426fdb in ImapResource::qt_metacall (this=0x74ab80, _c=QMetaObject::InvokeMetaMethod, _id=14, _a=0x7fff3637c9c0)
    at /home/kolab/development/build/kde-trunk/kdepim/runtime/resources/imap/imapresource.moc:133
#13 0x00007f9c5dcd273b in QMetaObject::metacall (object=0x74ab80, cl=QMetaObject::InvokeMetaMethod, idx=62, argv=0x7fff3637c9c0)
    at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/kernel/qmetaobject.cpp:237
#14 0x00007f9c5dce75cb in QMetaObject::activate (sender=0x7f6fa0, m=0x47cd20, local_signal_index=4, argv=0x7fff3637c9c0)
    at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/kernel/qobject.cpp:3278
#15 0x00000000004617b0 in SessionPool::connectDone (this=0x7f6fa0, _t1=0, _t2=...) at /home/kolab/development/build/kde-trunk/kdepim/runtime/resources/imap/sessionpool.moc:146
#16 0x000000000045fbf3 in SessionPool::declareSessionReady (this=0x7f6fa0, session=0x732c80) at /home/kolab/development/sources/kde-trunk/kdepim/runtime/resources/imap/sessionpool.cpp:207
#17 0x0000000000461154 in SessionPool::onNamespacesTestDone (this=0x7f6fa0, job=0x8de8d0) at /home/kolab/development/sources/kde-trunk/kdepim/runtime/resources/imap/sessionpool.cpp:434
#18 0x0000000000461609 in SessionPool::qt_metacall (this=0x7f6fa0, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0x7fff3637cc70)
    at /home/kolab/development/build/kde-trunk/kdepim/runtime/resources/imap/sessionpool.moc:119
#19 0x00007f9c5dcd273b in QMetaObject::metacall (object=0x7f6fa0, cl=QMetaObject::InvokeMetaMethod, idx=16, argv=0x7fff3637cc70)
    at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/kernel/qmetaobject.cpp:237
#20 0x00007f9c5dce75cb in QMetaObject::activate (sender=0x8de8d0, m=0x7f9c5a33c880, local_signal_index=3, argv=0x7fff3637cc70)
    at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/kernel/qobject.cpp:3278
#21 0x00007f9c59f63e53 in KJob::result (this=0x8de8d0, _t1=0x8de8d0) at /home/andris/development/build/kde-trunk/kdelibs/kdecore/kjob.moc:194
#22 0x00007f9c59f632c1 in KJob::emitResult (this=0x8de8d0) at /home/andris/development/sources/kde-trunk/kdelibs/kdecore/jobs/kjob.cpp:312
#23 0x00007f9c5c34fb26 in KIMAP::Job::handleErrorReplies (this=0x8de8d0, response=...) at /home/kolab/development/sources/kde-trunk/kdepimlibs/kimap/job.cpp:86
#24 0x00007f9c5c36051b in KIMAP::NamespaceJob::handleResponse (this=0x8de8d0, response=...) at /home/kolab/development/sources/kde-trunk/kdepimlibs/kimap/namespacejob.cpp:128
#25 0x00007f9c5c3661b4 in KIMAP::SessionPrivate::responseReceived (this=0x75f070, response=...) at /home/kolab/development/sources/kde-trunk/kdepimlibs/kimap/session.cpp:262
#26 0x00007f9c5c367103 in KIMAP::Session::qt_metacall (this=0x732c80, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x743f70) at /home/kolab/development/build/kde-trunk/kdepimlibs/kimap/session.moc:106
#27 0x00007f9c5dcd273b in QMetaObject::metacall (object=0x732c80, cl=QMetaObject::InvokeMetaMethod, idx=9, argv=0x743f70)
    at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/kernel/qmetaobject.cpp:237
#28 0x00007f9c5dce1c0e in QMetaCallEvent::placeMetaCall (this=0x744810, object=0x732c80) at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/kernel/qobject.cpp:535
#29 0x00007f9c5dce2ee9 in QObject::event (this=0x732c80, e=0x744810) at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/kernel/qobject.cpp:1217
#30 0x00007f9c5cb4d1d6 in QApplicationPrivate::notify_helper (this=0x6c2f30, receiver=0x732c80, e=0x744810) at /home/andris/development/sources/kde-trunk/qt-copy/src/gui/kernel/qapplication.cpp:4454
#31 0x00007f9c5cb4a7fa in QApplication::notify (this=0x7fff3637dd80, receiver=0x732c80, e=0x744810) at /home/andris/development/sources/kde-trunk/qt-copy/src/gui/kernel/qapplication.cpp:3854
#32 0x00007f9c5aa9bee5 in KApplication::notify (this=0x7fff3637dd80, receiver=0x732c80, event=0x744810) at /home/andris/development/sources/kde-trunk/kdelibs/kdeui/kernel/kapplication.cpp:311
#33 0x00007f9c5dcca5c7 in QCoreApplication::notifyInternal (this=0x7fff3637dd80, receiver=0x732c80, event=0x744810)
    at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/kernel/qcoreapplication.cpp:732
#34 0x00007f9c5dcce2f9 in QCoreApplication::sendEvent (receiver=0x732c80, event=0x744810) at ../../include/QtCore/../../../../../sources/kde-trunk/qt-copy/src/corelib/kernel/qcoreapplication.h:215
#35 0x00007f9c5dccb800 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
#36 0x00007f9c5dccb421 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/kernel/qcoreapplication.cpp:1266
#37 0x00007f9c5dd03e19 in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../../../../sources/kde-trunk/qt-copy/src/corelib/kernel/qcoreapplication.h:220
#38 0x00007f9c5dd02df8 in postEventSourceDispatch (s=0x6c6b00) at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:277
#39 0x00007f9c583e7a93 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#40 0x00007f9c583e8270 in ?? () from /usr/lib64/libglib-2.0.so.0
#41 0x00007f9c583e8510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#42 0x00007f9c5dd036c1 in QEventDispatcherGlib::processEvents (this=0x6a82e0, flags=...) at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:415
#43 0x00007f9c5cc2539a in QGuiEventDispatcherGlib::processEvents (this=0x6a82e0, flags=...) at /home/andris/development/sources/kde-trunk/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:204
#44 0x00007f9c5dcc812a in QEventLoop::processEvents (this=0x7fff3637dcf0, flags=...) at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/kernel/qeventloop.cpp:149
#45 0x00007f9c5dcc827e in QEventLoop::exec (this=0x7fff3637dcf0, flags=...) at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/kernel/qeventloop.cpp:201
#46 0x00007f9c5dccacba in QCoreApplication::exec () at /home/andris/development/sources/kde-trunk/qt-copy/src/corelib/kernel/qcoreapplication.cpp:1009
#47 0x00007f9c5cb4a372 in QApplication::exec () at /home/andris/development/sources/kde-trunk/qt-copy/src/gui/kernel/qapplication.cpp:3728
#48 0x00007f9c5e469be8 in Akonadi::ResourceBase::init (r=0x74ab80) at /home/kolab/development/sources/kde-trunk/kdepimlibs/akonadi/resourcebase.cpp:283
#49 0x000000000042816e in Akonadi::ResourceBase::init<ImapResource> (argc=3, argv=0x7fff3637ded8) at /opt/kde4/include/akonadi/resourcebase.h:188
#50 0x0000000000426cb7 in main (argc=3, argv=0x7fff3637ded8) at /home/kolab/development/sources/kde-trunk/kdepim/runtime/resources/imap/imapresource.cpp:579

Reported using DrKonqi