Bug 424537

Summary: Akonadi Crashes
Product: [Frameworks and Libraries] Akonadi Reporter: Lach Sławomir <slawek>
Component: serverAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED WORKSFORME    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Lach Sławomir 2020-07-22 13:19:55 UTC
Application: akonadiserver (5.14.3 (20.04.3))

Qt Version: 5.15.0
Frameworks Version: 5.72.0
Operating System: Linux 5.7.7-1-default x86_64
Windowing system: X11
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
Akonodi crashesh in random cases, when:
1. Starting profile (login)
2. Running KMail
3. Working with KMail

The crash can be reproduced sometimes.

-- Backtrace:
Application: Akonadi Server (akonadiserver), signal: Aborted

[KCrash Handler]
#4  0x00007f9c3b7d34b1 in raise () from /lib64/libc.so.6
#5  0x00007f9c3b7bc539 in abort () from /lib64/libc.so.6
#6  0x00007f9c3b816837 in __libc_message () from /lib64/libc.so.6
#7  0x00007f9c3b81db3c in malloc_printerr () from /lib64/libc.so.6
#8  0x00007f9c3b81ddec in munmap_chunk () from /lib64/libc.so.6
#9  0x000055daab8768f1 in QHashNode<QString, QList<Akonadi::Server::ItemRetrievalRequest*> >::~QHashNode (this=<optimized out>, this=<optimized out>) at /usr/include/c++/10/bits/atomic_base.h:333
#10 QHash<QString, QList<Akonadi::Server::ItemRetrievalRequest*> >::deleteNode2 (node=0x7f9c2c009870) at /usr/include/qt5/QtCore/qhash.h:595
#11 QHash<QString, QList<Akonadi::Server::ItemRetrievalRequest*> >::deleteNode (node=0x7f9c2c009870, this=0x55daabc54060) at /usr/include/qt5/QtCore/qhash.h:585
#12 QHash<QString, QList<Akonadi::Server::ItemRetrievalRequest*> >::erase (it=..., this=0x55daabc54060) at /usr/include/qt5/QtCore/qhash.h:886
#13 QHash<QString, QList<Akonadi::Server::ItemRetrievalRequest*> >::erase (it=..., this=0x55daabc54060) at /usr/include/qt5/QtCore/qhash.h:521
#14 Akonadi::Server::ItemRetrievalManager::processRequest (this=0x55daabc54030) at /usr/src/debug/akonadi-server-20.04.3-1.1.x86_64/src/server/storage/itemretrievalmanager.cpp:136
#15 0x00007f9c3be31b41 in QObject::event (this=0x55daabc54030, e=0x7f9c2c009df0) at kernel/qobject.cpp:1314
#16 0x00007f9c3be05bef in doNotify (event=0x7f9c2c009df0, receiver=0x55daabc54030) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:116
#17 QCoreApplication::notify (event=<optimized out>, receiver=<optimized out>, this=<optimized out>) at kernel/qcoreapplication.cpp:1137
#18 QCoreApplication::notifyInternal2 (receiver=0x55daabc54030, event=0x7f9c2c009df0) at kernel/qcoreapplication.cpp:1061
#19 0x00007f9c3be08641 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55daabc3b800) at kernel/qcoreapplication.cpp:1815
#20 0x00007f9c3be5d9d3 in postEventSourceDispatch (s=0x7f9c2c0047b0) at kernel/qeventdispatcher_glib.cpp:277
#21 0x00007f9c3a1a02b7 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#22 0x00007f9c3a1a0638 in ?? () from /usr/lib64/libglib-2.0.so.0
#23 0x00007f9c3a1a06ef in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#24 0x00007f9c3be5d05f in QEventDispatcherGlib::processEvents (this=0x7f9c2c000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#25 0x00007f9c3be045db in QEventLoop::exec (this=this@entry=0x7f9c35d52da0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#26 0x00007f9c3bc2673e in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#27 0x00007f9c3bc27871 in QThreadPrivate::start (arg=0x55daabca3d70) at thread/qthread_unix.cpp:342
#28 0x00007f9c3aef4eaa in start_thread () from /lib64/libpthread.so.0
#29 0x00007f9c3b896b1f in clone () from /lib64/libc.so.6

#1  0x00007f9c3a19e4f5 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f9c3a19feff in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f9c3a1a0575 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f9c3a1a06ef in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f9c3be5d07b in QEventDispatcherGlib::processEvents (this=0x7f9c20000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007f9c3be045db in QEventLoop::exec (this=this@entry=0x7f9c36553da0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#7  0x00007f9c3bc2673e in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#8  0x00007f9c3bc27871 in QThreadPrivate::start (arg=0x55daabc84d40) at thread/qthread_unix.cpp:342
#9  0x00007f9c3aef4eaa in start_thread () from /lib64/libpthread.so.0
#10 0x00007f9c3b896b1f in clone () from /lib64/libc.so.6

#1  0x00007f9c3a1a05ce in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f9c3a1a06ef in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f9c3be5d07b in QEventDispatcherGlib::processEvents (this=0x7f9c28000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f9c3be045db in QEventLoop::exec (this=this@entry=0x7f9c36d54da0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007f9c3bc2673e in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f9c3bc27871 in QThreadPrivate::start (arg=0x55daabc2f5b0) at thread/qthread_unix.cpp:342
#7  0x00007f9c3aef4eaa in start_thread () from /lib64/libpthread.so.0
#8  0x00007f9c3b896b1f in clone () from /lib64/libc.so.6

#1  0x00007f9c3a1a05ce in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f9c3a1a06ef in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f9c3be5d07b in QEventDispatcherGlib::processEvents (this=0x7f9c30000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f9c3be045db in QEventLoop::exec (this=this@entry=0x7f9c3765dd50, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007f9c3bc2673e in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f9c3c14fa17 in QDBusConnectionManager::run (this=0x7f9c3c1bcd80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:179
#7  0x00007f9c3bc27871 in QThreadPrivate::start (arg=0x7f9c3c1bcd80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:342
#8  0x00007f9c3aef4eaa in start_thread () from /lib64/libpthread.so.0
#9  0x00007f9c3b896b1f in clone () from /lib64/libc.so.6

#1  0x00007f9c3a1a05ce in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f9c3a1a06ef in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f9c3be5d05f in QEventDispatcherGlib::processEvents (this=0x55daabc27e80, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#4  0x00007f9c3be045db in QEventLoop::exec (this=this@entry=0x7ffc916aef00, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007f9c3be0c840 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x000055daab7d1496 in AkApplicationBase::exec (this=0x7ffc916af070) at /usr/src/debug/akonadi-server-20.04.3-1.1.x86_64/src/shared/akapplication.cpp:122
#7  main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/akonadi-server-20.04.3-1.1.x86_64/src/server/main.cpp:79
[Inferior 1 (process 2524) detached]

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

Possible duplicates by query: bug 424461, bug 424292, bug 424252, bug 424232, bug 424218.

Reported using DrKonqi
Comment 1 Justin Zobel 2022-10-12 03:50:21 UTC
Thank you for reporting this crash in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the crash with a recent software version?

If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!
Comment 2 Bug Janitor Service 2022-10-27 05:04:29 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 Lach Sławomir 2022-10-27 14:04:43 UTC
Akonadiserver do not crash currently. Sorry for not telling that bug was solved, but I do not receive any mail for that discussion (I must miss one before last), so I simply forgot about the problem - It doesn't occurs any more and I do not remember, when.