Bug 251601 - akonadi crashes every time
Summary: akonadi crashes every time
Status: RESOLVED FIXED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: IMAP resource (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Kevin Ottens
URL:
Keywords:
: 251852 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-09-17 19:50 UTC by Marcello Ceschia
Modified: 2011-09-17 09:10 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcello Ceschia 2010-09-17 19:50:42 UTC
Application: akonadi_imap_resource (0.1)
KDE Platform Version: 4.5.68 (4.6 >= 20100912) "release 4"
Qt Version: 4.7.0
Operating System: Linux 2.6.34.4-0.1-desktop x86_64
Distribution: "openSUSE 11.3 (x86_64)"

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

I tried to start kmail, akonadi crashed -> now it crashes every 10 seconds

The crash can be reproduced every time.

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

Thread 3 (Thread 0x7f794b571710 (LWP 10294)):
#0  0x00007f79584ed3b5 in g_main_context_query () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f79584ededb in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f79584ee510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f795d4cf656 in QEventDispatcherGlib::processEvents (this=0x7e57d0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4  0x00007f795d4a3e12 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f795d4a4025 in QEventLoop::exec (this=0x7f794b570e00, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f795d3b7034 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007f795c14e063 in ?? () from /usr/lib64/libkimap.so.4
#8  0x00007f795d3b98be in QThreadPrivate::start (arg=0x72d0e0) at thread/qthread_unix.cpp:266
#9  0x00007f7959445a4f in start_thread () from /lib64/libpthread.so.0
#10 0x00007f7959b8482d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f794ad70710 (LWP 10295)):
#0  0x00007f795944a709 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f795d3b9f12 in wait (this=<value optimized out>, mutex=0x8a5100, time=30000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x8a5100, time=30000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f795d3afd28 in QThreadPoolThread::run (this=0x8a4e70) at concurrent/qthreadpool.cpp:140
#4  0x00007f795d3b98be in QThreadPrivate::start (arg=0x8a4e70) at thread/qthread_unix.cpp:266
#5  0x00007f7959445a4f in start_thread () from /lib64/libpthread.so.0
#6  0x00007f7959b8482d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f795e015760 (LWP 10292)):
[KCrash Handler]
#6  0x00007f795db1f11a in Akonadi::EntityDisplayAttribute::deserialize (this=0x883c20, data=<value optimized out>) at /usr/src/debug/kdepimlibs-4.5.68svn1174542/akonadi/entitydisplayattribute.cpp:113
#7  0x00007f795db8086d in Akonadi::ProtocolHelper::parseCollection (data=<value optimized out>, collection=..., start=<value optimized out>)
    at /usr/src/debug/kdepimlibs-4.5.68svn1174542/akonadi/protocolhelper.cpp:173
#8  0x00007f795daf947e in Akonadi::CollectionFetchJob::doHandleResponse (this=<value optimized out>, tag=<value optimized out>, data=...)
    at /usr/src/debug/kdepimlibs-4.5.68svn1174542/akonadi/collectionfetchjob.cpp:217
#9  0x00007f795db681ce in Akonadi::JobPrivate::handleResponse (this=<value optimized out>, tag=..., data=<value optimized out>) at /usr/src/debug/kdepimlibs-4.5.68svn1174542/akonadi/job.cpp:79
#10 0x00007f795db68197 in Akonadi::JobPrivate::handleResponse (this=<value optimized out>, tag=..., data=<value optimized out>) at /usr/src/debug/kdepimlibs-4.5.68svn1174542/akonadi/job.cpp:50
#11 0x00007f795db9a634 in Akonadi::SessionPrivate::dataReceived (this=0x7f5a70) at /usr/src/debug/kdepimlibs-4.5.68svn1174542/akonadi/session.cpp:216
#12 0x00007f795db9d3ad in Akonadi::Session::qt_metacall (this=0x7db6c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffd5d0f6a0)
    at /usr/src/debug/kdepimlibs-4.5.68svn1174542/build/akonadi/session.moc:92
#13 0x00007f795d4b9b5f in QMetaObject::activate (sender=0x7f0530, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3272
#14 0x00007f795d5009d8 in QIODevice::qt_metacall (this=0x7f0530, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffd5d0f7c0) at .moc/release-shared/moc_qiodevice.cpp:77
#15 0x00007f795c43a670 in QLocalSocket::qt_metacall (this=0x7f0530, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffd5d0f7c0) at .moc/release-shared/moc_qlocalsocket.cpp:81
#16 0x00007f795d4b9b5f in QMetaObject::activate (sender=0x71e7d0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3272
#17 0x00007f795c43528f in QAbstractSocketPrivate::canReadNotification (this=0x7f4180) at socket/qabstractsocket.cpp:639
#18 0x00007f795c423e41 in QReadNotifier::event (this=<value optimized out>, e=<value optimized out>) at socket/qnativesocketengine.cpp:1103
#19 0x00007f795c867f94 in QApplicationPrivate::notify_helper (this=0x6981a0, receiver=0x7e3950, e=0x7fffd5d0fd60) at kernel/qapplication.cpp:4396
#20 0x00007f795c8703ba in QApplication::notify (this=<value optimized out>, receiver=0x7e3950, e=0x7fffd5d0fd60) at kernel/qapplication.cpp:4277
#21 0x00007f795aa15cc6 in KApplication::notify (this=0x7fffd5d10030, receiver=0x7e3950, event=0x7fffd5d0fd60) at /usr/src/debug/kdelibs-4.5.68svn1174542/kdeui/kernel/kapplication.cpp:310
#22 0x00007f795d4a49dc in QCoreApplication::notifyInternal (this=0x7fffd5d10030, receiver=0x7e3950, event=0x7fffd5d0fd60) at kernel/qcoreapplication.cpp:732
#23 0x00007f795d4cefe9 in sendEvent (source=0x69be10) at kernel/qcoreapplication.h:215
#24 socketNotifierSourceDispatch (source=0x69be10) at kernel/qeventdispatcher_glib.cpp:110
#25 0x00007f79584eda93 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#26 0x00007f79584ee270 in ?? () from /usr/lib64/libglib-2.0.so.0
#27 0x00007f79584ee510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#28 0x00007f795d4cf5ff in QEventDispatcherGlib::processEvents (this=0x67d2e0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#29 0x00007f795c90bd5e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#30 0x00007f795d4a3e12 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#31 0x00007f795d4a4025 in QEventLoop::exec (this=0x7fffd5d0ffb0, flags=...) at kernel/qeventloop.cpp:201
#32 0x00007f795d4a843b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#33 0x00007f795db829f2 in Akonadi::ResourceBase::init (r=0x7f4380) at /usr/src/debug/kdepimlibs-4.5.68svn1174542/akonadi/resourcebase.cpp:247
#34 0x0000000000417158 in _start ()

Reported using DrKonqi
Comment 1 Marcello Ceschia 2010-11-18 11:27:59 UTC
This issue is still alive with KDE Platform Version: 4.5.76 (4.6 >= 20101111) "release 4"
Comment 2 Marcello Ceschia 2010-11-18 11:37:39 UTC
*** Bug 251852 has been marked as a duplicate of this bug. ***
Comment 3 Kevin Ottens 2011-09-17 09:01:48 UTC
Unfortunately, you don't provide a full backtrace so I can't be 100% sure but from the look of the part I have it seems to be a deployment issue (some of the data serializer required at runtime aren't installed apparently).

So please check with openSUSE packagers if that still shows up, it might be some outdated or broken version of kdepim-runtime.

BTW, I am myself an openSUSE user as well, and this issue doesn't seem to show up anymore on openSUSE 11.4 with kdepim* 4.7 packages
Comment 4 Marcello Ceschia 2011-09-17 09:10:47 UTC
It is solved in the latest version, so we can close this.
Unfortunately, installing all debug symboles needs > 2GB diskspace - that is not available on this machine.