Bug 202728 - Creating Akonadi Google Calendar Resource [icalmemory_add_tmp_buffer, icalproperty_get_parameter_as_string, KCal::ICalFormatImpl::readIncidence]
Summary: Creating Akonadi Google Calendar Resource [icalmemory_add_tmp_buffer, icalpro...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: GoogleData Resource (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Adenilson Cavalcanti
URL:
Keywords:
: 205376 208112 209882 212825 215713 222963 223280 226514 227350 227826 229805 230551 231094 231994 232514 233539 233962 234303 234522 234844 235034 235137 236028 237871 238540 240135 240624 241683 243210 243269 243836 244277 245042 245576 245982 248547 249032 249388 250953 252772 252972 253146 269380 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-08-06 00:45 UTC by Ramon Antonio Parada (brainsqueezer)
Modified: 2013-07-08 23:44 UTC (History)
48 users (show)

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


Attachments
New crash information added by DrKonqi (5.48 KB, text/plain)
2010-02-25 21:07 UTC, Antonio Gutiérrez
Details
New crash information added by DrKonqi (4.67 KB, text/plain)
2010-04-10 21:00 UTC, Wael Nasreddine
Details
New crash information added by DrKonqi (6.10 KB, text/plain)
2010-09-13 12:51 UTC, Francisco Gonzalez
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ramon Antonio Parada (brainsqueezer) 2009-08-06 00:45:18 UTC
Application that crashed: akonadi_gcal_resource
Version of the application: 0.1
KDE Version: 4.3.00 (KDE 4.3.0)
Qt Version: 4.5.2
Operating System: Linux 2.6.30 i686
Distribution: Debian GNU/Linux unstable (sid)

What I was doing when the application crashed:


Steps taken
1. Download GoogleData resource from SVN
2. Compiled and installed it in KDE 4.3.0 (debian unstable binaries) with package versions:
libgcal-dev                0.9.1-1 
libboost-dev               1.38.1 
3. Google Contacts resorource works fine
4. Goto SystemSettings > Akonadi Configuration
5. Click Add
6. Select "Akonadi Google Calendar Resource"
7. Introduced my Google Domain full email and pass (yes, it is not an gmail address but contacts work fine)
8. Akonadi crashes 


 -- Backtrace:
Application: Akonadi Resource (akonadi_gcal_resource), signal: Segmentation fault
[KCrash Handler]
#6  *__GI___libc_free (mem=0x10) at malloc.c:3599
#7  0xb627304e in icalmemory_add_tmp_buffer () from /usr/lib/libical.so.0
#8  0xb6276313 in icalproperty_get_parameter_as_string () from /usr/lib/libical.so.0
#9  0xb799807d in KCal::ICalFormatImpl::readIncidence (this=0x84b4908, parent=0x814fb58, incidence=0x844a318, tzlist=0x81a3cd0) at ../../kcal/icalformat_p.cpp:1515
#10 0xb79983e7 in KCal::ICalFormatImpl::readEvent (this=0x84b4908, vevent=0x814fb58, tzlist=0x81a3cd0) at ../../kcal/icalformat_p.cpp:1116
#11 0xb799b511 in KCal::ICalFormatImpl::populate (this=0x84b4908, cal=0xbfc0c288, calendar=0x84f1028) at ../../kcal/icalformat_p.cpp:2452
#12 0xb798e326 in KCal::ICalFormat::fromRawString (this=0x811593c, cal=0xbfc0c288, string=...) at ../../kcal/icalformat.cpp:188
#13 0xb798b91b in KCal::ICalFormat::fromString (this=0x811593c, cal=0xbfc0c288, string=...) at ../../kcal/icalformat.cpp:148
#14 0xb798b578 in KCal::ICalFormat::fromString (this=0x811593c, string=...) at ../../kcal/icalformat.cpp:208
#15 0xb3f8aeff in ?? () from /usr/lib/kde4/akonadi_serializer_kcal.so
#16 0xb8027352 in Akonadi::ItemSerializer::deserialize (item=..., label=..., data=..., version=0) at ../../akonadi/itemserializer.cpp:240
#17 0xb80276ea in Akonadi::ItemSerializer::deserialize (item=..., label=..., data=..., version=0, external=false) at ../../akonadi/itemserializer.cpp:232
#18 0xb801ffa6 in Akonadi::ItemFetchJob::doHandleResponse (this=0x84f6618, tag=..., data=...) at ../../akonadi/itemfetchjob.cpp:251
#19 0xb803503c in Akonadi::JobPrivate::handleResponse (this=0x8500380, tag=..., data=...) at ../../akonadi/job.cpp:72
#20 0xb8035003 in Akonadi::JobPrivate::handleResponse (this=0x84a6c30, tag=..., data=...) at ../../akonadi/job.cpp:49
#21 0xb805875d in Akonadi::SessionPrivate::dataReceived (this=0x817c5f0) at ../../akonadi/session.cpp:121
#22 0xb805950e in Akonadi::Session::qt_metacall (this=0x8198290, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfc0c768) at ./session.moc:81
#23 0xb7ea4ad3 in QMetaObject::activate (sender=0x8199320, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3112
#24 0xb7ea5722 in QMetaObject::activate (sender=0x8199320, m=0xb7f804a8, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3186
#25 0xb7ede247 in QIODevice::readyRead (this=0x8199320) at .moc/release-shared/moc_qiodevice.cpp:85
#26 0xb7ede317 in QIODevice::qt_metacall (this=0x8199320, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfc0c888) at .moc/release-shared/moc_qiodevice.cpp:71
#27 0xb651fd3a in QLocalSocket::qt_metacall (this=0x8199320, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfc0c888) at .moc/release-shared/moc_qlocalsocket.cpp:75
#28 0xb7ea4ad3 in QMetaObject::activate (sender=0x817caec, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3112
#29 0xb7ea5722 in QMetaObject::activate (sender=0x817caec, m=0xb7f804a8, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3186
#30 0xb7ede247 in QIODevice::readyRead (this=0x817caec) at .moc/release-shared/moc_qiodevice.cpp:85
#31 0xb651a2ea in QAbstractSocketPrivate::canReadNotification (this=0x817d820) at socket/qabstractsocket.cpp:604
#32 0xb650784b in QAbstractSocketEngine::readNotification (this=0x819c770) at socket/qabstractsocketengine.cpp:154
#33 0xb6508b96 in QReadNotifier::event (this=0x817dbb8, e=0xbfc0cc80) at socket/qnativesocketengine.cpp:1036
#34 0xb6c877d4 in QApplicationPrivate::notify_helper (this=0x80747b0, receiver=0x817dbb8, e=0xbfc0cc80) at kernel/qapplication.cpp:4056
#35 0xb6c8f93e in QApplication::notify (this=0xbfc0cee8, receiver=0x817dbb8, e=0xbfc0cc80) at kernel/qapplication.cpp:3603
#36 0xb772300d in KApplication::notify (this=0xbfc0cee8, receiver=0x817dbb8, event=0xbfc0cc80) at ../../kdeui/kernel/kapplication.cpp:302
#37 0xb7e8f96b in QCoreApplication::notifyInternal (this=0xbfc0cee8, receiver=0x817dbb8, event=0xbfc0cc80) at kernel/qcoreapplication.cpp:610
#38 0xb7ebaa8a in QCoreApplication::sendEvent (source=0x8076b10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#39 socketNotifierSourceDispatch (source=0x8076b10) at kernel/qeventdispatcher_glib.cpp:110
#40 0xb638d368 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#41 0xb63908c3 in ?? () from /usr/lib/libglib-2.0.so.0
#42 0xb6390a48 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#43 0xb7eba7f8 in QEventDispatcherGlib::processEvents (this=0x805f640, flags=...) at kernel/qeventdispatcher_glib.cpp:327
#44 0xb6d26f85 in QGuiEventDispatcherGlib::processEvents (this=0x805f640, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#45 0xb7e8dfba in QEventLoop::processEvents (this=0xbfc0ce80, flags=...) at kernel/qeventloop.cpp:149
#46 0xb7e8e402 in QEventLoop::exec (this=0xbfc0ce80, flags=...) at kernel/qeventloop.cpp:201
#47 0xb7e90859 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#48 0xb6c87657 in QApplication::exec () at kernel/qapplication.cpp:3525
#49 0xb8045223 in Akonadi::ResourceBase::init (r=0x817c858) at ../../akonadi/resourcebase.cpp:208
#50 0x0804f05f in _start ()

Reported using DrKonqi
Comment 1 Dario Andres 2009-08-28 14:40:18 UTC
*** Bug 205376 has been marked as a duplicate of this bug. ***
Comment 2 Jonathan Thomas 2009-09-06 17:29:39 UTC
We received a report of this crash at https://launchpad.net/bugs/423129
It looks like it crashes in a libical function, but I'm not enough of an ical expert to know if that means it's an ical bug or not.
Comment 3 Adenilson Cavalcanti 2009-09-07 01:01:12 UTC
From the backtrace, I suspect that an invalid event is being passed along KDAB calendar class which will in the end feed the data to libical.

Please contact me cavalcantii-at-gmail.com so I can help you track the offending event and we can try to fix it.
Comment 4 Dario Andres 2009-10-09 00:52:47 UTC
*** Bug 209882 has been marked as a duplicate of this bug. ***
Comment 5 Christophe Marin 2009-11-03 19:01:25 UTC
*** Bug 212825 has been marked as a duplicate of this bug. ***
Comment 6 Dario Andres 2009-11-23 23:08:06 UTC
*** Bug 215713 has been marked as a duplicate of this bug. ***
Comment 7 Dario Andres 2009-11-23 23:08:51 UTC
*** Bug 208112 has been marked as a duplicate of this bug. ***
Comment 8 Dario Andres 2010-01-18 01:39:07 UTC
*** Bug 222963 has been marked as a duplicate of this bug. ***
Comment 9 Dario Andres 2010-01-18 21:53:12 UTC
*** Bug 223280 has been marked as a duplicate of this bug. ***
Comment 10 Dario Andres 2010-02-12 13:46:43 UTC
From bug 226514:
-- Information about the crash:
1 - Alt+F2, open Akonadi Configuration
2 - Set up Akonadi, start the server
3 - Add resource, select Google Calendar
4 - Input my user name and password, click OK
5 - Akonadi resource crashes, but configuration stays open

Updated Backtrace (4.4.0):
Application: Akonadi Resource (akonadi_gcal_resource), signal: Segmentation
fault
[KCrash Handler]
#6  0x06eb3791 in free () from /lib/tls/i686/cmov/libc.so.6
#7  0x0258d2fc in icalmemory_add_tmp_buffer () from /usr/lib/libical.so.0
#8  0x02590683 in icalproperty_get_parameter_as_string () from
/usr/lib/libical.so.0
#9  0x004abac2 in KCal::ICalFormatImpl::readIncidence (this=0x90e8618,
parent=0x9294a00, incidence=0x924c560, tzlist=0x91e6b10) at
../../kcal/icalformat_p.cpp:1523
#10 0x004abe3a in KCal::ICalFormatImpl::readEvent (this=0x90e8618,
vevent=0x9294a00, tzlist=0x91e6b10) at ../../kcal/icalformat_p.cpp:1122
#11 0x004acfa9 in KCal::ICalFormatImpl::populate (this=0x90e8618,
cal=0xbff3804c, calendar=0x92eceb8) at ../../kcal/icalformat_p.cpp:2476
#12 0x0049e9b0 in KCal::ICalFormat::fromRawString (this=0x9061034,
cal=0xbff3804c, string=...) at ../../kcal/icalformat.cpp:188
#13 0x0049db2b in KCal::ICalFormat::fromString (this=0x9061034, cal=0xbff3804c,
string=...) at ../../kcal/icalformat.cpp:148
#14 0x0049e3f2 in KCal::ICalFormat::fromString (this=0x9061034, string=...) at
../../kcal/icalformat.cpp:208
#15 0x04797274 in ?? () from /usr/lib/kde4/akonadi_serializer_kcal.so
#16 0x00a2bde5 in Akonadi::ItemSerializer::deserialize (item=..., label=...,
data=..., version=0) at ../../akonadi/itemserializer.cpp:237
#17 0x00a2c4b0 in Akonadi::ItemSerializer::deserialize (item=..., label=...,
data=..., version=0, external=false) at ../../akonadi/itemserializer.cpp:229
#18 0x00a525e8 in Akonadi::ProtocolHelper::parseItemFetchResult
(lineTokens=..., item=...) at ../../akonadi/protocolhelper.cpp:352
#19 0x00a22be7 in Akonadi::ItemFetchJob::doHandleResponse (this=0x91f7db8,
tag=..., data=...) at ../../akonadi/itemfetchjob.cpp:173
#20 0x00a39aa6 in Akonadi::JobPrivate::handleResponse (this=0x8dcf840, tag=...,
data=...) at ../../akonadi/job.cpp:72
#21 0x00a39a73 in Akonadi::JobPrivate::handleResponse (this=0x92b13a0, tag=...,
data=...) at ../../akonadi/job.cpp:49
#22 0x00a6a287 in Akonadi::SessionPrivate::dataReceived (this=0x8d5cbc8) at
../../akonadi/session.cpp:121
Comment 11 Dario Andres 2010-02-12 13:46:48 UTC
*** Bug 226514 has been marked as a duplicate of this bug. ***
Comment 12 Nicolas L. 2010-02-17 12:56:45 UTC
*** Bug 227350 has been marked as a duplicate of this bug. ***
Comment 13 Dario Andres 2010-02-17 14:17:33 UTC
From bug 227350:
What I was doing when the application crashed:
First use of akonadi resources in kdepim (kontact): 
1. I added google contacts resource, no problem.
2. I added google calendar resource, after typing username + password, ok,
akonadi crashed.
-
After discarding the crash information, I added and deleted a meeting, it
synced fine with google, so it seems that despite the crash it is still
working.
Comment 14 Dario Andres 2010-02-17 14:17:41 UTC
*** Bug 227350 has been marked as a duplicate of this bug. ***
Comment 15 Dario Andres 2010-02-22 01:34:26 UTC
*** Bug 227826 has been marked as a duplicate of this bug. ***
Comment 16 Antonio Gutiérrez 2010-02-25 21:07:03 UTC
Created attachment 41115 [details]
New crash information added by DrKonqi

