Bug 519660 - akonadi crashed after login (an update?) -> no kmail
Summary: akonadi crashed after login (an update?) -> no kmail
Status: RESOLVED DUPLICATE of bug 515873
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: server (other bugs)
Version First Reported In: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2026-05-01 20:23 UTC by max.mustafamann
Modified: 2026-05-02 16:46 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/419892/events/8ac0ef9431494bdd8542ce89d4ce5e5f/


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description max.mustafamann 2026-05-01 20:23:39 UTC
Application: akonadiserver (6.4.3 (25.04.3))

ApplicationNotResponding [ANR]: false
Qt Version: 6.9.1
Frameworks Version: 6.16.0
Operating System: Linux 6.12.0-160000.28-default x86_64
Windowing System: X11
Distribution: openSUSE Leap 16.0
DrKonqi: 6.4.2 [CoredumpBackend]

-- Information about the crash:
Maybe this Problem ccours after an Update to - in this case - opensuse 16.x
akonadi is not running:
  akonadictl status
Akonadi Control: stopped
Akonadi Server: stopped
Akonadi Server Search Support: available (Remote Search)

The problem seems to be user independent. I can reproduce the Problem (with these send messages) with the command
  akonadictl start

the maria-db is not running. After starting it with
  sudo systemctl start mariadb
The command (the same with /usr/bin/mysql_upgrade)
  /usr/bin/mariadb-upgrade
returns (error Code 1):
Reading datadir from the MariaDB server failed. Got the following error when executing the 'mysql' command line client
ERROR 1698 (28000): Access denied for user 'root'@'localhost'
FATAL ERROR: Upgrade failed

The crash can be reproduced every time.

-- Backtrace:
Application: Akonadi Server (akonadiserver), signal: Aborted
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>}
[New LWP 8806]
[New LWP 8810]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/bin/akonadiserver'.
Program terminated with signal SIGABRT, Aborted.
#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
44	      return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO (ret) : 0;
[Current thread is 1 (Thread 0x7f6887451a80 (LWP 8806))]

