Bug 330255

Summary: App crash on adding Google Contacts to Web Accounts App
Product: [Frameworks and Libraries] Akonadi Reporter: Jordan <gordo1701d>
Component: Google ResourceAssignee: Daniel Vrátil <dvratil>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: j.dasua, kdepim-bugs
Priority: NOR Keywords: drkonqi
Version: 4.12   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jordan 2014-01-21 15:56:43 UTC
Application: akonadi_googlecontacts_resource (4.12)
KDE Platform Version: 4.12.0
Qt Version: 4.8.4
Operating System: Linux 3.11.0-15-generic x86_64
Distribution: Netrunner 13.12 (Enigma-II)

-- Information about the crash:
- What I was doing when the application crashed: Adding accounts the Web Accounts Setup

- Unusual behavior I noticed:  Desktop went completely black and no menus were available

-- Backtrace:
Application: Google Contacts (gordo1701d@gmail.com) of type Google Contacts (akonadi_googlecontacts_resource), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f2eca9f37c0 (LWP 11261))]

Thread 2 (Thread 0x7f2eb10b7700 (LWP 11302)):
#0  0x00007f2ec628a055 in __GI___pthread_mutex_lock (mutex=0x7f2eac000a60) at pthread_mutex_lock.c:95
#1  0x00007f2ec5bd83a1 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2ec5b97d59 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2ec5b985c3 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f2ec5b987ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f2ec9dcfa76 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f2ec9da15ef in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007f2ec9da18e5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007f2ec9ca088f in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007f2ec9d82d13 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#10 0x00007f2ec9ca2f2f in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#11 0x00007f2ec6287f6e in start_thread (arg=0x7f2eb10b7700) at pthread_create.c:311
#12 0x00007f2ec771a9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f2eca9f37c0 (LWP 11261)):
[KCrash Handler]
#5  data (this=0x31) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:146
#6  qSharedPointerDynamicCast<KGAPI2::Contact, KGAPI2::Object> (src=...) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:834
#7  dynamicCast<KGAPI2::Contact> (this=0x31) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:526
#8  ContactsResource::slotCreateJobFinished (this=0x26dbb80, job=0x292a3c0) at ../../../../resources/google/contacts/contactsresource.cpp:542
#9  0x000000000040afcc in ContactsResource::qt_static_metacall (_o=0x0, _c=43622640, _id=0, _a=0x7f2ec79e1740 <main_arena>) at moc_contactsresource.cpp:110
#10 0x00007f2ec9db6a58 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#11 0x00007f2ec923f5ff in KGAPI2::Job::finished(KGAPI2::Job*) () from /usr/lib/x86_64-linux-gnu/libkgapi2.so.2
#12 0x00007f2ec9dbadce in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#13 0x00007f2ec80d1dfc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#14 0x00007f2ec80d8470 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#15 0x00007f2ec8de1c6a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#16 0x00007f2ec9da28bd in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#17 0x00007f2ec9da5e1f in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#18 0x00007f2ec9dd0073 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#19 0x00007f2ec5b983b6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007f2ec5b98708 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007f2ec5b987ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007f2ec9dcfa55 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#23 0x00007f2ec81739d6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#24 0x00007f2ec9da15ef in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#25 0x00007f2ec9da18e5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#26 0x00007f2ec9da6e5b in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#27 0x00007f2eca4fee33 in Akonadi::ResourceBase::init(Akonadi::ResourceBase*) () from /usr/lib/libakonadi-kde.so.4
#28 0x0000000000417bb3 in Akonadi::ResourceBase::init<ContactsResource> (argc=<optimized out>, argv=<optimized out>) at /usr/include/KDE/Akonadi/../../akonadi/resourcebase.h:192
#29 0x00007f2ec7641de5 in __libc_start_main (main=0x40ad40 <main(int, char**)>, argc=3, ubp_av=0x7fffdde7f798, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffdde7f788) at libc-start.c:260
#30 0x000000000040ad6e in _start ()

Reported using DrKonqi
Comment 1 Jekyll Wu 2014-02-26 10:05:35 UTC
*** Bug 331524 has been marked as a duplicate of this bug. ***
Comment 2 Denis Kurz 2016-09-24 20:38:24 UTC
This bug has only been reported for versions older than KDEPIM 4.14 (at most akonadi-1.3). Can anyone tell if this bug still present?

If noone confirms this bug for a recent version of akonadi (part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 3 Denis Kurz 2017-01-07 22:17:28 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.