Bug 236996 - crash akonadi server while deleting an evenment in kcalendar/kontact
Summary: crash akonadi server while deleting an evenment in kcalendar/kontact
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-09 17:32 UTC by yvesthomazeau
Modified: 2010-08-02 19:55 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (6.19 KB, text/plain)
2010-05-10 15:11 UTC, yvesthomazeau
Details
New crash information added by DrKonqi (6.71 KB, text/plain)
2010-05-10 16:41 UTC, yvesthomazeau
Details

Note You need to log in before you can comment on or make changes to this bug.
Description yvesthomazeau 2010-05-09 17:32:12 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 i686
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
Each time i delete an evenement akonadi crashes and stop . 
It may also occurs on updatins and/or creation , i will tell you if it does.


The crash can be reproduced every time.

 -- Backtrace:
Application: Akonadi Resource (akonadi_kcal_resource), signal: Segmentation fault
[KCrash Handler]
#6  QListData::begin (this=0x8db59e0, incidence=0x8c4c7f8) at /usr/include/qt4/QtCore/qlist.h:93
#7  QList<KCal::Incidence*>::contains (this=0x8db59e0, incidence=0x8c4c7f8) at /usr/include/qt4/QtCore/qlist.h:757
#8  KCal::ListBase<KCal::Incidence>::removeRef (this=0x8db59e0, incidence=0x8c4c7f8) at ../../kcal/listbase.h:118
#9  KCal::Incidence::removeRelation (this=0x8db59e0, incidence=0x8c4c7f8) at ../../kcal/incidence.cpp:529
#10 0x00156e65 in ~Incidence (this=0x8c4c7f8, __in_chrg=<value optimized out>) at ../../kcal/incidence.cpp:201
#11 0x0015b50d in ~Event (this=0x8c4c7f8, __in_chrg=<value optimized out>) at ../../kcal/event.cpp:79
#12 0x08057c80 in ?? ()
#13 0x0080234e in Akonadi::ItemPrivate::~ItemPrivate() () from /usr/lib/libakonadi-kde.so.4
#14 0x0077a5e8 in ~QSharedDataPointer (this=0x90bfed4, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qshareddata.h:90
#15 ~Entity (this=0x90bfed4, __in_chrg=<value optimized out>) at ../../akonadi/entity.cpp:66
#16 0x0080024d in ~Item (this=0x90bfed4, __in_chrg=<value optimized out>) at ../../akonadi/item.cpp:57
#17 0x0081bf13 in Akonadi::ItemModifyJobPrivate::~ItemModifyJobPrivate() () from /usr/lib/libakonadi-kde.so.4
#18 0x008225c1 in ~Job (this=0x90bdb60, __in_chrg=<value optimized out>) at ../../akonadi/job.cpp:204
#19 0x00818e4d in ~ItemModifyJob (this=0x90bdb60, __in_chrg=<value optimized out>) at ../../akonadi/itemmodifyjob.cpp:88
#20 0x00a56d65 in qDeleteInEventHandler (o=0x0) at kernel/qobject.cpp:3998
#21 0x00a58428 in QObject::event (this=0x90bdb60, e=0x8064701) at kernel/qobject.cpp:1231
#22 0x010514dc in QApplicationPrivate::notify_helper (this=0x8bbaac8, receiver=0x90bdb60, e=0x9079cc8) at kernel/qapplication.cpp:4300
#23 0x0105805e in QApplication::notify (this=0xbf8eb6e0, receiver=0x90bdb60, e=0x9079cc8) at kernel/qapplication.cpp:3704
#24 0x00d3cf2a in KApplication::notify (this=0xbf8eb6e0, receiver=0x90bdb60, event=0x9079cc8) at ../../kdeui/kernel/kapplication.cpp:302
#25 0x00a47a3b in QCoreApplication::notifyInternal (this=0xbf8eb6e0, receiver=0x90bdb60, event=0x9079cc8) at kernel/qcoreapplication.cpp:704
#26 0x00a4a473 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x8ba5fe8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#27 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8ba5fe8) at kernel/qcoreapplication.cpp:1345
#28 0x00a4a5dd in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1238
#29 0x00a73adf in QCoreApplication::sendPostedEvents (s=0x8bbcf10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#30 postEventSourceDispatch (s=0x8bbcf10) at kernel/qeventdispatcher_glib.cpp:276
#31 0x0775d5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#32 0x077612d8 in ?? () from /lib/libglib-2.0.so.0
#33 0x077614b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#34 0x00a735d5 in QEventDispatcherGlib::processEvents (this=0x8ba5b80, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#35 0x01111135 in QGuiEventDispatcherGlib::processEvents (this=0x8ba5b80, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#36 0x00a46059 in QEventLoop::processEvents (this=0xbf8eb644, flags=) at kernel/qeventloop.cpp:149
#37 0x00a464aa in QEventLoop::exec (this=0xbf8eb644, flags=...) at kernel/qeventloop.cpp:201
#38 0x00a4a69f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#39 0x01051577 in QApplication::exec () at kernel/qapplication.cpp:3579
#40 0x0083ae43 in Akonadi::ResourceBase::init (r=0x8c4e540) at ../../akonadi/resourcebase.cpp:219
#41 0x0804fd43 in _start ()

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

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

Reported using DrKonqi
Comment 1 yvesthomazeau 2010-05-10 15:11:06 UTC
Created attachment 43431 [details]
New crash information added by DrKonqi

Crash when i modify an evenement in kcalebdar , a segment fault ????
Comment 2 yvesthomazeau 2010-05-10 16:41:08 UTC
Created attachment 43436 [details]
New crash information added by DrKonqi

Ok now i know that the problem with the crash comes when i try to update the "by default" agenda that comes under KDEResources/calendar but all is ok when i usa the KDEResourse/Akonadi.
So there is a bad integration of the first one (the historical one) and nothing is very clear at the moment in the doc or wherever so it can make a lot of complaint . 
I suggest you make an effort on documentation about the good way to use akonadi at leas with KDE features and maybe later make this problem impossible....
Comment 3 Tobias Koenig 2010-08-02 19:55:25 UTC
Hej,

I can't reproduce this crash anymore in 4.5 or trunk version, so it has been fixed in the meantime.
Feel free to reopen the report if you can reproduce the crash with one of the above versions.

Ciao,
Tobias