Bug 326969

Summary: Crashed when attempting to reconnect to Microsoft's Office365 IMAP server
Product: [Frameworks and Libraries] Akonadi Reporter: Aaron Williams <aaronw>
Component: IMAP resourceAssignee: Christian Mollekopf <chrigi_1>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kdepim-bugs, mollekopf, vkrause
Priority: NOR Keywords: drkonqi
Version: 4.11   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Aaron Williams 2013-10-31 23:30:00 UTC
Application: akonadi_imap_resource (4.11)
KDE Platform Version: 4.11.2
Qt Version: 4.8.5
Operating System: Linux 3.7.10-1.16-desktop x86_64
Distribution: "openSUSE 12.3 (x86_64)"

-- Information about the crash:
I have been having a lot of problems connecting to Microsoft's Office 365 IMAP server due to a bug on Microsoft's end where they seem to run out of authentication resources after a certain number of connections. The result is that it is nearly impossible for folders to update. Anyway, when manually reconnecting since all of the connections failed, KOrganizer crashed.

The following URL shows the Microsoft bug I have been fighting for the last 4 months.
http://community.office365.com/en-us/forums/158/t/173754.aspx?PageIndex=1

Thunderbird tends to work better because I can limit the number of connections it opens to Microsoft's broken IMAP server but even it fails periodically.

-- Backtrace:
Application: Cavium IMAP of type IMAP E-Mail Server (akonadi_imap_resource), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fcb8897c780 (LWP 1892))]

