Bug 284032

Summary: Creating a new Google Contact resource
Product: [Frameworks and Libraries] Akonadi Reporter: Stephen Thompson <stephen.thompson>
Component: GoogleData ResourceAssignee: Adenilson Cavalcanti <savagobr>
Status: RESOLVED FIXED    
Severity: crash CC: florian_staudacher, kdepim-bugs, vkrause
Priority: NOR    
Version: 4.7   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Stephen Thompson 2011-10-14 22:14:05 UTC
Application: akonadi_googledata_resource (4.7)
KDE Platform Version: 4.7.1 (4.7.1)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-12-generic x86_64
Distribution: Ubuntu 11.10

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

I had just created a new contact resource to my googlemail account using the contacts connector. I entered my Authentication details, it then popped up asking if the resource was allowed access to Kwallet and it crashed at that point.

The crash can be reproduced every time.

-- Backtrace:
Application: Akonadi Google Contacts Resource (akonadi_googledata_resource), signal: Aborted
[Current thread is 1 (Thread 0x7f648fb6f7a0 (LWP 28456))]

Thread 2 (Thread 0x7f647b154700 (LWP 28458)):
#0  0x00007f648c4ef773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f648ac9af68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f648ac9b429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f648f25bf3e in QEventDispatcherGlib::processEvents (this=0x16118a0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f648f22fcf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f648f22fef7 in QEventLoop::exec (this=0x7f647b153db0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f648f14727f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007f648f212cbf in QInotifyFileSystemWatcherEngine::run (this=0x19186c0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f648f149d05 in QThreadPrivate::start (arg=0x19186c0) at thread/qthread_unix.cpp:331
#9  0x00007f648b77cefc in start_thread (arg=0x7f647b154700) at pthread_create.c:304
#10 0x00007f648c4fb89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f648fb6f7a0 (LWP 28456)):
[KCrash Handler]
#6  0x00007f648c4503a5 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f648c453b0b in __GI_abort () at abort.c:92
#8  0x00007f648ca8ad7d in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#9  0x00007f648ca88f26 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#10 0x00007f648ca88f53 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#11 0x00007f648ca89096 in __cxa_rethrow () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#12 0x00007f648f23002e in QEventLoop::exec (this=<optimized out>, flags=<optimized out>) at kernel/qeventloop.cpp:214
#13 0x00007f648f234789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#14 0x00007f648f6ab546 in Akonadi::ResourceBase::init (r=0x1715570) at ../../akonadi/resourcebase.cpp:393
#15 0x000000000041a956 in int Akonadi::ResourceBase::init<GoogleContactsResource>(int, char**) ()
#16 0x00007f648c43b30d in __libc_start_main (main=0x40a8a0, argc=3, ubp_av=0x7fff527a9da8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff527a9d98) at libc-start.c:226
#17 0x000000000040a8d1 in _start ()

Possible duplicates by query: bug 283896, bug 283876, bug 283789, bug 283436, bug 281501.

Reported using DrKonqi
Comment 1 Florian Staudacher 2011-10-28 00:11:33 UTC
Created attachment 64958 [details]
New crash information added by DrKonqi

akonadi_googledata_resource (4.7) on KDE Platform 4.7.2 (4.7.2) using Qt 4.8.0

- What I was doing when the application crashed:

I added a contact ressource for Google contacts, entered my credentials and when it supposedly fetched the data for the first time, the crash happened

-- Backtrace (Reduced):
#6  0x0000003e50c362a5 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x0000003e50c37bbb in __GI_abort () at abort.c:91
#8  0x0000003e52cbbfbd in __gnu_cxx::__verbose_terminate_handler () at ../../../../libstdc++-v3/libsupc++/vterminate.cc:95
#9  0x0000003e52cba176 in __cxxabiv1::__terminate (handler=<optimized out>) at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:40
#10 0x0000003e52cba1a3 in std::terminate () at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:50
Comment 2 Christophe Marin 2011-11-17 23:51:16 UTC
maybe fixed in KDE 4.7.3. Please check if this crash is still reproducible with this version
Comment 3 Florian Staudacher 2011-11-26 23:49:46 UTC
Since the latest updates of the fedora kde packages to:

Qt: 4.8.0
KDE: 4.7.3 (4.7.3)
kde4-config: 1.0

the google contact ressource doesn't crash anymore and behaves as expected. 
Also, the package on Archlinux from AUR, which seems to build the ressource from git, in combination with the KDE 4.8 beta packages, works like a charm.

Thank you very much!
Comment 4 Christophe Marin 2011-11-27 10:30:37 UTC
Thanks. Closing