Bug 230551

Summary: Akonadi crashes when adding new gcal ressource
Product: [Frameworks and Libraries] Akonadi Reporter: Florian <floeschie>
Component: GoogleData ResourceAssignee: Adenilson Cavalcanti <savagobr>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra, kdepim-bugs, mat.bonfanti, vkrause
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Florian 2010-03-13 11:21:11 UTC
Application: akonadi_gcal_resource (0.1)
KDE Platform Version: 4.4.1 (KDE 4.4.1)
Qt Version: 4.6.2
Operating System: Linux 2.6.31-20-generic x86_64
Distribution: Ubuntu 9.10

-- Information about the crash:
I removed an old gcal ressource because it was unreliable ("No payload to add event"). I added a new one, entered my login credentials and afterwards Akonadi segfaulted.

 -- Backtrace:
Application: Akonadi Resource (akonadi_gcal_resource), signal: Segmentation fault
The current source language is "auto; currently c".
[KCrash Handler]
#5  *__GI___libc_free (mem=0x3131362e32) at malloc.c:3687
#6  0x00007f31aa333209 in icalmemory_add_tmp_buffer () from /usr/lib/libical.so.0
#7  0x00007f31aa335d81 in icalproperty_get_parameter_as_string () from /usr/lib/libical.so.0
#8  0x00007f31afa472c7 in KCal::ICalFormatImpl::readIncidence (this=0x2105e60, parent=0x215ee20, incidence=0x20c9650, tzlist=0x20f29f0) at ../../kcal/icalformat_p.cpp:1523
#9  0x00007f31afa475e4 in KCal::ICalFormatImpl::readEvent (this=0x2105e60, vevent=0x215ee20, tzlist=<value optimized out>) at ../../kcal/icalformat_p.cpp:1122
#10 0x00007f31afa4863e in KCal::ICalFormatImpl::populate (this=0x2105e60, cal=0x7fffa67d2690, calendar=0x20d2410) at ../../kcal/icalformat_p.cpp:2476
#11 0x00007f31afa3aca2 in KCal::ICalFormat::fromRawString (this=0x20fdcd8, cal=0x7fffa67d2690, string=<value optimized out>) at ../../kcal/icalformat.cpp:188
#12 0x00007f31afa39e70 in KCal::ICalFormat::fromString (this=0x20fdcd8, cal=0x7fffa67d2690, string=<value optimized out>) at ../../kcal/icalformat.cpp:148
#13 0x00007f31afa3a725 in KCal::ICalFormat::fromString (this=<value optimized out>, string=...) at ../../kcal/icalformat.cpp:208
#14 0x00007f319c74eca4 in ?? () from /usr/lib/kde4/akonadi_serializer_kcal.so
#15 0x00007f31b10d5d0a in Akonadi::ItemSerializer::deserialize (item=..., label=..., data=..., version=0) at ../../akonadi/itemserializer.cpp:237
#16 0x00007f31b10d6354 in Akonadi::ItemSerializer::deserialize (item=..., label=..., data=..., version=0, external=<value optimized out>) at ../../akonadi/itemserializer.cpp:229
#17 0x00007f31b10facfe in Akonadi::ProtocolHelper::parseItemFetchResult (lineTokens=<value optimized out>, item=<value optimized out>) at ../../akonadi/protocolhelper.cpp:352
#18 0x00007f31b10cd5af in Akonadi::ItemFetchJob::doHandleResponse (this=<value optimized out>, tag=<value optimized out>, data=...) at ../../akonadi/itemfetchjob.cpp:173
#19 0x00007f31b10e2c8e in Akonadi::JobPrivate::handleResponse (this=<value optimized out>, tag=..., data=...) at ../../akonadi/job.cpp:72
#20 0x00007f31b10e2c57 in Akonadi::JobPrivate::handleResponse (this=<value optimized out>, tag=..., data=...) at ../../akonadi/job.cpp:49
#21 0x00007f31b1110608 in Akonadi::SessionPrivate::dataReceived (this=0x1da5e10) at ../../akonadi/session.cpp:121
#22 0x00007f31b1110e35 in Akonadi::Session::qt_metacall (this=0x1d84770, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffa67d2fb0) at ./session.moc:87
#23 0x00007f31b0cdcc0f in QMetaObject::activate (sender=0x1d77530, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7f31ac8b9280) at kernel/qobject.cpp:3293
#24 0x00007f31b0d271e8 in QIODevice::qt_metacall (this=0x1d77530, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffa67d30f0) at .moc/release-shared/moc_qiodevice.cpp:77
#25 0x00007f31aea56a20 in QLocalSocket::qt_metacall (this=0x3131362e32, _c=2855482096, _id=-1319696016, _a=0x7f31ac8b9280) at .moc/release-shared/moc_qlocalsocket.cpp:81
#26 0x00007f31b0cdcc0f in QMetaObject::activate (sender=0x1daf1f8, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7f31ac8b9280) at kernel/qobject.cpp:3293
#27 0x00007f31aea4eebf in QAbstractSocketPrivate::canReadNotification (this=0x1da43f0) at socket/qabstractsocket.cpp:626
#28 0x00007f31aea3e7d1 in QReadNotifier::event (this=<value optimized out>, e=0x7f31aa3332f0) at socket/qnativesocketengine.cpp:1094
#29 0x00007f31adc8412c in QApplicationPrivate::notify_helper (this=0x1be6340, receiver=0x1da4910, e=0x7fffa67d36a0) at kernel/qapplication.cpp:4300
#30 0x00007f31adc8a71b in QApplication::notify (this=0x7fffa67d3980, receiver=0x1da4910, e=0x7fffa67d36a0) at kernel/qapplication.cpp:4183
#31 0x00007f31af15fd76 in KApplication::notify (this=0x7fffa67d3980, receiver=0x1da4910, event=0x7fffa67d36a0) at ../../kdeui/kernel/kapplication.cpp:302
#32 0x00007f31b0cc9e0c in QCoreApplication::notifyInternal (this=0x7fffa67d3980, receiver=0x1da4910, event=0x7fffa67d36a0) at kernel/qcoreapplication.cpp:704
#33 0x00007f31b0cf36ea in QCoreApplication::sendEvent (source=0x1be9f30) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#34 socketNotifierSourceDispatch (source=0x1be9f30) at kernel/qeventdispatcher_glib.cpp:110
#35 0x00007f31abbeebce in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#36 0x00007f31abbf2598 in ?? () from /lib/libglib-2.0.so.0
#37 0x00007f31abbf26c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#38 0x00007f31b0cf3333 in QEventDispatcherGlib::processEvents (this=0x1bcda80, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#39 0x00007f31add33f0e in QGuiEventDispatcherGlib::processEvents (this=0x3131362e32, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x00007f31b0cc8732 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#41 0x00007f31b0cc8b0c in QEventLoop::exec (this=0x7fffa67d3900, flags=) at kernel/qeventloop.cpp:201
#42 0x00007f31b0ccc84b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#43 0x00007f31b10fbea2 in Akonadi::ResourceBase::init (r=0x1daf020) at ../../akonadi/resourcebase.cpp:219
#44 0x000000000040f5e0 in Akonadi::ResourceBase::init<GCalResource> (argc=3, argv=0x7fffa67d3ae8) at /usr/include/akonadi/resourcebase.h:185
#45 0x000000000040db01 in main (argc=3, argv=0x7fffa67d3ae8) at /home/floeschie/Tmp/googledata/calendar/gcalresource.cpp:679

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

Possible duplicates by query: bug 229805, bug 222963, bug 212825, bug 202728.

Reported using DrKonqi
Comment 1 Dario Andres 2010-04-07 14:11:52 UTC
This is being tracked at bug 202728. Regards

*** This bug has been marked as a duplicate of bug 202728 ***
Comment 2 mat.bonfanti 2010-05-13 11:43:57 UTC
Created attachment 43531 [details]
New crash information added by DrKonqi

Since Akonady failed to sync akonadi_gcal_resource_0 (error "No payload to add event"), I removed akonadi_gcal_resource_0 and added a new entry akonadi_gcal_resource_2. I filled in my usedid and password, and Akonadi crashed...