akonadi_gcal_resource crashed with SIGSEGV in free()

Bug #423129 reported by molostoff
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
kdepimlibs
Unknown
High
kdepimlibs (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Failed while adding googledata as calendar source in akonadi configuration dialog

ProblemType: Crash
Architecture: i386
Date: Wed Sep 2 15:41:28 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/akonadi_gcal_resource
Package: akonadi-kde-resource-googledata 1.0.1-0ubuntu1
ProcCmdline: /usr/bin/akonadi_gcal_resource --identifier akonadi_gcal_resource_1
ProcEnviron:
 LANGUAGE=ru_RU:ru:en_GB:en
 LANG=ru_RU.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-9.29-generic
SegvAnalysis:
 Segfault happened at: 0x1a45801 <free+49>: mov 0x4(%edx),%eax
 PC (0x01a45801) ok
 source "0x4(%edx)" (0x0000000c) not located in a known VMA region (needed readable region)!
 destination "%eax" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: akonadi-googledata
StacktraceTop:
 free () from /lib/tls/i686/cmov/libc.so.6
 icalmemory_add_tmp_buffer () from /usr/lib/libical.so.0
 icalproperty_get_parameter_as_string ()
 ?? () from /usr/lib/libkcal.so.4
 ?? () from /usr/lib/libkcal.so.4
Title: akonadi_gcal_resource crashed with SIGSEGV in free()
Uname: Linux 2.6.31-9-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
In , brainsqueezer (brainsqueezer) wrote :
Download full text (5.8 KiB)

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-sha...

Read more...

Revision history for this message
In , Dario Andres (andresbajotierra) wrote :

*** Bug 205376 has been marked as a duplicate of this bug. ***

Revision history for this message
molostoff (molostoff) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt (retraced)

StacktraceTop:*__GI___libc_free (mem=0x10) at malloc.c:3687
icalmemory_add_tmp_buffer (buf=0x0)
icalproperty_get_parameter_as_string (prop=0x949b390,
KCal::ICalFormatImpl::readIncidence (this=0x96abb80,
KCal::ICalFormatImpl::readEvent (this=0x96abb80,

Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt (retraced)
Changed in akonadi-googledata (Ubuntu):
importance: Undecided → Medium
tags: removed: need-i386-retrace
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Thank you for your bug report. This bug has been reported to the developers of the software. You can track it and make comments at: https://bugs.kde.org/show_bug.cgi?id=202728

visibility: private → public
affects: akonadi-googledata (Ubuntu) → kdepimlibs (Ubuntu)
Changed in kdepimlibs (Ubuntu):
importance: Medium → Low
status: New → Triaged
Changed in kdepimlibs:
status: Unknown → New
Revision history for this message
In , Jonathan Thomas (echidnaman) wrote :

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.

Revision history for this message
In , Savago (savagobr) wrote :

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.

Revision history for this message
In , Dario Andres (andresbajotierra) wrote :

*** Bug 209882 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Cgiboudeaux (cgiboudeaux) wrote :

*** Bug 212825 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Dario Andres (andresbajotierra) wrote :

*** Bug 215713 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Dario Andres (andresbajotierra) wrote :

*** Bug 208112 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Dario Andres (andresbajotierra) wrote :

*** Bug 222963 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Dario Andres (andresbajotierra) wrote :

*** Bug 223280 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Dario Andres (andresbajotierra) wrote :

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

Revision history for this message
In , Dario Andres (andresbajotierra) wrote :

*** Bug 226514 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Neoclust-kde (neoclust-kde) wrote :

*** Bug 227350 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Dario Andres (andresbajotierra) wrote :

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.

Revision history for this message
In , Dario Andres (andresbajotierra) wrote :

*** Bug 227350 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Dario Andres (andresbajotierra) wrote :

*** Bug 227826 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Antonio-a (antonio-a) wrote :

Created attachment 41115
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

Revision history for this message
In , Dario Andres (andresbajotierra) wrote :

*** Bug 231094 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Smokingr (smokingr) wrote :

*** Bug 231994 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Cgiboudeaux (cgiboudeaux) wrote :

*** Bug 232514 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Cgiboudeaux (cgiboudeaux) wrote :

*** Bug 229805 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Dario Andres (andresbajotierra) wrote :

*** Bug 233539 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Dario Andres (andresbajotierra) wrote :

*** Bug 230551 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Dario Andres (andresbajotierra) wrote :

*** Bug 233962 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Wael Nasreddine (emxyzptlk) wrote :

Created attachment 42654
New crash information added by DrKonqi

Adding a google calendar doesn't work

Revision history for this message
In , Munda-sandro-inf (munda-sandro-inf) wrote :

*** This bug has been confirmed by popular vote. ***

Revision history for this message
In , Munda-sandro-inf (munda-sandro-inf) wrote :

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 !

Changed in kdepimlibs:
status: New → Confirmed
Revision history for this message
In , Neoclust-kde (neoclust-kde) wrote :

*** Bug 245576 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Neoclust-kde (neoclust-kde) wrote :

*** Bug 245042 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Neoclust-kde (neoclust-kde) wrote :

*** Bug 243836 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Neoclust-kde (neoclust-kde) wrote :

*** Bug 243269 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Neoclust-kde (neoclust-kde) wrote :

*** Bug 241683 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Neoclust-kde (neoclust-kde) wrote :

*** Bug 240624 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Neoclust-kde (neoclust-kde) wrote :

*** Bug 238540 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Neoclust-kde (neoclust-kde) wrote :

*** Bug 236028 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Neoclust-kde (neoclust-kde) wrote :

*** Bug 235137 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Neoclust-kde (neoclust-kde) wrote :

*** Bug 234844 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Neoclust-kde (neoclust-kde) wrote :

*** Bug 234522 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Neoclust-kde (neoclust-kde) wrote :

*** Bug 234303 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Neoclust-kde (neoclust-kde) wrote :

*** Bug 245982 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Neoclust-kde (neoclust-kde) wrote :

*** Bug 244277 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Neoclust-kde (neoclust-kde) wrote :

*** Bug 243210 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Neoclust-kde (neoclust-kde) wrote :

*** Bug 240135 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Neoclust-kde (neoclust-kde) wrote :

*** Bug 235034 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Neoclust-kde (neoclust-kde) wrote :

*** Bug 248547 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Tokoe (tokoe) wrote :

*** Bug 249032 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Francisco Gonzalez (gzmorell-gmail) wrote :

Created attachment 51582
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.

Revision history for this message
In , Cgiboudeaux (cgiboudeaux) wrote :

*** Bug 249388 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Cgiboudeaux (cgiboudeaux) wrote :

*** Bug 250953 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Cgiboudeaux (cgiboudeaux) wrote :

*** Bug 252772 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Christoph-maxiom (christoph-maxiom) wrote :

*** Bug 253146 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Christoph-maxiom (christoph-maxiom) wrote :

*** Bug 252972 has been marked as a duplicate of this bug. ***

Changed in kdepimlibs:
importance: Unknown → High
Revision history for this message
In , Cgiboudeaux (cgiboudeaux) wrote :

*** Bug 269380 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Cgiboudeaux (cgiboudeaux) wrote :

*** Bug 237871 has been marked as a duplicate of this bug. ***

Revision history for this message
In , iamsergio (iamsergio) wrote :

KCal:: is deprecated.

This is fixed in KCalCore

Changed in kdepimlibs:
status: Confirmed → Unknown
Revision history for this message
Harald Sitter (apachelogger) wrote :

Closing in favor of upstream report.

Changed in kdepimlibs (Ubuntu):
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.