Thread 3 (Thread 0x7fcb76624700 (LWP 2555)):
#0  0x00007fcb8435f4ed in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fcb830a4aa4 in g_main_context_poll (n_fds=1, fds=0x7fcb680103e0, timeout=-1, context=0x7fcb68003a00, priority=<optimized out>) at gmain.c:3584
#2  g_main_context_iterate (context=context@entry=0x7fcb68003a00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3285
#3  0x00007fcb830a4bc4 in g_main_context_iteration (context=0x7fcb68003a00, may_block=1) at gmain.c:3351
#4  0x00007fcb87da75d6 in QEventDispatcherGlib::processEvents (this=0x7fcb68018d80, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#5  0x00007fcb87d77bef in QEventLoop::processEvents (this=this@entry=0x7fcb76623e00, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fcb87d77e78 in QEventLoop::exec (this=0x7fcb76623e00, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fcb87c7a110 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#8  0x00007fcb87c7d0ec in QThreadPrivate::start (arg=0x15ffd60) at thread/qthread_unix.cpp:338
#9  0x00007fcb83bfde0f in start_thread (arg=0x7fcb76624700) at pthread_create.c:308
#10 0x00007fcb8436844d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7fcb76e25700 (LWP 29984)):
#0  0x00007fcb8435f4ed in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fcb830a4aa4 in g_main_context_poll (n_fds=1, fds=0x7fcb600108b0, timeout=-1, context=0x7fcb60002250, priority=<optimized out>) at gmain.c:3584
#2  g_main_context_iterate (context=context@entry=0x7fcb60002250, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3285
#3  0x00007fcb830a4bc4 in g_main_context_iteration (context=0x7fcb60002250, may_block=1) at gmain.c:3351
#4  0x00007fcb87da75d6 in QEventDispatcherGlib::processEvents (this=0x7fcb60001c90, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#5  0x00007fcb87d77bef in QEventLoop::processEvents (this=this@entry=0x7fcb76e24e00, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fcb87d77e78 in QEventLoop::exec (this=0x7fcb76e24e00, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fcb87c7a110 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#8  0x00007fcb87c7d0ec in QThreadPrivate::start (arg=0x1853720) at thread/qthread_unix.cpp:338
#9  0x00007fcb83bfde0f in start_thread (arg=0x7fcb76e25700) at pthread_create.c:308
#10 0x00007fcb8436844d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7fcb8897c780 (LWP 1892)):
[KCrash Handler]
#6  0x00007fcb87d8a494 in QObject::thread (this=this@entry=0x35ecdd0) at kernel/qobject.cpp:1379
#7  0x00007fcb87d8d1b8 in QObject::QObject (this=0x30bce40, parent=0x35ecdd0) at kernel/qobject.cpp:724
#8  0x00007fcb84c782e6 in KJob::KJob (this=0x30bce40, parent=<optimized out>) at /usr/src/debug/kdelibs-4.11.2/kdecore/jobs/kjob.cpp:50
#9  0x00007fcb869b2ebd in KIMAP::Job::Job (this=0x30bce40, dd=...) at /usr/src/debug/kdepimlibs-4.11.2/kimap/job.cpp:36
#10 0x00007fcb869c93e1 in KIMAP::SelectJob::SelectJob (this=0x30bce40, session=<optimized out>) at /usr/src/debug/kdepimlibs-4.11.2/kimap/selectjob.cpp:56
#11 0x0000000000456212 in ?? ()
#12 0x00000000004563bb in ?? ()
#13 0x0000000000458d0e in ?? ()
#14 0x00007fcb87d8e44f in QMetaObject::activate (sender=0x1621f00, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff66c9f740) at kernel/qobject.cpp:3556
#15 0x00007fcb84c788b2 in KJob::result (this=this@entry=0x1621f00, _t1=_t1@entry=0x1621f00) at /usr/src/debug/kdelibs-4.11.2/build/kdecore/kjob.moc:207
#16 0x00007fcb84c788f0 in KJob::emitResult (this=0x1621f00) at /usr/src/debug/kdelibs-4.11.2/kdecore/jobs/kjob.cpp:318
#17 0x00007fcb87d8d92e in QObject::event (this=0x1621f00, e=<optimized out>) at kernel/qobject.cpp:1203
#18 0x00007fcb8712192c in QApplicationPrivate::notify_helper (this=this@entry=0x1629d60, receiver=receiver@entry=0x1621f00, e=e@entry=0x312f210) at kernel/qapplication.cpp:4562
#19 0x00007fcb87125dab in QApplication::notify (this=0x7fff66ca00d0, receiver=0x1621f00, e=0x312f210) at kernel/qapplication.cpp:4423
#20 0x00007fcb8524e016 in KApplication::notify (this=0x7fff66ca00d0, receiver=0x1621f00, event=0x312f210) at /usr/src/debug/kdelibs-4.11.2/kdeui/kernel/kapplication.cpp:311
#21 0x00007fcb87d78f3e in QCoreApplication::notifyInternal (this=0x7fff66ca00d0, receiver=receiver@entry=0x1621f00, event=event@entry=0x312f210) at kernel/qcoreapplication.cpp:949
#22 0x00007fcb87d7c8a1 in sendEvent (event=0x312f210, receiver=0x1621f00) at kernel/qcoreapplication.h:231
#23 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x15f90e0) at kernel/qcoreapplication.cpp:1573
#24 0x00007fcb87da7423 in sendPostedEvents () at kernel/qcoreapplication.h:236
#25 postEventSourceDispatch (s=s@entry=0x16246d0) at kernel/qeventdispatcher_glib.cpp:280
#26 0x00007fcb830a47d5 in g_main_dispatch (context=0x1626600) at gmain.c:2715
#27 g_main_context_dispatch (context=context@entry=0x1626600) at gmain.c:3219
#28 0x00007fcb830a4b08 in g_main_context_iterate (context=context@entry=0x1626600, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3290
#29 0x00007fcb830a4bc4 in g_main_context_iteration (context=0x1626600, may_block=1) at gmain.c:3351
#30 0x00007fcb87da75b6 in QEventDispatcherGlib::processEvents (this=0x15fed40, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#31 0x00007fcb871c1e0e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#32 0x00007fcb87d77bef in QEventLoop::processEvents (this=this@entry=0x7fff66ca0050, flags=...) at kernel/qeventloop.cpp:149
#33 0x00007fcb87d77e78 in QEventLoop::exec (this=0x7fff66ca0050, flags=...) at kernel/qeventloop.cpp:204
#34 0x00007fcb87d7cbb8 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#35 0x00007fcb884adb13 in Akonadi::ResourceBase::init (r=0x18501a0) at /usr/src/debug/kdepimlibs-4.11.2/akonadi/resourcebase.cpp:548
#36 0x000000000041f033 in _start ()

Possible duplicates by query: bug 325999.

Reported using DrKonqi
Comment 1 Kevin Ottens 2013-11-16 07:27:40 UTC
The IMAP resource has a new maintainer, reassigning to him.
Comment 2 Christian Mollekopf 2013-12-09 21:23:45 UTC

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