Bug 250176

Summary: Akonadi resource crashes after pseudo-random interval (typically around 20 minutes)
Product: [Frameworks and Libraries] Akonadi Reporter: Georg Greve <greve>
Component: IMAP resourceAssignee: Kevin Ottens <ervin>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kdepim-bugs, vkrause
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Georg Greve 2010-09-04 17:34:16 UTC
Application: akonadi_imap_resource (0.1)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.34.6-47.fc13.i686 i686
Distribution: "Fedora release 13 (Goddard)"

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

Nothing, actually.

It does not matter whether I am in front of the computer doing something, or not.

The crash can be reproduced every time.

-- Backtrace:
Application: Akonadi Resource (akonadi_imap_resource), signal: Segmentation fault
[Current thread is 1 (Thread 0xb7813780 (LWP 2121))]

Thread 4 (Thread 0xb584cb70 (LWP 2671)):
[KCrash Handler]
#7  operator!= (this=0xb4df8d50, ch=91 '[') at ../../src/corelib/thread/qbasicatomic.h:75
#8  QByteArray::append (this=0xb4df8d50, ch=91 '[') at tools/qbytearray.cpp:1643
#9  0x02a98d3c in operator+= (this=0xb4da1f58) at /usr/include/QtCore/qbytearray.h:487
#10 KIMAP::ImapStreamParser::readParenthesizedList (this=0xb4da1f58) at /usr/src/debug/kdepimlibs-4.5.1/kimap/imapstreamparser.cpp:239
#11 0x02ab2505 in KIMAP::SessionThread::readMessage (this=0x957ba70) at /usr/src/debug/kdepimlibs-4.5.1/kimap/sessionthread.cpp:93
#12 0x02ab311b in KIMAP::SessionThread::qt_metacall (this=0x957ba70, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xb4d4e058)
    at /usr/src/debug/kdepimlibs-4.5.1/i686-redhat-linux-gnu/kimap/sessionthread_p.moc:99
