Bug 246930

Summary: akonadi imap resource crash when trying to provide more data for bug 243823
Product: [Frameworks and Libraries] Akonadi Reporter: Jaime Torres <jtamate>
Component: IMAP resourceAssignee: Kevin Ottens <ervin>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kdepim-bugs, robert, vkrause
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jaime Torres 2010-08-06 19:00:14 UTC
Application: akonadi_imap_resource (0.1)
KDE Platform Version: 4.5.63 (KDE 4.5.63 (KDE 4.6 >= 20100805)) (Compiled from sources)
Qt Version: 4.7.0
Operating System: Linux 2.6.35optimum x86_64
Distribution (Platform): openSUSE RPMs

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

trying to provide more data for bug 243823. Even akonadi and kmail are a lot faster now than when I filled the previous bug, I can not provide the data yet, becase akonadi imap crashes almost every 5 minutes.

The crash can be reproduced every time.

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

Thread 3 (Thread 0x7f81955fd710 (LWP 12132)):
#0  0x00007fff1b5d2851 in clock_gettime ()
#1  0x00007f81a336d2a3 in clock_gettime (clock_id=1, tp=0x7f81955fcc00) at ../sysdeps/unix/clock_gettime.c:100
#2  0x00007f81a82158e7 in do_gettime () at /g/kde4svn/qt/src/corelib/tools/qelapsedtimer_unix.cpp:105
#3  qt_gettime () at /g/kde4svn/qt/src/corelib/tools/qelapsedtimer_unix.cpp:119
#4  0x00007f81a82ceb7d in QTimerInfoList::updateCurrentTime (this=0x1) at /g/kde4svn/qt/src/corelib/kernel/qeventdispatcher_unix.cpp:339
#5  0x00007f81a82ceba5 in QTimerInfoList::timerWait (this=0x1, tm=...) at /g/kde4svn/qt/src/corelib/kernel/qeventdispatcher_unix.cpp:442
#6  0x00007f81a82d04d7 in QEventDispatcherUNIX::processEvents (this=0x812d80, flags=) at /g/kde4svn/qt/src/corelib/kernel/qeventdispatcher_unix.cpp:906
#7  0x00007f81a82a4312 in QEventLoop::processEvents (this=<value optimized out>, flags=) at /g/kde4svn/qt/src/corelib/kernel/qeventloop.cpp:149
#8  0x00007f81a82a44bd in QEventLoop::exec (this=0x7f81955fcd90, flags=) at /g/kde4svn/qt/src/corelib/kernel/qeventloop.cpp:197
#9  0x00007f81a81c5b24 in QThread::exec (this=<value optimized out>) at /g/kde4svn/qt/src/corelib/thread/qthread.cpp:490
#10 0x00007f81a6dd0242 in KIMAP::SessionThread::run (this=0x812800) at /g/kde4svn/kdepimlibs/kimap/sessionthread.cpp:163
#11 0x00007f81a81c7b99 in QThreadPrivate::start (arg=<value optimized out>) at /g/kde4svn/qt/src/corelib/thread/qthread_unix.cpp:274
#12 0x00007f81a7f2aa4f in start_thread (arg=0x7f81955fd710) at pthread_create.c:297
#13 0x00007f81a40c382d in clone () from /lib64/libc.so.6
#14 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f8193fe5710 (LWP 12135)):
#0  0x00007fff1b5d2851 in clock_gettime ()
#1  0x00007f81a336d2a3 in clock_gettime (clock_id=1, tp=0x7f8193fe4b40) at ../sysdeps/unix/clock_gettime.c:100
#2  0x00007f81a82158e7 in do_gettime () at /g/kde4svn/qt/src/corelib/tools/qelapsedtimer_unix.cpp:105
#3  qt_gettime () at /g/kde4svn/qt/src/corelib/tools/qelapsedtimer_unix.cpp:119
#4  0x00007f81a82ceb7d in QTimerInfoList::updateCurrentTime (this=0x1) at /g/kde4svn/qt/src/corelib/kernel/qeventdispatcher_unix.cpp:339
#5  0x00007f81a82cee43 in QEventDispatcherUNIXPrivate::doSelect (this=0x8aa800, flags=) at /g/kde4svn/qt/src/corelib/kernel/qeventdispatcher_unix.cpp:182
#6  0x00007f81a82d044b in QEventDispatcherUNIX::processEvents (this=0x8a9bc0, flags=) at /g/kde4svn/qt/src/corelib/kernel/qeventdispatcher_unix.cpp:919
#7  0x00007f81a82a4312 in QEventLoop::processEvents (this=<value optimized out>, flags=) at /g/kde4svn/qt/src/corelib/kernel/qeventloop.cpp:149
#8  0x00007f81a82a44bd in QEventLoop::exec (this=0x7f8193fe4d90, flags=) at /g/kde4svn/qt/src/corelib/kernel/qeventloop.cpp:197
#9  0x00007f81a81c5b24 in QThread::exec (this=<value optimized out>) at /g/kde4svn/qt/src/corelib/thread/qthread.cpp:490
#10 0x00007f81a6dd0242 in KIMAP::SessionThread::run (this=0x898730) at /g/kde4svn/kdepimlibs/kimap/sessionthread.cpp:163
#11 0x00007f81a81c7b99 in QThreadPrivate::start (arg=<value optimized out>) at /g/kde4svn/qt/src/corelib/thread/qthread_unix.cpp:274
#12 0x00007f81a7f2aa4f in start_thread (arg=0x7f8193fe5710) at pthread_create.c:297
#13 0x00007f81a40c382d in clone () from /lib64/libc.so.6
#14 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f81a8dad760 (LWP 12128)):
[KCrash Handler]
#6  0x00007f81a40259e5 in raise () from /lib64/libc.so.6
#7  0x00007f81a4026ee6 in abort () from /lib64/libc.so.6
#8  0x00007f81a81c0a3f in qt_message_output (msgType=QtFatalMsg, buf=<value optimized out>) at /g/kde4svn/qt/src/corelib/global/qglobal.cpp:2259
#9  0x00007f81a81c0b00 in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=<value optimized out>, ap=0x6)
    at /g/kde4svn/qt/src/corelib/global/qglobal.cpp:2305
