Bug 450428 - akonadi repeatedly crashes when displaying e-mails
Summary: akonadi repeatedly crashes when displaying e-mails
Status: REPORTED
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: 2022-02-17 07:57 UTC by Bruno Schrade
Modified: 2022-02-17 07:57 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 Bruno Schrade 2022-02-17 07:57:04 UTC
Application: akonadiserver (5.14.2 (20.04.2))

Qt Version: 5.12.7
Frameworks Version: 5.76.0
Operating System: Linux 5.3.18-150300.59.49-default x86_64
Windowing system: X11
Distribution: "openSUSE Leap 15.3"

-- Information about the crash:
- What I was doing when the application crashed:
Started kmail
Fetched new mails, configured are 5 POP accounts
Automatic filtering seemed to work
Double clicked on a new mail

The crash can be reproduced sometimes.

-- Backtrace:
Application: Akonadi Server (akonadiserver), signal: Segmentation fault
[KCrash Handler]
#4  qHash (key=..., seed=541514072) at tools/qhash.cpp:239
#5  0x00005596534831cb in QHash<QString, Akonadi::Server::AbstractItemRetrievalJob*>::findNode (this=this@entry=0x559654258098, akey=..., ahp=ahp@entry=0x0) at /usr/include/qt5/QtCore/qhash.h:934
#6  0x000055965348383a in QHash<QString, Akonadi::Server::AbstractItemRetrievalJob*>::remove (this=this@entry=0x559654258098, akey=...) at /usr/include/qt5/QtCore/qhash.h:806
#7  0x000055965348088f in Akonadi::Server::ItemRetrievalManager::retrievalJobFinished (this=0x559654258060, request=0x7f1f5418c900, errorMsg=...) at /usr/src/debug/akonadi-server-20.04.2-bp153.4.2.1.x86_64/src/server/storage/itemretrievalmanager.cpp:179
#8  0x00007f1fecea4fcf in QtPrivate::QSlotObjectBase::call (a=0x7f1fe1405700, r=0x559654258060, this=0x7f1fdc01c150) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#9  QMetaObject::activate (sender=sender@entry=0x7f1fdc01fb90, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7f1fe1405700) at kernel/qobject.cpp:3784
#10 0x00007f1fecea55c7 in QMetaObject::activate (sender=sender@entry=0x7f1fdc01fb90, m=m@entry=0x5596537701c0 <Akonadi::Server::AbstractItemRetrievalJob::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7f1fe1405700) at kernel/qobject.cpp:3657
#11 0x00005596534d1784 in Akonadi::Server::AbstractItemRetrievalJob::requestCompleted (this=this@entry=0x7f1fdc01fb90, _t1=<optimized out>, _t2=...) at /usr/src/debug/akonadi-server-20.04.2-bp153.4.2.1.x86_64/build/src/server/libakonadiserver_autogen/5XLNPBDXWK/moc_itemretrievaljob.cpp:135
#12 0x000055965348400e in Akonadi::Server::ItemRetrievalJob::callFinished (this=0x7f1fdc01fb90, watcher=<optimized out>) at /usr/src/debug/akonadi-server-20.04.2-bp153.4.2.1.x86_64/src/server/storage/itemretrievaljob.cpp:76
#13 0x00007f1fecea4fcf in QtPrivate::QSlotObjectBase::call (a=0x7f1fe14058f0, r=0x7f1fdc01fb90, this=0x7f1fcc007400) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#14 QMetaObject::activate (sender=0x7f1f5405b900, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7f1fe14058f0) at kernel/qobject.cpp:3784
#15 0x00007f1fecea55c7 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f1fed7fe5c0 <QDBusPendingCallWatcher::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7f1fe14058f0) at kernel/qobject.cpp:3657
#16 0x00007f1fed5e1dcf in QDBusPendingCallWatcher::finished (this=<optimized out>, _t1=<optimized out>) at .moc/moc_qdbuspendingcall.cpp:157
#17 0x00007f1fecea5a62 in QObject::event (this=0x7f1f5405b900, e=<optimized out>) at kernel/qobject.cpp:1261
#18 0x00007f1fece75391 in doNotify (event=0x7f1fdc01f4a0, receiver=0x7f1f5405b900) 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=0x7f1f5405b900, event=0x7f1fdc01f4a0) at kernel/qcoreapplication.cpp:1088
#21 0x00007f1fece7557e in QCoreApplication::sendEvent (receiver=<optimized out>, event=event@entry=0x7f1fdc01f4a0) at kernel/qcoreapplication.cpp:1476
#22 0x00007f1fece77f67 in QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x55965426c2f0) at kernel/qcoreapplication.cpp:1825
#23 0x00007f1fece78508 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1679
#24 0x00007f1feced2e13 in postEventSourceDispatch (s=0x7f1fcc004bc0) at kernel/qeventdispatcher_glib.cpp:276
#25 0x00007f1fe8981694 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#26 0x00007f1fe8981a30 in ?? () from /usr/lib64/libglib-2.0.so.0
#27 0x00007f1fe8981abc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#28 0x00007f1feced242f in QEventDispatcherGlib::processEvents (this=0x7f1fcc000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#29 0x00007f1fece735fa in QEventLoop::exec (this=this@entry=0x7f1fe1405ca0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#30 0x00007f1fecc9898a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:531
#31 0x00007f1fecc9a132 in QThreadPrivate::start (arg=0x55965424e6a0) at thread/qthread_unix.cpp:361
#32 0x00007f1feafcc6ea in start_thread () from /lib64/libpthread.so.0
#33 0x00007f1fec2c2a8f in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f1fe1c07700 (LWP 3795) "CacheCleaner-Th"):
#1  0x00007f1fe89c9100 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f1fe89814c8 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f1fe8981950 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f1fe8981abc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f1feced244b in QEventDispatcherGlib::processEvents (this=0x7f1fd8000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x00007f1fece735fa in QEventLoop::exec (this=this@entry=0x7f1fe1c06ca0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#7  0x00007f1fecc9898a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:531
#8  0x00007f1fecc9a132 in QThreadPrivate::start (arg=0x559654247790) at thread/qthread_unix.cpp:361
#9  0x00007f1feafcc6ea in start_thread () from /lib64/libpthread.so.0
#10 0x00007f1fec2c2a8f in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f1fe2408700 (LWP 3794) "NotificationMan"):
#1  0x00007f1fe89c9100 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f1fe89814c8 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f1fe8981950 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f1fe8981abc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f1feced244b in QEventDispatcherGlib::processEvents (this=0x7f1fd4000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x00007f1fece735fa in QEventLoop::exec (this=this@entry=0x7f1fe2407ca0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#7  0x00007f1fecc9898a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:531
#8  0x00007f1fecc9a132 in QThreadPrivate::start (arg=0x55965424ea50) at thread/qthread_unix.cpp:361
#9  0x00007f1feafcc6ea in start_thread () from /lib64/libpthread.so.0
#10 0x00007f1fec2c2a8f in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f1fe3070700 (LWP 3791) "QDBusConnection"):
#1  0x00007f1fe89811bd in g_main_context_query () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f1fe8981927 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f1fe8981abc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f1feced244b in QEventDispatcherGlib::processEvents (this=0x7f1fdc000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f1fece735fa in QEventLoop::exec (this=this@entry=0x7f1fe306fc70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#6  0x00007f1fecc9898a in QThread::exec (this=this@entry=0x7f1fed800420 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:531
#7  0x00007f1fed587ed5 in QDBusConnectionManager::run (this=0x7f1fed800420 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#8  0x00007f1fecc9a132 in QThreadPrivate::start (arg=0x7f1fed800420 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:361
#9  0x00007f1feafcc6ea in start_thread () from /lib64/libpthread.so.0
#10 0x00007f1fec2c2a8f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f1fee726d80 (LWP 3790) "akonadiserver"):
#1  0x00007f1fecca11f6 in QWaitConditionPrivate::wait_relative (this=0x559654257c20, deadline=...) at thread/qwaitcondition_unix.cpp:136
#2  QWaitConditionPrivate::wait (deadline=..., this=0x559654257c20) at thread/qwaitcondition_unix.cpp:144
#3  QWaitCondition::wait (this=<optimized out>, mutex=0x55965426c2b0, deadline=...) at thread/qwaitcondition_unix.cpp:225
#4  0x00007f1fecca1556 in QWaitCondition::wait (this=this@entry=0x55965426c2d0, mutex=mutex@entry=0x55965426c2b0, time=time@entry=10000) at thread/qwaitcondition_unix.cpp:209
#5  0x00007f1fecc99d0e in QThread::wait (this=<optimized out>, time=time@entry=10000) at thread/qthread_unix.cpp:783
#6  0x00005596534d9082 in Akonadi::Server::AkThread::quitThread (this=0x559654258060) at /usr/src/debug/akonadi-server-20.04.2-bp153.4.2.1.x86_64/src/server/akthread.cpp:69
#7  0x000055965347fc47 in Akonadi::Server::ItemRetrievalManager::~ItemRetrievalManager (this=0x559654258060, __in_chrg=<optimized out>) at /usr/src/debug/akonadi-server-20.04.2-bp153.4.2.1.x86_64/src/server/storage/itemretrievalmanager.cpp:60
#8  0x000055965347fcf9 in Akonadi::Server::ItemRetrievalManager::~ItemRetrievalManager (this=0x559654258060, __in_chrg=<optimized out>) at /usr/src/debug/akonadi-server-20.04.2-bp153.4.2.1.x86_64/src/server/storage/itemretrievalmanager.cpp:61
#9  0x000055965334ab68 in std::default_delete<Akonadi::Server::ItemRetrievalManager>::operator() (this=<optimized out>, __ptr=<optimized out>) at /usr/include/c++/7/bits/unique_ptr.h:78
#10 std::unique_ptr<Akonadi::Server::ItemRetrievalManager, std::default_delete<Akonadi::Server::ItemRetrievalManager> >::reset (__p=<optimized out>, this=0x7ffe871de8e8) at /usr/include/c++/7/bits/unique_ptr.h:371
#11 Akonadi::Server::AkonadiServer::quit (this=this@entry=0x7ffe871de880) at /usr/src/debug/akonadi-server-20.04.2-bp153.4.2.1.x86_64/src/server/akonadi.cpp:204
#12 0x000055965334576f in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/akonadi-server-20.04.2-bp153.4.2.1.x86_64/src/server/main.cpp:82
[Inferior 1 (process 3790) detached]

Possible duplicates by query: bug 450241, bug 449872, bug 448830, bug 448140, bug 448106.

Reported using DrKonqi