Bug 355558

Summary: Akonadi google calendar resource crashes often
Product: [Frameworks and Libraries] Akonadi Reporter: Kai Krakow <kai>
Component: Google ResourceAssignee: Daniel Vrátil <dvratil>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: kdepim-bugs
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Kai Krakow 2015-11-18 19:14:00 UTC
Application: akonadi_googlecalendar_resource (4.89.0)

Qt Version: 5.5.1
Operating System: Linux 4.2.6-gentoo x86_64
Distribution: "Gentoo Base System release 2.2"

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

My desktop just sits idle or I do stuff totally unrelated to Akonadi.

The crash can be reproduced every time.

-- Backtrace:
Application: Akonadi-Ressource (akonadi_googlecalendar_resource), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fce73a85880 (LWP 5614))]

Thread 3 (Thread 0x7fce72b29700 (LWP 5615)):
#0  0x0000003535adfc7d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x000000353860aa02 in poll (__timeout=-1, __nfds=1, __fds=0x7fce72b28c40) at /usr/include/bits/poll2.h:46
#2  _xcb_conn_wait (c=c@entry=0x76db20, cond=cond@entry=0x76db60, vector=vector@entry=0x0, count=count@entry=0x0) at /var/tmp/portage/x11-libs/libxcb-1.11-r1/work/libxcb-1.11/src/xcb_conn.c:459
#3  0x000000353860c4cf in xcb_wait_for_event (c=0x76db20) at /var/tmp/portage/x11-libs/libxcb-1.11-r1/work/libxcb-1.11/src/xcb_in.c:623
#4  0x00007fce735cfc89 in QXcbEventReader::run (this=0x77bcc0) at qxcbconnection.cpp:1229
#5  0x00000036dc6a04a2 in QThreadPrivate::start (arg=0x77bcc0) at thread/qthread_unix.cpp:331
#6  0x0000003536207324 in start_thread (arg=0x7fce72b29700) at pthread_create.c:333
#7  0x0000003535ae8a9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fce70deb700 (LWP 5618)):
#0  0x00000036d7c496ee in g_main_context_dispatch (context=context@entry=0x7fce64000990) at /var/tmp/portage/dev-libs/glib-2.44.1-r1/work/glib-2.44.1/glib/gmain.c:3741
#1  0x00000036d7c49bd0 in g_main_context_iterate (context=context@entry=0x7fce64000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.44.1-r1/work/glib-2.44.1/glib/gmain.c:3808
#2  0x00000036d7c49c7c in g_main_context_iteration (context=0x7fce64000990, may_block=1) at /var/tmp/portage/dev-libs/glib-2.44.1-r1/work/glib-2.44.1/glib/gmain.c:3869
#3  0x00000036dc89aebc in QEventDispatcherGlib::processEvents (this=0x7fce640008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#4  0x00000036dc84c17a in QEventLoop::exec (this=this@entry=0x7fce70dead40, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00000036dc69ba34 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00000036dc6a04a2 in QThreadPrivate::start (arg=0x7de6d0) at thread/qthread_unix.cpp:331
#7  0x0000003536207324 in start_thread (arg=0x7fce70deb700) at pthread_create.c:333
#8  0x0000003535ae8a9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fce73a85880 (LWP 5614)):
[KCrash Handler]
#6  QString (other=..., this=this@entry=0x7fff60877aa0) at /usr/include/qt5/QtCore/qstring.h:877
#7  Akonadi::Entity::remoteRevision (this=this@entry=0x36dc90ea38 <QArrayData::shared_null+24>) at /var/tmp/portage/kde-apps/kdepimlibs-15.08.3/work/kdepimlibs-15.08.3/akonadi/src/core/entity.cpp:92
#8  0x000000000041c170 in CalendarResource::retrieveItems (this=this@entry=0x85d270, collection=...) at /var/tmp/portage/kde-apps/kdepim-runtime-15.08.3/work/kdepim-runtime-15.08.3/resources/google/calendar/calendarresource.cpp:123
#9  0x00000036f0e2cb45 in Akonadi::ResourceBasePrivate::slotItemRetrievalCollectionFetchDone (this=<optimized out>, job=0x85c5a0) at /var/tmp/portage/kde-apps/kdepimlibs-15.08.3/work/kdepimlibs-15.08.3/akonadi/src/agentbase/resourcebase.cpp:954
#10 0x00000036f0e2e5e0 in Akonadi::ResourceBase::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /var/tmp/portage/kde-apps/kdepimlibs-15.08.3/work/kdepimlibs-15.08.3_build/akonadi/src/agentbase/moc_resourcebase.cpp:295
#11 0x00000036dc875774 in QMetaObject::activate (sender=sender@entry=0x85c5a0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fff60877cf0) at kernel/qobject.cpp:3713
#12 0x00000036dc875e67 in QMetaObject::activate (sender=sender@entry=0x85c5a0, m=m@entry=0x36dd884420 <KJob::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fff60877cf0) at kernel/qobject.cpp:3578
#13 0x00000036dd639292 in KJob::result (this=this@entry=0x85c5a0, _t1=_t1@entry=0x85c5a0) at /var/tmp/portage/kde-frameworks/kcoreaddons-5.15.0/work/kcoreaddons-5.15.0_build/src/lib/moc_kjob.cpp:555
#14 0x00000036dd639d9a in KJob::emitResult (this=0x85c5a0) at /var/tmp/portage/kde-frameworks/kcoreaddons-5.15.0/work/kcoreaddons-5.15.0/src/lib/jobs/kjob.cpp:294
#15 0x00000036e8547269 in Akonadi::Job::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /var/tmp/portage/kde-apps/kdepimlibs-15.08.3/work/kdepimlibs-15.08.3_build/akonadi/src/core/moc_job.cpp:108
#16 0x00000036dc87682a in QObject::event (this=0x85c5a0, e=<optimized out>) at kernel/qobject.cpp:1239
#17 0x00000036de95d6bc in QApplicationPrivate::notify_helper (this=this@entry=0x761ba0, receiver=receiver@entry=0x85c5a0, e=e@entry=0x8cf7d0) at kernel/qapplication.cpp:3716
#18 0x00000036de962b20 in QApplication::notify (this=0x7fff60878330, receiver=0x85c5a0, e=0x8cf7d0) at kernel/qapplication.cpp:3499
#19 0x00000036dc84d55d in QCoreApplication::notifyInternal (this=0x7fff60878330, receiver=0x85c5a0, event=event@entry=0x8cf7d0) at kernel/qcoreapplication.cpp:965
#20 0x00000036dc850323 in sendEvent (event=0x8cf7d0, receiver=<optimized out>) at kernel/qcoreapplication.h:224
#21 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x753bd0) at kernel/qcoreapplication.cpp:1593
#22 0x00000036dc8508e8 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1451
#23 0x00000036dc89ae33 in postEventSourceDispatch (s=0x7aa390) at kernel/qeventdispatcher_glib.cpp:271
#24 0x00000036d7c498ed in g_main_dispatch (context=0x7fce6c0016f0) at /var/tmp/portage/dev-libs/glib-2.44.1-r1/work/glib-2.44.1/glib/gmain.c:3122
#25 g_main_context_dispatch (context=context@entry=0x7fce6c0016f0) at /var/tmp/portage/dev-libs/glib-2.44.1-r1/work/glib-2.44.1/glib/gmain.c:3737
#26 0x00000036d7c49bd0 in g_main_context_iterate (context=context@entry=0x7fce6c0016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.44.1-r1/work/glib-2.44.1/glib/gmain.c:3808
#27 0x00000036d7c49c7c in g_main_context_iteration (context=0x7fce6c0016f0, may_block=1) at /var/tmp/portage/dev-libs/glib-2.44.1-r1/work/glib-2.44.1/glib/gmain.c:3869
#28 0x00000036dc89aea7 in QEventDispatcherGlib::processEvents (this=0x7a57b0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#29 0x00000036dc84c17a in QEventLoop::exec (this=this@entry=0x7fff608782a0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#30 0x00000036dc85354c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#31 0x00000036ddee74fc in QGuiApplication::exec () at kernel/qguiapplication.cpp:1527
#32 0x00000036de9592f5 in QApplication::exec () at kernel/qapplication.cpp:2976
#33 0x00000036f0e27d5a in Akonadi::ResourceBase::init (r=r@entry=0x85d270) at /var/tmp/portage/kde-apps/kdepimlibs-15.08.3/work/kdepimlibs-15.08.3/akonadi/src/agentbase/resourcebase.cpp:602
#34 0x0000000000429288 in Akonadi::ResourceBase::init<CalendarResource> (argc=<optimized out>, argv=<optimized out>) at /usr/include/KF5/AkonadiAgentBase/resourcebase.h:193
#35 0x0000003535a20850 in __libc_start_main (main=0x41b160 <main(int, char**)>, argc=3, argv=0x7fff60878458, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff60878448) at libc-start.c:289
#36 0x000000000041b199 in _start ()

Possible duplicates by query: bug 354948.

Reported using DrKonqi
Comment 1 Denis Kurz 2017-06-23 20:22:43 UTC
This bug has never been confirmed for a Kontact version that is based on KDE Frameworks, except possibly a Technology Preview version 5.0.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 opportunity 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 2 Denis Kurz 2018-02-01 09:47:59 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.