Bug 306368

Summary: KMail crashes when loading IMAP mails
Product: [Frameworks and Libraries] Akonadi Reporter: David Kejzlar <kejly>
Component: IMAP resourceAssignee: Kevin Ottens <ervin>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kdepim-bugs, vkrause
Priority: NOR    
Version: 4.7   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description David Kejzlar 2012-09-06 20:09:19 UTC
Application: akonadi_imap_resource (4.7)
KDE Platform Version: 4.7.2 (4.7.2) "release 5"
Qt Version: 4.7.4
Operating System: Linux 3.1.10-1.16-desktop x86_64
Distribution: "openSUSE 12.1 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed: Just defined new account, logged in  and waited to load the mails (which doesn't happened, just headers was displayed).

The crash can be reproduced every time.

-- Backtrace:
Application: david.kejzlar@centrum.cz of type IMAP E-Mail Server (akonadi_imap_resource), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fdad691d760 (LWP 8155))]

Thread 3 (Thread 0x7fdac5ca5700 (LWP 8157)):
#0  0x00007fff6d4f78de in ?? ()
#1  0x00007fdad0ff8d9a in clock_gettime () from /lib64/librt.so.1
#2  0x00007fdad5d2a114 in do_gettime (frac=0x7fdac5ca4b88, sec=0x7fdac5ca4b80) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007fdad5debd2d in QTimerInfoList::updateCurrentTime (this=0x7fdac00020d0) at kernel/qeventdispatcher_unix.cpp:339
#5  0x00007fdad5dec063 in QTimerInfoList::timerWait (this=0x7fdac00020d0, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#6  0x00007fdad5deaacc in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7fdac5ca4c6c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007fdad5deab75 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007fdad0d43b72 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#9  0x00007fdad0d4497d in ?? () from /usr/lib64/libglib-2.0.so.0
#10 0x00007fdad0d44fa9 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#11 0x00007fdad5deb586 in QEventDispatcherGlib::processEvents (this=0x7fdac00008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#12 0x00007fdad5dbfa32 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007fdad5dbfc2f in QEventLoop::exec (this=0x7fdac5ca4e00, flags=...) at kernel/qeventloop.cpp:201
#14 0x00007fdad5cd75df in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#15 0x00007fdad4a43b93 in KIMAP::SessionThread::run (this=0x897b60) at /usr/src/debug/kdepimlibs-4.7.2/kimap/sessionthread.cpp:169
#16 0x00007fdad5cda025 in QThreadPrivate::start (arg=0x897b60) at thread/qthread_unix.cpp:331
#17 0x00007fdad1caff05 in start_thread () from /lib64/libpthread.so.0
#18 0x00007fdad23fc10d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fdabe61c700 (LWP 8159)):
#0  0x00007fff6d4f78de in ?? ()
#1  0x00007fdad0ff8d9a in clock_gettime () from /lib64/librt.so.1
#2  0x00007fdad5d2a114 in do_gettime (frac=0x7fdabe61bb88, sec=0x7fdabe61bb80) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007fdad5debd2d in QTimerInfoList::updateCurrentTime (this=0x7fdab40020d0) at kernel/qeventdispatcher_unix.cpp:339
#5  0x00007fdad5dec063 in QTimerInfoList::timerWait (this=0x7fdab40020d0, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#6  0x00007fdad5deaacc in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7fdabe61bc6c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007fdad5deab75 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007fdad0d43b72 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#9  0x00007fdad0d4497d in ?? () from /usr/lib64/libglib-2.0.so.0
#10 0x00007fdad0d44fa9 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#11 0x00007fdad5deb586 in QEventDispatcherGlib::processEvents (this=0x7fdab40008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#12 0x00007fdad5dbfa32 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007fdad5dbfc2f in QEventLoop::exec (this=0x7fdabe61be00, flags=...) at kernel/qeventloop.cpp:201
#14 0x00007fdad5cd75df in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#15 0x00007fdad4a43b93 in KIMAP::SessionThread::run (this=0x8d8410) at /usr/src/debug/kdepimlibs-4.7.2/kimap/sessionthread.cpp:169
#16 0x00007fdad5cda025 in QThreadPrivate::start (arg=0x8d8410) at thread/qthread_unix.cpp:331
#17 0x00007fdad1caff05 in start_thread () from /lib64/libpthread.so.0
#18 0x00007fdad23fc10d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fdad691d760 (LWP 8155)):
[KCrash Handler]
#6  QByteArray (a=..., this=0x8227b0) at /usr/include/QtCore/qbytearray.h:421
#7  QMap<QByteArray, QMap<QByteArray, QPair<long long, long long> > >::node_create (this=<optimized out>, adt=0x864710, aupdate=0x7fff6d414c80, akey=..., avalue=...) at /usr/include/QtCore/qmap.h:453
#8  0x00007fdad4a6a7ef in QMap<QByteArray, QMap<QByteArray, QPair<long long, long long> > >::operator[] (this=0x84f420, akey=...) at /usr/include/QtCore/qmap.h:531
#9  0x00007fdad4a5d546 in KIMAP::GetQuotaRootJob::handleResponse (this=<optimized out>, response=...) at /usr/src/debug/kdepimlibs-4.7.2/kimap/getquotarootjob.cpp:79
#10 0x00007fdad4a60d85 in KIMAP::SessionPrivate::responseReceived (this=0x895c60, response=...) at /usr/src/debug/kdepimlibs-4.7.2/kimap/session.cpp:271
#11 0x00007fdad4a61862 in KIMAP::Session::qt_metacall (this=0x90adf0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fdab4025910) at /usr/src/debug/kdepimlibs-4.7.2/build/kimap/session.moc:113
#12 0x00007fdad5dd715a in QObject::event (this=0x90adf0, e=<optimized out>) at kernel/qobject.cpp:1226
#13 0x00007fdad518fc34 in notify_helper (e=0x7fdab400bce0, receiver=0x90adf0, this=0x6a9f10) at kernel/qapplication.cpp:4481
#14 QApplicationPrivate::notify_helper (this=0x6a9f10, receiver=0x90adf0, e=0x7fdab400bce0) at kernel/qapplication.cpp:4453
#15 0x00007fdad5194ac1 in QApplication::notify (this=0x7fff6d415910, receiver=0x90adf0, e=0x7fdab400bce0) at kernel/qapplication.cpp:4360
#16 0x00007fdad32f0e36 in KApplication::notify (this=0x7fff6d415910, receiver=0x90adf0, event=0x7fdab400bce0) at /usr/src/debug/kdelibs-4.7.2/kdeui/kernel/kapplication.cpp:311
#17 0x00007fdad5dc082c in QCoreApplication::notifyInternal (this=0x7fff6d415910, receiver=0x90adf0, event=0x7fdab400bce0) at kernel/qcoreapplication.cpp:787
#18 0x00007fdad5dc3c08 in sendEvent (event=0x7fdab400bce0, receiver=0x90adf0) at kernel/qcoreapplication.h:215
#19 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x686d50) at kernel/qcoreapplication.cpp:1428
#20 0x00007fdad5deb0c3 in sendPostedEvents () at kernel/qcoreapplication.h:220
#21 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#22 0x00007fdad0d445dd in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#23 0x00007fdad0d44dd8 in ?? () from /usr/lib64/libglib-2.0.so.0
#24 0x00007fdad0d44fa9 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#25 0x00007fdad5deb51f in QEventDispatcherGlib::processEvents (this=0x686560, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#26 0x00007fdad5232f9e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#27 0x00007fdad5dbfa32 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#28 0x00007fdad5dbfc2f in QEventLoop::exec (this=0x7fff6d415890, flags=...) at kernel/qeventloop.cpp:201
#29 0x00007fdad5dc3df7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#30 0x00007fdad63f6a27 in Akonadi::ResourceBase::init (r=0x7b0180) at /usr/src/debug/kdepimlibs-4.7.2/akonadi/resourcebase.cpp:393
#31 0x000000000041bc36 in int Akonadi::ResourceBase::init<ImapResource>(int, char**) ()
#32 0x00007fdad234223d in __libc_start_main () from /lib64/libc.so.6
#33 0x0000000000416725 in _start ()

Possible duplicates by query: bug 296543, bug 287784.

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2012-09-07 00:21:15 UTC

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