Bug 256331

Summary: akonadi-googledata contacts resource crashes on startup
Product: [Frameworks and Libraries] Akonadi Reporter: Johannes Engel <jcnengel>
Component: GoogleData ResourceAssignee: Adenilson Cavalcanti <savagobr>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kdepim-bugs, vkrause
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Johannes Engel 2010-11-07 23:28:09 UTC
Application: akonadi_googledata_resource (0.1)
KDE Platform Version: 4.5.3 (KDE 4.5.3)
Qt Version: 4.7.0
Operating System: Linux 2.6.36-engel x86_64
Distribution: "openSUSE 11.3 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
I added a Google contacts resource. Right after adding the resource crashes on startup.

The crash can be reproduced every time.

-- Backtrace:
Application: Akonadi Resource (akonadi_googledata_resource), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f44a27e6780 (LWP 3290))]

Thread 2 (Thread 0x7f448e61c710 (LWP 3293)):
#0  0x00007f449f2ea6b3 in poll () from /lib64/libc.so.6
#1  0x00007f449db29fd4 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f449db2a510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f44a1f43656 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#4  0x00007f44a1f17e12 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007f44a1f18025 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007f44a1e2b034 in QThread::exec() () from /usr/lib64/libQtCore.so.4
#7  0x00007f44a1ef9478 in ?? () from /usr/lib64/libQtCore.so.4
#8  0x00007f44a1e2d8be in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00007f449e5fba4f in start_thread () from /lib64/libpthread.so.0
#10 0x00007f449f2f382d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f44a27e6780 (LWP 3290)):
[KCrash Handler]
#6  0x00007f449f29f6a2 in strlen () from /lib64/libc.so.6
#7  0x00007f449f29f3c6 in strdup () from /lib64/libc.so.6
#8  0x00007f44a0d641e7 in extract_and_check_multi (doc=0xe6a270, xpath_expression=0x7f44a0d791bd "//atom:entry/gd:im", getContent=0, attr1=0x7f44a0d7905c "address", attr2=0x7f44a0d79058 "rel", attr3=
    0x7f44a0d791b4 "protocol", attr4=0x7f44a0d7907a "primary", values=0xd0d170, types=0xd0d180, protocols=0xd0d178, pref=0xd0d18c) at /usr/src/debug/libgcal-0.9.6/src/atom_parser.c:295
#9  0x00007f44a0d658c6 in atom_extract_contact (entry=0xcb09f0, ptr_entry=0xd0d0c0) at /usr/src/debug/libgcal-0.9.6/src/atom_parser.c:753
#10 0x00007f44a0d6e940 in extract_all_contacts (doc=0x80d840, data_extract=0xcf3f20, length=379) at /usr/src/debug/libgcal-0.9.6/src/gcal_parser.c:434
#11 0x00007f44a0d75721 in gcal_get_all_contacts (gcalobj=0x7cef20, length=0x785c08) at /usr/src/debug/libgcal-0.9.6/src/gcont.c:111
#12 0x00007f44a0d71309 in gcal_get_contacts (gcalobj=0x7cef20, contact_array=0x785c00) at /usr/src/debug/libgcal-0.9.6/src/gcontact.c:155
#13 0x000000000041a302 in _start ()

Reported using DrKonqi
Comment 1 Johannes Engel 2010-11-08 00:24:51 UTC
This bug seems to be caused by libgcal 0.9.6 as also the minimal test program for contacts on libgcal's homepage crashes with a segfault.
Comment 2 Christoph Feck 2010-11-13 16:07:54 UTC

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