Bug 257554

Summary: Akonadi IMAP resource crashed in background
Product: [Frameworks and Libraries] Akonadi Reporter: Alex Merry <alex.merry>
Component: IMAP resourceAssignee: Kevin Ottens <ervin>
Status: RESOLVED DUPLICATE    
Severity: crash CC: annma, kdepim-bugs, valir, vkrause
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Alex Merry 2010-11-21 22:46:12 UTC
Application: akonadi_imap_resource (0.1)
KDE Platform Version: 4.5.80 (4.6 Beta1) (Compiled from sources)
Qt Version: 4.7.1
Operating System: Linux 2.6.35-ARCH x86_64
Distribution (Platform): Archlinux Packages

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

I have KMail open, sitting in the background.  Several times over the last couple of hours, one of the IMAP resources has crashed.

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

Thread 4 (Thread 0x7fb11d2d6710 (LWP 27381)):
#0  0x00007fb12b4e49a0 in ?? () from /lib/libc.so.6
#1  0x00007fb12b4cf187 in poll () from /lib/libc.so.6
#2  0x00007fb12a4d3134 in ?? () from /usr/lib/libglib-2.0.so.0
#3  0x00007fb12a4d366d in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0x00007fb12f9aafa6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007fb12f97f252 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007fb12f97f49c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0x00007fb12f894d64 in QThread::exec() () from /usr/lib/libQtCore.so.4
#8  0x00007fb12e421b42 in KIMAP::SessionThread::run (this=0x21c6930) at /home/kde-devel/src/KDE/kdepimlibs/kimap/sessionthread.cpp:166
#9  0x00007fb12f89753e in ?? () from /usr/lib/libQtCore.so.4
#10 0x00007fb12f60ecb0 in start_thread () from /lib/libpthread.so.0
#11 0x00007fb12b4d79dd in clone () from /lib/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fb11cad5710 (LWP 27383)):
#0  0x00007fb12f613779 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fb12f897b92 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007fb12f88dc18 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007fb12f89753e in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007fb12f60ecb0 in start_thread () from /lib/libpthread.so.0
#5  0x00007fb12b4d79dd in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fb118601710 (LWP 27385)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007fb118600ae0 in ?? ()
#2  0x00007fffaa9ff6e2 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 1 (Thread 0x7fb13058c760 (LWP 5045)):
[KCrash Handler]
#6  0x00007fb12b43b595 in raise () from /lib/libc.so.6
#7  0x00007fb12b43ca16 in abort () from /lib/libc.so.6
#8  0x00007fb12f88f4ff in qt_message_output(QtMsgType, char const*) () from /usr/lib/libQtCore.so.4
#9  0x00007fb12f88f68d in ?? () from /usr/lib/libQtCore.so.4
#10 0x00007fb12f88f825 in qFatal(char const*, ...) () from /usr/lib/libQtCore.so.4
#11 0x0000000000445a78 in QList<long long>::first (this=0x20e2c88) at /usr/include/QtCore/qlist.h:269
#12 0x0000000000464a90 in QList<long long>::takeFirst (this=0x20e2c88) at /usr/include/QtCore/qlist.h:477
#13 0x000000000046136b in SessionPool::declareSessionReady (this=0x20e2c40, session=0x2461c10) at /home/kde-devel/src/KDE/kdepim/runtime/resources/imap/sessionpool.cpp:222
#14 0x0000000000463bf7 in SessionPool::onNamespacesTestDone (this=0x20e2c40, job=0x22123f0) at /home/kde-devel/src/KDE/kdepim/runtime/resources/imap/sessionpool.cpp:476
#15 0x0000000000464179 in SessionPool::qt_metacall (this=0x20e2c40, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0x7fffaa9f47f0) at /home/kde-devel/build/KDE/kdepim/runtime/resources/imap/sessionpool.moc:119
#16 0x00007fb12f99533f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#17 0x00007fb12c066fef in KJob::result (this=0x22123f0, _t1=0x22123f0) at /home/kde-devel/build/KDE/kdelibs/kdecore/kjob.moc:194
#18 0x00007fb12c06645d in KJob::emitResult (this=0x22123f0) at /home/kde-devel/src/KDE/kdelibs/kdecore/jobs/kjob.cpp:312
#19 0x00007fb12e407a96 in KIMAP::Job::handleErrorReplies (this=0x22123f0, response=...) at /home/kde-devel/src/KDE/kdepimlibs/kimap/job.cpp:86
#20 0x00007fb12e4184ab in KIMAP::NamespaceJob::handleResponse (this=0x22123f0, response=...) at /home/kde-devel/src/KDE/kdepimlibs/kimap/namespacejob.cpp:128
#21 0x00007fb12e41e144 in KIMAP::SessionPrivate::responseReceived (this=0x2133b30, response=...) at /home/kde-devel/src/KDE/kdepimlibs/kimap/session.cpp:262
#22 0x00007fb12e41f093 in KIMAP::Session::qt_metacall (this=0x2461c10, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x2486900) at /home/kde-devel/build/KDE/kdepimlibs/kimap/session.moc:106
#23 0x00007fb12f99419a in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#24 0x00007fb12eb2c2b4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#25 0x00007fb12eb30dca in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#26 0x00007fb12cb647cd in KApplication::notify (this=0x7fffaa9f5560, receiver=0x2461c10, event=0x23918f0) at /home/kde-devel/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:311
#27 0x00007fb12f97febc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#28 0x00007fb12f9836e5 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#29 0x00007fb12f9aadb3 in ?? () from /usr/lib/libQtCore.so.4
#30 0x00007fb12a4d2bf3 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#31 0x00007fb12a4d33d0 in ?? () from /usr/lib/libglib-2.0.so.0
#32 0x00007fb12a4d366d in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#33 0x00007fb12f9aaf4f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#34 0x00007fb12ebd123e in ?? () from /usr/lib/libQtGui.so.4
#35 0x00007fb12f97f252 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#36 0x00007fb12f97f49c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#37 0x00007fb12f98399b in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#38 0x00007fb13009f4a8 in Akonadi::ResourceBase::init (r=0x2095350) at /home/kde-devel/src/KDE/kdepimlibs/akonadi/resourcebase.cpp:283
#39 0x000000000042814e in Akonadi::ResourceBase::init<ImapResource> (argc=3, argv=0x7fffaa9f56b8) at /home/kde-devel/kde/include/akonadi/resourcebase.h:188
#40 0x0000000000426c97 in main (argc=3, argv=0x7fffaa9f56b8) at /home/kde-devel/src/KDE/kdepim/runtime/resources/imap/imapresource.cpp:579