Crash when i make a new task and sync with google through akonadi.

I use kde sc 4.4 and kubuntu 9.10
Comment 17 Dario Andres 2010-03-17 15:55:51 UTC
*** Bug 231094 has been marked as a duplicate of this bug. ***
Comment 18 Rein 2010-03-24 15:35:03 UTC
*** Bug 231994 has been marked as a duplicate of this bug. ***
Comment 19 Christophe Marin 2010-03-28 23:03:27 UTC
*** Bug 232514 has been marked as a duplicate of this bug. ***
Comment 20 Christophe Marin 2010-03-28 23:04:13 UTC
*** Bug 229805 has been marked as a duplicate of this bug. ***
Comment 21 Dario Andres 2010-04-07 14:11:48 UTC
*** Bug 233539 has been marked as a duplicate of this bug. ***
Comment 22 Dario Andres 2010-04-07 14:11:52 UTC
*** Bug 230551 has been marked as a duplicate of this bug. ***
Comment 23 Dario Andres 2010-04-10 18:18:04 UTC
*** Bug 233962 has been marked as a duplicate of this bug. ***
Comment 24 Wael Nasreddine 2010-04-10 21:00:10 UTC
Created attachment 42654 [details]
New crash information added by DrKonqi

Adding a google calendar doesn't work
Comment 25 munda.sandro.inf 2010-05-11 19:01:40 UTC
*** This bug has been confirmed by popular vote. ***
Comment 26 munda.sandro.inf 2010-05-11 19:06:56 UTC
Hello everybody,

