Bug 234522

Summary: Akonadi crash when trying to add event in akonadi_gcal resource
Product: [Frameworks and Libraries] Akonadi Reporter: Murz <MurzNN>
Component: GoogleData ResourceAssignee: Adenilson Cavalcanti <savagobr>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kde, kdepim-bugs, vkrause
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Murz 2010-04-16 11:38:26 UTC
Application: akonadi_gcal_resource (0.1)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-21-generic x86_64
Distribution: Ubuntu lucid (development branch)

-- Information about the crash:
The resource was successfully created with akonadi, but when I try to add some event to it, every time I got this crash.

The crash can be reproduced every time.

 -- Backtrace:
Application: Akonadi Resource (akonadi_gcal_resource), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f8b0beb6780 (LWP 3451))]

Thread 2 (Thread 0x7f8af6b4c710 (LWP 3454)):
#0  0x00007f8b081d9f93 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f8b067564a9 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f8b067568fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f8b0b631566 in QEventDispatcherGlib::processEvents (this=0xd227b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007f8b0b606992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f8b0b606d6c in QEventLoop::exec (this=0x7f8af6b4bd90, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f8b0b510d59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f8b0b5e7178 in QInotifyFileSystemWatcherEngine::run (this=0xd19a20) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f8b0b513775 in QThreadPrivate::start (arg=0xd19a20) at thread/qthread_unix.cpp:248
#9  0x00007f8b0b2839ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f8b081e66dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f8b0beb6780 (LWP 3451)):
[KCrash Handler]
#5  *__GI___libc_free (mem=0x20) at malloc.c:3709
#6  0x00007f8b05a19c59 in icalmemory_add_tmp_buffer () from /usr/lib/libical.so.0
#7  0x00007f8b05a1c861 in icalproperty_get_parameter_as_string () from /usr/lib/libical.so.0
#8  0x00007f8b0a63b3c7 in KCal::ICalFormatImpl::readIncidence (this=0xd1fdd0, parent=0x127ca00, incidence=0x127bc30, tzlist=0xe8d610) at ../../kcal/icalformat_p.cpp:1523
#9  0x00007f8b0a63b6e4 in KCal::ICalFormatImpl::readEvent (this=0xd1fdd0, vevent=0x127ca00, tzlist=<value optimized out>) at ../../kcal/icalformat_p.cpp:1122
#10 0x00007f8b0a63c73e in KCal::ICalFormatImpl::populate (this=0xd1fdd0, cal=0x7fff7c509b20, calendar=0xe845b0) at ../../kcal/icalformat_p.cpp:2476
#11 0x00007f8b0a62ed92 in KCal::ICalFormat::fromRawString (this=0x126f6a8, cal=0x7fff7c509b20, string=<value optimized out>) at ../../kcal/icalformat.cpp:188
#12 0x00007f8b0a62df60 in KCal::ICalFormat::fromString (this=0x126f6a8, cal=0x7fff7c509b20, string=<value optimized out>) at ../../kcal/icalformat.cpp:148
#13 0x00007f8b0a62e5b5 in KCal::ICalFormat::fromString (this=<value optimized out>, string=...) at ../../kcal/icalformat.cpp:208
#14 0x00007f8af6148ca4 in ?? () from /usr/lib/kde4/akonadi_serializer_kcal.so
#15 0x00007f8b0ba1414a in Akonadi::ItemSerializer::deserialize (item=..., label=..., data=..., version=0) at ../../akonadi/itemserializer.cpp:237
#16 0x00007f8b0ba14794 in Akonadi::ItemSerializer::deserialize (item=..., label=..., data=..., version=0, external=<value optimized out>) at ../../akonadi/itemserializer.cpp:229
#17 0x00007f8b0ba391ee in Akonadi::ProtocolHelper::parseItemFetchResult (lineTokens=<value optimized out>, item=<value optimized out>) at ../../akonadi/protocolhelper.cpp:352
#18 0x00007f8b0ba0b8ff in Akonadi::ItemFetchJob::doHandleResponse (this=<value optimized out>, tag=<value optimized out>, data=...) at ../../akonadi/itemfetchjob.cpp:173
#19 0x00007f8b0ba2115e in Akonadi::JobPrivate::handleResponse (this=<value optimized out>, tag=..., data=...) at ../../akonadi/job.cpp:72
#20 0x00007f8b0ba4ed08 in Akonadi::SessionPrivate::dataReceived (this=0xe1ba90) at ../../akonadi/session.cpp:121
#21 0x00007f8b0ba4f535 in Akonadi::Session::qt_metacall (this=0xe02290, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff7c50a3e0) at ./session.moc:87
#22 0x00007f8b0b61ae3f in QMetaObject::activate (sender=0xe046a0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7f8b0b495280) at kernel/qobject.cpp:3293
#23 0x00007f8b0b665488 in QIODevice::qt_metacall (this=0xe046a0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff7c50a520) at .moc/release-shared/moc_qiodevice.cpp:77
#24 0x00007f8b07723470 in QLocalSocket::qt_metacall (this=0x20, _c=94477632, _id=199977696, _a=0x7f8b0b495280) at .moc/release-shared/moc_qlocalsocket.cpp:81
#25 0x00007f8b0b61ae3f in QMetaObject::activate (sender=0xe44708, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7f8b0b495280) at kernel/qobject.cpp:3293
#26 0x00007f8b0771c44f in QAbstractSocketPrivate::canReadNotification (this=0xe46a90) at socket/qabstractsocket.cpp:626
#27 0x00007f8b0770b601 in QReadNotifier::event (this=<value optimized out>, e=0x7f8b05a19d40) at socket/qnativesocketengine.cpp:1094
#28 0x00007f8b08dee22c in QApplicationPrivate::notify_helper (this=0xc89c60, receiver=0xe47020, e=0x7fff7c50aad0) at kernel/qapplication.cpp:4300
#29 0x00007f8b08df46fb in QApplication::notify (this=0x7fff7c50ada0, receiver=0xe47020, e=0x7fff7c50aad0) at kernel/qapplication.cpp:4183
#30 0x00007f8b09d54526 in KApplication::notify (this=0x7fff7c50ada0, receiver=0xe47020, event=0x7fff7c50aad0) at ../../kdeui/kernel/kapplication.cpp:302
#31 0x00007f8b0b60806c in QCoreApplication::notifyInternal (this=0x7fff7c50ada0, receiver=0xe47020, event=0x7fff7c50aad0) at kernel/qcoreapplication.cpp:704
#32 0x00007f8b0b6318ca in QCoreApplication::sendEvent (source=0xc8d7d0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#33 socketNotifierSourceDispatch (source=0xc8d7d0) at kernel/qeventdispatcher_glib.cpp:110
#34 0x00007f8b067528c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#35 0x00007f8b06756748 in ?? () from /lib/libglib-2.0.so.0
#36 0x00007f8b067568fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#37 0x00007f8b0b631513 in QEventDispatcherGlib::processEvents (this=0xc713b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#38 0x00007f8b08e9e46e in QGuiEventDispatcherGlib::processEvents (this=0x20, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x00007f8b0b606992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#40 0x00007f8b0b606d6c in QEventLoop::exec (this=0x7fff7c50ad30, flags=) at kernel/qeventloop.cpp:201
#41 0x00007f8b0b60aaab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#42 0x00007f8b0ba3a392 in Akonadi::ResourceBase::init (r=0xe43d00) at ../../akonadi/resourcebase.cpp:219
#43 0x0000000000408f88 in _start ()

Possible duplicates by query: bug 233962, bug 233539, bug 231994, bug 231094, bug 230551.

Reported using DrKonqi
Comment 1 Nicolas L. 2010-08-02 11:43:11 UTC

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