Possible duplicates by query: bug 256838.

Reported using DrKonqi
Comment 1 Anne-Marie Mahfouf 2010-11-29 21:07:47 UTC
Confirmed running Kontact 4.4.7

Backtrace
Application: Akonadi Resource (akonadi_contacts_resource), signal: Aborted
[KCrash Handler]
#7  0xffffe430 in __kernel_vsyscall ()
#8  0xb54bb611 in raise () from /lib/i686/libc.so.6
#9  0xb54bcf62 in abort () from /lib/i686/libc.so.6
#10 0xb56f04cf in __gnu_cxx::__verbose_terminate_handler () from /usr/lib/libstdc++.so.6
#11 0xb56ede55 in ?? () from /usr/lib/libstdc++.so.6
#12 0xb56ede92 in std::terminate () from /usr/lib/libstdc++.so.6
#13 0xb56edf4b in __cxa_rethrow () from /usr/lib/libstdc++.so.6
#14 0xb7392785 in QEventLoop::exec (this=0xbfc0f12c, flags={i = 0}) at kernel/qeventloop.cpp:214
#15 0xb73958c3 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#16 0xb593046a in QApplication::exec () at kernel/qapplication.cpp:3673
#17 0xb76698c0 in Akonadi::ResourceBase::init (r=0x90c9a30) at /usr/local/trunk-src/kdepimlibs/akonadi/resourcebase.cpp:283
#18 0x0805588a in Akonadi::ResourceBase::init<ContactsResource> (argc=3, argv=0xbfc0f2c4) at /usr/local/trunk/include/akonadi/resourcebase.h:188
#19 0x08053e95 in main (argc=3, argv=0xbfc0f2c4) at /usr/local/trunk-src/kdepim/runtime/resources/contacts/contactsresource.cpp:518

Not sure how to trigger it though.
Comment 2 Valentin Rusu 2010-11-30 14:12:05 UTC
Created attachment 53887 [details]
New crash information added by DrKonqi

akonadi_imap_resource (0.1) on KDE Platform 4.5.80 (4.6 Beta1) using Qt 4.7.1

- What I was doing when the application crashed:
I just restarted my computer after updating my OpenSuSE 11.4 M3 box to latest packages.
Then I started Kontact wichi triggered the import wizard. 
The crash occured just before the wizard finished it's work. No error reported by the wizard, though.

-- Backtrace (Reduced):
#7  0x0809e837 in takeFirst (this=0x8151ad8, session=0x817d870) at /usr/include/QtCore/qlist.h:477
#8  SessionPool::declareSessionReady (this=0x8151ad8, session=0x817d870) at /usr/src/debug/kdepim-runtime-4.5.80/resources/imap/sessionpool.cpp:210
#9  0x0809ea92 in SessionPool::onNamespacesTestDone (this=0x8151ad8, job=0x81a2550) at /usr/src/debug/kdepim-runtime-4.5.80/resources/imap/sessionpool.cpp:434
#10 0x0809f711 in SessionPool::qt_metacall (this=0x8151ad8, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbfd7c2c8) at /usr/src/debug/kdepim-runtime-4.5.80/build/resources/imap/sessionpool.moc:119
[...]
[...]
#13 0xb5c94635 in KJob::result (this=0x822cd20, _t1=0x822cd20) at /usr/src/debug/kdelibs-4.5.80/build/kdecore/kjob.moc:194
Comment 3 Volker Krause 2010-12-30 13:52:49 UTC

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