Bug 250163

Summary: KMail Migration Tool crashes at the end of it's work
Product: [Frameworks and Libraries] Akonadi Reporter: Schwann <harry.w>
Component: IMAP resourceAssignee: Kevin Ottens <ervin>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kdepim-bugs, vkrause
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Schwann 2010-09-04 14:10:18 UTC
Application: akonadi_imap_resource (0.1)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.6.3
Operating System: Linux 2.6.34-12-desktop x86_64
Distribution: "openSUSE 11.3 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
I started Kontact. The Migration Tools kame up, made it's job. And at the end it crashed.
Then I started KMail. The Migratrion Tool came up again - did some of the migration again. And at the end crashed.

KDEPim is installed from OpenSUSE packages http://download.opensuse.org/repositories/KDE:/Unstable:/SC:/kdepim45/KDE_Distro_Factory_openSUSE_11.3/

The crash can be reproduced every time.

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

Thread 5 (Thread 0x7f2a40ccd710 (LWP 20215)):
#0  0x00007f2a502486b3 in poll () from /lib64/libc.so.6
#1  0x00007f2a4ebbafd4 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f2a4ebbb510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f2a53a8f6d6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#4  0x00007f2a53a66292 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007f2a53a66495 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007f2a5397d2cf in QThread::exec() () from /usr/lib64/libQtCore.so.4
#7  0x00007f2a52743ed1 in KIMAP::SessionThread::run (this=0x8bf210) at /usr/src/debug/kdepimlibs-4.5.1/kimap/sessionthread.cpp:163
#8  0x00007f2a5397fbf5 in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00007f2a4fb12a4f in start_thread () from /lib64/libpthread.so.0
#10 0x00007f2a5025182d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f2a416e5710 (LWP 20218)):
#0  0x00007f2a5025ea20 in pthread_mutex_unlock () from /lib64/libc.so.6
#1  0x00007f2a4ebb9f72 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f2a4ebbae69 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f2a4ebbb510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f2a53a8f6d6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007f2a53a66292 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007f2a53a66495 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#7  0x00007f2a5397d2cf in QThread::exec() () from /usr/lib64/libQtCore.so.4
#8  0x00007f2a52743ed1 in KIMAP::SessionThread::run (this=0x892600) at /usr/src/debug/kdepimlibs-4.5.1/kimap/sessionthread.cpp:163
#9  0x00007f2a5397fbf5 in ?? () from /usr/lib64/libQtCore.so.4
#10 0x00007f2a4fb12a4f in start_thread () from /lib64/libpthread.so.0
#11 0x00007f2a5025182d in clone () from /lib64/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f2a3bfff710 (LWP 20219)):
#0  0x00007f2a53a8f185 in ?? () from /usr/lib64/libQtCore.so.4
#1  0x00007f2a4ebb9f7f in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f2a4ebbae69 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f2a4ebbb510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f2a53a8f6d6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007f2a53a66292 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007f2a53a66495 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#7  0x00007f2a5397d2cf in QThread::exec() () from /usr/lib64/libQtCore.so.4
#8  0x00007f2a52743ed1 in KIMAP::SessionThread::run (this=0x8224b0) at /usr/src/debug/kdepimlibs-4.5.1/kimap/sessionthread.cpp:163
#9  0x00007f2a5397fbf5 in ?? () from /usr/lib64/libQtCore.so.4
#10 0x00007f2a4fb12a4f in start_thread () from /lib64/libpthread.so.0
#11 0x00007f2a5025182d in clone () from /lib64/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f2a41ee6710 (LWP 20220)):
#0  0x00007f2a502486b3 in poll () from /lib64/libc.so.6
#1  0x00007f2a4ebbafd4 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f2a4ebbb510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f2a53a8f6d6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#4  0x00007f2a53a66292 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007f2a53a66495 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007f2a5397d2cf in QThread::exec() () from /usr/lib64/libQtCore.so.4
#7  0x00007f2a52743ed1 in KIMAP::SessionThread::run (this=0x8ad920) at /usr/src/debug/kdepimlibs-4.5.1/kimap/sessionthread.cpp:163
#8  0x00007f2a5397fbf5 in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00007f2a4fb12a4f in start_thread () from /lib64/libpthread.so.0
#10 0x00007f2a5025182d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f2a545b6760 (LWP 20207)):
[KCrash Handler]
#6  0x00007f2a50200cf8 in _wordcopy_fwd_aligned () from /lib64/libc.so.6
#7  0x00007f2a501fee82 in memmove () from /lib64/libc.so.6
#8  0x00007f2a5399d1bd in QListData::remove(int) () from /usr/lib64/libQtCore.so.4
#9  0x00007f2a5399d48b in QListData::erase(void**) () from /usr/lib64/libQtCore.so.4
#10 0x0000000000449101 in erase (this=0x7d08b0, session=0xa9cfd0) at /usr/include/QtCore/qlist.h:436
#11 removeFirst (this=0x7d08b0, session=0xa9cfd0) at /usr/include/QtCore/qlist.h:267
#12 takeFirst (this=0x7d08b0, session=0xa9cfd0) at /usr/include/QtCore/qlist.h:460
#13 SessionPool::declareSessionReady (this=0x7d08b0, session=0xa9cfd0) at /usr/src/debug/kdepim-runtime-4.4.92/resources/imap/sessionpool.cpp:186
#14 0x000000000044a953 in SessionPool::onLoginDone (this=0x7d08b0, job=0x8ae560) at /usr/src/debug/kdepim-runtime-4.4.92/resources/imap/sessionpool.cpp:307
#15 0x000000000044abcf in SessionPool::qt_metacall (this=0x7d08b0, _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0x7fffd54278e0)
    at /usr/src/debug/kdepim-runtime-4.4.92/build/resources/imap/sessionpool.moc:117
