Bug 278494

Summary: Attempting akonadi_googledata sync
Product: [Frameworks and Libraries] Akonadi Reporter: losco.jeff
Component: GoogleData ResourceAssignee: Adenilson Cavalcanti <savagobr>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kdepim-bugs, vkrause
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description losco.jeff 2011-07-25 19:16:43 UTC
Application: akonadi_googledata_resource (0.1)
KDE Platform Version: 4.6.5 (4.6.5)
Qt Version: 4.7.3
Operating System: Linux 2.6.38.8-35.fc15.i686 i686
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed:
Added Google Contact  Resource to Akonadi resource configuration.  By default the sync starts and crashed.

The crash can be reproduced every time.

-- Backtrace:
Application: Akonadi Resource (akonadi_googledata_resource), signal: Segmentation fault
[KCrash Handler]
#7  __strlen_ia32 () at ../sysdeps/i386/i586/strlen.S:56
#8  0x4bb90b96 in __GI___strdup (s=0x1 <Address 0x1 out of bounds>) at strdup.c:42
#9  0x00d9c641 in extract_and_check_multi (doc=<optimized out>, xpath_expression=<optimized out>, getContent=0, attr1=0xdad9ab "address", attr2=0xdad9a7 "rel", attr3=0xdad9e2 "protocol", attr4=0xdad99f "primary", values=0xb4d6c1a4, types=0xb4d6c1ac, protocols=0xb4d6c1a8, pref=0xb4d6c1b4) at /usr/src/debug/libgcal-0.9.6/src/atom_parser.c:295
#10 0x00d9e13f in atom_extract_contact (entry=0x96c5e60, ptr_entry=0xb4d6c148) at /usr/src/debug/libgcal-0.9.6/src/atom_parser.c:753
#11 0x00da5494 in extract_all_contacts (doc=0x91b39d8, data_extract=0xb4d4d008, length=938) at /usr/src/debug/libgcal-0.9.6/src/gcal_parser.c:434
#12 0x00daa841 in gcal_get_all_contacts (gcalobj=0x91c0ee0, length=0x91a3624) at /usr/src/debug/libgcal-0.9.6/src/gcont.c:111
#13 0x00da6fd2 in gcal_get_contacts (gcalobj=0x91c0ee0, contact_array=0x91a3620) at /usr/src/debug/libgcal-0.9.6/src/gcontact.c:155
#14 0x0805e0c9 in GoogleContactsResource::retrieveItems (this=0x91a35f8, collection=...) at /usr/src/debug/akonadi-googledata-1.2.0/contacts/googledataresource.cpp:224
#15 0x4360799a in Akonadi::ResourceBasePrivate::slotSynchronizeCollection (this=0x918ec08, col=...) at /usr/src/debug/kdepimlibs-4.6.5/akonadi/resourcebase.cpp:660
#16 0x4360a3f6 in Akonadi::ResourceBase::qt_metacall (this=0x91a35f8, _c=QMetaObject::InvokeMetaMethod, _id=15, _a=0xbff3ce08) at /usr/src/debug/kdepimlibs-4.6.5/i686-redhat-linux-gnu/akonadi/moc_resourcebase.cpp:142
#17 0x080504a8 in GoogleContactsResource::qt_metacall (this=0x91a35f8, _c=QMetaObject::InvokeMetaMethod, _id=38, _a=0xbff3ce08) at /usr/src/debug/akonadi-googledata-1.2.0/i686-redhat-linux-gnu/contacts/googledataresource.moc:80
#18 0x4141ce9e in metacall (argv=0xbff3ce08, idx=38, cl=QMetaObject::InvokeMetaMethod, object=0x91a35f8) at kernel/qmetaobject.cpp:237
#19 QMetaObject::metacall (object=0x91a35f8, cl=QMetaObject::InvokeMetaMethod, idx=38, argv=0xbff3ce08) at kernel/qmetaobject.cpp:232
#20 0x4142ad6a in QMetaObject::activate (sender=0x91b3120, m=0x436f21f8, local_signal_index=2, argv=0xbff3ce08) at kernel/qobject.cpp:3278
#21 0x4360cc06 in Akonadi::ResourceScheduler::executeCollectionSync (this=0x91b3120, _t1=...) at /usr/src/debug/kdepimlibs-4.6.5/i686-redhat-linux-gnu/akonadi/resourcescheduler_p.moc:141
#22 0x43612d17 in Akonadi::ResourceScheduler::executeNext (this=0x91b3120) at /usr/src/debug/kdepimlibs-4.6.5/akonadi/resourcescheduler.cpp:275
#23 0x43613b90 in Akonadi::ResourceScheduler::qt_metacall (this=0x91b3120, _c=QMetaObject::InvokeMetaMethod, _id=15, _a=0x925c7c8) at /usr/src/debug/kdepimlibs-4.6.5/i686-redhat-linux-gnu/akonadi/resourcescheduler_p.moc:116
#24 0x4141ce9e in metacall (argv=0x925c7c8, idx=19, cl=QMetaObject::InvokeMetaMethod, object=0x91b3120) at kernel/qmetaobject.cpp:237
#25 QMetaObject::metacall (object=0x91b3120, cl=QMetaObject::InvokeMetaMethod, idx=19, argv=0x925c7c8) at kernel/qmetaobject.cpp:232
#26 0x41427926 in QMetaCallEvent::placeMetaCall (this=0x9185990, object=0x91b3120) at kernel/qobject.cpp:535
#27 0x4142ebbf in QObject::event (this=0x91b3120, e=0x9185990) at kernel/qobject.cpp:1217
#28 0x42af4464 in notify_helper (e=0x9185990, receiver=0x91b3120, this=0x912aec8) at kernel/qapplication.cpp:4462
#29 QApplicationPrivate::notify_helper (this=0x912aec8, receiver=0x91b3120, e=0x9185990) at kernel/qapplication.cpp:4434
#30 0x42af98a3 in QApplication::notify (this=0x9185990, receiver=0x91b3120, e=0x9185990) at kernel/qapplication.cpp:4209
#31 0x449a68c2 in KApplication::notify (this=0xbff3d7a0, receiver=0x91b3120, event=0x9185990) at /usr/src/debug/kdelibs-4.6.5/kdeui/kernel/kapplication.cpp:311
#32 0x414166be in QCoreApplication::notifyInternal (this=0xbff3d7a0, receiver=0x91b3120, event=0x9185990) at kernel/qcoreapplication.cpp:731
#33 0x4141a148 in sendEvent (event=<optimized out>, receiver=<optimized out>) at kernel/qcoreapplication.h:215
#34 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x910fe00) at kernel/qcoreapplication.cpp:1372
#35 0x4141a30d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1265
#36 0x414448f5 in sendPostedEvents () at kernel/qcoreapplication.h:220
#37 postEventSourceDispatch (s=0x912cb00) at kernel/qeventdispatcher_glib.cpp:277
#38 0x4bd985bf in g_main_dispatch (context=0x912ca70) at gmain.c:2441
#39 g_main_context_dispatch (context=0x912ca70) at gmain.c:3014
#40 0x4bd98d30 in g_main_context_iterate (context=0x912ca70, block=1272609408, dispatch=1, self=0x912a428) at gmain.c:3092
#41 0x4bd9906f in g_main_context_iteration (context=0x912ca70, may_block=1) at gmain.c:3155
#42 0x41444d38 in QEventDispatcherGlib::processEvents (this=0x9110b10, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#43 0x42ba8cab in QGuiEventDispatcherGlib::processEvents (this=0x9110b10, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#44 0x414159fe in QEventLoop::processEvents (this=0xbff3d704, flags=...) at kernel/qeventloop.cpp:149
#45 0x41415c51 in QEventLoop::exec (this=0xbff3d704, flags=...) at kernel/qeventloop.cpp:201
#46 0x4141a3bb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#47 0x42af2245 in QApplication::exec () at kernel/qapplication.cpp:3736
#48 0x436048f2 in Akonadi::ResourceBase::init (r=0x91a35f8) at /usr/src/debug/kdepimlibs-4.6.5/akonadi/resourcebase.cpp:390
#49 0x08060e59 in Akonadi::ResourceBase::init<GoogleContactsResource> (argc=3, argv=0xbff3d874) at /usr/include/kde4/akonadi/resourcebase.h:188
#50 0x080501ec in main (argc=3, argv=0xbff3d874) at /usr/src/debug/akonadi-googledata-1.2.0/contacts/googledataresource.cpp:1546

Reported using DrKonqi
Comment 1 losco.jeff 2011-07-25 20:06:50 UTC
I tested this with a standard Gmail account and it does not crash.  But when I use a google apps account - it crashes.
Comment 2 Christophe Marin 2011-07-25 22:05:19 UTC

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