Bug 238029 - Akonadi crash when modify a calendar event
Summary: Akonadi crash when modify a calendar event
Status: RESOLVED WORKSFORME
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Volker Krause
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-18 12:02 UTC by Filippo Ruggeri
Modified: 2010-06-20 13:47 UTC (History)
1 user (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 Filippo Ruggeri 2010-05-18 12:02:05 UTC
Application: akonadi_kcal_resource (0.1)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-22-generic x86_64
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
When i modify an event in korganizer, or i add a new one, Akonadi server crash.

The crash can be reproduced every time.

 -- Backtrace:
Application: Akonadi Resource (akonadi_kcal_resource), signal: Segmentation fault
[KCrash Handler]
#5  QListData::begin (this=0x3dba170, incidence=0x210c700) at /usr/include/qt4/QtCore/qlist.h:93
#6  QList<KCal::Incidence*>::contains (this=0x3dba170, incidence=0x210c700) at /usr/include/qt4/QtCore/qlist.h:757
#7  KCal::ListBase<KCal::Incidence>::removeRef (this=0x3dba170, incidence=0x210c700) at ../../kcal/listbase.h:118
#8  KCal::Incidence::removeRelation (this=0x3dba170, incidence=0x210c700) at ../../kcal/incidence.cpp:529
#9  0x00007f98d83e2fe7 in ~Incidence (this=0x210c700, __in_chrg=<value optimized out>) at ../../kcal/incidence.cpp:201
#10 0x00007f98d83e6ebb in ~Event (this=0x210c700, __in_chrg=<value optimized out>) at ../../kcal/event.cpp:79
#11 0x000000000041185a in boost::detail::sp_counted_base::release (this=0x210c9c0, __in_chrg=<value optimized out>) at /usr/include/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp:145
#12 ~shared_count (this=0x210c9c0, __in_chrg=<value optimized out>) at /usr/include/boost/smart_ptr/detail/shared_count.hpp:217
#13 ~shared_ptr (this=0x210c9c0, __in_chrg=<value optimized out>) at /usr/include/boost/smart_ptr/shared_ptr.hpp:169
#14 ~Payload (this=0x210c9c0, __in_chrg=<value optimized out>) at /usr/include/akonadi/itempayloadinternals_p.h:169
#15 0x00007f98d92bddb0 in Akonadi::ItemPrivate::~ItemPrivate() () from /usr/lib/libakonadi-kde.so.4
#16 0x00007f98d9260814 in QList<Akonadi::Item>::node_destruct (this=<value optimized out>, data=0x210c700) at /usr/include/qt4/QtCore/qlist.h:402
#17 QList<Akonadi::Item>::free (this=<value optimized out>, data=0x210c700) at /usr/include/qt4/QtCore/qlist.h:646
#18 0x00007f98d92d98a8 in QList<Akonadi::Item>::clear() () from /usr/lib/libakonadi-kde.so.4
#19 0x00007f98d92d737b in Akonadi::ItemSync::Private::processItems (this=0x21ab800) at ../../akonadi/itemsync.cpp:331
#20 0x00007f98d92d7577 in Akonadi::ItemSync::Private::execute (this=0x21ab800) at ../../akonadi/itemsync.cpp:270
#21 0x00007f98d92d7a87 in Akonadi::ItemSync::Private::slotLocalListDone (this=0x21ab800, job=0x42d8ed8) at ../../akonadi/itemsync.cpp:256
#22 0x00007f98d92d7e10 in Akonadi::ItemSync::qt_metacall (this=0x21aac00, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff288d3fe0) at ./itemsync.moc:76
#23 0x00007f98d8cd0e3f in QMetaObject::activate (sender=0x21f9230, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3293
#24 0x00007f98d87b1b82 in KJob::result (this=0x3dba170, _t1=0x21f9230) at ./kjob.moc:194
#25 0x00007f98d87b1e20 in KJob::emitResult (this=0x21f9230) at ../../kdecore/jobs/kjob.cpp:312
#26 0x00007f98d92db293 in Akonadi::JobPrivate::handleResponse (this=<value optimized out>, tag=..., data=<value optimized out>) at ../../akonadi/job.cpp:67
#27 0x00007f98d92db127 in Akonadi::JobPrivate::handleResponse (this=<value optimized out>, tag=..., data=...) at ../../akonadi/job.cpp:49
#28 0x00007f98d9308d08 in Akonadi::SessionPrivate::dataReceived (this=0x1b31800) at ../../akonadi/session.cpp:121
#29 0x00007f98d9309535 in Akonadi::Session::qt_metacall (this=0x1b4eb70, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff288d4370) at ./session.moc:87
#30 0x00007f98d8cd0e3f in QMetaObject::activate (sender=0x1b320b0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3293
#31 0x00007f98d8d1b488 in QIODevice::qt_metacall (this=0x1b320b0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff288d44b0) at .moc/release-shared/moc_qiodevice.cpp:77
#32 0x00007f98d60c4470 in QLocalSocket::qt_metacall (this=0x3dba170, _c=34653952, _id=6413569, _a=0x0) at .moc/release-shared/moc_qlocalsocket.cpp:81
#33 0x00007f98d8cd0e3f in QMetaObject::activate (sender=0x1b4bee8, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3293
#34 0x00007f98d60bd44f in QAbstractSocketPrivate::canReadNotification (this=0x1b322e0) at socket/qabstractsocket.cpp:626
#35 0x00007f98d60ac601 in QReadNotifier::event (this=<value optimized out>, e=0x210c700) at socket/qnativesocketengine.cpp:1094
#36 0x00007f98d704122c in QApplicationPrivate::notify_helper (this=0x1a32cc0, receiver=0x1b5a260, e=0x7fff288d4a60) at kernel/qapplication.cpp:4300
#37 0x00007f98d70476fb in QApplication::notify (this=0x7fff288d4d30, receiver=0x1b5a260, e=0x7fff288d4a60) at kernel/qapplication.cpp:4183
#38 0x00007f98d7d4c526 in KApplication::notify (this=0x7fff288d4d30, receiver=0x1b5a260, event=0x7fff288d4a60) at ../../kdeui/kernel/kapplication.cpp:302
#39 0x00007f98d8cbe06c in QCoreApplication::notifyInternal (this=0x7fff288d4d30, receiver=0x1b5a260, event=0x7fff288d4a60) at kernel/qcoreapplication.cpp:704
#40 0x00007f98d8ce78ca in QCoreApplication::sendEvent (source=0x1a36820) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#41 socketNotifierSourceDispatch (source=0x1a36820) at kernel/qeventdispatcher_glib.cpp:110
#42 0x00007f98d47928c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#43 0x00007f98d4796748 in ?? () from /lib/libglib-2.0.so.0
#44 0x00007f98d47968fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#45 0x00007f98d8ce7513 in QEventDispatcherGlib::processEvents (this=0x1a1a3b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#46 0x00007f98d70f146e in QGuiEventDispatcherGlib::processEvents (this=0x3dba170, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#47 0x00007f98d8cbc992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#48 0x00007f98d8cbcd6c in QEventLoop::exec (this=0x7fff288d4cc0, flags=) at kernel/qeventloop.cpp:201
#49 0x00007f98d8cc0aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#50 0x00007f98d92f4392 in Akonadi::ResourceBase::init (r=0x1b4e740) at ../../akonadi/resourcebase.cpp:219
#51 0x0000000000409c08 in Akonadi::ResourceBase::init<KCalResource> (argc=<value optimized out>, argv=<value optimized out>) at /usr/include/akonadi/resourcebase.h:186
#52 main (argc=<value optimized out>, argv=<value optimized out>) at ../../../resources/kcal/kcalresource.cpp:690

This bug may be a duplicate of or related to bug 236996.

Possible duplicates by query: bug 236997, bug 236996, bug 235202, bug 231840, bug 229259.

Reported using DrKonqi
Comment 1 Tobias Koenig 2010-06-20 13:47:43 UTC
Hej,

works fine here with SVN trunk, so in KDE 4.5 this bug will be fixed.
Thanks for reporting.

Ciao,
Tobias