#16 0x00007f2a53a7aa1f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#17 0x00007f2a50ab98b2 in KJob::result(KJob*) () from /usr/lib64/libkdecore.so.5
#18 0x00007f2a50ab98f0 in KJob::emitResult() () from /usr/lib64/libkdecore.so.5
#19 0x00007f2a5273a5b7 in KIMAP::LoginJob::handleResponse (this=0x8ae560, response=...) at /usr/src/debug/kdepimlibs-4.5.1/kimap/loginjob.cpp:324
#20 0x00007f2a52741cbc in KIMAP::SessionPrivate::responseReceived (this=0x8ae0c0, response=...) at /usr/src/debug/kdepimlibs-4.5.1/kimap/session.cpp:253
#21 0x00007f2a52743082 in KIMAP::Session::qt_metacall (this=0xa9cfd0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x826f20)
    at /usr/src/debug/kdepimlibs-4.5.1/build/kimap/session.moc:106
#22 0x00007f2a53a78509 in QObject::event(QEvent*) () from /usr/lib64/libQtCore.so.4
#23 0x00007f2a52e584d4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#24 0x00007f2a52e60aca in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#25 0x00007f2a5100f1e6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#26 0x00007f2a53a66e4c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#27 0x00007f2a53a6a5ba in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQtCore.so.4
#28 0x00007f2a53a8f173 in ?? () from /usr/lib64/libQtCore.so.4
#29 0x00007f2a4ebbaa93 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#30 0x00007f2a4ebbb270 in ?? () from /usr/lib64/libglib-2.0.so.0
#31 0x00007f2a4ebbb510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#32 0x00007f2a53a8f67f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#33 0x00007f2a52ef914e in ?? () from /usr/lib64/libQtGui.so.4
#34 0x00007f2a53a66292 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#35 0x00007f2a53a66495 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#36 0x00007f2a53a6a88b in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#37 0x00007f2a5411ce42 in Akonadi::ResourceBase::init (r=0x7d4780) at /usr/src/debug/kdepimlibs-4.5.1/akonadi/resourcebase.cpp:245
#38 0x000000000041b368 in init<ImapResource> (argc=<value optimized out>, argv=<value optimized out>) at /usr/include/akonadi/resourcebase.h:186
#39 main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdepim-runtime-4.4.92/resources/imap/imapresource.cpp:2068

Reported using DrKonqi
Comment 1 Volker Krause 2010-12-30 13:47:28 UTC

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