Application: akonadi_imap_resource (0.1) KDE Platform Version: 4.4.3 (KDE 4.4.3) Qt Version: 4.6.2 Operating System: Linux 2.6.32-22-generic i686 Distribution: Ubuntu 10.04 LTS -- Information about the crash: When I add an IMAP resource to Akonadi it will almost instantly start to crash. It does that several times in a row, until automatic restarts are disabled automatically by KDE. The crash can be reproduced every time. -- Backtrace: Application: Akonadi Resource (akonadi_imap_resource), signal: Segmentation fault [Current thread is 1 (Thread 0xb7879730 (LWP 2249))] Thread 2 (Thread 0xb61eab70 (LWP 2253)): [KCrash Handler] #6 QBasicAtomicInt::operator!= (this=0x9baf728, ch=91 '[') at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:75 #7 QByteArray::append (this=0x9baf728, ch=91 '[') at tools/qbytearray.cpp:1634 #8 0x0072b0c4 in QByteArray::operator+= (this=0x9b67ed0) at /usr/include/qt4/QtCore/qbytearray.h:487 #9 KIMAP::ImapStreamParser::readParenthesizedList (this=0x9b67ed0) at ../../kimap/imapstreamparser.cpp:236 #10 0x00744f0d in KIMAP::SessionThread::readMessage (this=0x9b76178) at ../../kimap/sessionthread.cpp:93 #11 0x00745663 in KIMAP::SessionThread::qt_metacall (this=0x9b76178, _c=QMetaObject::InvokeMetaMethod, _id=17, _a=0x9b9a0c0) at ./sessionthread_p.moc:97 #12 0x0027dc9a in QMetaObject::metacall (object=0x9b76178, cl=163247916, idx=17, argv=0x9b9a0c0) at kernel/qmetaobject.cpp:237 #13 0x00288336 in QMetaCallEvent::placeMetaCall (this=0x9afc280, object=0x9b76178) at kernel/qobject.cpp:561 #14 0x002893fe in QObject::event (this=0x9b76178, e=0x9afc280) at kernel/qobject.cpp:1248 #15 0x011204dc in QApplicationPrivate::notify_helper (this=0x9a831e8, receiver=0x9b76178, e=0x9afc280) at kernel/qapplication.cpp:4300 #16 0x0112705e in QApplication::notify (this=0xbff8ef10, receiver=0x9b76178, e=0x9afc280) at kernel/qapplication.cpp:3704 #17 0x01dfaf5a in KApplication::notify (this=0xbff8ef10, receiver=0x9b76178, event=0x9afc280) at ../../kdeui/kernel/kapplication.cpp:302 #18 0x00278a3b in QCoreApplication::notifyInternal (this=0xbff8ef10, receiver=0x9b76178, event=0x9afc280) at kernel/qcoreapplication.cpp:704 #19 0x0027b473 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x9bd2498) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #20 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9bd2498) at kernel/qcoreapplication.cpp:1345 #21 0x0027b5dd in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1238 #22 0x002a4adf in QCoreApplication::sendPostedEvents (s=0x9b740a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220 #23 postEventSourceDispatch (s=0x9b740a0) at kernel/qeventdispatcher_glib.cpp:276 #24 0x007b25e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #25 0x007b62d8 in ?? () from /lib/libglib-2.0.so.0 #26 0x007b64b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #27 0x002a45d5 in QEventDispatcherGlib::processEvents (this=0x9bb8ea8, flags=...) at kernel/qeventdispatcher_glib.cpp:412 #28 0x00277059 in QEventLoop::processEvents (this=0xb61ea290, flags=) at kernel/qeventloop.cpp:149 #29 0x002774aa in QEventLoop::exec (this=0xb61ea290, flags=...) at kernel/qeventloop.cpp:201 #30 0x001735a8 in QThread::exec (this=0x9b76178) at thread/qthread.cpp:487 #31 0x00743bea in KIMAP::SessionThread::run (this=0x9b76178) at ../../kimap/sessionthread.cpp:160 #32 0x0017632e in QThreadPrivate::start (arg=0x9b76178) at thread/qthread_unix.cpp:248 #33 0x0068b96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #34 0x07873a0e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 1 (Thread 0xb7879730 (LWP 2249)): #0 0x00853422 in __kernel_vsyscall () #1 0x07865b86 in poll () from /lib/tls/i686/cmov/libc.so.6 #2 0x02570d60 in ?? () from /usr/lib/libxcb.so.1 #3 0x025712cb in ?? () from /usr/lib/libxcb.so.1 #4 0x02571667 in xcb_writev () from /usr/lib/libxcb.so.1 #5 0x049d3d79 in _XSend () from /usr/lib/libX11.so.6 #6 0x049d3f10 in _XReply () from /usr/lib/libX11.so.6 #7 0x049c1c51 in XQueryTree () from /usr/lib/libX11.so.6 #8 0x011cbce7 in QWidgetPrivate::updateFrameStrut (this=0x9c1ce18) at kernel/qwidget_x11.cpp:2850 #9 0x0117ac06 in QWidgetPrivate::frameStrut (this=0x9c1ce18) at kernel/qwidget.cpp:11525 #10 0x0118169e in QWidget::frameGeometry (this=0xbff8e354) at kernel/qwidget.cpp:3222 #11 0x02093382 in OxygenHelper::renderWindowBackground (this=0x9abc710, p=0xbff8d318, clipRect=..., widget=0xbff8e354, window=0xbff8e354, pal=..., y_shift=-23, gradientHeight=64) at ../../../kstyles/oxygen/lib/helper.cpp:101 #12 0x020ce13f in OxygenHelper::renderWindowBackground (this=0x9abc710, p=0xffffffff, clipRect=..., widget=0xbff8e354, pal=..., gradientHeight=<value optimized out>, y_shift=<value optimized out>) at ../../../kstyles/oxygen/lib/helper.h:69 #13 0x020db3e8 in OxygenStyle::eventFilter (this=0x9adb940, obj=0xbff8e354, ev=0xbff8d814) at ../../../kstyles/oxygen/oxygen.cpp:6399 #14 0x00277cda in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x9a831e8, receiver=0xbff8e354, event=0xbff8d814) at kernel/qcoreapplication.cpp:819 #15 0x011204b9 in QApplicationPrivate::notify_helper (this=0x9a831e8, receiver=0xbff8e354, e=0xbff8d814) at kernel/qapplication.cpp:4296 #16 0x011270f9 in QApplication::notify (this=0xbff8ef10, receiver=0xbff8e354, e=0xbff8d814) at kernel/qapplication.cpp:4265 #17 0x01dfaf5a in KApplication::notify (this=0xbff8ef10, receiver=0xbff8e354, event=0xbff8d814) at ../../kdeui/kernel/kapplication.cpp:302 #18 0x00278a3b in QCoreApplication::notifyInternal (this=0xbff8ef10, receiver=0xbff8e354, event=0xbff8d814) at kernel/qcoreapplication.cpp:704 #19 0x011879d6 in QCoreApplication::sendSpontaneousEvent (this=0x9c1ce18, pdev=0xbff8da3c, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218 #20 QWidgetPrivate::drawWidget (this=0x9c1ce18, pdev=0xbff8da3c, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x0) at kernel/qwidget.cpp:5339 #21 0x01188a80 in QWidget::render (this=0xbff8e354, target=0xbff8da3c, targetOffset=..., sourceRegion=..., renderFlags=...) at kernel/qwidget.cpp:4938 #22 0x01218af2 in QPixmap::grabWidget (widget=0xbff8e354, rect=...) at image/qpixmap.cpp:1085 #23 0x020c7818 in Oxygen::TransitionWidget::grab (this=0x9d81cd8, widget=0x9a88a28, rect=...) at ../../../kstyles/oxygen/transitions/oxygentransitionwidget.cpp:86 #24 0x020c27ee in Oxygen::LineEditData::timerEvent (this=0x9d81c38, event=0xbff8e040) at ../../../kstyles/oxygen/transitions/oxygenlineeditdata.cpp:87 #25 0x00289254 in QObject::event (this=0x9d81c38, e=0xffffffff) at kernel/qobject.cpp:1212 #26 0x011204dc in QApplicationPrivate::notify_helper (this=0x9a831e8, receiver=0x9d81c38, e=0xbff8e040) at kernel/qapplication.cpp:4300 #27 0x0112705e in QApplication::notify (this=0xbff8ef10, receiver=0x9d81c38, e=0xbff8e040) at kernel/qapplication.cpp:3704 #28 0x01dfaf5a in KApplication::notify (this=0xbff8ef10, receiver=0x9d81c38, event=0xbff8e040) at ../../kdeui/kernel/kapplication.cpp:302 #29 0x00278a3b in QCoreApplication::notifyInternal (this=0xbff8ef10, receiver=0x9d81c38, event=0xbff8e040) at kernel/qcoreapplication.cpp:704 #30 0x002a7d66 in QCoreApplication::sendEvent (this=0x9a85fa4) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #31 QTimerInfoList::activateTimers (this=0x9a85fa4) at kernel/qeventdispatcher_unix.cpp:603 #32 0x002a48e4 in timerSourceDispatch (source=0x9a85f70) at kernel/qeventdispatcher_glib.cpp:184 #33 0x007b25e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #34 0x007b62d8 in ?? () from /lib/libglib-2.0.so.0 #35 0x007b64b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #36 0x002a45d5 in QEventDispatcherGlib::processEvents (this=0x9a6dd90, flags=...) at kernel/qeventdispatcher_glib.cpp:412 #37 0x011e0135 in QGuiEventDispatcherGlib::processEvents (this=0x9a6dd90, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #38 0x00277059 in QEventLoop::processEvents (this=0xbff8e300, flags=) at kernel/qeventloop.cpp:149 #39 0x002774aa in QEventLoop::exec (this=0xbff8e300, flags=...) at kernel/qeventloop.cpp:201 #40 0x0165f4f3 in QDialog::exec (this=0xbff8e354) at dialogs/qdialog.cpp:546 #41 0x08063ac2 in ImapResource::configure (this=0x9b473f8, windowId=12582949) at ../../../resources/imap/imapresource.cpp:214 #42 0x00f8f025 in ControlAdaptor::configure (this=0x9b4e5e8, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbff8e4fc) at controladaptor.cpp:51 #43 ControlAdaptor::qt_metacall (this=0x9b4e5e8, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbff8e4fc) at controladaptor.moc:101 #44 0x0092cb34 in QDBusConnectionPrivate::deliverCall (this=0x9aaf6f8, object=0x9b4e5e8, msg=..., metaTypes=..., slotIdx=8) at qdbusintegrator.cpp:904 #45 0x0092dddf in QDBusConnectionPrivate::activateCall (this=0x9aaf6f8, object=0x9b4e5e8, flags=273, msg=...) at qdbusintegrator.cpp:809 #46 0x0092e880 in QDBusConnectionPrivate::activateObject (this=0x9aaf6f8, node=..., msg=..., pathStartPos=1) at qdbusintegrator.cpp:1364 #47 0x0092eb1a in QDBusActivateObjectEvent::placeMetaCall (this=0x9bcf8e8) at qdbusintegrator.cpp:1477 #48 0x002893fe in QObject::event (this=0x9b473f8, e=0x9bcf8e8) at kernel/qobject.cpp:1248 #49 0x011204dc in QApplicationPrivate::notify_helper (this=0x9a831e8, receiver=0x9b473f8, e=0x9bcf8e8) at kernel/qapplication.cpp:4300 #50 0x0112705e in QApplication::notify (this=0xbff8ef10, receiver=0x9b473f8, e=0x9bcf8e8) at kernel/qapplication.cpp:3704 #51 0x01dfaf5a in KApplication::notify (this=0xbff8ef10, receiver=0x9b473f8, event=0x9bcf8e8) at ../../kdeui/kernel/kapplication.cpp:302 #52 0x00278a3b in QCoreApplication::notifyInternal (this=0xbff8ef10, receiver=0x9b473f8, event=0x9bcf8e8) at kernel/qcoreapplication.cpp:704 #53 0x0027b473 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x9a6dbb0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #54 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9a6dbb0) at kernel/qcoreapplication.cpp:1345 #55 0x0027b5dd in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1238 #56 0x002a4adf in QCoreApplication::sendPostedEvents (s=0x9a84d90) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220 #57 postEventSourceDispatch (s=0x9a84d90) at kernel/qeventdispatcher_glib.cpp:276 #58 0x007b25e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #59 0x007b62d8 in ?? () from /lib/libglib-2.0.so.0 #60 0x007b64b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #61 0x002a45d5 in QEventDispatcherGlib::processEvents (this=0x9a6dd90, flags=...) at kernel/qeventdispatcher_glib.cpp:412 #62 0x011e0135 in QGuiEventDispatcherGlib::processEvents (this=0x9a6dd90, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #63 0x00277059 in QEventLoop::processEvents (this=0xbff8ee74, flags=) at kernel/qeventloop.cpp:149 #64 0x002774aa in QEventLoop::exec (this=0xbff8ee74, flags=...) at kernel/qeventloop.cpp:201 #65 0x0027b69f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981 #66 0x01120577 in QApplication::exec () at kernel/qapplication.cpp:3579 #67 0x00f46f03 in Akonadi::ResourceBase::init (r=0x9b473f8) at ../../akonadi/resourcebase.cpp:219 #68 0x080617d3 in Akonadi::ResourceBase::init<ImapResource> (argc=3, argv=0xbff8eff4) at /usr/include/akonadi/resourcebase.h:186 #69 main (argc=3, argv=0xbff8eff4) at ../../../resources/imap/imapresource.cpp:1897 Reported using DrKonqi
*** Bug 250176 has been marked as a duplicate of this bug. ***
Created attachment 58089 [details] New crash information added by DrKonqi akonadi_imap_resource (0.1) on KDE Platform 4.6.1 (4.6.1) using Qt 4.7.2 - What I was doing when the application crashed: Kmail was "downloading" emails and filtering them from an IMAP-account. -- Backtrace (Reduced): #6 operator!= (this=0x7cb220, ch=91 '[') at ../../src/corelib/thread/qbasicatomic.h:75 #7 QByteArray::append (this=0x7cb220, ch=91 '[') at tools/qbytearray.cpp:1659 #8 0x00007f4f2fb50698 in operator+= (this=0x7f4f1800abf0) at /usr/include/QtCore/qbytearray.h:488 #9 KIMAP::ImapStreamParser::readParenthesizedList (this=0x7f4f1800abf0) at /usr/src/debug/kdepimlibs-4.6.1/kimap/imapstreamparser.cpp:237 #10 0x00007f4f2fb5c98f in KIMAP::SessionThread::readMessage (this=0x7cb160) at /usr/src/debug/kdepimlibs-4.6.1/kimap/sessionthread.cpp:96
Created attachment 60018 [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: Kontact was filtering emails from an imap account to local folders. I can reproduce this by selecting several messages on the imap account and right click > apply filters > apply all. If one issues this several times while kontact is still filtering the resource is likely to crash. Konsole shows "The stream parser raised an exception: Unable to read more data" before the resource crashes. request for item 84608 succeeded void Nepomuk::Query::QueryServiceClient::close() posting retrieval request for item 84596 there are 1 queues and 0 items in mine processing retrieval request for item 84596 parts: ("RFC822") of resource: "akonadi_imap_resource_2" request for item 84596 still pending - waiting continuing request for item 84596 "290295" failed: "Unable to retrieve item from resource: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken." ItemRetrieverException : Unable to retrieve item from resource: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. posting retrieval request for item 84596 there are 1 queues and 0 items in mine request for item 84596 still pending - waiting processing retrieval request for item 84596 parts: ("RFC822") of resource: "akonadi_imap_resource_2" The stream parser raised an exception: Unable to read more data KCrash: Application 'akonadi_imap_resource' crashing... KCrash: Attempting to start /usr/lib64/kde4/libexec/drkonqi from kdeinit sock_file=/home/rabauke/.kde4/socket-linux-ly0d/kdeinit4__0 Lost connection to resource "org.freedesktop.Akonadi.Resource.akonadi_imap_resource_2" , discarding cached interface continuing request for item 84596 "290295" failed: "Unable to retrieve item from resource: Message did not receive a reply (timeout by message bus)" ItemRetrieverException : Unable to retrieve item from resource: Message did not receive a reply (timeout by message bus) -- Backtrace (Reduced): #6 operator!= (this=0x9c4930, ch=91 '[') at ../../src/corelib/thread/qbasicatomic.h:75 #7 QByteArray::append (this=0x9c4930, ch=91 '[') at tools/qbytearray.cpp:1659 #8 0x00007ffbf188d8e8 in operator+= (this=0x8da2d0) at /usr/include/QtCore/qbytearray.h:488 #9 KIMAP::ImapStreamParser::readParenthesizedList (this=0x8da2d0) at /usr/src/debug/kdepimlibs-4.6.3/kimap/imapstreamparser.cpp:245 #10 0x00007ffbf1899cef in KIMAP::SessionThread::readMessage (this=0x7fc9b0) at /usr/src/debug/kdepimlibs-4.6.3/kimap/sessionthread.cpp:96
*** Bug 276311 has been marked as a duplicate of this bug. ***
Got the same crash today with akonadi 1.6.0 on kubuntu 11.10 with KDE 4.7.0 (and kdepim 4.7.0)
Should be fixed with commit 29a2181 in kdepimlibs (https://projects.kde.org/projects/kde/kdepimlibs/repository/revisions/29a21818f4526b4a58ea6818e8b9df271b11d298)