Bug 309993 - Akonadi crashes saying lost connection to IMAP server
Summary: Akonadi crashes saying lost connection to IMAP server
Status: RESOLVED DUPLICATE of bug 298267
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: IMAP resource (show other bugs)
Version: 4.9
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Kevin Ottens
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-12 21:35 UTC by Chris
Modified: 2013-06-09 14:36 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (6.28 KB, text/plain)
2013-01-22 18:42 UTC, Enrique Ocaña González
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris 2012-11-12 21:35:46 UTC
Application: akonadi_imap_resource (4.9)
KDE Platform Version: 4.9.3 "release 520"
Qt Version: 4.8.3
Operating System: Linux 3.1.10-1.16-desktop x86_64
Distribution: "openSUSE 12.1 (x86_64)"

-- Information about the crash:
Received several messages that a connection had been lost with an IMAP account.  Opened akonadiconsole to see if there was an indication that the specific IMAP account was offline.  It as not.  Took it offline and then back online.  The account says "Connection established" but I got this crash.

The crash can be reproduced every time.

-- Backtrace:
Application: DoxaFin-CRG of type IMAP E-Mail Server (akonadi_imap_resource), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fe946dd6760 (LWP 2788))]

Thread 3 (Thread 0x7fe934d85700 (LWP 12300)):
#0  0x00007fe9427bcff3 in poll () from /lib64/libc.so.6
#1  0x00007fe94110dae8 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fe94110dfa9 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fe94624f666 in QEventDispatcherGlib::processEvents (this=0x7fe92c009320, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fe94621f162 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fe94621f3b7 in QEventLoop::exec (this=0x7fe934d84de0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fe94611d687 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007fe944e33099 in KIMAP::SessionThread::run (this=0x90ddf0) at /usr/src/debug/kdepimlibs-4.9.3/kimap/sessionthread.cpp:181
#8  0x00007fe9461206ec in QThreadPrivate::start (arg=0x90ddf0) at thread/qthread_unix.cpp:338
#9  0x00007fe942078f05 in start_thread () from /lib64/libpthread.so.0
#10 0x00007fe9427c610d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fe935f9e700 (LWP 27267)):
#0  QElapsedTimer::isMonotonic () at tools/qelapsedtimer_unix.cpp:108
#1  0x00007fe9462500bd in QTimerInfoList::repairTimersIfNeeded (this=0x7fe930028b50) at kernel/qeventdispatcher_unix.cpp:403
#2  0x00007fe946250121 in QTimerInfoList::timerWait (this=0x7fe930028b50, tm=...) at kernel/qeventdispatcher_unix.cpp:451
#3  0x00007fe94624eb3c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7fe935f9dc4c) at kernel/qeventdispatcher_glib.cpp:136
#4  0x00007fe94624ebe5 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#5  0x00007fe94110cb72 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#6  0x00007fe94110d97d in ?? () from /usr/lib64/libglib-2.0.so.0
#7  0x00007fe94110dfa9 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#8  0x00007fe94624f666 in QEventDispatcherGlib::processEvents (this=0x7fe9301193d0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#9  0x00007fe94621f162 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#10 0x00007fe94621f3b7 in QEventLoop::exec (this=0x7fe935f9dde0, flags=...) at kernel/qeventloop.cpp:204
#11 0x00007fe94611d687 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#12 0x00007fe944e33099 in KIMAP::SessionThread::run (this=0x96ba70) at /usr/src/debug/kdepimlibs-4.9.3/kimap/sessionthread.cpp:181
#13 0x00007fe9461206ec in QThreadPrivate::start (arg=0x96ba70) at thread/qthread_unix.cpp:338
#14 0x00007fe942078f05 in start_thread () from /lib64/libpthread.so.0
#15 0x00007fe9427c610d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fe946dd6760 (LWP 2788)):
[KCrash Handler]
#6  0x0000000000000080 in ?? ()
#7  0x00007fe94692278a in Akonadi::ResourceBase::cancelTask (this=<optimized out>) at /usr/src/debug/kdepimlibs-4.9.3/akonadi/resourcebase.cpp:861
#8  0x00007fe946922859 in Akonadi::ResourceBase::cancelTask (this=0x9355f0, msg=...) at /usr/src/debug/kdepimlibs-4.9.3/akonadi/resourcebase.cpp:889
#9  0x000000000041f75b in ResourceState::cancelTask (this=0x97f740, errorString=<optimized out>) at /usr/src/debug/kdepim-runtime-4.9.3/resources/imap/resourcestate.cpp:390
#10 0x00000000004472e1 in ResourceTask::cancelTask (this=0x960640, errorString=<optimized out>) at /usr/src/debug/kdepim-runtime-4.9.3/resources/imap/resourcetask.cpp:285
#11 0x0000000000447331 in ResourceTask::onPoolDisconnect (this=0x960640) at /usr/src/debug/kdepim-runtime-4.9.3/resources/imap/resourcetask.cpp:136
#12 0x00007fe946234511 in QMetaObject::activate (sender=0x96acb0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3556
#13 0x00000000004570d6 in SessionPool::disconnect (this=0x96acb0, termination=SessionPool::LogoutSession) at /usr/src/debug/kdepim-runtime-4.9.3/resources/imap/sessionpool.cpp:129
#14 0x00000000004571a7 in SessionPool::~SessionPool (this=0x96acb0, __in_chrg=<optimized out>) at /usr/src/debug/kdepim-runtime-4.9.3/resources/imap/sessionpool.cpp:54
#15 0x00000000004572b9 in SessionPool::~SessionPool (this=0x96acb0, __in_chrg=<optimized out>) at /usr/src/debug/kdepim-runtime-4.9.3/resources/imap/sessionpool.cpp:55
#16 0x00007fe946232bc5 in QObjectPrivate::deleteChildren (this=0x938d60) at kernel/qobject.cpp:1917
#17 0x00007fe946238e2c in QObject::~QObject (this=0x9355f0, __in_chrg=<optimized out>) at kernel/qobject.cpp:927
#18 0x0000000000418dc9 in ImapResource::~ImapResource (this=0x9355f0, __in_chrg=<optimized out>) at /usr/src/debug/kdepim-runtime-4.9.3/resources/imap/imapresource.cpp:157
#19 0x00007fe94688be28 in Akonadi::ResourceBase::init (r=0x9355f0) at /usr/src/debug/kdepimlibs-4.9.3/akonadi/resourcebase.cpp:452
#20 0x000000000041ca26 in Akonadi::ResourceBase::init<ImapResource> (argc=<optimized out>, argv=<optimized out>) at /usr/include/akonadi/resourcebase.h:188
#21 0x00007fe94270c23d in __libc_start_main () from /lib64/libc.so.6
#22 0x0000000000416cf5 in _start () at ../sysdeps/x86_64/elf/start.S:113