Cannot QML trace cores :(
[Current thread is 1 (Thread 0x7f6887451a80 (LWP 8806))]

Thread 2 (Thread 0x7f6886fff6c0 (LWP 8810)):
#0  0x00007f6889f0afb6 in __GI_ppoll (fds=fds@entry=0x56303b18e570, nfds=nfds@entry=2, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:42
#1  0x00007f688870bc1b in ppoll (__ss=0x0, __timeout=0x0, __nfds=2, __fds=0x56303b18e570) at /usr/include/bits/poll2.h:101
#2  g_main_context_poll_unlocked (priority=<optimized out>, n_fds=2, fds=0x56303b18e570, timeout_usec=<optimized out>, context=0x7f6880000c60) at ../glib/gmain.c:4632
#3  g_main_context_iterate_unlocked (context=context@entry=0x7f6880000c60, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4309
#4  0x00007f688870c31c in g_main_context_iteration (context=0x7f6880000c60, may_block=1) at ../glib/gmain.c:4379
#5  0x00007f688a7f20c0 in QEventDispatcherGlib::processEvents (this=0x7f6880000b70, flags=...) at /usr/src/debug/qtbase-everywhere-src-6.9.1/src/corelib/kernel/qeventdispatcher_glib.cpp:399
#6  0x00007f688a5bb07b in QEventLoop::exec (this=0x7f6886ffeaa0, flags=...) at /usr/src/debug/qtbase-everywhere-src-6.9.1/src/corelib/global/qflags.h:77
#7  0x00007f688a6a0ea6 in QThread::exec (this=this@entry=0x7f688ac78b20 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>) at /usr/src/debug/qtbase-everywhere-src-6.9.1/src/corelib/global/qflags.h:77
#8  0x00007f688abf278e in QDBusConnectionManager::run (this=0x7f688ac78b20 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>) at /usr/src/debug/qtbase-everywhere-src-6.9.1/src/dbus/qdbusconnectionmanager.cpp:144
#9  0x00007f688a719cb6 in operator() (__closure=<optimized out>) at /usr/src/debug/qtbase-everywhere-src-6.9.1/src/corelib/thread/qthread_unix.cpp:434
#10 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at /usr/src/debug/qtbase-everywhere-src-6.9.1/src/corelib/thread/qthread_unix.cpp:366
#11 QThreadPrivate::start (arg=0x7f688ac78b20 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>) at /usr/src/debug/qtbase-everywhere-src-6.9.1/src/corelib/thread/qthread_unix.cpp:394
#12 0x00007f6889e98619 in start_thread (arg=<optimized out>) at pthread_create.c:447
#13 0x00007f6889f1917c in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 1 (Thread 0x7f6887451a80 (LWP 8806)):
[KCrash Handler]
#5  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#6  0x00007f6889e9a4e3 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78
#7  0x00007f6889e46fc6 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#8  0x00007f6889e2e917 in __GI_abort () at abort.c:79
#9  0x00007f688a0b2cf4 in __gnu_cxx::__verbose_terminate_handler () at ../../../../libstdc++-v3/libsupc++/vterminate.cc:95
#10 0x00007f688a0c4efc in __cxxabiv1::__terminate (handler=<optimized out>) at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:48
#11 0x00007f688a0b287a in std::terminate () at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:58
#12 0x00007f688a0c51a8 in __cxxabiv1::__cxa_throw (obj=<optimized out>, tinfo=0x56300495b5a0 <typeinfo for Akonadi::Server::DbException>, dest=0x563004854490 <Akonadi::Server::DbException::~DbException()>) at ../../../../libstdc++-v3/libsupc++/eh_throw.cc:98
#13 0x000056300479ae45 in Akonadi::Server::DbIntrospector::hasIndex (this=<optimized out>, tableName=..., indexName=...) at /usr/src/debug/akonadi-25.04.3/src/server/storage/dbintrospector.cpp:56
#14 0x000056300485cfd1 in Akonadi::Server::DbInitializer::checkIndexes (this=0x56303b32a450, tableDescription=...) at /usr/src/debug/akonadi-25.04.3/src/server/storage/dbinitializer.cpp:202
#15 0x000056300483a461 in Akonadi::Server::DbInitializer::updateIndexesAndConstraints (this=0x56303b32a450) at /usr/src/debug/akonadi-25.04.3/src/server/storage/dbinitializer.cpp:225
#16 Akonadi::Server::DataStore::init (this=<optimized out>) at /usr/src/debug/akonadi-25.04.3/src/server/storage/datastore.cpp:227
#17 0x00005630047b60b9 in Akonadi::Server::AkonadiServer::setupDatabase (this=this@entry=0x7fff95b85630) at /usr/src/debug/akonadi-25.04.3/src/server/akonadi.cpp:263
#18 0x00005630047b846f in Akonadi::Server::AkonadiServer::init (this=0x7fff95b85630) at /usr/src/debug/akonadi-25.04.3/src/server/akonadi.cpp:107
#19 0x00007f688a5fb96f in QObject::event (this=0x7fff95b85630, e=0x56303b195420) at /usr/src/debug/qtbase-everywhere-src-6.9.1/src/corelib/kernel/qobject.cpp:1431
#20 0x00007f688a5b0dda in doNotify (event=<optimized out>, receiver=<optimized out>) at /usr/src/debug/qtbase-everywhere-src-6.9.1/src/corelib/kernel/qcoreapplication.cpp:1207
#21 QCoreApplication::notify (event=<optimized out>, receiver=<optimized out>, this=<optimized out>) at /usr/src/debug/qtbase-everywhere-src-6.9.1/src/corelib/kernel/qcoreapplication.cpp:1190
#22 QCoreApplication::notifyInternal2 (receiver=0x7fff95b85630, event=0x56303b195420) at /usr/src/debug/qtbase-everywhere-src-6.9.1/src/corelib/kernel/qcoreapplication.cpp:1106
#23 0x00007f688a5b0ecd in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qtbase-everywhere-src-6.9.1/src/corelib/kernel/qcoreapplication.cpp:1546
#24 0x00007f688a5b1207 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x56303b15b1c0) at /usr/src/debug/qtbase-everywhere-src-6.9.1/src/corelib/kernel/qcoreapplication.cpp:1879
#25 0x00007f688a7f4af7 in postEventSourceDispatch (s=s@entry=0x56303b188660) at /usr/src/debug/qtbase-everywhere-src-6.9.1/src/corelib/kernel/qeventdispatcher_glib.cpp:246
#26 0x00007f6888709ef0 in g_main_dispatch (context=0x56303b188450) at ../glib/gmain.c:3398
#27 g_main_context_dispatch_unlocked (context=context@entry=0x56303b188450) at ../glib/gmain.c:4249
#28 0x00007f688870bb68 in g_main_context_iterate_unlocked (context=context@entry=0x56303b188450, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4314
#29 0x00007f688870c31c in g_main_context_iteration (context=0x56303b188450, may_block=1) at ../glib/gmain.c:4379
#30 0x00007f688a7f20c0 in QEventDispatcherGlib::processEvents (this=0x56303b1883f0, flags=...) at /usr/src/debug/qtbase-everywhere-src-6.9.1/src/corelib/kernel/qeventdispatcher_glib.cpp:399
#31 0x00007f688a5bb07b in QEventLoop::exec (this=0x7fff95b853a0, flags=...) at /usr/src/debug/qtbase-everywhere-src-6.9.1/src/corelib/global/qflags.h:77
#32 0x00007f688a5b4888 in QCoreApplication::exec () at /usr/src/debug/qtbase-everywhere-src-6.9.1/src/corelib/global/qflags.h:77
#33 0x00005630047af997 in AkApplicationBase::exec (this=0x7fff95b855f0) at /usr/src/debug/akonadi-25.04.3/src/shared/akapplication.cpp:109
#34 main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/akonadi-25.04.3/src/server/main.cpp:65

Reported using DrKonqi
Comment 1 Antonio Rojas 2026-05-02 16:46:22 UTC

*** This bug has been marked as a duplicate of bug 515873 ***