Bug 356362 - akonadi crashes randomily
Summary: akonadi crashes randomily
Status: RESOLVED UNMAINTAINED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Google Resource (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Daniel Vrátil
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-12-07 15:17 UTC by Tom Kijas
Modified: 2018-02-01 09:46 UTC (History)
1 user (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 Tom Kijas 2015-12-07 15:17:37 UTC
Application: akonadi_googlecalendar_resource (4.89.0)

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

-- Information about the crash:
- What I was doing when the application crashed:
I was not using PC but it seems akonady may tried to synchronise google accounts (calendar, tasks, email).

The crash can be reproduced sometimes.

-- 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 0x7f43207ab840 (LWP 1467))]

Thread 3 (Thread 0x7f431e717700 (LWP 1544)):
#0  0x00007f43364318dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f432e60dbd2 in _xcb_conn_wait (__timeout=-1, __nfds=1, __fds=0x7f431e716c80) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
#2  0x00007f432e60dbd2 in _xcb_conn_wait (c=c@entry=0x2317200, cond=cond@entry=0x2317240, vector=vector@entry=0x0, count=count@entry=0x0) at ../../src/xcb_conn.c:459
#3  0x00007f432e60f74f in xcb_wait_for_event (c=0x2317200) at ../../src/xcb_in.c:623
#4  0x00007f4320434a39 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so
#5  0x00007f4336d3b2be in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f432dfe16aa in start_thread (arg=0x7f431e717700) at pthread_create.c:333
#7  0x00007f433643ceed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f4317fff700 (LWP 1566)):
#0  0x00007f43364318dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f432dac21ec in g_main_context_iterate (priority=2147483647, n_fds=1, fds=0x7f4310003070, timeout=<optimized out>, context=0x7f4310000990) at /build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:4135
#2  0x00007f432dac21ec in g_main_context_iterate (context=context@entry=0x7f4310000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:3835
#3  0x00007f432dac22fc in g_main_context_iteration (context=0x7f4310000990, may_block=1) at /build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:3901
#4  0x00007f4336f7229b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f4336f1875a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f4336d363d4 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f4336d3b2be in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f432dfe16aa in start_thread (arg=0x7f4317fff700) at pthread_create.c:333
#9  0x00007f433643ceed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f43207ab840 (LWP 1467)):
[KCrash Handler]
#6  0x00007f43395406c6 in Akonadi::Entity::remoteRevision() const () at /usr/lib/x86_64-linux-gnu/libKF5AkonadiCore.so.5
#7  0x000000000041d980 in CalendarResource::retrieveItems(Akonadi::Collection const&) ()
#8  0x00007f4339ff932d in  () at /usr/lib/x86_64-linux-gnu/libKF5AkonadiAgentBase.so.5
#9  0x00007f4339ffb200 in  () at /usr/lib/x86_64-linux-gnu/libKF5AkonadiAgentBase.so.5
#10 0x00007f4336f4b78a in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007f43381d48d2 in KJob::result(KJob*, KJob::QPrivateSignal) () at /usr/lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#12 0x00007f43381d545a in KJob::emitResult() () at /usr/lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#13 0x00007f43395d13b3 in  () at /usr/lib/x86_64-linux-gnu/libKF5AkonadiCore.so.5
#14 0x00007f4336f4c651 in QObject::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007f43377e8b8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007f43377ee230 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007f4336f1af1b in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007f4336f1d057 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007f4336f71e73 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007f432dac1ff7 in g_main_context_dispatch (context=0x7f43180016f0) at /build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:3154
#21 0x00007f432dac1ff7 in g_main_context_dispatch (context=context@entry=0x7f43180016f0) at /build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:3769
#22 0x00007f432dac2250 in g_main_context_iterate (context=context@entry=0x7f43180016f0, 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 0x00007f432dac22fc in g_main_context_iteration (context=0x7f43180016f0, may_block=1) at /build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:3901
#24 0x00007f4336f7227f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007f4336f1875a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007f4336f202cc in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007f4339ff521a 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 0x00007f4336356a40 in __libc_start_main (main=0x41afb0 <main>, argc=3, argv=0x7ffc38ed06b8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc38ed06a8) at libc-start.c:289
#30 0x000000000041afe9 in _start ()

Reported using DrKonqi
Comment 1 Denis Kurz 2017-06-23 20:18:38 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:46:16 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.