#10 0x00007f81a81c0bd5 in qFatal (msg=0x2f60 <Address 0x2f60 out of bounds>) at /g/kde4svn/qt/src/corelib/global/qglobal.cpp:2488
#11 0x00007f81a893ce73 in Akonadi::ResourceBasePrivate::slotDeliveryDone (this=0x7dab50, job=0x780190) at /g/kde4svn/kdepimlibs/akonadi/resourcebase.cpp:277
#12 0x00007f81a893d7c8 in Akonadi::ResourceBase::qt_metacall (this=0x787e40, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff1b46cca0)
    at /g/build/kdepimlibs/akonadi/moc_resourcebase.cpp:115
#13 0x0000000000421356 in ImapResource::qt_metacall (this=0x2f60, _c=12128, _id=6, _a=0xffffffffffffffff) at /g/build/kdepim/runtime/resources/imap/imapresource.moc:163
#14 0x00007f81a82ba47f in QMetaObject::activate (sender=0x780190, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff)
    at /g/kde4svn/qt/src/corelib/kernel/qobject.cpp:3269
#15 0x00007f81a4bf4642 in KJob::result (this=0x2f60, _t1=0x780190) at /g/build/kdelibs/kdecore/kjob.moc:194
#16 0x00007f81a4bf4991 in KJob::emitResult (this=0x780190) at /g/kde4svn/kdelibs/kdecore/jobs/kjob.cpp:312
#17 0x00007f81a8923f20 in Akonadi::ItemModifyJob::doHandleResponse (this=0x780190, _tag=<value optimized out>, data=...) at /g/kde4svn/kdepimlibs/akonadi/itemmodifyjob.cpp:230
#18 0x00007f81a892b8fa in Akonadi::JobPrivate::handleResponse (this=0x863710, tag=..., data=...) at /g/kde4svn/kdepimlibs/akonadi/job.cpp:79
#19 0x00007f81a894ed15 in Akonadi::SessionPrivate::dataReceived (this=0x7b8b00) at /g/kde4svn/kdepimlibs/akonadi/session.cpp:208
#20 0x00007f81a895011d in Akonadi::Session::qt_metacall (this=0x7ddab0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff1b46d230) at /g/build/kdepimlibs/akonadi/session.moc:92
#21 0x00007f81a82ba47f in QMetaObject::activate (sender=0x7d2be0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff)
    at /g/kde4svn/qt/src/corelib/kernel/qobject.cpp:3269