#13 0x06980f1b in QMetaObject::metacall (object=0x957ba70, cl=QMetaObject::InvokeMetaMethod, idx=17, argv=0xb4d4e058) at kernel/qmetaobject.cpp:237
#14 0x0698c3c7 in QMetaCallEvent::placeMetaCall (this=0xb4d4e068, object=0x957ba70) at kernel/qobject.cpp:534
#15 0x0698dd52 in QObject::event (this=0x957ba70, e=0xb4d4e068) at kernel/qobject.cpp:1211
#16 0x0398440c in QApplicationPrivate::notify_helper (this=0x951add0, receiver=0x957ba70, e=0xb4d4e068) at kernel/qapplication.cpp:4396
#17 0x0398a9b6 in QApplication::notify (this=0xbfff97e0, receiver=0x957ba70, e=0xb4d4e068) at kernel/qapplication.cpp:3798
#18 0x052aeccb in KApplication::notify (this=0xbfff97e0, receiver=0x957ba70, event=0xb4d4e068) at /usr/src/debug/kdelibs-4.5.1/kdeui/kernel/kapplication.cpp:310
#19 0x0697bb33 in QCoreApplication::notifyInternal (this=0xbfff97e0, receiver=0x957ba70, event=0xb4d4e068) at kernel/qcoreapplication.cpp:732
#20 0x0697f6e3 in sendEvent (receiver=0x0, event_type=0, data=0x957bbd8) at kernel/qcoreapplication.h:215
#21 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x957bbd8) at kernel/qcoreapplication.cpp:1373
#22 0x0697f89e in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#23 0x069a6a65 in sendPostedEvents (s=0xb4d00d68) at kernel/qcoreapplication.h:220
#24 postEventSourceDispatch (s=0xb4d00d68) at kernel/qeventdispatcher_glib.cpp:277
#25 0x00158525 in g_main_dispatch (context=0xb4d004e8) at gmain.c:1960
#26 IA__g_main_context_dispatch (context=0xb4d004e8) at gmain.c:2513
#27 0x0015c268 in g_main_context_iterate (context=0xde6490, block=1, dispatch=1, self=0xb4da2390) at gmain.c:2591
#28 0x0015c449 in IA__g_main_context_iteration (context=0xb4d004e8, may_block=1) at gmain.c:2654
#29 0x069a6546 in QEventDispatcherGlib::processEvents (this=0xb4d00468, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#30 0x0697a6aa in QEventLoop::processEvents (this=0xb584c234, flags=...) at kernel/qeventloop.cpp:149
#31 0x0697aa0a in QEventLoop::exec (this=0xb584c234, flags=...) at kernel/qeventloop.cpp:201
#32 0x06883de8 in QThread::exec (this=0x957ba70) at thread/qthread.cpp:490
#33 0x02ab1cbb in KIMAP::SessionThread::run (this=0x957ba70) at /usr/src/debug/kdepimlibs-4.5.1/kimap/sessionthread.cpp:163
#34 0x068866da in QThreadPrivate::start (arg=0x957ba70) at thread/qthread_unix.cpp:266
#35 0x00de3919 in start_thread (arg=0xb584cb70) at pthread_create.c:301
#36 0x00cf9cbe in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 3 (Thread 0xb3effb70 (LWP 2677)):
#0  0x002b1416 in __kernel_vsyscall ()
#1  0x00ceede6 in __poll (fds=0xb4003b30, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x0016964c in IA__g_poll (fds=0xb4003b30, nfds=1, timeout=-1) at gpoll.c:127
#3  0x0015c044 in g_main_context_poll (context=0xde6490, block=1, dispatch=1, self=0xb4003198) at gmain.c:2904
#4  g_main_context_iterate (context=0xde6490, block=1, dispatch=1, self=0xb4003198) at gmain.c:2586
#5  0x0015c449 in IA__g_main_context_iteration (context=0xb40004e8, may_block=1) at gmain.c:2654
#6  0x069a657f in QEventDispatcherGlib::processEvents (this=0xb4000468, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#7  0x0697a6aa in QEventLoop::processEvents (this=0xb3eff234, flags=...) at kernel/qeventloop.cpp:149
#8  0x0697aa0a in QEventLoop::exec (this=0xb3eff234, flags=...) at kernel/qeventloop.cpp:201
#9  0x06883de8 in QThread::exec (this=0x9617b98) at thread/qthread.cpp:490
#10 0x02ab1cbb in KIMAP::SessionThread::run (this=0x9617b98) at /usr/src/debug/kdepimlibs-4.5.1/kimap/sessionthread.cpp:163
#11 0x068866da in QThreadPrivate::start (arg=0x9617b98) at thread/qthread_unix.cpp:266
#12 0x00de3919 in start_thread (arg=0xb3effb70) at pthread_create.c:301
#13 0x00cf9cbe in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 2 (Thread 0xb4cffb70 (LWP 2770)):
#0  0x002b1416 in __kernel_vsyscall ()
#1  0x00ceede6 in __poll (fds=0xb4104220, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x0016964c in IA__g_poll (fds=0xb4104220, nfds=1, timeout=-1) at gpoll.c:127
#3  0x0015c044 in g_main_context_poll (context=0xde6490, block=1, dispatch=1, self=0xb41038a8) at gmain.c:2904
#4  g_main_context_iterate (context=0xde6490, block=1, dispatch=1, self=0xb41038a8) at gmain.c:2586
#5  0x0015c449 in IA__g_main_context_iteration (context=0xb41004e8, may_block=1) at gmain.c:2654
#6  0x069a657f in QEventDispatcherGlib::processEvents (this=0xb4100468, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#7  0x0697a6aa in QEventLoop::processEvents (this=0xb4cff234, flags=...) at kernel/qeventloop.cpp:149
#8  0x0697aa0a in QEventLoop::exec (this=0xb4cff234, flags=...) at kernel/qeventloop.cpp:201
#9  0x06883de8 in QThread::exec (this=0x960dd70) at thread/qthread.cpp:490
#10 0x02ab1cbb in KIMAP::SessionThread::run (this=0x960dd70) at /usr/src/debug/kdepimlibs-4.5.1/kimap/sessionthread.cpp:163
#11 0x068866da in QThreadPrivate::start (arg=0x960dd70) at thread/qthread_unix.cpp:266
#12 0x00de3919 in start_thread (arg=0xb4cffb70) at pthread_create.c:301
#13 0x00cf9cbe in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 1 (Thread 0xb7813780 (LWP 2121)):
#0  0x002b1416 in __kernel_vsyscall ()
#1  0x00de722c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:169
#2  0x068871cf in wait (this=0x957bb08, mutex=0x957baf0, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#3  QWaitCondition::wait (this=0x957bb08, mutex=0x957baf0, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#4  0x068862f9 in QThread::wait (this=0x957ba70, time=4294967295) at thread/qthread_unix.cpp:652
#5  0x02ab325a in KIMAP::SessionThread::~SessionThread (this=0x957ba70, __in_chrg=<value optimized out>) at /usr/src/debug/kdepimlibs-4.5.1/kimap/sessionthread.cpp:52
#6  0x02ab3313 in KIMAP::SessionThread::~SessionThread (this=0x957ba70, __in_chrg=<value optimized out>) at /usr/src/debug/kdepimlibs-4.5.1/kimap/sessionthread.cpp:53
#7  0x02aae268 in KIMAP::Session::~Session (this=0x957b830, __in_chrg=<value optimized out>) at /usr/src/debug/kdepimlibs-4.5.1/kimap/session.cpp:67
#8  0x02aae2b3 in KIMAP::Session::~Session (this=0x957b830, __in_chrg=<value optimized out>) at /usr/src/debug/kdepimlibs-4.5.1/kimap/session.cpp:68
#9  0x0698bf76 in qDeleteInEventHandler (o=0x957b830) at kernel/qobject.cpp:3980
#10 0x0698dd80 in QObject::event (this=0x957b830, e=0x99f3c60) at kernel/qobject.cpp:1194
#11 0x0398440c in QApplicationPrivate::notify_helper (this=0x951add0, receiver=0x957b830, e=0x99f3c60) at kernel/qapplication.cpp:4396
#12 0x0398a9b6 in QApplication::notify (this=0xbfff97e0, receiver=0x957b830, e=0x99f3c60) at kernel/qapplication.cpp:3798
#13 0x052aeccb in KApplication::notify (this=0xbfff97e0, receiver=0x957b830, event=0x99f3c60) at /usr/src/debug/kdelibs-4.5.1/kdeui/kernel/kapplication.cpp:310
#14 0x0697bb33 in QCoreApplication::notifyInternal (this=0xbfff97e0, receiver=0x957b830, event=0x99f3c60) at kernel/qcoreapplication.cpp:732
#15 0x0697f6e3 in sendEvent (receiver=0x0, event_type=0, data=0x9505858) at kernel/qcoreapplication.h:215
#16 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9505858) at kernel/qcoreapplication.cpp:1373
#17 0x0697f89e in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#18 0x069a6a65 in sendPostedEvents (s=0x951c990) at kernel/qcoreapplication.h:220
#19 postEventSourceDispatch (s=0x951c990) at kernel/qeventdispatcher_glib.cpp:277
#20 0x00158525 in g_main_dispatch (context=0x951c910) at gmain.c:1960
#21 IA__g_main_context_dispatch (context=0x951c910) at gmain.c:2513
#22 0x0015c268 in g_main_context_iterate (context=0xde6490, block=1, dispatch=1, self=0x951b028) at gmain.c:2591
#23 0x0015c449 in IA__g_main_context_iteration (context=0x951c910, may_block=1) at gmain.c:2654
#24 0x069a6546 in QEventDispatcherGlib::processEvents (this=0x9505308, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#25 0x03a34436 in QGuiEventDispatcherGlib::processEvents (this=0x9505308, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#26 0x0697a6aa in QEventLoop::processEvents (this=0xbfff9744, flags=...) at kernel/qeventloop.cpp:149
#27 0x0697aa0a in QEventLoop::exec (this=0xbfff9744, flags=...) at kernel/qeventloop.cpp:201
#28 0x0697f967 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#29 0x039833e8 in QApplication::exec () at kernel/qapplication.cpp:3672
#30 0x02cba234 in Akonadi::ResourceBase::init (r=0x95e3210) at /usr/src/debug/kdepimlibs-4.5.1/akonadi/resourcebase.cpp:245
#31 0x08058d95 in _start ()

Possible duplicates by query: bug 238603.

Reported using DrKonqi
Comment 1 Volker Krause 2010-12-30 13:27:19 UTC

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