Bug 437255 - akonadiserver crashes after relogin
Summary: akonadiserver crashes after relogin
Status: RESOLVED FIXED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: server (show other bugs)
Version: 5.17.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 439305 469033 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-05-17 14:58 UTC by bug2017
Modified: 2023-04-28 09:20 UTC (History)
2 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 bug2017 2021-05-17 14:58:31 UTC
Application: akonadiserver (5.17.0 (21.04.0))

Qt Version: 5.15.2
Frameworks Version: 5.82.0
Operating System: Linux 5.11.11-gentoo-x86_64 x86_64
Windowing System: X11
Drkonqi Version: 5.21.4
Distribution: Gentoo/Linux

-- Information about the crash:
akonadiserver crashes after logging out and logging in. A reboot fixed the endless crashing loop. I've switched to the postgresql backend after mariadb ate the database a few times in similar situations. 


The crash can be reproduced every time.

-- Backtrace:
Application: Akonadi Server (akonadiserver), signal: Segmentation fault
Content of s_kcrashErrorMessage: [Current thread is 1 (LWP 26495)]
[KCrash Handler]
#6  0x000055708608a3b3 in Akonadi::Server::Tracer::error (this=0x0, componentName=0x5570860d6d61 "DataStore (Database Error)", msg=...) at /var/tmp/portage/kde-apps/akonadi-21.04.0/work/akonadi-21.04.0/src/server/tracer.cpp:135
#7  0x000055708603239b in Akonadi::Server::DataStore::debugLastDbError (this=0x7ffc163cbf50, actionDescription=0x7ffc163cbf58 "\240\327\027\206pU") at /var/tmp/portage/kde-apps/akonadi-21.04.0/work/akonadi-21.04.0/src/server/storage/datastore.cpp:1293
#8  0x00005570860326a2 in Akonadi::Server::DataStore::open (this=0x557086179fb0) at /var/tmp/portage/kde-apps/akonadi-21.04.0/work/akonadi-21.04.0/src/server/storage/datastore.cpp:116
#9  0x000055708603139c in Akonadi::Server::DataStore::database (this=this@entry=0x557086179fb0) at /var/tmp/portage/kde-apps/akonadi-21.04.0/work/akonadi-21.04.0/src/server/storage/datastore.cpp:138
#10 0x0000557085f96536 in Akonadi::Server::AkonadiServer::setupDatabase (this=0x7ffc163cc780) at /var/tmp/portage/kde-apps/akonadi-21.04.0/work/akonadi-21.04.0/src/server/akonadi.cpp:257
#11 0x0000557085f98009 in Akonadi::Server::AkonadiServer::init (this=<optimized out>) at /var/tmp/portage/kde-apps/akonadi-21.04.0/work/akonadi-21.04.0/src/server/akonadi.cpp:107
#12 0x00007febfd18e43a in QObject::event (this=0x7ffc163cc780, e=0x557086176030) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r2/work/qtbase-everywhere-src-5.15.2/src/corelib/kernel/qobject.cpp:1314
#13 0x00007febfd167285 in doNotify (event=0x557086176030, receiver=0x7ffc163cc780) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r2/work/qtbase-everywhere-src-5.15.2/src/corelib/kernel/qcoreapplication.cpp:1153
#14 QCoreApplication::notify (event=<optimized out>, receiver=<optimized out>, this=<optimized out>) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r2/work/qtbase-everywhere-src-5.15.2/src/corelib/kernel/qcoreapplication.cpp:1139
#15 QCoreApplication::notifyInternal2 (receiver=0x7ffc163cc780, event=0x557086176030) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r2/work/qtbase-everywhere-src-5.15.2/src/corelib/kernel/qcoreapplication.cpp:1063
#16 0x00007febfd169f3a in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55708616d5d0) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r2/work/qtbase-everywhere-src-5.15.2/src/corelib/kernel/qcoreapplication.cpp:1817
#17 0x00007febfd1b2683 in postEventSourceDispatch (s=0x557086171410) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r2/work/qtbase-everywhere-src-5.15.2/src/corelib/kernel/qeventdispatcher_glib.cpp:277
#18 0x00007febfb8264bb in g_main_dispatch (context=0x55708616f180) at ../glib-2.68.1/glib/gmain.c:3337
#19 g_main_context_dispatch (context=0x55708616f180) at ../glib-2.68.1/glib/gmain.c:4055
#20 0x00007febfb826768 in g_main_context_iterate (context=context@entry=0x55708616f180, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib-2.68.1/glib/gmain.c:4131
#21 0x00007febfb82681f in g_main_context_iteration (context=0x55708616f180, may_block=may_block@entry=1) at ../glib-2.68.1/glib/gmain.c:4196
#22 0x00007febfd1b2140 in QEventDispatcherGlib::processEvents (this=0x55708616e8a0, flags=...) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r2/work/qtbase-everywhere-src-5.15.2/src/corelib/kernel/qeventdispatcher_glib.cpp:423
#23 0x00007febfd165d63 in QEventLoop::exec (this=this@entry=0x7ffc163cc660, flags=..., flags@entry=...) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r2/work/qtbase-everywhere-src-5.15.2/include/QtCore/../../src/corelib/global/qflags.h:69
#24 0x00007febfd16d700 in QCoreApplication::exec () at /var/tmp/portage/dev-qt/qtcore-5.15.2-r2/work/qtbase-everywhere-src-5.15.2/include/QtCore/../../src/corelib/global/qflags.h:121
#25 0x00005570860c6c05 in AkApplicationBase::exec (this=this@entry=0x7ffc163cc750) at /var/tmp/portage/kde-apps/akonadi-21.04.0/work/akonadi-21.04.0/src/shared/akapplication.cpp:109
#26 0x0000557085f9275e in main (argc=<optimized out>, argv=<optimized out>) at /var/tmp/portage/kde-apps/akonadi-21.04.0/work/akonadi-21.04.0/src/server/main.cpp:65
[Inferior 1 (process 26495) detached]
Comment 1 Christophe Marin 2023-04-28 08:47:07 UTC
*** Bug 469033 has been marked as a duplicate of this bug. ***
Comment 2 Christophe Marin 2023-04-28 08:47:20 UTC
*** Bug 439305 has been marked as a duplicate of this bug. ***
Comment 3 Carl Schwan 2023-04-28 09:20:26 UTC
Fixed with https://invent.kde.org/pim/akonadi/-/merge_requests/136