Bug 267783 - Akonadi imap resource regulary crashes when checking IMAP account
Summary: Akonadi imap resource regulary crashes when checking IMAP account
Status: RESOLVED DUPLICATE of bug 264622
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: IMAP resource (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Kevin Ottens
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-06 12:38 UTC by Vladimir
Modified: 2011-07-13 10:25 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (3.97 KB, text/plain)
2011-03-28 18:32 UTC, Zbynek Kocur
Details
New crash information added by DrKonqi (5.55 KB, text/plain)
2011-06-10 23:09 UTC, madcatx
Details
New crash information added by DrKonqi (5.95 KB, text/plain)
2011-06-15 22:46 UTC, Vladimir
Details
New crash information added by DrKonqi (6.05 KB, text/plain)
2011-06-27 17:17 UTC, Vladimir
Details
New crash information added by DrKonqi (5.53 KB, text/plain)
2011-06-27 17:59 UTC, madcatx
Details
New crash information added by DrKonqi (5.13 KB, text/plain)
2011-07-13 08:08 UTC, Tomas Thiemel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir 2011-03-06 12:38:25 UTC
Application: akonadi_imap_resource (0.1)
KDE Platform Version: 4.6.1 (4.6.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-28-generic i686
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:
Nothing, the server crashes (as I believe) whenever it tries to check IMAP account for new messages. The crash happens without any user interaction.

I have 2 IMAP accounts - GMail and Atlas.cz. It doesn't crash with GMail, but it does with Atlas.

The crash can be reproduced every time.

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

Thread 3 (Thread 0xb55c9b70 (LWP 4641)):
#0  0x00b407e2 in __pthread_mutex_unlock_usercnt (mutex=<value optimized out>, decr=0) at pthread_mutex_unlock.c:77
#1  0x0765ffa6 in pthread_mutex_unlock (mutex=0x9374734) at forward.c:184
#2  0x06c64936 in ?? () from /lib/libglib-2.0.so.0
#3  0x06c64f98 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x0031d59f in QEventDispatcherGlib::processEvents (this=0x9390dd0, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#5  0x002ed609 in QEventLoop::processEvents (this=0xb55c92b0, flags=) at kernel/qeventloop.cpp:149
#6  0x002eda8a in QEventLoop::exec (this=0xb55c92b0, flags=...) at kernel/qeventloop.cpp:201
#7  0x001e9b7e in QThread::exec (this=0x93907f0) at thread/qthread.cpp:490
#8  0x00a83152 in KIMAP::SessionThread::run (this=0x93907f0) at ../../kimap/sessionthread.cpp:166
#9  0x001ecdf9 in QThreadPrivate::start (arg=0x93907f0) at thread/qthread_unix.cpp:266
#10 0x00b3ccc9 in start_thread (arg=0xb55c9b70) at pthread_create.c:304
#11 0x0765269e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xb4dc8b70 (LWP 4927)):
#0  0x00a4ae36 in clock_gettime (clock_id=10809332, tp=0xb4dc7fb0) at ../sysdeps/unix/clock_gettime.c:100
#1  0x0024850b in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#3  0x0031f6e5 in QTimerInfoList::updateCurrentTime (this=0x9421bdc) at kernel/qeventdispatcher_unix.cpp:339
#4  0x0031f72a in QTimerInfoList::timerWait (this=0x9421bdc, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x0031d7a8 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb4dc80dc) at kernel/qeventdispatcher_glib.cpp:136
#6  0x0031d83d in timerSourcePrepare (source=0x0, timeout=0xa4eff4) at kernel/qeventdispatcher_glib.cpp:169
#7  0x06c645c2 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#8  0x06c649c9 in ?? () from /lib/libglib-2.0.so.0
#9  0x06c64f98 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#10 0x0031d59f in QEventDispatcherGlib::processEvents (this=0x9493a08, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#11 0x002ed609 in QEventLoop::processEvents (this=0xb4dc82b0, flags=) at kernel/qeventloop.cpp:149
#12 0x002eda8a in QEventLoop::exec (this=0xb4dc82b0, flags=...) at kernel/qeventloop.cpp:201
#13 0x001e9b7e in QThread::exec (this=0x9547fe0) at thread/qthread.cpp:490
#14 0x00a83152 in KIMAP::SessionThread::run (this=0x9547fe0) at ../../kimap/sessionthread.cpp:166
#15 0x001ecdf9 in QThreadPrivate::start (arg=0x9547fe0) at thread/qthread_unix.cpp:266
#16 0x00b3ccc9 in start_thread (arg=0xb4dc8b70) at pthread_create.c:304
#17 0x0765269e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb76f7710 (LWP 4639)):
[KCrash Handler]
#7  0x00a985db in QByteArray (this=0x944e0a0, response=...) at /usr/include/qt4/QtCore/qbytearray.h:421
#8  node_create (this=0x944e0a0, response=...) at /usr/include/qt4/QtCore/qmap.h:452
#9  operator[] (this=0x944e0a0, response=...) at /usr/include/qt4/QtCore/qmap.h:530
#10 KIMAP::GetQuotaRootJob::handleResponse (this=0x944e0a0, response=...) at ../../kimap/getquotarootjob.cpp:79
#11 0x00a80ef9 in KIMAP::SessionPrivate::responseReceived (this=0x9450568, response=...) at ../../kimap/session.cpp:263
#12 0x00a81c20 in KIMAP::Session::qt_metacall (this=0x93339d8, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xb3c00778) at ./session.moc:106
#13 0x002f48ca in QMetaObject::metacall (object=0x93339d8, cl=177611328, idx=9, argv=0xb3c00778) at kernel/qmetaobject.cpp:237
#14 0x002ffdf6 in QMetaCallEvent::placeMetaCall (this=0xb3c00798, object=0x93339d8) at kernel/qobject.cpp:534
#15 0x003016a2 in QObject::event (this=0x93339d8, e=0x93747d8) at kernel/qobject.cpp:1219
#16 0x00fc0fdc in QApplicationPrivate::notify_helper (this=0x92d5590, receiver=0x93339d8, e=0xb3c00798) at kernel/qapplication.cpp:4396
#17 0x00fc704e in QApplication::notify (this=0xbf96b3c0, receiver=0x93339d8, e=0xb3c00798) at kernel/qapplication.cpp:3798
#18 0x020847da in KApplication::notify (this=0xbf96b3c0, receiver=0x93339d8, event=0xb3c00798) at ../../kdeui/kernel/kapplication.cpp:311
#19 0x002eeb3b in QCoreApplication::notifyInternal (this=0xbf96b3c0, receiver=0x93339d8, event=0xb3c00798) at kernel/qcoreapplication.cpp:732
#20 0x002f1d8b in sendEvent (receiver=0x0, event_type=0, data=0x92bee80) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#21 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x92bee80) at kernel/qcoreapplication.cpp:1373
#22 0x002f1f4d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#23 0x0031da74 in sendPostedEvents (s=0x92d7988) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#24 postEventSourceDispatch (s=0x92d7988) at kernel/qeventdispatcher_glib.cpp:277
#25 0x06c60be5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#26 0x06c64db8 in ?? () from /lib/libglib-2.0.so.0
#27 0x06c64f98 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#28 0x0031d565 in QEventDispatcherGlib::processEvents (this=0x92beb40, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#29 0x01082be5 in QGuiEventDispatcherGlib::processEvents (this=0x92beb40, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#30 0x002ed609 in QEventLoop::processEvents (this=0xbf96b324, flags=) at kernel/qeventloop.cpp:149
#31 0x002eda8a in QEventLoop::exec (this=0xbf96b324, flags=...) at kernel/qeventloop.cpp:201
#32 0x002f200f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#33 0x00fbfe07 in QApplication::exec () at kernel/qapplication.cpp:3672
#34 0x0065c023 in Akonadi::ResourceBase::init (r=0x93803a0) at ../../akonadi/resourcebase.cpp:302
#35 0x08063f53 in init<ImapResource> (argc=3, argv=0xbf96b4a4) at /usr/include/akonadi/resourcebase.h:188
#36 main (argc=3, argv=0xbf96b4a4) at ../../../resources/imap/imapresource.cpp:597

Reported using DrKonqi
Comment 1 Zbynek Kocur 2011-03-28 18:32:09 UTC
Created attachment 58405 [details]
New crash information added by DrKonqi

akonadi_imap_resource (0.1) on KDE Platform 4.6.1 (4.6.1) using Qt 4.7.2

- What I was doing when the application crashed: Only run kmail or kontact

- Unusual behavior I noticed: Crash of all aplications. Akonadi would meke restart.

-- Backtrace (Reduced):
#6  0x00007f08b9c964eb in KIMAP::GetQuotaRootJob::handleResponse(KIMAP::Message const&) () from /usr/lib64/libkimap.so.4
#7  0x00007f08b9c80715 in KIMAP::SessionPrivate::responseReceived(KIMAP::Message const&) () from /usr/lib64/libkimap.so.4
#8  0x00007f08b9c81482 in KIMAP::Session::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkimap.so.4
#9  0x00007f08baff7a1e in QObject::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#10 0x00007f08ba3bde34 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
Comment 2 madcatx 2011-06-10 23:09:56 UTC
Created attachment 60872 [details]
New crash information added by DrKonqi

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

I have exactly the same problem. GMail.com account works fine but Atlas.cz always causes Akonadi to crash.

-- Backtrace (Reduced):
#6  0x00007f8af449e637 in KIMAP::GetQuotaRootJob::handleResponse(KIMAP::Message const&) () from /usr/lib/libkimap.so.4
#7  0x00007f8af4488987 in KIMAP::SessionPrivate::responseReceived(KIMAP::Message const&) () from /usr/lib/libkimap.so.4
#8  0x00007f8af4489a62 in KIMAP::Session::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkimap.so.4
#9  0x00007f8af57df39e in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#10 0x00007f8af4ba6174 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
Comment 3 Vladimir 2011-06-15 22:46:52 UTC
Created attachment 61038 [details]
New crash information added by DrKonqi

akonadi_imap_resource (0.1) on KDE Platform 4.6.4 (4.6.4) using Qt 4.7.2

- What I was doing when the application crashed: Checking IMAP account by Aconadi

- Custom settings of the application: Using Atlas.cz IMAP

-- Backtrace (Reduced):
#7  0x00c9432c in QByteArray (this=0x9af5f70, response=...) at /usr/include/qt4/QtCore/qbytearray.h:421
#8  node_create (this=0x9af5f70, response=...) at /usr/include/qt4/QtCore/qmap.h:453
#9  operator[] (this=0x9af5f70, response=...) at /usr/include/qt4/QtCore/qmap.h:531
#10 KIMAP::GetQuotaRootJob::handleResponse (this=0x9af5f70, response=...) at ../../kimap/getquotarootjob.cpp:79
#11 0x00c7cc92 in KIMAP::SessionPrivate::responseReceived (this=0x9af9618, response=...) at ../../kimap/session.cpp:263
Comment 4 Vladimir 2011-06-27 17:17:48 UTC
Created attachment 61377 [details]
New crash information added by DrKonqi

akonadi_imap_resource (0.1) on KDE Platform 4.6.4 (4.6.4) using Qt 4.7.2

- What I was doing when the application crashed: Still crashes regulary after a few seconds whenever Akonadi tries to download e-mails.

- Custom settings of the application: The problem appears with IMAP from Atlas.cz and Centrum.cz, not with GMail. Didn't try others.

-- Backtrace (Reduced):
#7  0x002ba32c in QByteArray (this=0x9c953c8, response=...) at /usr/include/qt4/QtCore/qbytearray.h:421
#8  node_create (this=0x9c953c8, response=...) at /usr/include/qt4/QtCore/qmap.h:453
#9  operator[] (this=0x9c953c8, response=...) at /usr/include/qt4/QtCore/qmap.h:531
#10 KIMAP::GetQuotaRootJob::handleResponse (this=0x9c953c8, response=...) at ../../kimap/getquotarootjob.cpp:79
#11 0x002a2c92 in KIMAP::SessionPrivate::responseReceived (this=0x9b351e0, response=...) at ../../kimap/session.cpp:263
Comment 5 madcatx 2011-06-27 17:59:58 UTC
Created attachment 61378 [details]
New crash information added by DrKonqi

akonadi_imap_resource (0.1) on KDE Platform 4.6.90 (4.7 RC1) using Qt 4.7.3

- What I was doing when the application crashed:
I tried again with KDE 4.7-rc1. The bug is still present.

-- Backtrace (Reduced):
#6  0x00007fe432f8bdc7 in KIMAP::GetQuotaRootJob::handleResponse(KIMAP::Message const&) () from /usr/lib/libkimap.so.4
#7  0x00007fe432f760a5 in KIMAP::SessionPrivate::responseReceived(KIMAP::Message const&) () from /usr/lib/libkimap.so.4
#8  0x00007fe432f77162 in KIMAP::Session::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkimap.so.4
#9  0x00007fe4342cd39e in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#10 0x00007fe433694174 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
Comment 6 Tomas Thiemel 2011-07-13 08:08:06 UTC
Created attachment 61833 [details]
New crash information added by DrKonqi

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

- What I was doing when the application crashed:

I have 2 mail accounts - Gmail.com and Centrum.cz - both uses "disconnected IMAP"
It crashes only when doing IMAP sync to Centrum.cz mail

-- Backtrace (Reduced):
#7  0xb66aaa2c in KIMAP::GetQuotaRootJob::handleResponse(KIMAP::Message const&) () from /usr/lib/libkimap.so.4
#8  0xb6693717 in KIMAP::SessionPrivate::responseReceived(KIMAP::Message const&) () from /usr/lib/libkimap.so.4
#9  0xb66948d6 in KIMAP::Session::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkimap.so.4
[...]
#12 0xb73f2442 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#13 0xb6927084 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
Comment 7 Christophe Marin 2011-07-13 10:25:26 UTC

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