Possible duplicates by query: bug 309728, bug 302750, bug 302697, bug 302091, bug 299136.

Reported using DrKonqi
Comment 1 Enrique Ocaña González 2013-01-22 18:42:44 UTC
Created attachment 76643 [details]
New crash information added by DrKonqi

akonadi_imap_resource (4.9) on KDE Platform 4.9.4 using Qt 4.8.3

I was just logging out the session. I have two IMAP accounts configured in KMail and nothing else. One is a Dovecot server for sure, and the other I think it's also Dovecot.

-- Backtrace (Reduced):
#7  0x00007f1dbe9577b9 in Akonadi::ResourceBase::cancelTask (this=this@entry=0x14704a0) at ../../akonadi/resourcebase.cpp:866
#8  0x00007f1dbe9578e9 in Akonadi::ResourceBase::cancelTask (this=0x14704a0, msg=...) at ../../akonadi/resourcebase.cpp:889
#9  0x000000000041dabb in ResourceState::cancelTask (this=0x13b1fb0, errorString=...) at ../../../resources/imap/resourcestate.cpp:390
#10 0x0000000000444451 in ResourceTask::cancelTask (this=0x150ebd0, errorString=...) at ../../../resources/imap/resourcetask.cpp:285
#11 0x00000000004444a1 in ResourceTask::onPoolDisconnect (this=0x150ebd0) at ../../../resources/imap/resourcetask.cpp:136
Comment 2 Daniel Vrátil 2013-06-09 14:36:05 UTC

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