Bug 423729 - Akonadi crashes after updating google contacts where a new label has been added
Summary: Akonadi crashes after updating google contacts where a new label has been added
Status: REPORTED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: server (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
: 424122 424171 425334 431773 434192 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-07-01 07:59 UTC by Martin Tlustos
Modified: 2021-03-09 20:00 UTC (History)
5 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 Martin Tlustos 2020-07-01 07:59:37 UTC
Application: akonadiserver (5.14.2 (20.04.2))

Qt Version: 5.14.2
Frameworks Version: 5.71.0
Operating System: Linux 4.15.0-108-generic x86_64
Windowing system: X11
Distribution: KDE neon User Edition 5.19

-- Information about the crash:
- What I was doing when the application crashed:
I had added a few new contacts via my web browser, and added them to a newly created label. After that I wanted to write an email to these newly created contacts from kontact, so I opened kontact, switched to the addressbook and refreshed the according google account.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Akonadi Server (akonadiserver), signal: Segmentation fault

[KCrash Handler]
#4  _mm_crc32_u64 (__V=<error reading variable: Cannot access memory at address 0xff9858041680>, __C=<optimized out>) at /usr/lib/gcc/x86_64-linux-gnu/7/include/smmintrin.h:848
#5  crc32<QChar> (ptr=0xff9858041680, len=<optimized out>, h=<optimized out>) at tools/qhash.cpp:112
#6  0x00007fccd2536fc2 in hash (seed=<optimized out>, len=<optimized out>, p=<optimized out>) at tools/qhash.cpp:223
#7  qHash (key=..., seed=<optimized out>) at tools/qhash.cpp:239
#8  0x000055e83ba76ebb in QHash<QString, Akonadi::Server::AbstractItemRetrievalJob*>::findNode (this=this@entry=0x55e83d641c48, akey=..., ahp=ahp@entry=0x0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qhash.h:950
#9  0x000055e83ba772fa in QHash<QString, Akonadi::Server::AbstractItemRetrievalJob*>::remove (this=this@entry=0x55e83d641c48, akey=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qhash.h:822
#10 0x000055e83ba7456f in Akonadi::Server::ItemRetrievalManager::retrievalJobFinished (this=0x55e83d641c10, request=0x7fcc2c088740, errorMsg=...) at ./src/server/storage/itemretrievalmanager.cpp:179
#11 0x00007fccd27256d7 in QtPrivate::QSlotObjectBase::call (a=0x7fccc27ba810, r=0x55e83d641c10, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#12 doActivate<false> (sender=0x7fccb80073d0, signal_index=3, argv=0x7fccc27ba810) at kernel/qobject.cpp:3870
#13 0x00007fccd271ff92 in QMetaObject::activate (sender=sender@entry=0x7fccb80073d0, m=m@entry=0x55e83bd63800 <Akonadi::Server::AbstractItemRetrievalJob::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fccc27ba810) at kernel/qobject.cpp:3930
#14 0x000055e83bac4274 in Akonadi::Server::AbstractItemRetrievalJob::requestCompleted (this=this@entry=0x7fccb80073d0, _t1=<optimized out>, _t2=...) at ./obj-x86_64-linux-gnu/src/server/libakonadiserver_autogen/5XLNPBDXWK/moc_itemretrievaljob.cpp:136
#15 0x000055e83ba77ace in Akonadi::Server::ItemRetrievalJob::callFinished (this=0x7fccb80073d0, watcher=<optimized out>) at ./src/server/storage/itemretrievaljob.cpp:76
#16 0x00007fccd27256d7 in QtPrivate::QSlotObjectBase::call (a=0x7fccc27ba9e0, r=0x7fccb80073d0, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#17 doActivate<false> (sender=0x7fccb8007980, signal_index=3, argv=0x7fccc27ba9e0) at kernel/qobject.cpp:3870
#18 0x00007fccd271ff92 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7fccd308a5e0 <QDBusPendingCallWatcher::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fccc27ba9e0) at kernel/qobject.cpp:3930
#19 0x00007fccd2e6cecf in QDBusPendingCallWatcher::finished (this=<optimized out>, _t1=<optimized out>) at .moc/moc_qdbuspendingcall.cpp:158
#20 0x00007fccd271d57b in QObject::event (this=0x7fccb8007980, e=0x7fcc9c004fb0) at kernel/qobject.cpp:1339
#21 0x00007fccd26ea491 in doNotify (event=0x7fcc9c004fb0, receiver=0x7fccb8007980) at kernel/qcoreapplication.cpp:1165
#22 QCoreApplication::notify (event=<optimized out>, receiver=<optimized out>, this=<optimized out>) at kernel/qcoreapplication.cpp:1151
#23 QCoreApplication::notifyInternal2 (receiver=0x7fccb8007980, event=0x7fcc9c004fb0) at kernel/qcoreapplication.cpp:1075
#24 0x00007fccd26ea67e in QCoreApplication::sendEvent (receiver=receiver@entry=0x7fccb8007980, event=event@entry=0x7fcc9c004fb0) at kernel/qcoreapplication.cpp:1470
#25 0x00007fccd26ed121 in QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x55e83d641cd0) at kernel/qcoreapplication.cpp:1815
#26 0x00007fccd26ed6b8 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1674
#27 0x00007fccd274a103 in postEventSourceDispatch (s=0x7fccb8004b90) at kernel/qeventdispatcher_glib.cpp:277
#28 0x00007fcccea09417 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007fcccea09650 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007fcccea096dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007fccd27497ac in QEventDispatcherGlib::processEvents (this=0x7fccb8000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#32 0x00007fccd26e8d2a in QEventLoop::exec (this=this@entry=0x7fccc27bada0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#33 0x00007fccd24f9757 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#34 0x00007fccd24fac2c in QThreadPrivate::start (arg=0x55e83d5dfd00) at thread/qthread_unix.cpp:342
#35 0x00007fccd064c6db in start_thread (arg=0x7fccc27bb700) at pthread_create.c:463
#36 0x00007fccd1bd788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

#1  0x00007fcccea095c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fcccea096dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fccd27497cb in QEventDispatcherGlib::processEvents (this=0x7fccb4000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fccd26e8d2a in QEventLoop::exec (this=this@entry=0x7fccc2fbbda0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#5  0x00007fccd24f9757 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#6  0x00007fccd24fac2c in QThreadPrivate::start (arg=0x55e83d5d0130) at thread/qthread_unix.cpp:342
#7  0x00007fccd064c6db in start_thread (arg=0x7fccc2fbc700) at pthread_create.c:463
#8  0x00007fccd1bd788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

#1  0x00007fcccea095c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fcccea096dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fccd27497cb in QEventDispatcherGlib::processEvents (this=0x7fccbc000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fccd26e8d2a in QEventLoop::exec (this=this@entry=0x7fccc37bcda0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#5  0x00007fccd24f9757 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#6  0x00007fccd24fac2c in QThreadPrivate::start (arg=0x55e83d5fbbd0) at thread/qthread_unix.cpp:342
#7  0x00007fccd064c6db in start_thread (arg=0x7fccc37bd700) at pthread_create.c:463
#8  0x00007fccd1bd788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

#1  0x00007fcccea4e2b0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fcccea090b7 in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fcccea09570 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fcccea096dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fccd27497cb in QEventDispatcherGlib::processEvents (this=0x7fccc4000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007fccd26e8d2a in QEventLoop::exec (this=this@entry=0x7fccc9911d70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#7  0x00007fccd24f9757 in QThread::exec (this=this@entry=0x7fccd308bda0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:536
#8  0x00007fccd2e13555 in QDBusConnectionManager::run (this=0x7fccd308bda0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:179
#9  0x00007fccd24fac2c in QThreadPrivate::start (arg=0x7fccd308bda0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:342
#10 0x00007fccd064c6db in start_thread (arg=0x7fccc9912700) at pthread_create.c:463
#11 0x00007fccd1bd788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

#1  0x00007fcccea095c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fcccea096dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fccd27497ac in QEventDispatcherGlib::processEvents (this=0x55e83d599290, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#4  0x00007fccd26e8d2a in QEventLoop::exec (this=this@entry=0x7ffc19bc91f0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#5  0x00007fccd26f24a0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1383
#6  0x000055e83b93b0ea in main (argc=<optimized out>, argv=<optimized out>) at ./src/server/main.cpp:79

Possible duplicates by query: bug 422199, bug 421614, bug 421077, bug 418026, bug 417542.

Reported using DrKonqi
Comment 1 Christophe Marin 2021-03-09 20:00:26 UTC
*** Bug 424122 has been marked as a duplicate of this bug. ***
Comment 2 Christophe Marin 2021-03-09 20:00:31 UTC
*** Bug 424171 has been marked as a duplicate of this bug. ***
Comment 3 Christophe Marin 2021-03-09 20:00:36 UTC
*** Bug 425334 has been marked as a duplicate of this bug. ***
Comment 4 Christophe Marin 2021-03-09 20:00:42 UTC
*** Bug 431773 has been marked as a duplicate of this bug. ***
Comment 5 Christophe Marin 2021-03-09 20:00:46 UTC
*** Bug 434192 has been marked as a duplicate of this bug. ***