Bug 324432

Summary: Akonadi IMAP resource crashed when stopping IMAP server
Product: [Frameworks and Libraries] Akonadi Reporter: Jan Binder <wheel>
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: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jan Binder 2013-09-02 22:53:26 UTC
Application: akonadi_imap_resource (4.11)
KDE Platform Version: 4.11.60 (Compiled from sources)
Qt Version: 4.8.5
Operating System: Linux 3.11.0-rc6 x86_64
Distribution: Debian GNU/Linux unstable (sid)

-- Information about the crash:
- What I was doing when the application crashed:

Stopped Dovecot 2.1.x for update, then the Akonadi resource crashed.

-- Backtrace:
Application: local vom Typ IMAP-E-Mail-Server (akonadi_imap_resource), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f2f191df780 (LWP 26223))]

Thread 2 (Thread 0x7f2f0374a700 (LWP 26687)):
#0  0x00007f2f1412319d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f2f132c15c4 in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7f2ef4002f90, timeout=-1, context=0x7f2ef4002600) at /build/glib2.0-U55j9q/glib2.0-2.37.6/./glib/gmain.c:4006
#2  g_main_context_iterate (context=context@entry=0x7f2ef4002600, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-U55j9q/glib2.0-2.37.6/./glib/gmain.c:3707
#3  0x00007f2f132c16cc in g_main_context_iteration (context=0x7f2ef4002600, may_block=1) at /build/glib2.0-U55j9q/glib2.0-2.37.6/./glib/gmain.c:3773
#4  0x00007f2f185e1d06 in QEventDispatcherGlib::processEvents (this=0x7f2ef4002b80, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#5  0x00007f2f185b37bf in QEventLoop::processEvents (this=this@entry=0x7f2f03749df0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f2f185b3ab5 in QEventLoop::exec (this=this@entry=0x7f2f03749df0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f2f184b28cf in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#8  0x00007f2f184b4f6f in QThreadPrivate::start (arg=0x2357460) at thread/qthread_unix.cpp:338
#9  0x00007f2f18225e0e in start_thread (arg=0x7f2f0374a700) at pthread_create.c:311
#10 0x00007f2f1412e93d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f2f191df780 (LWP 26223)):
[KCrash Handler]
#6  0x00007f2f1407b1e5 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007f2f1407e398 in __GI_abort () at abort.c:90
#8  0x00007f2f184aa912 in qt_message_output (msgType=msgType@entry=QtFatalMsg, buf=0x20cc498 "ASSERT: \"!socketTimer.isActive()\" in file /media/wares/kdesrc/kde/kdepimlibs/kimap/session.cpp, line 470") at global/qglobal.cpp:2347
#9  0x00007f2f184aac79 in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, msg=msg@entry=0x7f2f18615ee0 "ASSERT: \"%s\" in file %s, line %d", ap=ap@entry=0x7fff1aaa7f58) at global/qglobal.cpp:2393
#10 0x00007f2f184ab484 in qFatal (msg=msg@entry=0x7f2f18615ee0 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2576
#11 0x00007f2f184ab4c6 in qt_assert (assertion=assertion@entry=0x7f2f1700677d "!socketTimer.isActive()", file=file@entry=0x7f2f17006670 "/media/wares/kdesrc/kde/kdepimlibs/kimap/session.cpp", line=line@entry=470) at global/qglobal.cpp:2021
#12 0x00007f2f16febcf8 in KIMAP::SessionPrivate::startSocketTimer (this=this@entry=0x20e9340) at /media/wares/kdesrc/kde/kdepimlibs/kimap/session.cpp:470
#13 0x00007f2f16fecccd in KIMAP::SessionPrivate::doStartNext (this=0x20e9340) at /media/wares/kdesrc/kde/kdepimlibs/kimap/session.cpp:173
#14 0x00007f2f185bce98 in QMetaMethod::invoke (this=this@entry=0x7fff1aaa83a0, object=object@entry=0x20e9340, connectionType=Qt::DirectConnection, connectionType@entry=Qt::AutoConnection, returnValue=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1664
#15 0x00007f2f185bf358 in QMetaObject::invokeMethod (obj=obj@entry=0x20e9340, member=member@entry=0x7f2f17006771 "doStartNext", type=type@entry=Qt::AutoConnection, ret=..., val0=..., val1=..., val2=..., val2@entry=..., val3=..., val3@entry=..., val4=..., val4@entry=..., val5=..., val5@entry=..., val6=..., val6@entry=..., val7=..., val7@entry=..., val8=..., val8@entry=..., val9=..., val9@entry=...) at kernel/qmetaobject.cpp:1179
#16 0x00007f2f16fedd90 in QMetaObject::invokeMethod (obj=obj@entry=0x20e9340, member=member@entry=0x7f2f17006771 "doStartNext", val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at /usr/include/qt4/QtCore/qobjectdefs.h:434
#17 0x00007f2f16febc13 in KIMAP::SessionPrivate::startNext (this=this@entry=0x20e9340) at /media/wares/kdesrc/kde/kdepimlibs/kimap/session.cpp:164
#18 0x00007f2f16feca63 in KIMAP::SessionPrivate::addJob (this=0x20e9340, job=0x20e9fd0) at /media/wares/kdesrc/kde/kdepimlibs/kimap/session.cpp:158
#19 0x00000000004182fb in ImapIdleManager::onSessionRequestDone (this=0x20c0760, requestId=<optimized out>, session=<optimized out>, errorCode=<optimized out>) at /media/wares/kdesrc/kde/kdepim-runtime/resources/imap/imapidlemanager.cpp:97
#20 0x00007f2f185c8cf8 in QMetaObject::activate (sender=sender@entry=0x22a0270, m=m@entry=0x46ebc0 <SessionPool::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff1aaa8a30) at kernel/qobject.cpp:3547
#21 0x0000000000453242 in SessionPool::sessionRequestDone (this=this@entry=0x22a0270, _t1=4027, _t2=_t2@entry=0x22750f0, _t3=_t3@entry=0, _t4=...) at /media/wares/kdesrc/build/kde/kdepim-runtime/resources/imap/sessionpool.moc:153
#22 0x0000000000454a1b in SessionPool::processPendingRequests (this=this@entry=0x22a0270) at /media/wares/kdesrc/kde/kdepim-runtime/resources/imap/sessionpool.cpp:258
#23 0x0000000000455280 in SessionPool::qt_static_metacall (_o=0x22a0270, _c=<optimized out>, _id=<optimized out>, _a=0x243c2a0) at /media/wares/kdesrc/build/kde/kdepim-runtime/resources/imap/sessionpool.moc:92
#24 0x00007f2f185cd0ae in QObject::event (this=0x22a0270, e=<optimized out>) at kernel/qobject.cpp:1194
#25 0x00007f2f1773c70c in QApplicationPrivate::notify_helper (this=this@entry=0x2043ad0, receiver=receiver@entry=0x22a0270, e=e@entry=0x22c30f0) at kernel/qapplication.cpp:4567
#26 0x00007f2f17742d80 in QApplication::notify (this=this@entry=0x7fff1aaa91b0, receiver=receiver@entry=0x22a0270, e=e@entry=0x22c30f0) at kernel/qapplication.cpp:4353
#27 0x00007f2f1556b9f6 in KApplication::notify (this=0x7fff1aaa91b0, receiver=0x22a0270, event=0x22c30f0) at /media/wares/kdesrc/kde/kdelibs/kdeui/kernel/kapplication.cpp:311
#28 0x00007f2f185b4b5d in QCoreApplication::notifyInternal (this=0x7fff1aaa91b0, receiver=receiver@entry=0x22a0270, event=event@entry=0x22c30f0) at kernel/qcoreapplication.cpp:949
#29 0x00007f2f185b80bf in sendEvent (event=0x22c30f0, receiver=0x22a0270) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#30 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x200e3b0) at kernel/qcoreapplication.cpp:1573
#31 0x00007f2f185b8563 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1466
#32 0x00007f2f185e2423 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#33 postEventSourceDispatch (s=s@entry=0x2043330) at kernel/qeventdispatcher_glib.cpp:280
#34 0x00007f2f132c12d6 in g_main_dispatch (context=0x2046380) at /build/glib2.0-U55j9q/glib2.0-2.37.6/./glib/gmain.c:3065
#35 g_main_context_dispatch (context=context@entry=0x2046380) at /build/glib2.0-U55j9q/glib2.0-2.37.6/./glib/gmain.c:3641
#36 0x00007f2f132c1628 in g_main_context_iterate (context=context@entry=0x2046380, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-U55j9q/glib2.0-2.37.6/./glib/gmain.c:3712
#37 0x00007f2f132c16cc in g_main_context_iteration (context=0x2046380, may_block=1) at /build/glib2.0-U55j9q/glib2.0-2.37.6/./glib/gmain.c:3773
#38 0x00007f2f185e1ce5 in QEventDispatcherGlib::processEvents (this=0x2013bc0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#39 0x00007f2f177da846 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x00007f2f185b37bf in QEventLoop::processEvents (this=this@entry=0x7fff1aaa9110, flags=...) at kernel/qeventloop.cpp:149
#41 0x00007f2f185b3ab5 in QEventLoop::exec (this=this@entry=0x7fff1aaa9110, flags=...) at kernel/qeventloop.cpp:204
#42 0x00007f2f185b90fb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#43 0x00007f2f1773aecc in QApplication::exec () at kernel/qapplication.cpp:3828
#44 0x00007f2f18cedb38 in Akonadi::ResourceBase::init (r=r@entry=0x22cd520) at /media/wares/kdesrc/kde/kdepimlibs/akonadi/resourcebase.cpp:548
#45 0x0000000000420d28 in Akonadi::ResourceBase::init<ImapResource> (argc=<optimized out>, argv=<optimized out>) at /usr/local/include/akonadi/resourcebase.h:192
#46 0x00007f2f14067995 in __libc_start_main (main=0x4174f0 <main(int, char**)>, argc=3, ubp_av=0x7fff1aaa92c8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff1aaa92b8) at libc-start.c:260
#47 0x0000000000417bbb in _start ()

Possible duplicates by query: bug 321758, bug 316495, bug 313194, bug 313047, bug 312308.

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

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