Bug 357925

Summary: Akonadi crashes with google calendars
Product: [Frameworks and Libraries] Akonadi Reporter: Tom Kijas <t.kijas>
Component: Google ResourceAssignee: Daniel Vrátil <dvratil>
Status: RESOLVED WORKSFORME    
Severity: crash CC: kdepim-bugs
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Tom Kijas 2016-01-13 13:31:10 UTC
Application: akonadi_googlecalendar_resource (4.89.0)

Qt Version: 5.4.2
Operating System: Linux 4.2.0-23-generic x86_64
Distribution: Ubuntu 15.10

-- Information about the crash:
- Unusual behavior I noticed:
Akonadi crashes with google calendars + compositor of my KDE5 is strange, I had to use xrender.
May be not related though.

The crash can be reproduced every time.

-- Backtrace:
Application: Zdroj Akonadi (akonadi_googlecalendar_resource), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7facd06d2840 (LWP 1534))]

Thread 3 (Thread 0x7facce63e700 (LWP 1554)):
#0  0x00007face63578dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007facde533bd2 in _xcb_conn_wait (__timeout=-1, __nfds=1, __fds=0x7facce63dc80) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
#2  0x00007facde533bd2 in _xcb_conn_wait (c=c@entry=0xee9200, cond=cond@entry=0xee9240, vector=vector@entry=0x0, count=count@entry=0x0) at ../../src/xcb_conn.c:459
#3  0x00007facde53574f in xcb_wait_for_event (c=0xee9200) at ../../src/xcb_in.c:623
#4  0x00007facd035ba39 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so
#5  0x00007face6c612be in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007facddf076aa in start_thread (arg=0x7facce63e700) at pthread_create.c:333
#7  0x00007face6362eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7facc7fff700 (LWP 1577)):
#0  0x00007face635349d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007facdda2b4e0 in g_wakeup_acknowledge (__nbytes=16, __buf=0x7facc7ffeb80, __fd=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/unistd.h:44
#2  0x00007facdda2b4e0 in g_wakeup_acknowledge (wakeup=0x7facc80015b0) at /build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gwakeup.c:210
#3  0x00007facdd9e7cd4 in g_main_context_check (context=context@entry=0x7facc0000990, max_priority=2147483647, fds=fds@entry=0x7facc0003070, n_fds=n_fds@entry=1) at /build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:3632
#4  0x00007facdd9e8190 in g_main_context_iterate (context=context@entry=0x7facc0000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:3837
#5  0x00007facdd9e82fc in g_main_context_iteration (context=0x7facc0000990, may_block=1) at /build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:3901
#6  0x00007face6e9829b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007face6e3e75a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007face6c5c3d4 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007face6c612be in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007facddf076aa in start_thread (arg=0x7facc7fff700) at pthread_create.c:333
#11 0x00007face6362eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7facd06d2840 (LWP 1534)):
[KCrash Handler]
#6  0x00007face94666c6 in Akonadi::Entity::remoteRevision() const () at /usr/lib/x86_64-linux-gnu/libKF5AkonadiCore.so.5
#7  0x000000000041d980 in CalendarResource::retrieveItems(Akonadi::Collection const&) ()
#8  0x00007face9f1f32d in  () at /usr/lib/x86_64-linux-gnu/libKF5AkonadiAgentBase.so.5
#9  0x00007face9f21200 in  () at /usr/lib/x86_64-linux-gnu/libKF5AkonadiAgentBase.so.5
#10 0x00007face6e7178a in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007face80fa8d2 in KJob::result(KJob*, KJob::QPrivateSignal) () at /usr/lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#12 0x00007face80fb45a in KJob::emitResult() () at /usr/lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#13 0x00007face94f73b3 in  () at /usr/lib/x86_64-linux-gnu/libKF5AkonadiCore.so.5
#14 0x00007face6e72651 in QObject::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007face770eb8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007face7714230 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007face6e40f1b in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007face6e43057 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007face6e97e73 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007facdd9e7ff7 in g_main_context_dispatch (context=0x7facc80016f0) at /build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:3154
#21 0x00007facdd9e7ff7 in g_main_context_dispatch (context=context@entry=0x7facc80016f0) at /build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:3769
#22 0x00007facdd9e8250 in g_main_context_iterate (context=context@entry=0x7facc80016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:3840
#23 0x00007facdd9e82fc in g_main_context_iteration (context=0x7facc80016f0, may_block=1) at /build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:3901
#24 0x00007face6e9827f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007face6e3e75a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007face6e462cc in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007face9f1b21a in Akonadi::ResourceBase::init(Akonadi::ResourceBase*) () at /usr/lib/x86_64-linux-gnu/libKF5AkonadiAgentBase.so.5
#28 0x0000000000428328 in int Akonadi::ResourceBase::init<CalendarResource>(int, char**) ()
#29 0x00007face627ca40 in __libc_start_main (main=0x41afb0 <main>, argc=3, argv=0x7ffc3c1780a8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc3c178098) at libc-start.c:289
#30 0x000000000041afe9 in _start ()

Reported using DrKonqi
Comment 1 Andrew Crouthamel 2018-11-01 13:49:25 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 2 Bug Janitor Service 2018-11-16 11:38:05 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2018-12-01 03:51:50 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!