Application: akonadiserver (5.23.0 (23.04.0)) Qt Version: 5.15.9 Frameworks Version: 5.105.0 Operating System: Linux 6.2.12-1-default x86_64 Windowing System: X11 Distribution: "openSUSE Tumbleweed" DrKonqi: 5.27.4 [KCrashBackend] -- Information about the crash: Just start kde as usual. I was doing nothing special The reporter is unsure if this crash is reproducible. -- Backtrace: Application: Akonadi Server (akonadiserver), signal: Segmentation fault [KCrash Handler] #4 0x00005566e4f86b23 in Akonadi::Server::Tracer::error (this=0x0, componentName=0x5566e4fd3de9 "DataStore (Database Error)", msg=...) at /usr/src/debug/akonadi-23.04.0/src/server/tracer.cpp:135 #5 0x00005566e4f46fa1 in Akonadi::Server::DataStore::debugLastDbError (this=<optimized out>, actionDescription=<optimized out>) at /usr/src/debug/akonadi-23.04.0/src/server/storage/datastore.cpp:1295 #6 0x00005566e4f3606a in Akonadi::Server::DataStore::open (this=0x5566e69947d0) at /usr/src/debug/akonadi-23.04.0/src/server/storage/datastore.cpp:116 #7 0x00005566e4f3a3db in Akonadi::Server::DataStore::database (this=0x5566e69947d0) at /usr/src/debug/akonadi-23.04.0/src/server/storage/datastore.cpp:138 #8 0x00005566e4eca8fe in Akonadi::Server::AkonadiServer::setupDatabase (this=<optimized out>) at /usr/src/debug/akonadi-23.04.0/src/server/akonadi.cpp:257 #9 0x00005566e4ecc75d in Akonadi::Server::AkonadiServer::init (this=0x7ffc5c1419d0) at /usr/src/debug/akonadi-23.04.0/src/server/akonadi.cpp:107 #10 0x00007f88ae718c50 in QObject::event (this=0x7ffc5c1419d0, e=0x5566e6991180) at kernel/qobject.cpp:1347 #11 0x00007f88ae6ec94d in doNotify (event=0x5566e6991180, receiver=0x7ffc5c1419d0) at kernel/qcoreapplication.cpp:1154 #12 QCoreApplication::notify (event=<optimized out>, receiver=<optimized out>, this=<optimized out>) at kernel/qcoreapplication.cpp:1140 #13 QCoreApplication::notifyInternal2 (receiver=0x7ffc5c1419d0, event=0x5566e6991180) at kernel/qcoreapplication.cpp:1064 #14 0x00007f88ae6eff71 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x5566e698a620) at kernel/qcoreapplication.cpp:1821 #15 0x00007f88ae746713 in postEventSourceDispatch (s=0x5566e698d6b0) at kernel/qeventdispatcher_glib.cpp:277 #16 0x00007f88aca6c8d8 in g_main_dispatch (context=0x5566e698d450) at ../glib/gmain.c:3460 #17 g_main_context_dispatch (context=context@entry=0x5566e698d450) at ../glib/gmain.c:4200 #18 0x00007f88aca6cce8 in g_main_context_iterate (context=context@entry=0x5566e698d450, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4276 #19 0x00007f88aca6cd7c in g_main_context_iteration (context=0x5566e698d450, may_block=1) at ../glib/gmain.c:4343 #20 0x00007f88ae745f26 in QEventDispatcherGlib::processEvents (this=0x5566e698c250, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #21 0x00007f88ae6eb40b in QEventLoop::exec (this=this@entry=0x7ffc5c141840, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69 #22 0x00007f88ae6f38a0 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121 #23 0x00005566e4ec6688 in AkApplicationBase::exec (this=0x7ffc5c1419a0) at /usr/src/debug/akonadi-23.04.0/src/shared/akapplication.cpp:107 #24 main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/akonadi-23.04.0/src/server/main.cpp:65 [Inferior 1 (process 2760) detached] Reported using DrKonqi
A possibly relevant merge request was started @ https://invent.kde.org/pim/akonadi/-/merge_requests/136
Hi, the crash is caused by akonadi being unable to open the database. Unfortunately akonadi will crash when trying to generate debug information. I created a merge requests making it not crash anymore, but this doesn't fix the root bug that the database couldn't be opened. If this is reproducible, could you run akonadictl start? And paste the debug output here?
Hello, Don't now why but after restart I can't reproduce the bug...So may be OpenSuSE related....
Git commit 05db7d03baae46513cd6735ec2c3f28733145b0a by Carl Schwan. Committed on 26/04/2023 at 18:14. Pushed by carlschwan into branch 'master'. Avoid crashing before priting debug output when setting up db Calling debugLastDbError requires the database to be already setup as it is using the akonadi tracer. So using it to debug why the database didn't open doesn't work. M +4 -1 src/server/storage/datastore.cpp https://invent.kde.org/pim/akonadi/commit/05db7d03baae46513cd6735ec2c3f28733145b0a
Git commit 518c99d1313b621312275a5bd6af919a3d889f26 by Carl Schwan. Committed on 26/04/2023 at 18:15. Pushed by carlschwan into branch 'release/23.04'. Avoid crashing before priting debug output when setting up db Calling debugLastDbError requires the database to be already setup as it is using the akonadi tracer. So using it to debug why the database didn't open doesn't work. (cherry picked from commit 05db7d03baae46513cd6735ec2c3f28733145b0a) M +4 -1 src/server/storage/datastore.cpp https://invent.kde.org/pim/akonadi/commit/518c99d1313b621312275a5bd6af919a3d889f26