Bug 257527 - Akonadi googledata contact agent crashes
Summary: Akonadi googledata contact agent crashes
Status: RESOLVED DUPLICATE of bug 246195
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: GoogleData Resource (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Adenilson Cavalcanti
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-21 17:12 UTC by Matthijs
Modified: 2010-11-27 22:50 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthijs 2010-11-21 17:12:33 UTC
Application: akonadi_googledata_resource (0.1)
KDE Platform Version: 4.5.3 (KDE 4.5.3)
Qt Version: 4.7.1
Operating System: Linux 2.6.35-ARCH x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
The akonadi_googledata agent crashes every time it is started. Akonadi tries restarting it a few times, each giving the same result and another DrKonqi dialog.

My data is not altered in any way, and an old cache of the data is available (it worked in the past using older versions of libgcal and/or akonadi-googledata)

After those few times, I can see the agent is not running (the process akonadi_googled is not running)

An easy way to reproduce it is adding it, giving it your google login-info and wait until it crashes (within a second)

The crash can be reproduced every time.

-- Backtrace:
Application: Akonadi Resource (akonadi_googledata_resource), signal: Segmentation fault
[KCrash Handler]
#6  0x00007fe85c5e4712 in strlen () from /lib/libc.so.6
#7  0x00007fe85c5e4456 in strdup () from /lib/libc.so.6
#8  0x00007fe85e0b3aec in extract_and_check_multi (doc=0xef22d0, xpath_expression=0x7fe85e0bc5bd "//atom:entry/gd:im", getContent=0, attr1=0x7fe85e0bc45c "address", attr2=0x7fe85e0bc458 "rel", attr3=0x7fe85e0bc5b4 "protocol", attr4=0x7fe85e0bc47a "primary", values=0xff1900, types=0xff1910, protocols=0xff1908, pref=0xff191c) at ../src/atom_parser.c:295
#9  0x00007fe85e0b4918 in atom_extract_contact (entry=0xf05190, ptr_entry=0xff1850) at ../src/atom_parser.c:753
#10 0x00007fe85e0b5ad1 in extract_all_contacts (doc=0xe92dd0, data_extract=0xfefe70, length=37) at ../src/gcal_parser.c:434
#11 0x00007fe85e0b700f in gcal_get_all_contacts (gcalobj=0xec69e0, length=0xdf7928) at ../src/gcont.c:111
#12 0x00007fe85e0b94d6 in gcal_get_contacts (gcalobj=0xec69e0, contact_array=0xdf7920) at ../src/gcontact.c:155
#13 0x0000000000412ef8 in GoogleContactsResource::retrieveItems (this=0xdf78d0, collection=<value optimized out>) at /home/matthijs/akonadi-googledata/src/akonadi-googledata-1.2.0/contacts/googledataresource.cpp:224
#14 0x00007fe85f6efa85 in ?? () from /usr/lib/libakonadi-kde.so.4
#15 0x00007fe85f6f146e in Akonadi::ResourceBase::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libakonadi-kde.so.4
#16 0x000000000040ad95 in GoogleContactsResource::qt_metacall (this=0xdf78d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff80bc6b40) at /home/matthijs/akonadi-googledata/src/build/contacts/googledataresource.moc:80
#17 0x00007fe85f2a133f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#18 0x00007fe85f6f2d35 in ?? () from /usr/lib/libakonadi-kde.so.4
#19 0x00007fe85f6f7744 in ?? () from /usr/lib/libakonadi-kde.so.4
#20 0x00007fe85f6f8438 in ?? () from /usr/lib/libakonadi-kde.so.4
#21 0x00007fe85f2a019a in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#22 0x00007fe85cf9d2b4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#23 0x00007fe85cfa1dca in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#24 0x00007fe85dc99226 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#25 0x00007fe85f28bebc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#26 0x00007fe85f28f6e5 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#27 0x00007fe85f2b6db3 in ?? () from /usr/lib/libQtCore.so.4
#28 0x00007fe85ae75bf3 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#29 0x00007fe85ae763d0 in ?? () from /usr/lib/libglib-2.0.so.0
#30 0x00007fe85ae7666d in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#31 0x00007fe85f2b6f4f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#32 0x00007fe85d04223e in ?? () from /usr/lib/libQtGui.so.4
#33 0x00007fe85f28b252 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#34 0x00007fe85f28b49c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#35 0x00007fe85f28f99b in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#36 0x00007fe85f6ee472 in Akonadi::ResourceBase::init(Akonadi::ResourceBase*) () from /usr/lib/libakonadi-kde.so.4
#37 0x00000000004154a8 in Akonadi::ResourceBase::init<GoogleContactsResource> (argc=<value optimized out>, argv=<value optimized out>) at /usr/include/akonadi/resourcebase.h:186
#38 0x00007fe85c587c4d in __libc_start_main () from /lib/libc.so.6
#39 0x000000000040ab29 in _start ()

Reported using DrKonqi
Comment 1 Dario Andres 2010-11-27 22:50:33 UTC
[Comment from a bug triager]
This issue is being tracked at bug 246195. Merging. Thanks for the information

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