Bug 434192 - Akonadi Server crashes after deleting some E-Mails in the Inbox
Summary: Akonadi Server crashes after deleting some E-Mails in the Inbox
Status: RESOLVED DUPLICATE of bug 423729
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: server (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-03-09 15:49 UTC by benz.martin
Modified: 2021-03-09 20:00 UTC (History)
0 users

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 benz.martin 2021-03-09 15:49:20 UTC
Application: akonadiserver (5.14.2 (20.04.2))

Qt Version: 5.12.7
Frameworks Version: 5.71.0
Operating System: Linux 5.3.18-lp152.66-default x86_64
Windowing system: X11
Distribution: "openSUSE Leap 15.2"

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

I deletet some mails in the Inbox.

I have also often problems to see the content of the Mail that is marked.
It apears the Message: "please wait while the Akonadi-Mail-resource_4 is updating"
In the System-Monitor you can see that one of my four CPU is blocked with this process.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Akonadi Server (akonadiserver), signal: Segmentation fault
[KCrash Handler]
#4  qHash (key=..., seed=1303148027) at tools/qhash.cpp:239
#5  0x00005628e7c4322b in QHash<QString, Akonadi::Server::AbstractItemRetrievalJob*>::findNode (this=this@entry=0x5628e897ecc8, akey=..., ahp=ahp@entry=0x0) at /usr/include/qt5/QtCore/qhash.h:934
#6  0x00005628e7c4389a in QHash<QString, Akonadi::Server::AbstractItemRetrievalJob*>::remove (this=this@entry=0x5628e897ecc8, akey=...) at /usr/include/qt5/QtCore/qhash.h:806
#7  0x00005628e7c408ef in Akonadi::Server::ItemRetrievalManager::retrievalJobFinished (this=0x5628e897ec90, request=0x7f75cc0922f0, errorMsg=...) at /usr/src/debug/akonadi-server-20.04.2-lp152.2.3.1.x86_64/src/server/storage/itemretrievalmanager.cpp:179
#8  0x00007f7648206f4f in QtPrivate::QSlotObjectBase::call (a=0x7f763cca9710, r=0x5628e897ec90, this=0x7f7628008890) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#9  QMetaObject::activate (sender=sender@entry=0x7f76280099f0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7f763cca9710) at kernel/qobject.cpp:3784
#10 0x00007f7648207547 in QMetaObject::activate (sender=sender@entry=0x7f76280099f0, m=m@entry=0x5628e7f301c0 <Akonadi::Server::AbstractItemRetrievalJob::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7f763cca9710) at kernel/qobject.cpp:3657
#11 0x00005628e7c917e4 in Akonadi::Server::AbstractItemRetrievalJob::requestCompleted (this=this@entry=0x7f76280099f0, _t1=<optimized out>, _t2=...) at /usr/src/debug/akonadi-server-20.04.2-lp152.2.3.1.x86_64/build/src/server/libakonadiserver_autogen/5XLNPBDXWK/moc_itemretrievaljob.cpp:135
#12 0x00005628e7c441e4 in Akonadi::Server::ItemRetrievalJob::callFinished (this=0x7f76280099f0, watcher=<optimized out>) at /usr/src/debug/akonadi-server-20.04.2-lp152.2.3.1.x86_64/src/server/storage/itemretrievaljob.cpp:78
#13 0x00007f7648206f4f in QtPrivate::QSlotObjectBase::call (a=0x7f763cca9900, r=0x7f76280099f0, this=0x7f7628006500) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#14 QMetaObject::activate (sender=0x7f763801c9a0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7f763cca9900) at kernel/qobject.cpp:3784
#15 0x00007f7648207547 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f7648b605c0 <QDBusPendingCallWatcher::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7f763cca9900) at kernel/qobject.cpp:3657
#16 0x00007f7648943d5f in QDBusPendingCallWatcher::finished (this=<optimized out>, _t1=<optimized out>) at .moc/moc_qdbuspendingcall.cpp:157
#17 0x00007f76482079e2 in QObject::event (this=0x7f763801c9a0, e=<optimized out>) at kernel/qobject.cpp:1261
#18 0x00007f76481d7311 in doNotify (event=0x7f75cc021ba0, receiver=0x7f763801c9a0) at kernel/qcoreapplication.cpp:1178
#19 QCoreApplication::notify (event=<optimized out>, receiver=<optimized out>, this=<optimized out>) at kernel/qcoreapplication.cpp:1164
#20 QCoreApplication::notifyInternal2 (receiver=0x7f763801c9a0, event=0x7f75cc021ba0) at kernel/qcoreapplication.cpp:1088
#21 0x00007f76481d74fe in QCoreApplication::sendEvent (receiver=<optimized out>, event=event@entry=0x7f75cc021ba0) at kernel/qcoreapplication.cpp:1476
#22 0x00007f76481d9ee7 in QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x5628e895d290) at kernel/qcoreapplication.cpp:1825
#23 0x00007f76481da488 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1679
#24 0x00007f7648234d93 in postEventSourceDispatch (s=0x7f7628004b70) at kernel/qeventdispatcher_glib.cpp:276
#25 0x00007f7643da54a4 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#26 0x00007f7643da5840 in ?? () from /usr/lib64/libglib-2.0.so.0
#27 0x00007f7643da58cc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#28 0x00007f76482343af in QEventDispatcherGlib::processEvents (this=0x7f7628000b10, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#29 0x00007f76481d557a in QEventLoop::exec (this=this@entry=0x7f763cca9cb0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#30 0x00007f7647ffa90a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:531
#31 0x00007f7647ffc0b2 in QThreadPrivate::start (arg=0x5628e897a910) at thread/qthread_unix.cpp:361
#32 0x00007f76463a34f9 in start_thread () from /lib64/libpthread.so.0
#33 0x00007f764767becf in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f763d4ab700 (LWP 4221) "CacheCleaner-Th"):
#1  0x00007f7643da4d0c in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f7643da56eb in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f7643da58cc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f76482343cb in QEventDispatcherGlib::processEvents (this=0x7f7634000b10, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f76481d557a in QEventLoop::exec (this=this@entry=0x7f763d4aacb0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#6  0x00007f7647ffa90a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:531
#7  0x00007f7647ffc0b2 in QThreadPrivate::start (arg=0x5628e8965560) at thread/qthread_unix.cpp:361
#8  0x00007f76463a34f9 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f764767becf in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f763dcac700 (LWP 4220) "NotificationMan"):
#1  0x00007f7643dece20 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f7643da52d8 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f7643da5760 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f7643da58cc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f76482343cb in QEventDispatcherGlib::processEvents (this=0x7f7630000b10, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x00007f76481d557a in QEventLoop::exec (this=this@entry=0x7f763dcabcb0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#7  0x00007f7647ffa90a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:531
#8  0x00007f7647ffc0b2 in QThreadPrivate::start (arg=0x5628e895d940) at thread/qthread_unix.cpp:361
#9  0x00007f76463a34f9 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f764767becf in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f763e9a5700 (LWP 4217) "QDBusConnection"):
#1  0x00007f7643da57b9 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f7643da58cc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f76482343cb in QEventDispatcherGlib::processEvents (this=0x7f7638000b10, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f76481d557a in QEventLoop::exec (this=this@entry=0x7f763e9a4c80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#5  0x00007f7647ffa90a in QThread::exec (this=this@entry=0x7f7648b62420 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:531
#6  0x00007f76488e9e65 in QDBusConnectionManager::run (this=0x7f7648b62420 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#7  0x00007f7647ffc0b2 in QThreadPrivate::start (arg=0x7f7648b62420 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:361
#8  0x00007f76463a34f9 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f764767becf in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f7649a7d900 (LWP 4216) "akonadiserver"):
#1  0x00007f7643da57b9 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f7643da58cc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f76482343af in QEventDispatcherGlib::processEvents (this=0x5628e8943c70, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#4  0x00007f76481d557a in QEventLoop::exec (this=this@entry=0x7ffe025b5270, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#5  0x00007f76481de780 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1389
#6  0x00005628e7cb80f5 in AkApplicationBase::exec (this=this@entry=0x7ffe025b5370) at /usr/src/debug/akonadi-server-20.04.2-lp152.2.3.1.x86_64/src/shared/akapplication.cpp:124
#7  0x00005628e7b05700 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/akonadi-server-20.04.2-lp152.2.3.1.x86_64/src/server/main.cpp:79
[Inferior 1 (process 4216) detached]

The reporter indicates this bug may be a duplicate of or related to bug 431773.

Possible duplicates by query: bug 434107, bug 434081, bug 433252, bug 432896, bug 431841.

Reported using DrKonqi
Comment 1 Christophe Marin 2021-03-09 19:39:10 UTC
We recently pushed a fix for the second issue. Can you check the exact version of your akonadi-server package? It shall be 20.04.2-lp152.2.3.1
Comment 2 Christophe Marin 2021-03-09 19:44:23 UTC
a possible* fix for the second issue. It addressed an increased memory usage in imap resources with Qt 5.12 and may also be related to the issue you're seeing
Comment 3 Christophe Marin 2021-03-09 20:00:46 UTC

*** This bug has been marked as a duplicate of bug 423729 ***