Bug 297356 - Akonadi calendar crashes often (traditional calendar over webdavs)
Summary: Akonadi calendar crashes often (traditional calendar over webdavs)
Status: RESOLVED UNMAINTAINED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: KResource compat bridges (show other bugs)
Version: 4.7
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Kevin Krammer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-03 08:13 UTC by tomas
Modified: 2015-10-24 10:06 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tomas 2012-04-03 08:13:42 UTC
Application: akonadi_kcal_resource (4.7)
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.7.4
Operating System: Linux 3.3.0-vs2.3.3.2-1tva1 x86_64
Distribution: Ubuntu 11.10

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

calendar keeps crashing even when there is no (user) activity at all.

The crash can be reproduced every time.

-- Backtrace:
Application: hoster of type KDE Calendar (traditional) (akonadi_kcal_resource), signal: Segmentation fault
[KCrash Handler]
#6  begin (this=0xa8) at /usr/include/qt4/QtCore/qlist.h:97
#7  contains (this=0xa8, t=<synthetic pointer>) at /usr/include/qt4/QtCore/qlist.h:863
#8  removeRef (t=0x2478370, this=0xa8) at ../../kcal/listbase.h:118
#9  KCal::Incidence::removeRelation (this=0x1c37720, incidence=0x2478370) at ../../kcal/incidence.cpp:535
#10 0x00007ffbc9708b5b in KCal::Incidence::~Incidence (this=0x2478370, __in_chrg=<optimized out>) at ../../kcal/incidence.cpp:207
#11 0x00007ffbc970c769 in KCal::Todo::~Todo (this=0x2478370, __in_chrg=<optimized out>) at ../../kcal/todo.cpp:105
#12 0x00000000004125aa in release (this=0x22d8850) at /usr/include/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp:145
#13 ~shared_count (this=0x19971a0, __in_chrg=<optimized out>) at /usr/include/boost/smart_ptr/detail/shared_count.hpp:217
#14 ~shared_ptr (this=0x1997198, __in_chrg=<optimized out>) at /usr/include/boost/smart_ptr/shared_ptr.hpp:168
#15 ~Payload (this=0x1997190, __in_chrg=<optimized out>) at /usr/include/akonadi/itempayloadinternals_p.h:285
#16 Akonadi::Payload<boost::shared_ptr<KCal::Incidence> >::~Payload (this=0x1997190, __in_chrg=<optimized out>) at /usr/include/akonadi/itempayloadinternals_p.h:285
#17 0x00007ffbca65f776 in ~clone_ptr (this=0x1705e20, __in_chrg=<optimized out>) at ../../akonadi/item_p.h:48
#18 ~TypedPayload (this=0x1705e20, __in_chrg=<optimized out>) at ../../akonadi/item_p.h:119
#19 _Destroy<Akonadi::_detail::TypedPayload> (__pointer=0x1705e20) at /usr/include/c++/4.6/bits/stl_construct.h:94
#20 __destroy<Akonadi::_detail::TypedPayload*> (__last=<optimized out>, __first=<optimized out>) at /usr/include/c++/4.6/bits/stl_construct.h:104
#21 _Destroy<Akonadi::_detail::TypedPayload*> (__last=<optimized out>, __first=<optimized out>) at /usr/include/c++/4.6/bits/stl_construct.h:127
#22 _Destroy<Akonadi::_detail::TypedPayload*, Akonadi::_detail::TypedPayload> (__last=0x1705e30, __first=<optimized out>) at /usr/include/c++/4.6/bits/stl_construct.h:153
#23 ~vector (this=0x1997118, __in_chrg=<optimized out>) at /usr/include/c++/4.6/bits/stl_vector.h:350
#24 ~ItemPrivate (this=0x19970d0, __in_chrg=<optimized out>) at ../../akonadi/item_p.h:203
#25 Akonadi::ItemPrivate::~ItemPrivate (this=0x19970d0, __in_chrg=<optimized out>) at ../../akonadi/item_p.h:204
#26 0x00007ffbca5bf8cc in node_destruct (to=0x19a1228, from=0x19a1228, this=<optimized out>) at /usr/include/qt4/QtCore/qlist.h:418
#27 QList<Akonadi::Item>::free (data=0x19a1210, this=<optimized out>) at /usr/include/qt4/QtCore/qlist.h:744
#28 0x00007ffbca676ee0 in ~ItemModifyJobPrivate (this=0x194d2c0, __in_chrg=<optimized out>) at ../../akonadi/itemmodifyjob_p.h:30
#29 Akonadi::ItemModifyJobPrivate::~ItemModifyJobPrivate (this=0x194d2c0, __in_chrg=<optimized out>) at ../../akonadi/itemmodifyjob_p.h:30
#30 0x00007ffbca67b219 in Akonadi::Job::~Job (this=0x19a1080, __in_chrg=<optimized out>) at ../../akonadi/job.cpp:254
#31 0x00007ffbca672e99 in Akonadi::ItemModifyJob::~ItemModifyJob (this=0x19a1080, __in_chrg=<optimized out>) at ../../akonadi/itemmodifyjob.cpp:134
#32 0x00007ffbca02aa88 in QObject::event (this=0x19a1080, e=<optimized out>) at kernel/qobject.cpp:1200
#33 0x00007ffbc8354474 in notify_helper (e=0x197e750, receiver=0x19a1080, this=0x1147ba0) at kernel/qapplication.cpp:4486
#34 QApplicationPrivate::notify_helper (this=0x1147ba0, receiver=0x19a1080, e=0x197e750) at kernel/qapplication.cpp:4458
#35 0x00007ffbc83592e1 in QApplication::notify (this=0x7fffa9262bd0, receiver=0x19a1080, e=0x197e750) at kernel/qapplication.cpp:4365
#36 0x00007ffbc9069466 in KApplication::notify (this=0x7fffa9262bd0, receiver=0x19a1080, event=0x197e750) at ../../kdeui/kernel/kapplication.cpp:311
#37 0x00007ffbca013afc in QCoreApplication::notifyInternal (this=0x7fffa9262bd0, receiver=0x19a1080, event=0x197e750) at kernel/qcoreapplication.cpp:787
#38 0x00007ffbca01751f in sendEvent (event=0x197e750, receiver=0x19a1080) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#39 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x112a8b0) at kernel/qcoreapplication.cpp:1428
#40 0x00007ffbc83fcd7a in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#41 QEventDispatcherX11::processEvents (this=0x11438a0, flags=...) at kernel/qeventdispatcher_x11.cpp:75
#42 0x00007ffbca012cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#43 0x00007ffbca012ef7 in QEventLoop::exec (this=0x7fffa9262b50, flags=...) at kernel/qeventloop.cpp:201
#44 0x00007ffbca017789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#45 0x00007ffbca692fa6 in Akonadi::ResourceBase::init (r=0x12678d0) at ../../akonadi/resourcebase.cpp:393
#46 0x0000000000413226 in Akonadi::ResourceBase::init<KCalResource> (argc=<optimized out>, argv=<optimized out>) at /usr/include/akonadi/resourcebase.h:188
#47 0x00007ffbc78bb30d in __libc_start_main (main=0x408980 <main(int, char**)>, argc=3, ubp_av=0x7fffa9262ce8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffa9262cd8) at libc-start.c:226
#48 0x00000000004089b1 in _start ()

This bug may be a duplicate of or related to bug 288404, bug 294486.

Possible duplicates by query: bug 294486, bug 294485, bug 288404, bug 272285.

Reported using DrKonqi
Comment 1 alancio 2012-07-29 14:19:14 UTC
Same thing happens to me every time I log in.
I tried removing the resource and adding it again, and then continue getting crashes.
I am using KDE 4.8.4.
Comment 2 Kevin Krammer 2012-07-29 14:32:14 UTC
This resource is unfortunately very difficult to fix since the plugins have basically been developed for KOrganizer and sometimes assume certain things that are not true when being plugged into the resource.

Does "over webdavs" mean you are using an ics file with an webdavs:// URL?

If so, you could try the standard ical resource instead, it should have support for remote files and was developed from scratch without any legacy to conform to
Comment 3 Volker Krause 2015-10-24 10:06:21 UTC
The KResource compatibility bridges don't exist anymore with KDE PIM 15.08.