Bug 272921 - akonadi imap resource for gmail account crashes a few minuts after resume from suspend to ram
Summary: akonadi imap resource for gmail account crashes a few minuts after resume fro...
Status: RESOLVED DUPLICATE of bug 242698
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: IMAP resource (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Kevin Ottens
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-10 11:09 UTC by Luis Silva
Modified: 2011-07-13 15:06 UTC (History)
3 users (show)

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


Attachments
New crash information added by DrKonqi (12.31 KB, text/plain)
2011-06-05 12:16 UTC, S. Burmeister
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Luis Silva 2011-05-10 11:09:32 UTC
Application: akonadi_imap_resource (0.1)
KDE Platform Version: 4.6.2 (4.6.2) (Compiled from sources)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-9-generic i686
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:
Usually I am doing something completely random and unrelated. The common theme is that it is always the same imap resource, associated with a gmail account and that the crash happens a few minutes after resuming from suspend to ram.

- Unusual behavior I noticed:
imap resources tend to not take suspend to ram and loss of network connections so well.

The crash can be reproduced every time.

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

Thread 7 (Thread 0xb4effb70 (LWP 4299)):
#0  0x00abfd41 in clock_gettime (clock_id=1, tp=0xb4eff020) at ../sysdeps/unix/clock_gettime.c:116
#1  0x008c6dd8 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x009934f2 in updateCurrentTime (this=0xb4f493f4, tm=...) at kernel/qeventdispatcher_unix.cpp:339
#4  QTimerInfoList::timerWait (this=0xb4f493f4, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x00991d32 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb4eff0fc) at kernel/qeventdispatcher_glib.cpp:136
#6  0x00991dcd in timerSourcePrepare (source=0xb4f493c0, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x04d22fd4 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x04d23e63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x04d24524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x00992577 in QEventDispatcherGlib::processEvents (this=0x9649a18, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0x00964289 in QEventLoop::processEvents (this=0xb4eff2b0, flags=...) at kernel/qeventloop.cpp:149
#12 0x00964522 in QEventLoop::exec (this=0xb4eff2b0, flags=...) at kernel/qeventloop.cpp:201
#13 0x0086e2a0 in QThread::exec (this=0x95ea338) at thread/qthread.cpp:492
#14 0x001bb8c2 in KIMAP::SessionThread::run (this=0x95ea338) at /home/lacsilva/Development/kdepim.d/kdepimlibs/kimap/sessionthread.cpp:166
#15 0x00870da2 in QThreadPrivate::start (arg=0x95ea338) at thread/qthread_unix.cpp:320
#16 0x004ace99 in start_thread (arg=0xb4effb70) at pthread_create.c:304
#17 0x0848c73e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 6 (Thread 0xb58c2b70 (LWP 17679)):
#0  0x00abfd41 in clock_gettime (clock_id=1, tp=0xb58c2000) at ../sysdeps/unix/clock_gettime.c:116
#1  0x008c6dd8 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x009934f2 in updateCurrentTime (this=0xb3900d2c, tm=...) at kernel/qeventdispatcher_unix.cpp:339
#4  QTimerInfoList::timerWait (this=0xb3900d2c, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x00991d32 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb58c20dc) at kernel/qeventdispatcher_glib.cpp:136
#6  0x00991dcd in timerSourcePrepare (source=0xb3900cf8, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x04d22fd4 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x04d23e63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x04d24524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x00992577 in QEventDispatcherGlib::processEvents (this=0x979c188, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0x00964289 in QEventLoop::processEvents (this=0xb58c2290, flags=...) at kernel/qeventloop.cpp:149
#12 0x00964522 in QEventLoop::exec (this=0xb58c2290, flags=...) at kernel/qeventloop.cpp:201
#13 0x0086e2a0 in QThread::exec (this=0x979a660) at thread/qthread.cpp:492
#14 0x00945fdb in QInotifyFileSystemWatcherEngine::run (this=0x979a660) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x00870da2 in QThreadPrivate::start (arg=0x979a660) at thread/qthread_unix.cpp:320
#16 0x004ace99 in start_thread (arg=0xb58c2b70) at pthread_create.c:304
#17 0x0848c73e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0xb28c4b70 (LWP 17682)):
#0  0x004a6416 in __kernel_vsyscall ()
#1  0x0849a753 in __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:95
#2  0x0842db94 in _L_lock_10338 () from /lib/i386-linux-gnu/libc.so.6
#3  0x0842c416 in __libc_free (mem=0x95f3df8) at malloc.c:3736
#4  0x00bec4d1 in operator delete(void*) () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#5  0x0099298e in QEventDispatcherGlib::unregisterSocketNotifier (this=0x9a07040, notifier=0x9900dc8) at kernel/qeventdispatcher_glib.cpp:503
#6  0x00980db9 in QSocketNotifier::setEnabled (this=0x9900dc8, enable=false) at kernel/qsocketnotifier.cpp:298
#7  0x00991f94 in socketNotifierSourceCheck (source=0x9904240) at kernel/qeventdispatcher_glib.cpp:92
#8  0x04d2371d in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x04d2403a in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x04d24524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#11 0x0099253c in QEventDispatcherGlib::processEvents (this=0x9a07040, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#12 0x00964289 in QEventLoop::processEvents (this=0xb28c42b0, flags=...) at kernel/qeventloop.cpp:149
#13 0x00964522 in QEventLoop::exec (this=0xb28c42b0, flags=...) at kernel/qeventloop.cpp:201
#14 0x0086e2a0 in QThread::exec (this=0x97ece50) at thread/qthread.cpp:492
#15 0x001bb8c2 in KIMAP::SessionThread::run (this=0x97ece50) at /home/lacsilva/Development/kdepim.d/kdepimlibs/kimap/sessionthread.cpp:166
#16 0x00870da2 in QThreadPrivate::start (arg=0x97ece50) at thread/qthread_unix.cpp:320
#17 0x004ace99 in start_thread (arg=0xb28c4b70) at pthread_create.c:304
#18 0x0848c73e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xb20c3b70 (LWP 19806)):
#0  0x004a6416 in __kernel_vsyscall ()
#1  0x0849a753 in __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:95
#2  0x0842db94 in _L_lock_10338 () from /lib/i386-linux-gnu/libc.so.6
#3  0x0842c416 in __libc_free (mem=0x998a408) at malloc.c:3736
#4  0x04d2ac86 in g_free () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x04d1fa6b in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0x00992a15 in QEventDispatcherGlib::~QEventDispatcherGlib (this=0x9604a90, __in_chrg=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:373
#7  0x00992b52 in QEventDispatcherGlib::~QEventDispatcherGlib (this=0x9604a90, __in_chrg=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:401
#8  0x0087000a in QThreadPrivate::finish (arg=0x9665ba8) at thread/qthread_unix.cpp:356
#9  0x00870daa in ~__pthread_cleanup_class (arg=0x9665ba8) at /usr/include/pthread.h:545
#10 QThreadPrivate::start (arg=0x9665ba8) at thread/qthread_unix.cpp:279
#11 0x004ace99 in start_thread (arg=0xb20c3b70) at pthread_create.c:304
#12 0x0848c73e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xb10c1b70 (LWP 19814)):
#0  0x004a6416 in __kernel_vsyscall ()
#1  0x0849a753 in __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:95
#2  0x0842db94 in _L_lock_10338 () from /lib/i386-linux-gnu/libc.so.6
#3  0x0842c416 in __libc_free (mem=0x94f7198) at malloc.c:3736
#4  0x00bec4d1 in operator delete(void*) () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#5  0x0099298e in QEventDispatcherGlib::unregisterSocketNotifier (this=0x94fb448, notifier=0x9591760) at kernel/qeventdispatcher_glib.cpp:503
#6  0x00980db9 in QSocketNotifier::setEnabled (this=0x9591760, enable=false) at kernel/qsocketnotifier.cpp:298
#7  0x00991f94 in socketNotifierSourceCheck (source=0x98288a0) at kernel/qeventdispatcher_glib.cpp:92
#8  0x04d2371d in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x04d2403a in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x04d24524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#11 0x0099253c in QEventDispatcherGlib::processEvents (this=0x94fb448, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#12 0x00964289 in QEventLoop::processEvents (this=0xb10c12b0, flags=...) at kernel/qeventloop.cpp:149
#13 0x00964522 in QEventLoop::exec (this=0xb10c12b0, flags=...) at kernel/qeventloop.cpp:201
#14 0x0086e2a0 in QThread::exec (this=0x98401b0) at thread/qthread.cpp:492
#15 0x001bb8c2 in KIMAP::SessionThread::run (this=0x98401b0) at /home/lacsilva/Development/kdepim.d/kdepimlibs/kimap/sessionthread.cpp:166
#16 0x00870da2 in QThreadPrivate::start (arg=0x98401b0) at thread/qthread_unix.cpp:320
#17 0x004ace99 in start_thread (arg=0xb10c1b70) at pthread_create.c:304
#18 0x0848c73e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xb08c0b70 (LWP 19815)):
#0  0x004a6416 in __kernel_vsyscall ()
#1  0x0849a753 in __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:95
#2  0x0842db94 in _L_lock_10338 () from /lib/i386-linux-gnu/libc.so.6
#3  0x0842c416 in __libc_free (mem=0x955aae0) at malloc.c:3736
#4  0x00bec4d1 in operator delete(void*) () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#5  0x0099298e in QEventDispatcherGlib::unregisterSocketNotifier (this=0x97ff830, notifier=0x98231f8) at kernel/qeventdispatcher_glib.cpp:503
#6  0x00980db9 in QSocketNotifier::setEnabled (this=0x98231f8, enable=false) at kernel/qsocketnotifier.cpp:298
#7  0x00991f94 in socketNotifierSourceCheck (source=0x9823918) at kernel/qeventdispatcher_glib.cpp:92
#8  0x04d2371d in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x04d2403a in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x04d24524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#11 0x0099253c in QEventDispatcherGlib::processEvents (this=0x97ff830, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#12 0x00964289 in QEventLoop::processEvents (this=0xb08c02b0, flags=...) at kernel/qeventloop.cpp:149
#13 0x00964522 in QEventLoop::exec (this=0xb08c02b0, flags=...) at kernel/qeventloop.cpp:201
#14 0x0086e2a0 in QThread::exec (this=0x984c968) at thread/qthread.cpp:492
#15 0x001bb8c2 in KIMAP::SessionThread::run (this=0x984c968) at /home/lacsilva/Development/kdepim.d/kdepimlibs/kimap/sessionthread.cpp:166
#16 0x00870da2 in QThreadPrivate::start (arg=0x984c968) at thread/qthread_unix.cpp:320
#17 0x004ace99 in start_thread (arg=0xb08c0b70) at pthread_create.c:304
#18 0x0848c73e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb78c7930 (LWP 2450)):
[KCrash Handler]
#7  0x004a6416 in __kernel_vsyscall ()
#8  0x083e6e71 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#9  0x083ea34e in abort () at abort.c:92
#10 0x0841d577 in __libc_message (do_abort=2, fmt=0x84f68ac "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#11 0x08427961 in malloc_printerr (action=<value optimized out>, str=<value optimized out>, ptr=0x99ee880) at malloc.c:6283
#12 0x0842928b in _int_free (av=<value optimized out>, p=0x99ee878) at malloc.c:4795
#13 0x0842c41d in __libc_free (mem=0x99ee880) at malloc.c:3738
#14 0x00bec4d1 in operator delete(void*) () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#15 0x080984b6 in node_destruct (this=0x9524608, session=0xb3d1ba50) at /usr/include/qt4/QtCore/qlist.h:375
#16 erase (this=0x9524608, session=0xb3d1ba50) at /usr/include/qt4/QtCore/qlist.h:452
#17 removeFirst (this=0x9524608, session=0xb3d1ba50) at /usr/include/qt4/QtCore/qlist.h:273
#18 takeFirst (this=0x9524608, session=0xb3d1ba50) at /usr/include/qt4/QtCore/qlist.h:477
#19 SessionPool::declareSessionReady (this=0x9524608, session=0xb3d1ba50) at /home/lacsilva/Development/kdepim.d/kdepim-runtime/resources/imap/sessionpool.cpp:207
#20 0x080986c0 in SessionPool::onNamespacesTestDone (this=0x9524608, job=0x9a02b48) at /home/lacsilva/Development/kdepim.d/kdepim-runtime/resources/imap/sessionpool.cpp:435
#21 0x0809a1e4 in SessionPool::qt_metacall (this=0x9524608, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbfca1738) at /home/lacsilva/Development/kdepim.d/kdepim-runtime/BUILD/resources/imap/sessionpool.moc:120
#22 0x0096b6ba in QMetaObject::metacall (object=0x9524608, cl=QMetaObject::InvokeMetaMethod, idx=16, argv=0xbfca1738) at kernel/qmetaobject.cpp:237
#23 0x0097b4ff in QMetaObject::activate (sender=0x9a02b48, m=0x78ed548, local_signal_index=3, argv=0xbfca1738) at kernel/qobject.cpp:3287
#24 0x07798e93 in KJob::result (this=0x9a02b48, _t1=0x9a02b48) at ./kjob.moc:194
#25 0x07798ee8 in KJob::emitResult (this=0x9a02b48) at ../../kdecore/jobs/kjob.cpp:312
#26 0x001a0c9e in KIMAP::Job::handleErrorReplies (this=0x9a02b48, response=...) at /home/lacsilva/Development/kdepim.d/kdepimlibs/kimap/job.cpp:86
#27 0x001b2b52 in KIMAP::NamespaceJob::handleResponse (this=0x9a02b48, response=...) at /home/lacsilva/Development/kdepim.d/kdepimlibs/kimap/namespacejob.cpp:128
#28 0x001b9440 in KIMAP::SessionPrivate::responseReceived (this=0x958c0a0, response=...) at /home/lacsilva/Development/kdepim.d/kdepimlibs/kimap/session.cpp:271
#29 0x001ba888 in KIMAP::Session::qt_metacall (this=0xb3d1ba50, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x97bbd78) at /home/lacsilva/Development/kdepim.d/kdepimlibs/BUILD/kimap/session.moc:113
#30 0x0096b6ba in QMetaObject::metacall (object=0xb3d1ba50, cl=QMetaObject::InvokeMetaMethod, idx=11, argv=0x97bbd78) at kernel/qmetaobject.cpp:237
#31 0x00975e16 in QMetaCallEvent::placeMetaCall (this=0x962dce8, object=0xb3d1ba50) at kernel/qobject.cpp:535
#32 0x0097a3b7 in QObject::event (this=0xb3d1ba50, e=0x962dce8) at kernel/qobject.cpp:1226
#33 0x010a7d24 in QApplicationPrivate::notify_helper (this=0x945fb30, receiver=0xb3d1ba50, e=0x962dce8) at kernel/qapplication.cpp:4462
#34 0x010ac8ce in QApplication::notify (this=0xbfca2260, receiver=0xb3d1ba50, e=0x962dce8) at kernel/qapplication.cpp:3862
#35 0x06fbd3ca in KApplication::notify (this=0xbfca2260, receiver=0xb3d1ba50, event=0x962dce8) at ../../kdeui/kernel/kapplication.cpp:311
#36 0x009650bb in QCoreApplication::notifyInternal (this=0xbfca2260, receiver=0xb3d1ba50, event=0x962dce8) at kernel/qcoreapplication.cpp:731
#37 0x00968c79 in sendEvent (receiver=0x0, event_type=0, data=0x9428f50) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#38 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9428f50) at kernel/qcoreapplication.cpp:1372
#39 0x00968e0d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1265
#40 0x009923c4 in sendPostedEvents (s=0x9461740) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#41 postEventSourceDispatch (s=0x9461740) at kernel/qeventdispatcher_glib.cpp:277
#42 0x04d23aa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#43 0x04d24270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#44 0x04d24524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#45 0x0099253c in QEventDispatcherGlib::processEvents (this=0x9428aa8, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#46 0x0115b775 in QGuiEventDispatcherGlib::processEvents (this=0x9428aa8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#47 0x00964289 in QEventLoop::processEvents (this=0xbfca21b4, flags=...) at kernel/qeventloop.cpp:149
#48 0x00964522 in QEventLoop::exec (this=0xbfca21b4, flags=...) at kernel/qeventloop.cpp:201
#49 0x00968ecc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#50 0x010a58e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#51 0x00e87cc8 in Akonadi::ResourceBase::init (r=0x94f0b40) at /home/lacsilva/Development/kdepim.d/kdepimlibs/akonadi/resourcebase.cpp:392
#52 0x0805b1e3 in init<ImapResource> (argc=) at /usr/include/akonadi/resourcebase.h:188
#53 main (argc=) at /home/lacsilva/Development/kdepim.d/kdepim-runtime/resources/imap/imapresource.cpp:597

Possible duplicates by query: bug 271754, bug 268173, bug 263711, bug 257295, bug 257160.

Reported using DrKonqi
Comment 1 S. Burmeister 2011-05-12 20:19:13 UTC
Is bug 258479 related?
Comment 2 S. Burmeister 2011-06-05 12:16:34 UTC
Created attachment 60656 [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:

The resource crashed while I was reading emails, probably because of a broken network connections which lead to requests queuing up.

-- Backtrace (Reduced):
#15 0x080a35a0 in node_destruct (this=0x819d670, session=0x82eb2f8) at /usr/include/QtCore/qlist.h:375
#16 erase (this=0x819d670, session=0x82eb2f8) at /usr/include/QtCore/qlist.h:452
#17 removeFirst (this=0x819d670, session=0x82eb2f8) at /usr/include/QtCore/qlist.h:273
#18 takeFirst (this=0x819d670, session=0x82eb2f8) at /usr/include/QtCore/qlist.h:477
#19 SessionPool::declareSessionReady (this=0x819d670, session=0x82eb2f8) at /usr/src/debug/kdepim-runtime-4.5.96/resources/imap/sessionpool.cpp:207
Comment 3 Christophe Marin 2011-07-13 15:06:19 UTC

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