Bug 223280

Summary: Akonadi crashes with google cal resource
Product: [Frameworks and Libraries] Akonadi Reporter: Matteo Rossi <teo.red90>
Component: GoogleData ResourceAssignee: Adenilson Cavalcanti <savagobr>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra, vkrause
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Matteo Rossi 2010-01-18 14:58:29 UTC
Application: akonadi_gcal_resource (0.1)
KDE Platform Version: 4.3.90 (KDE 4.3.90 (KDE 4.4 RC1))
Qt Version: 4.6.0
Operating System: Linux 2.6.31-18-generic x86_64
Distribution: Ubuntu 9.10

-- Information about the crash:
I added a Google Calendar Resource and after a few seconds I got this crash.
I also noticed that recurring events are not shown in Korganizer

The crash can be reproduced some of the time.

 -- Backtrace:
Application: Akonadi Resource (akonadi_gcal_resource), signal: Aborted
[KCrash Handler]
#5  0x00007f9ec6c854b5 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x00007f9ec6c88f50 in *__GI_abort () at abort.c:92
#7  0x00007f9ec6cbdc97 in __libc_message (do_abort=<value optimized out>, fmt=<value optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#8  0x00007f9ec6cc7dd6 in malloc_printerr (action=3, str=0x7f9ec6d8687a "free(): invalid pointer", ptr=<value optimized out>) at malloc.c:6217
#9  0x00007f9ec436d209 in icalmemory_add_tmp_buffer () from /usr/lib/libical.so.0
#10 0x00007f9ec436fd81 in icalproperty_get_parameter_as_string () from /usr/lib/libical.so.0
#11 0x00007f9ec916c2e7 in KCal::ICalFormatImpl::readIncidence (this=0x2bfb920, parent=0x3090600, incidence=0x3086510, tzlist=0x3120210) at ../../kcal/icalformat_p.cpp:1523
#12 0x00007f9ec916c604 in KCal::ICalFormatImpl::readEvent (this=0x2bfb920, vevent=0x3090600, tzlist=<value optimized out>) at ../../kcal/icalformat_p.cpp:1122
#13 0x00007f9ec916d65e in KCal::ICalFormatImpl::populate (this=0x2bfb920, cal=0x7fffa059ba60, calendar=0x29b5400) at ../../kcal/icalformat_p.cpp:2476
#14 0x00007f9ec915fcb2 in KCal::ICalFormat::fromRawString (this=0x2be6e68, cal=0x7fffa059ba60, string=<value optimized out>) at ../../kcal/icalformat.cpp:188
#15 0x00007f9ec915ee80 in KCal::ICalFormat::fromString (this=0x2be6e68, cal=0x7fffa059ba60, string=<value optimized out>) at ../../kcal/icalformat.cpp:148
#16 0x00007f9ec915f735 in KCal::ICalFormat::fromString (this=<value optimized out>, string=...) at ../../kcal/icalformat.cpp:208
#17 0x00007f9eb6c17dc4 in ?? () from /usr/lib/kde4/akonadi_serializer_kcal.so
#18 0x00007f9eca32bdcd in Akonadi::ItemSerializer::deserialize (item=..., label=..., data=..., version=0) at ../../akonadi/itemserializer.cpp:237
#19 0x00007f9eca32c474 in Akonadi::ItemSerializer::deserialize (item=..., label=..., data=..., version=0, external=<value optimized out>) at ../../akonadi/itemserializer.cpp:229
#20 0x00007f9eca350b0e in Akonadi::ProtocolHelper::parseItemFetchResult (lineTokens=<value optimized out>, item=<value optimized out>) at ../../akonadi/protocolhelper.cpp:352
#21 0x00007f9eca3235df in Akonadi::ItemFetchJob::doHandleResponse (this=<value optimized out>, tag=<value optimized out>, data=...) at ../../akonadi/itemfetchjob.cpp:173
#22 0x00007f9eca338dce in Akonadi::JobPrivate::handleResponse (this=<value optimized out>, tag=..., data=...) at ../../akonadi/job.cpp:72
#23 0x00007f9eca338d97 in Akonadi::JobPrivate::handleResponse (this=<value optimized out>, tag=..., data=...) at ../../akonadi/job.cpp:49
#24 0x00007f9eca3664e7 in Akonadi::SessionPrivate::dataReceived (this=0x2509940) at ../../akonadi/session.cpp:121
#25 0x00007f9eca366d75 in Akonadi::Session::qt_metacall (this=0x25074b0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffa059c3b0) at ./session.moc:87
#26 0x00007f9ec9f32dc3 in QMetaObject::activate (sender=0x24ca840, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3294
#27 0x00007f9ec9f7d658 in QIODevice::qt_metacall (this=0x24ca840, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffa059c4f0) at .moc/release-shared/moc_qiodevice.cpp:77
#28 0x00007f9ec6278290 in QLocalSocket::qt_metacall (this=0x84a, _c=2122, _id=6, _a=0xffffffffffffffff) at .moc/release-shared/moc_qlocalsocket.cpp:81
#29 0x00007f9ec9f32dc3 in QMetaObject::activate (sender=0x250a418, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3294
#30 0x00007f9ec627072f in QAbstractSocketPrivate::canReadNotification (this=0x2508780) at socket/qabstractsocket.cpp:626
#31 0x00007f9ec625ffb1 in QReadNotifier::event (this=<value optimized out>, e=0x84a) at socket/qnativesocketengine.cpp:1053
#32 0x00007f9ec7929e8c in QApplicationPrivate::notify_helper (this=0x2371500, receiver=0x250ac40, e=0x7fffa059ca10) at kernel/qapplication.cpp:4242
#33 0x00007f9ec793048d in QApplication::notify (this=0x7fffa059cce0, receiver=0x250ac40, e=0x7fffa059ca10) at kernel/qapplication.cpp:4125
#34 0x00007f9ec8885e16 in KApplication::notify (this=0x7fffa059cce0, receiver=0x250ac40, event=0x7fffa059ca10) at ../../kdeui/kernel/kapplication.cpp:302
#35 0x00007f9ec9f2004c in QCoreApplication::notifyInternal (this=0x7fffa059cce0, receiver=0x250ac40, event=0x7fffa059ca10) at kernel/qcoreapplication.cpp:704
#36 0x00007f9ec9f499da in QCoreApplication::sendEvent (source=0x2375130) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#37 socketNotifierSourceDispatch (source=0x2375130) at kernel/qeventdispatcher_glib.cpp:110
#38 0x00007f9ec50a3bce in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#39 0x00007f9ec50a7598 in ?? () from /lib/libglib-2.0.so.0
#40 0x00007f9ec50a76c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#41 0x00007f9ec9f49623 in QEventDispatcherGlib::processEvents (this=0x2358210, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#42 0x00007f9ec79d82fe in QGuiEventDispatcherGlib::processEvents (this=0x84a, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#43 0x00007f9ec9f1e972 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#44 0x00007f9ec9f1ed4c in QEventLoop::exec (this=0x7fffa059cc70, flags=) at kernel/qeventloop.cpp:201
#45 0x00007f9ec9f22a8b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#46 0x00007f9eca351d02 in Akonadi::ResourceBase::init (r=0x2506d80) at ../../akonadi/resourcebase.cpp:219
#47 0x0000000000408d28 in _start ()

Reported using DrKonqi
Comment 1 Dario Andres 2010-01-18 21:53:12 UTC
Merging with bug 202728. Thanks

*** This bug has been marked as a duplicate of bug 202728 ***