Bug 278785

Summary: Unable to add google contacts resource
Product: [Frameworks and Libraries] Akonadi Reporter: Hugo Costelha <hugo.costelha>
Component: GoogleData ResourceAssignee: Adenilson Cavalcanti <savagobr>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kdepim-bugs, vkrause
Priority: NOR    
Version: 4.7   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Hugo Costelha 2011-07-29 13:59:52 UTC
Application: akonadi_googledata_resource (4.7)
KDE Platform Version: 4.7.00 (4.7.0) "release 6"
Qt Version: 4.7.3
Operating System: Linux 2.6.37.6-0.5-desktop i686
Distribution: "openSUSE 11.4 (i586)"

-- Information about the crash:
- What I was doing when the application crashed:

Adding contacts resource in KDE 4.7 still yelds the same crashing behaviour.

The crash can be reproduced every time.

-- Backtrace:
Application: Akonadi Resource (akonadi_googledata_resource), signal: Segmentation fault
[KCrash Handler]
#7  0xb5aa65ff in __strlen_ia32 () from /lib/libc.so.6
#8  0xb5aa6266 in strdup () from /lib/libc.so.6
#9  0xb6badd09 in extract_and_check_multi (doc=<value optimized out>, xpath_expression=<value optimized out>, getContent=0, attr1=0xb6bc15f2 "address", attr2=0xb6bc15ee "rel", attr3=0xb6bc1629 "protocol", attr4=0xb6bc15e6 "primary", values=0x83e1c3c, types=0x83e1c44, protocols=0x83e1c40, pref=0x83e1c4c) at /usr/src/debug/libgcal-0.9.6/src/atom_parser.c:295
#10 0xb6baf8c0 in atom_extract_contact (entry=0x820a738, ptr_entry=0x83e1be0) at /usr/src/debug/libgcal-0.9.6/src/atom_parser.c:753
#11 0xb6bb8d78 in extract_all_contacts (doc=0x822e4d0, data_extract=0x83e1970, length=364) at /usr/src/debug/libgcal-0.9.6/src/gcal_parser.c:434
#12 0xb6bbe18e in gcal_get_all_contacts (gcalobj=0x82180c8, length=0x81c936c) at /usr/src/debug/libgcal-0.9.6/src/gcont.c:111
#13 0xb6bba9c3 in gcal_get_contacts (gcalobj=0x82180c8, contact_array=0x81c9368) at /usr/src/debug/libgcal-0.9.6/src/gcontact.c:155
#14 0x0806018a in GoogleContactsResource::retrieveItems (this=0x81c9340, collection=...) at /usr/src/debug/akonadi-googledata-1.2.0/contacts/googledataresource.cpp:224
#15 0xb75cc01b in Akonadi::ResourceBasePrivate::slotSynchronizeCollection(Akonadi::Collection const&) () from /usr/lib/libakonadi-kde.so.4
#16 0xb75f8e3c in Akonadi::ResourceBase::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libakonadi-kde.so.4
#17 0x08051007 in GoogleContactsResource::qt_metacall (this=0x81c9340, _c=QMetaObject::InvokeMetaMethod, _id=38, _a=0xbfe704c8) at /usr/src/debug/akonadi-googledata-1.2.0/build/contacts/googledataresource.moc:80
#18 0xb73bd07d in QMetaObject::metacall (object=0x81c9340, cl=QMetaObject::InvokeMetaMethod, idx=38, argv=0xbfe704c8) at kernel/qmetaobject.cpp:237
#19 0xb73cc4cc in QMetaObject::activate (sender=0x81d44c0, m=0xb76cbca0, local_signal_index=2, argv=0xbfe704c8) at kernel/qobject.cpp:3278
#20 0xb7561a05 in Akonadi::ResourceScheduler::executeCollectionSync(Akonadi::Collection const&) () from /usr/lib/libakonadi-kde.so.4
#21 0xb75ef5d7 in Akonadi::ResourceScheduler::executeNext() () from /usr/lib/libakonadi-kde.so.4
#22 0xb75f0ce0 in Akonadi::ResourceScheduler::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libakonadi-kde.so.4
#23 0xb73bd07d in QMetaObject::metacall (object=0x81d44c0, cl=QMetaObject::InvokeMetaMethod, idx=19, argv=0x816bd00) at kernel/qmetaobject.cpp:237
#24 0xb73c7b55 in QMetaCallEvent::placeMetaCall (this=0x81d6dc8, object=0x81d44c0) at kernel/qobject.cpp:535
#25 0xb73cbdbf in QObject::event (this=0x81d44c0, e=0x81d6dc8) at kernel/qobject.cpp:1217
#26 0xb5dea684 in QApplicationPrivate::notify_helper (this=0x808c8e0, receiver=0x81d44c0, e=0x81d6dc8) at kernel/qapplication.cpp:4462
#27 0xb5df3427 in QApplication::notify (this=0xbfe70e60, receiver=0x81d44c0, e=0x81d6dc8) at kernel/qapplication.cpp:3862
#28 0xb69587b1 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#29 0xb73b678e in QCoreApplication::notifyInternal (this=0xbfe70e60, receiver=0x81d44c0, event=0x81d6dc8) at kernel/qcoreapplication.cpp:731
#30 0xb73ba51c in sendEvent (receiver=0x0, event_type=0, data=0x8076358) at kernel/qcoreapplication.h:215
#31 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8076358) at kernel/qcoreapplication.cpp:1372
#32 0xb73ba66c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1265
#33 0xb73e4df4 in sendPostedEvents (s=0x8090b00) at kernel/qcoreapplication.h:220
#34 postEventSourceDispatch (s=0x8090b00) at kernel/qeventdispatcher_glib.cpp:277
#35 0xb56d3509 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#36 0xb56d3d10 in ?? () from /lib/libglib-2.0.so.0
#37 0xb56d3fce in g_main_context_iteration () from /lib/libglib-2.0.so.0
#38 0xb73e4f7b in QEventDispatcherGlib::processEvents (this=0x8075ef0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#39 0xb5ea11da in QGuiEventDispatcherGlib::processEvents (this=0x8075ef0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#40 0xb73b5a6d in QEventLoop::processEvents (this=0xbfe70dc4, flags=...) at kernel/qeventloop.cpp:149
#41 0xb73b5c99 in QEventLoop::exec (this=0xbfe70dc4, flags=...) at kernel/qeventloop.cpp:201
#42 0xb73ba740 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#43 0xb5de83d4 in QApplication::exec () at kernel/qapplication.cpp:3736
#44 0xb7560edf in Akonadi::ResourceBase::init(Akonadi::ResourceBase*) () from /usr/lib/libakonadi-kde.so.4
#45 0x08053193 in init<GoogleContactsResource> (argc=0, argv=0x0) at /usr/include/akonadi/resourcebase.h:188
#46 main (argc=0, argv=0x0) at /usr/src/debug/akonadi-googledata-1.2.0/contacts/googledataresource.cpp:1546

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

Possible duplicates by query: bug 278494, bug 275377, bug 271662, bug 269983, bug 267050.

Reported using DrKonqi
Comment 1 Christophe Marin 2011-08-28 16:13:30 UTC

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