Bug 332347 - Google Resource crash when adding new contact to Kontact Addressbook
Summary: Google Resource crash when adding new contact to Kontact Addressbook
Status: RESOLVED UNMAINTAINED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Google Resource (show other bugs)
Version: 4.12
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Daniel Vrátil
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-03-20 09:01 UTC by Jarmo Uusi-Maahi
Modified: 2018-02-01 09:51 UTC (History)
2 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 Jarmo Uusi-Maahi 2014-03-20 09:01:57 UTC
Application: akonadi_googlecontacts_resource (4.12)
KDE Platform Version: 4.12.3
Qt Version: 4.8.2
Operating System: Linux 3.2.0-60-generic x86_64
Distribution: Ubuntu 12.04.4 LTS

-- Information about the crash:
Kontact crash when i was adding new contact to addressbook.

The crash can be reproduced every time.

-- Backtrace:
Application: Google Contacts (jarmo.uusi.maahi@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".
[KCrash Handler]
#6  data (this=0x31) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:146
#7  qSharedPointerDynamicCast<KGAPI2::Contact, KGAPI2::Object> (src=...) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:834
#8  QSharedPointer<KGAPI2::Object>::dynamicCast<KGAPI2::Contact> (this=0x31) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:526
#9  0x00000000004107a3 in ContactsResource::slotCreateJobFinished (this=0x2456bc0, job=0x2516480) at ../../../../resources/google/contacts/contactsresource.cpp:542
#10 0x000000000040b36c in ContactsResource::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at moc_contactsresource.cpp:110
#11 0x00007f32f1b6a781 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#12 0x00007f32f0fe2b2f in KGAPI2::Job::finished(KGAPI2::Job*) () from /usr/lib/x86_64-linux-gnu/libkgapi2.so.2
#13 0x00007f32f1b6f946 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#14 0x00007f32efe3f7b4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#15 0x00007f32efe44583 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#16 0x00007f32f0b781d6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#17 0x00007f32f1b5632c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#18 0x00007f32f1b5a10a in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#19 0x00007f32f1b85493 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#20 0x00007f32ed712d13 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007f32ed713060 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007f32ed713124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007f32f1b858bf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#24 0x00007f32efee7cde in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#25 0x00007f32f1b54e62 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#26 0x00007f32f1b550b7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#27 0x00007f32f1b5a407 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#28 0x00007f32f22b25a6 in Akonadi::ResourceBase::init(Akonadi::ResourceBase*) () from /usr/lib/libakonadi-kde.so.4
#29 0x00000000004160a6 in Akonadi::ResourceBase::init<ContactsResource> (argc=<optimized out>, argv=<optimized out>) at /usr/include/KDE/Akonadi/../../akonadi/resourcebase.h:192
#30 0x00007f32ef3bf76d in __libc_start_main (main=0x40ad50 <main(int, char**)>, argc=3, ubp_av=0x7fffab9e3d98, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffab9e3d88) at libc-start.c:226
#31 0x000000000040ad81 in _start ()

Reported using DrKonqi
Comment 1 Diego 2014-10-29 09:00:29 UTC
Application: akonadi_googlecontacts_resource (4.14)
KDE Platform Version: 4.14.1
Qt Version: 4.8.6
Operating System: Linux 3.16.6-200.fc20.x86_64 x86_64
Distribution (Platform): Fedora RPMs

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

I have two Google account. I started moving some contacts from one account to another using drag and drop, and after the last drag and drop, this crash happened.

-- Backtrace:
Application: Contatti Google (xxxx@gmail.com) di tipo Contatti Google (akonadi_googlecontacts_resource), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
81	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[KCrash Handler]
#6  data (this=0x51) at /usr/include/QtCore/qsharedpointer_impl.h:146
#7  qSharedPointerDynamicCast<KGAPI2::Contact, KGAPI2::Object> (src=...) at /usr/include/QtCore/qsharedpointer_impl.h:834
#8  dynamicCast<KGAPI2::Contact> (this=0x51) at /usr/include/QtCore/qsharedpointer_impl.h:526
#9  ContactsResource::slotCreateJobFinished (this=0x206f980, job=0x2118b40) at /usr/src/debug/kdepim-runtime-4.14.1/resources/google/contacts/contactsresource.cpp:551
#10 0x000000000042403c in ContactsResource::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kdepim-runtime-4.14.1/x86_64-redhat-linux-gnu/resources/google/contacts/moc_contactsresource.cpp:109
#11 0x00000030d3f9b37a in QMetaObject::activate (sender=0x2118b40, m=m@entry=0x357bd98920 <KGAPI2::Job::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff49daf6b0) at kernel/qobject.cpp:3567
#12 0x000000357ba70d6f in KGAPI2::Job::finished (this=<optimized out>, _t1=0x2118b40) at /usr/src/debug/libkgapi-2.2.0/x86_64-redhat-linux-gnu/libkgapi2/job.moc:150
#13 0x00000030d3f9f90e in QObject::event (this=0x2118b40, e=<optimized out>) at kernel/qobject.cpp:1222
#14 0x00000030d77cae5c in QApplicationPrivate::notify_helper (this=this@entry=0x1ef5b40, receiver=receiver@entry=0x2118b40, e=e@entry=0x20d90e0) at kernel/qapplication.cpp:4565
#15 0x00000030d77d17b5 in QApplication::notify (this=this@entry=0x7fff49dafdf0, receiver=receiver@entry=0x2118b40, e=e@entry=0x20d90e0) at kernel/qapplication.cpp:4351
#16 0x000000356a44a59a in KApplication::notify (this=0x7fff49dafdf0, receiver=0x2118b40, event=0x20d90e0) at /usr/src/debug/kdelibs-4.14.1/kdeui/kernel/kapplication.cpp:311
#17 0x00000030d3f868fd in QCoreApplication::notifyInternal (this=0x7fff49dafdf0, receiver=receiver@entry=0x2118b40, event=event@entry=0x20d90e0) at kernel/qcoreapplication.cpp:953
#18 0x00000030d3f89ae5 in sendEvent (event=0x20d90e0, receiver=0x2118b40) at kernel/qcoreapplication.h:231
#19 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1eb9d80) at kernel/qcoreapplication.cpp:1577
#20 0x00000030d3f89f83 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#21 0x00000030d3fb5c9e in sendPostedEvents () at kernel/qcoreapplication.h:236
#22 postEventSourceDispatch (s=s@entry=0x1eef660) at kernel/qeventdispatcher_glib.cpp:300
#23 0x00000030cc2492a6 in g_main_dispatch (context=0x1ef5e20) at gmain.c:3066
#24 g_main_context_dispatch (context=context@entry=0x1ef5e20) at gmain.c:3642
#25 0x00000030cc249628 in g_main_context_iterate (context=context@entry=0x1ef5e20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3713
#26 0x00000030cc2496dc in g_main_context_iteration (context=0x1ef5e20, may_block=1) at gmain.c:3774
#27 0x00000030d3fb541e in QEventDispatcherGlib::processEvents (this=0x1ebb260, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#28 0x00000030d786cc46 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#29 0x00000030d3f8538f in QEventLoop::processEvents (this=this@entry=0x7fff49dafd60, flags=...) at kernel/qeventloop.cpp:149
#30 0x00000030d3f856dd in QEventLoop::exec (this=this@entry=0x7fff49dafd60, flags=...) at kernel/qeventloop.cpp:204
#31 0x00000030d3f8ada9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#32 0x00000030d77c94dc in QApplication::exec () at kernel/qapplication.cpp:3823
#33 0x000000357078a98c in Akonadi::ResourceBase::init (r=r@entry=0x206f980) at /usr/src/debug/kdepimlibs-4.14.1/akonadi/resourcebase.cpp:579
#34 0x0000000000417f43 in Akonadi::ResourceBase::init<ContactsResource> (argc=<optimized out>, argv=<optimized out>) at /usr/include/kde4/akonadi/resourcebase.h:193
#35 0x00000030c9621d65 in __libc_start_main (main=0x40b470 <main(int, char**)>, argc=3, argv=0x7fff49daff08, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff49dafef8) at libc-start.c:285
#36 0x000000000040b4a1 in _start ()

Possible duplicates by query: bug 332347, bug 331524, bug 330255.
Comment 2 Denis Kurz 2017-06-23 19:55:59 UTC
This bug has never been confirmed for a KDE PIM version that is based on KDE Frameworks (5.x). Those versions differ significantly from the old 4.x series. Therefore, I plan to close it in around two or three months. In the meantime, it is set to WAITINGFORINFO to give reporters the oportunity to check if it is still valid. As soon as someone confirms it for a recent version (at least 5.1, ideally even more recent), I'll gladly reopen it.

Please understand that we lack the manpower to triage bugs reported for versions almost two years beyond their end of life.
Comment 3 Denis Kurz 2018-02-01 09:51:39 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.1 aka 15.12; preferably much more recent), please open a new one unless it already exists. Thank you for all your input.