#22 0x00007f81a82fc960 in QIODevice::qt_metacall (this=0x7d2be0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff1b46d370) at .moc/release-shared/moc_qiodevice.cpp:77
#23 0x00007f81a70b7a70 in QLocalSocket::qt_metacall (this=0x2f60, _c=12128, _id=6, _a=0xffffffffffffffff) at .moc/release-shared/moc_qlocalsocket.cpp:81
#24 0x00007f81a82ba47f in QMetaObject::activate (sender=0x7dfae0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff)
    at /g/kde4svn/qt/src/corelib/kernel/qobject.cpp:3269
#25 0x00007f81a70b182f in QAbstractSocketPrivate::canReadNotification (this=0x7d9f50) at /g/kde4svn/qt/src/network/socket/qabstractsocket.cpp:639
#26 0x00007f81a70a2561 in QReadNotifier::event (this=<value optimized out>, e=0x2f60) at /g/kde4svn/qt/src/network/socket/qnativesocketengine.cpp:1103
#27 0x00007f81a750adfc in QApplicationPrivate::notify_helper (this=0x68c110, receiver=0x801ae0, e=0x7fff1b46d9a0) at /g/kde4svn/qt/src/gui/kernel/qapplication.cpp:4392
#28 0x00007f81a7510648 in QApplication::notify (this=0x7fff1b46de50, receiver=<value optimized out>, e=0x7fff1b46d9a0) at /g/kde4svn/qt/src/gui/kernel/qapplication.cpp:3794
#29 0x00007f81a565890e in KApplication::notify (this=0x7fff1b46de50, receiver=0x801ae0, event=0x7fff1b46d9a0) at /g/kde4svn/kdelibs/kdeui/kernel/kapplication.cpp:284
#30 0x00007f81a82a56b3 in QCoreApplication::notifyInternal (this=0x7fff1b46de50, receiver=0x801ae0, event=0x7fff1b46d9a0) at /g/kde4svn/qt/src/corelib/kernel/qcoreapplication.cpp:732
#31 0x00007f81a82ce3b8 in sendEvent (this=<value optimized out>) at ../../include/QtCore/../../../../kde4svn/qt/src/corelib/kernel/qcoreapplication.h:215
#32 QEventDispatcherUNIX::activateSocketNotifiers (this=<value optimized out>) at /g/kde4svn/qt/src/corelib/kernel/qeventdispatcher_unix.cpp:877
#33 0x00007f81a82cf0d2 in QEventDispatcherUNIXPrivate::doSelect (this=0x0, flags=<value optimized out>, timeout=<value optimized out>)
    at /g/kde4svn/qt/src/corelib/kernel/qeventdispatcher_unix.cpp:305
#34 0x00007f81a82d044b in QEventDispatcherUNIX::processEvents (this=0x6712e0, flags=) at /g/kde4svn/qt/src/corelib/kernel/qeventdispatcher_unix.cpp:919
#35 0x00007f81a75aa19f in QEventDispatcherX11::processEvents (this=<value optimized out>, flags=<value optimized out>) at /g/kde4svn/qt/src/gui/kernel/qeventdispatcher_x11.cpp:152
#36 0x00007f81a82a4312 in QEventLoop::processEvents (this=<value optimized out>, flags=) at /g/kde4svn/qt/src/corelib/kernel/qeventloop.cpp:149
#37 0x00007f81a82a44bd in QEventLoop::exec (this=0x7fff1b46dde0, flags=) at /g/kde4svn/qt/src/corelib/kernel/qeventloop.cpp:197
#38 0x00007f81a82a628b in QCoreApplication::exec () at /g/kde4svn/qt/src/corelib/kernel/qcoreapplication.cpp:1009
#39 0x00007f81a893d979 in Akonadi::ResourceBase::init (r=0x787e40) at /g/kde4svn/kdepimlibs/akonadi/resourcebase.cpp:245
#40 0x000000000042b44d in Akonadi::ResourceBase::init<ImapResource> (argc=<value optimized out>, argv=<value optimized out>) at /opt/kde4/include/akonadi/resourcebase.h:186
#41 0x00007f81a4011b7d in __libc_start_main () from /lib64/libc.so.6
#42 0x0000000000414a09 in _start () at ../sysdeps/x86_64/elf/start.S:113

Reported using DrKonqi
Comment 1 Jaime Torres 2010-08-06 19:01:38 UTC
Probably related to bug 235835
Comment 2 Christophe Marin 2010-09-19 14:53:36 UTC
*** Bug 246560 has been marked as a duplicate of this bug. ***
Comment 3 Kevin Ottens 2011-09-17 16:31:01 UTC

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