Bug 252060 - Akonadi crashes whenever using a calendar on a remote file and no network is available
Summary: Akonadi crashes whenever using a calendar on a remote file and no network is ...
Status: RESOLVED FIXED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: KResource compat bridges (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-22 17:45 UTC by Luis Silva
Modified: 2011-01-29 21:34 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 Luis Silva 2010-09-22 17:45:57 UTC
Application: akonadi_kcal_resource (0.1)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-22-generic x86_64
Distribution: Ubuntu maverick (development branch)

-- Information about the crash:
- Custom settings of the application:
I have a remote calendar (.ics) on a server accessible via ssh. I am using the compatibility resource.

Whenever I am offline, the relevant akonadi resource crashes. Removing the calendar stops the crashing.

The crash can be reproduced every time.

-- Backtrace:
Application: Akonadi Resource (akonadi_kcal_resource), signal: Segmentation fault
[KCrash Handler]
#6  contains (this=0x232aff0, incidence=0x24651c0) at /usr/include/qt4/QtCore/qlist.h:860
#7  removeRef (this=0x232aff0, incidence=0x24651c0) at ../../kcal/listbase.h:118
#8  KCal::Incidence::removeRelation (this=0x232aff0, incidence=0x24651c0) at ../../kcal/incidence.cpp:535
#9  0x000000301be56ed7 in KCal::Incidence::~Incidence (this=0x24651c0, __in_chrg=<value optimized out>) at ../../kcal/incidence.cpp:207
#10 0x000000301be598b5 in KCal::Todo::~Todo (this=0x24651c0, __in_chrg=<value optimized out>) at ../../kcal/todo.cpp:105
#11 0x000000000041174a in release (this=0x248cda0, __in_chrg=<value optimized out>) at //usr/include/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp:145
#12 ~shared_count (this=0x248cda0, __in_chrg=<value optimized out>) at //usr/include/boost/smart_ptr/detail/shared_count.hpp:217
#13 ~shared_ptr (this=0x248cda0, __in_chrg=<value optimized out>) at //usr/include/boost/smart_ptr/shared_ptr.hpp:169
#14 Akonadi::Payload<boost::shared_ptr<KCal::Incidence> >::~Payload (this=0x248cda0, __in_chrg=<value optimized out>) at //usr/include/akonadi/itempayloadinternals_p.h:169
#15 0x0000003018af1310 in Akonadi::ItemPrivate::~ItemPrivate() () from /usr/lib/libakonadi-kde.so.4
#16 0x0000003018a8a6c4 in node_destruct (this=<value optimized out>, data=0x24651c0) at /usr/include/qt4/QtCore/qlist.h:418
#17 QList<Akonadi::Item>::free (this=<value optimized out>, data=0x24651c0) at /usr/include/qt4/QtCore/qlist.h:741
#18 0x0000003018b09498 in QList<Akonadi::Item>::clear() () from /usr/lib/libakonadi-kde.so.4
#19 0x0000003018b0697b in Akonadi::ItemSync::Private::processItems (this=0x246ccc0) at ../../akonadi/itemsync.cpp:345
#20 0x0000003018b07507 in Akonadi::ItemSync::Private::execute (this=0x246ccc0) at ../../akonadi/itemsync.cpp:284
#21 0x0000003018b07a41 in Akonadi::ItemSync::Private::slotLocalListDone (this=0x246ccc0, job=0x25b22b0) at ../../akonadi/itemsync.cpp:269
#22 0x0000003018b07e69 in Akonadi::ItemSync::qt_metacall (this=0x2496120, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff3bc49470) at ./itemsync.moc:78
#23 0x00007f5163cc6b27 in QMetaObject::activate (sender=0x2306a90, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3280
#24 0x00007f516379d422 in KJob::result (this=0x232aff0, _t1=0x2306a90) at ./kjob.moc:194
#25 0x00007f516379d6c0 in KJob::emitResult (this=0x2306a90) at ../../kdecore/jobs/kjob.cpp:312
#26 0x0000003018b0bd39 in delayedEmitResult (this=0x2306a90, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x2349000) at ../../akonadi/job.cpp:143
#27 Akonadi::Job::qt_metacall (this=0x2306a90, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x2349000) at ./job.moc:91
#28 0x0000003018afa915 in Akonadi::ItemFetchJob::qt_metacall (this=0x232aff0, _c=38162880, _id=6413569, _a=0x0) at ./itemfetchjob.moc:73
#29 0x00007f5163cc0bde in QObject::event (this=0x2306a90, e=0x232aff0) at kernel/qobject.cpp:1219
#30 0x00007f5162509fdc in QApplicationPrivate::notify_helper (this=0x20f69a0, receiver=0x2306a90, e=0x23474e0) at kernel/qapplication.cpp:4396
#31 0x00007f516250faed in QApplication::notify (this=0x7fff3bc49f10, receiver=0x2306a90, e=0x23474e0) at kernel/qapplication.cpp:4277
#32 0x00007f516325c156 in KApplication::notify (this=0x7fff3bc49f10, receiver=0x2306a90, event=0x23474e0) at ../../kdeui/kernel/kapplication.cpp:310
#33 0x00007f5163caecdc in QCoreApplication::notifyInternal (this=0x7fff3bc49f10, receiver=0x2306a90, event=0x23474e0) at kernel/qcoreapplication.cpp:732
#34 0x00007f5163cb1c22 in sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x20de510) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#35 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x20de510) at kernel/qcoreapplication.cpp:1373
#36 0x00007f5163cdb653 in sendPostedEvents (s=0x20fa540) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#37 postEventSourceDispatch (s=0x20fa540) at kernel/qeventdispatcher_glib.cpp:277
#38 0x00000030032417e2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#39 0x0000003003245748 in ?? () from /lib/libglib-2.0.so.0
#40 0x00000030032458fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#41 0x00007f5163cdb193 in QEventDispatcherGlib::processEvents (this=0x20ddc00, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#42 0x00007f51625bca6e in QGuiEventDispatcherGlib::processEvents (this=0x232aff0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#43 0x00007f5163cada02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#44 0x00007f5163caddec in QEventLoop::exec (this=0x7fff3bc49ea0, flags=) at kernel/qeventloop.cpp:201
#45 0x00007f5163cb1ebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#46 0x0000003018b280a2 in Akonadi::ResourceBase::init (r=0x217b2e0) at ../../akonadi/resourcebase.cpp:245
#47 0x0000000000409458 in init<KCalResource> (argc=<value optimized out>, argv=<value optimized out>) at //usr/include/akonadi/resourcebase.h:186
#48 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 238029.

Possible duplicates by query: bug 246124, bug 238029, bug 236997, bug 236996, bug 231840.

Reported using DrKonqi
Comment 1 Luis Silva 2011-01-29 21:34:53 UTC
This seems to not be the case for more recent versions.