- Installation of KDE 4
- Add "akonadi_gcal_resource_5" into Akonadi
- Add an event into KOrganizer
- Crashed... SEG FAULT. Sometimes the sync is OK even if I've got the error.

I hope that it will be fix as soon as possible because it's a great feature !
Comment 27 Nicolas L. 2010-08-02 11:10:54 UTC
*** Bug 245576 has been marked as a duplicate of this bug. ***
Comment 28 Nicolas L. 2010-08-02 11:19:38 UTC
*** Bug 245042 has been marked as a duplicate of this bug. ***
Comment 29 Nicolas L. 2010-08-02 11:20:32 UTC
*** Bug 243836 has been marked as a duplicate of this bug. ***
Comment 30 Nicolas L. 2010-08-02 11:21:05 UTC
*** Bug 243269 has been marked as a duplicate of this bug. ***
Comment 31 Nicolas L. 2010-08-02 11:32:23 UTC
*** Bug 241683 has been marked as a duplicate of this bug. ***
Comment 32 Nicolas L. 2010-08-02 11:34:15 UTC
*** Bug 240624 has been marked as a duplicate of this bug. ***
Comment 33 Nicolas L. 2010-08-02 11:34:56 UTC
*** Bug 238540 has been marked as a duplicate of this bug. ***
Comment 34 Nicolas L. 2010-08-02 11:37:48 UTC
*** Bug 236028 has been marked as a duplicate of this bug. ***
Comment 35 Nicolas L. 2010-08-02 11:38:48 UTC
*** Bug 235137 has been marked as a duplicate of this bug. ***
Comment 36 Nicolas L. 2010-08-02 11:39:22 UTC
*** Bug 234844 has been marked as a duplicate of this bug. ***
Comment 37 Nicolas L. 2010-08-02 11:43:11 UTC
*** Bug 234522 has been marked as a duplicate of this bug. ***
Comment 38 Nicolas L. 2010-08-02 11:43:46 UTC
*** Bug 234303 has been marked as a duplicate of this bug. ***
Comment 39 Nicolas L. 2010-08-02 11:48:54 UTC
*** Bug 245982 has been marked as a duplicate of this bug. ***
Comment 40 Nicolas L. 2010-08-02 11:49:19 UTC
*** Bug 244277 has been marked as a duplicate of this bug. ***
Comment 41 Nicolas L. 2010-08-02 11:49:41 UTC
*** Bug 243210 has been marked as a duplicate of this bug. ***
Comment 42 Nicolas L. 2010-08-02 11:49:50 UTC
*** Bug 240135 has been marked as a duplicate of this bug. ***
Comment 43 Nicolas L. 2010-08-02 11:50:18 UTC
*** Bug 235034 has been marked as a duplicate of this bug. ***
Comment 44 Nicolas L. 2010-08-20 22:16:08 UTC
*** Bug 248547 has been marked as a duplicate of this bug. ***
Comment 45 Tobias Koenig 2010-09-02 18:58:33 UTC
*** Bug 249032 has been marked as a duplicate of this bug. ***
Comment 46 Francisco Gonzalez 2010-09-13 12:51:00 UTC
Created attachment 51582 [details]
New crash information added by DrKonqi

This error seems to be the same.
On kubunt Lucid with Kde 4.4.5
The steps to reproduce are the same as original report.
Comment 47 Christophe Marin 2010-10-02 16:26:26 UTC
*** Bug 249388 has been marked as a duplicate of this bug. ***
Comment 48 Christophe Marin 2010-10-02 16:26:34 UTC
*** Bug 250953 has been marked as a duplicate of this bug. ***
Comment 49 Christophe Marin 2010-10-02 16:26:39 UTC
*** Bug 252772 has been marked as a duplicate of this bug. ***
Comment 50 Christoph Feck 2010-11-13 16:25:55 UTC
*** Bug 253146 has been marked as a duplicate of this bug. ***
Comment 51 Christoph Feck 2010-11-13 16:26:45 UTC
*** Bug 252972 has been marked as a duplicate of this bug. ***
Comment 52 Christophe Marin 2011-07-09 15:32:03 UTC
*** Bug 269380 has been marked as a duplicate of this bug. ***
Comment 53 Christophe Marin 2011-07-09 15:32:34 UTC
*** Bug 237871 has been marked as a duplicate of this bug. ***
Comment 54 Sergio Martins 2013-07-08 23:44:04 UTC
KCal:: is deprecated.

This is fixed in KCalCore