[Bug 246195] Cannot create Google Contacts akonadi resource [strlen, strdup,extract_and_check_multi, ..., gcal_get_contacts]

Jan Drewes kdebugzilla01 at jandrewes.de
Wed Apr 27 14:22:49 BST 2011


https://bugs.kde.org/show_bug.cgi?id=246195


Jan Drewes <kdebugzilla01 at jandrewes.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kdebugzilla01 at jandrewes.de




--- Comment #16 from Jan Drewes <kdebugzilla01 jandrewes de>  2011-04-27 15:22:45 ---
It worked fine for me for a couple of weeks, then since approx. last week it
started crashing on me, too. I am not sure what caused the change. Kubuntu
10.10, KDE 4.6.1 installed via kubuntu-ppa, akonadi-googledata-1.2.0 and
libgcal-0.9.6 sourced via apt then compiled manually. Note that calendar sync
still works fine, just the contacts part can't be started according to akonadi.
An (old/outdated) contacts database however is still available and can be used
through akonadi, just no sync (with google) occurs anymore.


---backtrace---
Application: Akonadi Resource (akonadi_googledata_resource), signal:
Segmentation fault
[KCrash Handler]
#6  __strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:31
#7  0x00007f4a4c772b76 in __strdup (s=0x0) at strdup.c:42
#8  0x00007f4a4ef8da9a in extract_and_check_multi (doc=0x29a6c70,
xpath_expression=0x7f4a4efa2b3d "//atom:entry/gd:im", getContent=0,
attr1=0x7f4a4efa29dc "address", attr2=0x7f4a4efa29d8 "rel",
attr3=0x7f4a4efa2b34 "protocol", attr4=0x7f4a4efa29fa "primary",
values=0x281ba70, types=0x281ba80, protocols=0x281ba78, pref=0x281ba8c) at
/usr/src/kontactfixes/libgcal-0.9.6/src/atom_parser.c:295
#9  0x00007f4a4ef8f179 in atom_extract_contact (entry=0x2954800,
ptr_entry=0x281b9c0) at
/usr/src/kontactfixes/libgcal-0.9.6/src/atom_parser.c:753
#10 0x00007f4a4ef98308 in extract_all_contacts (doc=0x27c4610,
data_extract=0x2814040, length=119) at
/usr/src/kontactfixes/libgcal-0.9.6/src/gcal_parser.c:434
#11 0x00007f4a4ef9f0e9 in gcal_get_all_contacts (gcalobj=0x2365830,
length=0x237efd8) at /usr/src/kontactfixes/libgcal-0.9.6/src/gcont.c:111
#12 0x00007f4a4ef9acd1 in gcal_get_contacts (gcalobj=0x2365830,
contact_array=0x237efd0) at
/usr/src/kontactfixes/libgcal-0.9.6/src/gcontact.c:155
#13 0x000000000041b247 in GoogleContactsResource::retrieveItems (this=<value
optimized out>, collection=<value optimized out>) at
/usr/src/kontactfixes/akonadi-googledata-1.2.0/contacts/googledataresource.cpp:224
#14 0x00007f4a506889d5 in
Akonadi::ResourceBasePrivate::slotSynchronizeCollection (this=<value optimized
out>, col=<value optimized out>) at ../../akonadi/resourcebase.cpp:572
#15 0x00007f4a5068b045 in Akonadi::ResourceBase::qt_metacall (this=0x237ef80,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff94ef2da0)
at ./moc_resourcebase.cpp:142
#16 0x000000000040ad25 in GoogleContactsResource::qt_metacall (this=0x0,
_c=4294967295, _id=0, _a=0x1) at
/usr/src/kontactfixes/akonadi-googledata-1.2.0/contacts/googledataresource.moc:80
#17 0x00007f4a5021eb27 in QMetaObject::activate (sender=0x2320660, m=<value
optimized out>, local_signal_index=<value optimized out>, argv=0x1) at
kernel/qobject.cpp:3280
#18 0x00007f4a5068c015 in Akonadi::ResourceScheduler::executeCollectionSync
(this=0x0, _t1=<value optimized out>) at ./resourcescheduler_p.moc:141
#19 0x00007f4a5068f9cc in Akonadi::ResourceScheduler::executeNext
(this=0x2320660) at ../../akonadi/resourcescheduler.cpp:275
#20 0x00007f4a5068fb98 in Akonadi::ResourceScheduler::qt_metacall
(this=0x2320660, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>,
_a=0x23dde00) at ./resourcescheduler_p.moc:116
#21 0x00007f4a50218bde in QObject::event (this=0x2320660, e=0x0) at
kernel/qobject.cpp:1219
#22 0x00007f4a4d3c9fdc in QApplicationPrivate::notify_helper (this=0x22927a0,
receiver=0x2320660, e=0x27ccf90) at kernel/qapplication.cpp:4396
#23 0x00007f4a4d3cfaed in QApplication::notify (this=0x7fff94ef3aa0,
receiver=0x2320660, e=0x27ccf90) at kernel/qapplication.cpp:4277
#24 0x00007f4a4e92b2f6 in KApplication::notify (this=0x7fff94ef3aa0,
receiver=0x2320660, event=0x27ccf90) at ../../kdeui/kernel/kapplication.cpp:311
#25 0x00007f4a50206cdc in QCoreApplication::notifyInternal
(this=0x7fff94ef3aa0, receiver=0x2320660, event=0x27ccf90) at
kernel/qcoreapplication.cpp:732
#26 0x00007f4a50209c22 in sendEvent (receiver=0x0, event_type=<value optimized
out>, data=0x2277610) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#27 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value
optimized out>, data=0x2277610) at kernel/qcoreapplication.cpp:1373
#28 0x00007f4a50233653 in sendPostedEvents (s=0x229a100) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#29 postEventSourceDispatch (s=0x229a100) at
kernel/qeventdispatcher_glib.cpp:277
#30 0x00007f4a4b2b7342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#31 0x00007f4a4b2bb2a8 in ?? () from /lib/libglib-2.0.so.0
#32 0x00007f4a4b2bb45c in g_main_context_iteration () from
/lib/libglib-2.0.so.0
#33 0x00007f4a50233193 in QEventDispatcherGlib::processEvents (this=0x2276d00,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#34 0x00007f4a4d47ca4e in QGuiEventDispatcherGlib::processEvents (this=0x0,
flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x00007f4a50205a02 in QEventLoop::processEvents (this=<value optimized
out>, flags=) at kernel/qeventloop.cpp:149
#36 0x00007f4a50205dec in QEventLoop::exec (this=0x7fff94ef3a30, flags=) at
kernel/qeventloop.cpp:201
#37 0x00007f4a50209ebb in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1009
#38 0x00007f4a50685ad2 in Akonadi::ResourceBase::init (r=0x237ef80) at
../../akonadi/resourcebase.cpp:302
#39 0x000000000040b8b8 in init<GoogleContactsResource> (argc=<value optimized
out>, argv=<value optimized out>) at /usr/include/akonadi/resourcebase.h:188
#40 main (argc=<value optimized out>, argv=<value optimized out>) at
/usr/src/kontactfixes/akonadi-googledata-1.2.0/contacts/googledataresource.cpp:1546

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the Kdepim-bugs mailing list