Application: korganizer (5.22.1 (22.12.1)) Qt Version: 5.15.8 Frameworks Version: 5.101.0 Operating System: Linux 6.1.4-arch1-1 x86_64 Windowing System: X11 Distribution: "Arch Linux" DrKonqi: 5.26.5 [KCrashBackend] -- Information about the crash: KOrganizer crashes on startup. It's probably an Akonadi problem, as I'm getting a similar crash with Kalendar (https://bugs.kde.org/show_bug.cgi?id=464274), and when I try to open Akonadi console, I'm getting a "Failed to connect to database" error. The crash can be reproduced every time. -- Backtrace: Application: KOrganizer (korganizer), signal: Segmentation fault Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>} [KCrash Handler] #6 KJob::setError (this=this@entry=0x0, errorCode=errorCode@entry=100) at /usr/src/debug/kcoreaddons/kcoreaddons-5.101.0/src/lib/jobs/kjob.cpp:254 #7 0x00007f49d616846d in Akonadi::SessionPrivate::serverStateChanged (this=<optimized out>, state=<optimized out>) at /usr/src/debug/akonadi/akonadi-22.12.1/src/core/session.cpp:297 #8 0x00007f49d48bda91 in QtPrivate::QSlotObjectBase::call (a=<optimized out>, r=<optimized out>, this=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #9 doActivate<false> (sender=0x55cdaa5569a0, signal_index=5, argv=0x7ffce77d6500) at kernel/qobject.cpp:3923 #10 0x00007f49d615efd6 in Akonadi::ServerManager::stateChanged (this=<optimized out>, _t1=<optimized out>, _t1@entry=Akonadi::ServerManager::Broken) at /usr/src/debug/akonadi/build/src/core/KF5AkonadiCore_autogen/include/moc_servermanager.cpp:180 #11 0x00007f49d6164bda in Akonadi::ServerManagerPrivate::setState (state=Akonadi::ServerManager::Broken, this=0x7f49d624f300 <_ZZN12_GLOBAL__N_115Q_QGS_sInstance13innerFunctionEvE6holder.lto_priv.0>) at /usr/src/debug/akonadi/akonadi-22.12.1/src/core/servermanager.cpp:73 #12 operator() (name=..., __closure=<optimized out>) at /usr/src/debug/akonadi/akonadi-22.12.1/src/core/servermanager.cpp:154 #13 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<const QString&>, void, Akonadi::ServerManager::ServerManager(Akonadi::ServerManagerPrivate*)::<lambda(const QString&)> >::call (arg=<optimized out>, f=...) at /usr/include/qt/QtCore/qobjectdefs_impl.h:146 #14 QtPrivate::Functor<Akonadi::ServerManager::ServerManager(Akonadi::ServerManagerPrivate*)::<lambda(const QString&)>, 1>::call<QtPrivate::List<QString const&>, void> (arg=<optimized out>, f=...) at /usr/include/qt/QtCore/qobjectdefs_impl.h:256 #15 QtPrivate::QFunctorSlotObject<Akonadi::ServerManager::ServerManager(Akonadi::ServerManagerPrivate*)::<lambda(const QString&)>, 1, QtPrivate::List<const QString&>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=<optimized out>, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt/QtCore/qobjectdefs_impl.h:443 #16 0x00007f49d48b0bd0 in QObject::event (this=0x55cdaa5569a0, e=0x55cdaacd1bc0) at kernel/qobject.cpp:1347 #17 0x00007f49d5578b5c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #18 0x00007f49d488cf98 in QCoreApplication::notifyInternal2 (receiver=0x55cdaa5569a0, event=0x55cdaacd1bc0) at kernel/qcoreapplication.cpp:1064 #19 0x00007f49d488daa3 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55cdaa3ee8a0) at kernel/qcoreapplication.cpp:1821 #20 0x00007f49d48d3ea8 in postEventSourceDispatch (s=0x55cdaa4f0250) at kernel/qeventdispatcher_glib.cpp:277 #21 0x00007f49d266d87b in g_main_dispatch (context=0x7f49c8005010) at ../glib/glib/gmain.c:3454 #22 g_main_context_dispatch (context=0x7f49c8005010) at ../glib/glib/gmain.c:4172 #23 0x00007f49d26c4c89 in g_main_context_iterate.constprop.0 (context=0x7f49c8005010, block=1, dispatch=1, self=<optimized out>) at ../glib/glib/gmain.c:4248 #24 0x00007f49d266c132 in g_main_context_iteration (context=0x7f49c8005010, may_block=1) at ../glib/glib/gmain.c:4313 #25 0x00007f49d48d7c8c in QEventDispatcherGlib::processEvents (this=0x55cdaa4f4dc0, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #26 0x00007f49d488574c in QEventLoop::exec (this=0x7ffce77d6990, flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69 #27 0x00007f49d4890269 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121 #28 0x000055cda96aebc8 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/korganizer/korganizer-22.12.1/src/main.cpp:72 [Inferior 1 (process 173030) detached] Reported using DrKonqi
Deleting ~/.local/share/akonadi fixed the problem for me. Leaving this open anyway as the crash still shouldn't have happened.
Git commit eca4fdbdf328883ae564b568c9ba13697cc90c4a by Carl Schwan, on behalf of Jiří Paleček. Committed on 22/04/2023 at 04:54. Pushed by carlschwan into branch 'master'. Fix wrong for clause in Akonadi::Session Related: bug 468343, bug 465245, bug 462213, bug 462169, bug 461131, bug 460653, bug 460586, bug 458497, bug 458315 M +6 -3 src/core/session.cpp https://invent.kde.org/pim/akonadi/commit/eca4fdbdf328883ae564b568c9ba13697cc90c4a
Git commit 0ab418bacdaf8322771e41452a87d062a2449869 by Carl Schwan, on behalf of Jiří Paleček. Committed on 22/04/2023 at 05:05. Pushed by carlschwan into branch 'release/23.04'. Fix wrong for clause in Akonadi::Session Related: bug 468343, bug 465245, bug 462213, bug 462169, bug 461131, bug 460653, bug 460586, bug 458497, bug 458315 (cherry picked from commit eca4fdbdf328883ae564b568c9ba13697cc90c4a) M +6 -3 src/core/session.cpp https://invent.kde.org/pim/akonadi/commit/0ab418bacdaf8322771e41452a87d062a2449869