Bug 243210

Summary: Akonadi resources crashing while adding gcal resource
Product: [Frameworks and Libraries] Akonadi Reporter: n.behrendorff
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 n.behrendorff 2010-06-30 00:20:51 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-22-generic x86_64
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
Installed everything from the repositories (up-to-date) from a fresh install a week ago. Everytime I am in either the Akonadi config or adding a google calendar resource from the dialog in Kontact it crashes when I add a google calendar resource. The username/password dialog pops up, I enter those, when I hit ok I get an immediate crash of akonadi resources - the resource appears to be added, but it doesn't work. If I reboot or restart the akonadi server it still doesn't work. 

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

Thread 2 (Thread 0x7ff427326710 (LWP 2079)):
#0  0x00007ff4389b3f53 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007ff436f2f4a9 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007ff436f2f8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007ff43be0b566 in QEventDispatcherGlib::processEvents (this=0x2065f80, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007ff43bde0992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007ff43bde0d6c in QEventLoop::exec (this=0x7ff427325d90, flags=) at kernel/qeventloop.cpp:201
#6  0x00007ff43bcead59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007ff43bdc1178 in QInotifyFileSystemWatcherEngine::run (this=0x20654a0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007ff43bced775 in QThreadPrivate::start (arg=0x20654a0) at thread/qthread_unix.cpp:248
#9  0x00007ff43ba5d9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007ff4389c06cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ff43c690780 (LWP 2077)):
[KCrash Handler]
#5  *__GI___libc_free (mem=0x343230312e3332) at malloc.c:3709
#6  0x00007ff4361f2c59 in icalmemory_add_tmp_buffer () from /usr/lib/libical.so.0
#7  0x00007ff4361f5861 in icalproperty_get_parameter_as_string () from /usr/lib/libical.so.0
#8  0x00007ff43ae153c7 in KCal::ICalFormatImpl::readIncidence (this=0x22f4d90, parent=0x24a8990, incidence=0x242df60, tzlist=0x225a8c0) at ../../kcal/icalformat_p.cpp:1523
#9  0x00007ff43ae156e4 in KCal::ICalFormatImpl::readEvent (this=0x22f4d90, vevent=0x24a8990, tzlist=<value optimized out>) at ../../kcal/icalformat_p.cpp:1122
#10 0x00007ff43ae1673e in KCal::ICalFormatImpl::populate (this=0x22f4d90, cal=0x7fff35763aa0, calendar=0x23fefa0) at ../../kcal/icalformat_p.cpp:2476
#11 0x00007ff43ae08d92 in KCal::ICalFormat::fromRawString (this=0x2105e88, cal=0x7fff35763aa0, string=<value optimized out>) at ../../kcal/icalformat.cpp:188
#12 0x00007ff43ae07f60 in KCal::ICalFormat::fromString (this=0x2105e88, cal=0x7fff35763aa0, string=<value optimized out>) at ../../kcal/icalformat.cpp:148
#13 0x00007ff43ae085b5 in KCal::ICalFormat::fromString (this=<value optimized out>, string=...) at ../../kcal/icalformat.cpp:208
#14 0x00007ff426922ca4 in ?? () from /usr/lib/kde4/akonadi_serializer_kcal.so
#15 0x00007ff43c1ee14a in Akonadi::ItemSerializer::deserialize (item=..., label=..., data=..., version=0) at ../../akonadi/itemserializer.cpp:237
#16 0x00007ff43c1ee794 in Akonadi::ItemSerializer::deserialize (item=..., label=..., data=..., version=0, external=<value optimized out>) at ../../akonadi/itemserializer.cpp:229
#17 0x00007ff43c2131ee in Akonadi::ProtocolHelper::parseItemFetchResult (lineTokens=<value optimized out>, item=<value optimized out>) at ../../akonadi/protocolhelper.cpp:352
#18 0x00007ff43c1e58ff in Akonadi::ItemFetchJob::doHandleResponse (this=<value optimized out>, tag=<value optimized out>, data=...) at ../../akonadi/itemfetchjob.cpp:173
#19 0x00007ff43c1fb15e in Akonadi::JobPrivate::handleResponse (this=<value optimized out>, tag=..., data=...) at ../../akonadi/job.cpp:72
#20 0x00007ff43c1fb127 in Akonadi::JobPrivate::handleResponse (this=<value optimized out>, tag=..., data=...) at ../../akonadi/job.cpp:49
#21 0x00007ff43c228d08 in Akonadi::SessionPrivate::dataReceived (this=0x1bf24a0) at ../../akonadi/session.cpp:121
#22 0x00007ff43c229535 in Akonadi::Session::qt_metacall (this=0x1c34830, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff357643c0) at ./session.moc:87
#23 0x00007ff43bdf4e3f in QMetaObject::activate (sender=0x1bf2c00, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7ff43bc6f280) at kernel/qobject.cpp:3293
#24 0x00007ff43be3f488 in QIODevice::qt_metacall (this=0x1bf2c00, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff35764500) at .moc/release-shared/moc_qiodevice.cpp:77
#25 0x00007ff437efd470 in QLocalSocket::qt_metacall (this=0x343230312e3332, _c=908012864, _id=1013517024, _a=0x7ff43bc6f280) at .moc/release-shared/moc_qlocalsocket.cpp:81
#26 0x00007ff43bdf4e3f in QMetaObject::activate (sender=0x1befaf8, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7ff43bc6f280) at kernel/qobject.cpp:3293
#27 0x00007ff437ef644f in QAbstractSocketPrivate::canReadNotification (this=0x1bf0c60) at socket/qabstractsocket.cpp:626
#28 0x00007ff437ee5601 in QReadNotifier::event (this=<value optimized out>, e=0x7ff4361f2d40) at socket/qnativesocketengine.cpp:1094
#29 0x00007ff4395c822c in QApplicationPrivate::notify_helper (this=0x1ad7cc0, receiver=0x1bf16d0, e=0x7fff35764ab0) at kernel/qapplication.cpp:4300
#30 0x00007ff4395ce6fb in QApplication::notify (this=0x7fff35764d80, receiver=0x1bf16d0, e=0x7fff35764ab0) at kernel/qapplication.cpp:4183
#31 0x00007ff43a52e526 in KApplication::notify (this=0x7fff35764d80, receiver=0x1bf16d0, event=0x7fff35764ab0) at ../../kdeui/kernel/kapplication.cpp:302
#32 0x00007ff43bde206c in QCoreApplication::notifyInternal (this=0x7fff35764d80, receiver=0x1bf16d0, event=0x7fff35764ab0) at kernel/qcoreapplication.cpp:704
#33 0x00007ff43be0b8ca in QCoreApplication::sendEvent (source=0x1adb820) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#34 socketNotifierSourceDispatch (source=0x1adb820) at kernel/qeventdispatcher_glib.cpp:110
#35 0x00007ff436f2b8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#36 0x00007ff436f2f748 in ?? () from /lib/libglib-2.0.so.0
#37 0x00007ff436f2f8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#38 0x00007ff43be0b513 in QEventDispatcherGlib::processEvents (this=0x1abf3b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#39 0x00007ff43967846e in QGuiEventDispatcherGlib::processEvents (this=0x343230312e3332, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x00007ff43bde0992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#41 0x00007ff43bde0d6c in QEventLoop::exec (this=0x7fff35764d10, flags=) at kernel/qeventloop.cpp:201
#42 0x00007ff43bde4aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#43 0x00007ff43c214392 in Akonadi::ResourceBase::init (r=0x1c04640) at ../../akonadi/resourcebase.cpp:219
#44 0x0000000000408f88 in _start ()

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

Possible duplicates by query: bug 241683, bug 235137, bug 235034, bug 234522, bug 233962.

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

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