Bug 252682 - Akonadi IMAP resource crash
Summary: Akonadi IMAP resource crash
Status: RESOLVED WORKSFORME
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: IMAP resource (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Kevin Ottens
URL:
Keywords:
: 229389 270563 270932 271639 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-09-28 20:30 UTC by Joachim Mairböck
Modified: 2011-10-11 13:58 UTC (History)
9 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (6.94 KB, text/plain)
2010-11-13 20:10 UTC, András Manţia
Details
New crash information added by DrKonqi (6.19 KB, text/plain)
2011-05-30 22:42 UTC, Clara Gnos
Details
New crash information added by DrKonqi (5.90 KB, text/plain)
2011-10-11 13:58 UTC, janow49420
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joachim Mairböck 2010-09-28 20:30:22 UTC
Application: akonadi_imap_resource (0.1)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.34.7-0.3-pae i686
Distribution: "openSUSE 11.3 (i586)"

-- Information about the crash:
- What I was doing when the application crashed:
I wanted to prepare myself for the Akonadi switch and created two IMAP resources for my mail accounts yesterday, one for GMail and one for the university account (based on Microsoft Exchange). The university one does currently not seem to work though.
Today, one of them crashed, considering the higher memory usage, I assume it was the GMail one. The resources are currently not actively used.

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

Thread 3 (Thread 0xaf3ffb70 (LWP 15774)):
#0  0xb58e022b in clock_gettime () from /lib/librt.so.1
#1  0xb743f004 in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#3  0xb7512816 in updateCurrentTime (this=0x831cfa4, tm=...) at kernel/qeventdispatcher_unix.cpp:339
#4  QTimerInfoList::timerWait (this=0x831cfa4, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0xb751105b in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xaf3ff13c) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb75110fd in timerSourcePrepare (source=0x831cf70, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0xb58340c0 in IA__g_main_context_prepare (context=0x85d8940, priority=0xaf3ff1ac) at gmain.c:2280
#8  0xb5834f22 in g_main_context_iterate (context=0x85d8940, block=1, dispatch=1, self=0x8256100) at gmain.c:2571
#9  0xb583560e in IA__g_main_context_iteration (context=0x85d8940, may_block=1) at gmain.c:2654
#10 0xb75118a7 in QEventDispatcherGlib::processEvents (this=0x822dd48, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#11 0xb74e240d in QEventLoop::processEvents (this=0xaf3ff2d0, flags=...) at kernel/qeventloop.cpp:149
#12 0xb74e2639 in QEventLoop::exec (this=0xaf3ff2d0, flags=...) at kernel/qeventloop.cpp:201
#13 0xb73e1689 in QThread::exec (this=0x82d3f30) at thread/qthread.cpp:490
#14 0xb675cfa8 in KIMAP::SessionThread::run (this=0x82d3f30) at /usr/src/debug/kdepimlibs-4.5.1/kimap/sessionthread.cpp:163
#15 0xb73e427a in QThreadPrivate::start (arg=0x82d3f30) at thread/qthread_unix.cpp:266
#16 0xb5994b25 in start_thread () from /lib/libpthread.so.0
#17 0xb5ad646e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xb1853b70 (LWP 15776)):
#0  0xb5ae4430 in pthread_mutex_lock () from /lib/libc.so.6
#1  0xb58349a3 in IA__g_main_context_dispatch (context=0x8256d20) at gmain.c:2509
#2  0xb5835350 in g_main_context_iterate (context=0x8256d20, block=1, dispatch=1, self=0x81f55e8) at gmain.c:2591
#3  0xb583560e in IA__g_main_context_iteration (context=0x8256d20, may_block=1) at gmain.c:2654
#4  0xb75118a7 in QEventDispatcherGlib::processEvents (this=0x8305900, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#5  0xb74e240d in QEventLoop::processEvents (this=0xb18532d0, flags=...) at kernel/qeventloop.cpp:149
#6  0xb74e2639 in QEventLoop::exec (this=0xb18532d0, flags=...) at kernel/qeventloop.cpp:201
#7  0xb73e1689 in QThread::exec (this=0x8210a48) at thread/qthread.cpp:490
#8  0xb675cfa8 in KIMAP::SessionThread::run (this=0x8210a48) at /usr/src/debug/kdepimlibs-4.5.1/kimap/sessionthread.cpp:163
#9  0xb73e427a in QThreadPrivate::start (arg=0x8210a48) at thread/qthread_unix.cpp:266
#10 0xb5994b25 in start_thread () from /lib/libpthread.so.0
#11 0xb5ad646e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb49c7710 (LWP 2972)):
[KCrash Handler]
#7  KJob::isAutoDelete (this=0x85d8708) at /usr/src/debug/kdelibs-4.5.1/kdecore/jobs/kjob.cpp:353
#8  0xb5d16950 in KJob::emitResult (this=0x85d8708) at /usr/src/debug/kdelibs-4.5.1/kdecore/jobs/kjob.cpp:314
#9  0xb6775b74 in KIMAP::Job::handleErrorReplies (this=0x85d8708, response=...) at /usr/src/debug/kdepimlibs-4.5.1/kimap/job.cpp:86
#10 0xb677b1c5 in KIMAP::SelectJob::handleResponse (this=0x85d8708, response=...) at /usr/src/debug/kdepimlibs-4.5.1/kimap/selectjob.cpp:145
#11 0xb677ba03 in KIMAP::SessionPrivate::responseReceived (this=0x82d1490, response=...) at /usr/src/debug/kdepimlibs-4.5.1/kimap/session.cpp:253
#12 0xb677c576 in KIMAP::Session::qt_metacall (this=0x82b7a20, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x8256340)
    at /usr/src/debug/kdepimlibs-4.5.1/build/kimap/session.moc:106
#13 0xb74e996d in QMetaObject::metacall (object=0x82b7a20, cl=QMetaObject::InvokeMetaMethod, idx=9, argv=0x8256340) at kernel/qmetaobject.cpp:237
#14 0xb74f4465 in QMetaCallEvent::placeMetaCall (this=0x81f5f00, object=0x82b7a20) at kernel/qobject.cpp:534
#15 0xb74f869f in QObject::event (this=0x82b7a20, e=0x81f5f00) at kernel/qobject.cpp:1211
#16 0xb69ff1a4 in QApplicationPrivate::notify_helper (this=0x80ba670, receiver=0x82b7a20, e=0x81f5f00) at kernel/qapplication.cpp:4396
#17 0xb6a07dd7 in QApplication::notify (this=0xbfa3a290, receiver=0x82b7a20, e=0x81f5f00) at kernel/qapplication.cpp:3798
#18 0xb604d401 in KApplication::notify (this=0xbfa3a290, receiver=0x82b7a20, event=0x81f5f00) at /usr/src/debug/kdelibs-4.5.1/kdeui/kernel/kapplication.cpp:310
#19 0xb74e312e in QCoreApplication::notifyInternal (this=0xbfa3a290, receiver=0x82b7a20, event=0x81f5f00) at kernel/qcoreapplication.cpp:732
#20 0xb74e6e6c in sendEvent (receiver=0x0, event_type=0, data=0x80a1df0) at kernel/qcoreapplication.h:215
#21 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x80a1df0) at kernel/qcoreapplication.cpp:1373
#22 0xb74e6fbc in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#23 0xb75116d4 in sendPostedEvents (s=0x80bcb10) at kernel/qcoreapplication.h:220
#24 postEventSourceDispatch (s=0x80bcb10) at kernel/qeventdispatcher_glib.cpp:277
#25 0xb5834b49 in g_main_dispatch (context=0x80bca90) at gmain.c:1960
#26 IA__g_main_context_dispatch (context=0x80bca90) at gmain.c:2513
#27 0xb5835350 in g_main_context_iterate (context=0x80bca90, block=1, dispatch=1, self=0x80ba900) at gmain.c:2591
#28 0xb583560e in IA__g_main_context_iteration (context=0x80bca90, may_block=1) at gmain.c:2654
#29 0xb751185b in QEventDispatcherGlib::processEvents (this=0x80a55f8, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#30 0xb6ab419a in QGuiEventDispatcherGlib::processEvents (this=0x80a55f8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#31 0xb74e240d in QEventLoop::processEvents (this=0xbfa3a204, flags=...) at kernel/qeventloop.cpp:149
#32 0xb74e2639 in QEventLoop::exec (this=0xbfa3a204, flags=...) at kernel/qeventloop.cpp:201
#33 0xb74e7090 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#34 0xb69fced4 in QApplication::exec () at kernel/qapplication.cpp:3672
#35 0xb7700d74 in Akonadi::ResourceBase::init (r=0x8217490) at /usr/src/debug/kdepimlibs-4.5.1/akonadi/resourcebase.cpp:245
#36 0x08067b03 in init<ImapResource> (argc=0, argv=0x0) at /usr/include/akonadi/resourcebase.h:186
#37 main (argc=0, argv=0x0) at /usr/src/debug/kdepim-runtime-4.4.6/resources/imap/imapresource.cpp:1897

Reported using DrKonqi
Comment 1 Christoph Feck 2010-11-13 16:36:46 UTC
This is probably bug 249685.
Comment 2 András Manţia 2010-11-13 20:10:11 UTC
Created attachment 53400 [details]
New crash information added by DrKonqi

akonadi_imap_resource (0.1) on KDE Platform 4.5.76 (4.6 >= 20101111) using Qt 4.7.1

I got a similar crash when migrating my accounts from dimap to akonadi based dimap.

-- Backtrace (Reduced):
#6  0x00007fd9eda45514 in KJob::isAutoDelete (this=0x90d7c0) at /home/andris/development/sources/kde-trunk/kdelibs/kdecore/jobs/kjob.cpp:355
#7  0x00007fd9eda452cd in KJob::emitResult (this=0x90d7c0) at /home/andris/development/sources/kde-trunk/kdelibs/kdecore/jobs/kjob.cpp:314
#8  0x00007fd9efe31b26 in KIMAP::Job::handleErrorReplies (this=0x90d7c0, response=...) at /home/kolab/development/sources/kde-trunk/kdepimlibs/kimap/job.cpp:86
#9  0x00007fd9efe56f18 in KIMAP::MyRightsJob::handleResponse (this=0x90d7c0, response=...) at /home/kolab/development/sources/kde-trunk/kdepimlibs/kimap/myrightsjob.cpp:64
#10 0x00007fd9efe481b4 in KIMAP::SessionPrivate::responseReceived (this=0x7f8d40, response=...) at /home/kolab/development/sources/kde-trunk/kdepimlibs/kimap/session.cpp:262
Comment 3 Volker Krause 2010-12-29 10:19:31 UTC
*** Bug 229389 has been marked as a duplicate of this bug. ***
Comment 4 Nicolas L. 2011-04-11 09:23:56 UTC
*** Bug 270563 has been marked as a duplicate of this bug. ***
Comment 5 Clara Gnos 2011-05-30 22:42:06 UTC
Created attachment 60489 [details]
New crash information added by DrKonqi

akonadi_imap_resource (0.1) on KDE Platform 4.6.3 (4.6.3) using Qt 4.7.3

- What I was doing when the application crashed:

Just added a imap to local cyrus (kolab) mail server + kolab to akonadi. Then it showed Task 100% a long time and crashed

-- Backtrace (Reduced):
#6  QCoreApplication::postEvent (receiver=0xd00120, event=0x7fe7700091f0, priority=0) at kernel/qcoreapplication.cpp:1132
#7  0x00007fe78e7d6d8c in KIMAP::Job::handleErrorReplies(KIMAP::Message const&) () from /usr/lib/libkimap.so.4
#8  0x00007fe78e7ead32 in KIMAP::SelectJob::handleResponse(KIMAP::Message const&) () from /usr/lib/libkimap.so.4
#9  0x00007fe78e7ed1d7 in KIMAP::SessionPrivate::responseReceived(KIMAP::Message const&) () from /usr/lib/libkimap.so.4
#10 0x00007fe78e7ee2b2 in KIMAP::Session::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkimap.so.4
Comment 6 Christophe Marin 2011-07-13 13:21:08 UTC
*** Bug 270932 has been marked as a duplicate of this bug. ***
Comment 7 Christophe Marin 2011-07-13 13:21:55 UTC
*** Bug 271639 has been marked as a duplicate of this bug. ***
Comment 8 Kevin Ottens 2011-09-17 09:08:33 UTC
Is it still happening for you with 4.7.x? I've been unable to reproduce that one, it just works for me.

In case you still experience this please feel free to reopen.
Comment 9 janow49420 2011-10-11 13:58:26 UTC
Created attachment 64412 [details]
New crash information added by DrKonqi

akonadi_imap_resource (4.7) on KDE Platform 4.7.1 (4.7.1) using Qt 4.7.2

- What I was doing when the application crashed:

Not using my computer at all. Clearly akonadi crashed when it periodically decided to update the IMAP shares.

-- Backtrace (Reduced):
#6  QMutex::lock (this=0x7000000041) at thread/qmutex.cpp:151
#7  0x00007ff532e2d2de in QCoreApplication::postEvent (receiver=0x1bfeaf0, event=0x1cc0020, priority=0) at kernel/qcoreapplication.cpp:1140
#8  0x00007ff531aad59c in KIMAP::Job::handleErrorReplies (this=0x1bfeaf0, response=...) at ../../kimap/job.cpp:86
#9  0x00007ff531ac2ac2 in KIMAP::SelectJob::handleResponse (this=<value optimized out>, response=...) at ../../kimap/selectjob.cpp:145
#10 0x00007ff531ac4f90 in KIMAP::SessionPrivate::responseReceived (this=0x1aae910, response=...) at ../../kimap/session.cpp:271