Bug 517254 - Random crash in Akonadi::Server::DbIntrospector::hasIndex
Summary: Random crash in Akonadi::Server::DbIntrospector::hasIndex
Status: RESOLVED DUPLICATE of bug 515873
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: server (other bugs)
Version First Reported In: 6.6.2
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2026-03-07 19:05 UTC by Nik Nikovsky
Modified: 2026-03-09 21:23 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/383665/events/11e20f538786452d93cfc3f2184a9a0d/


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nik Nikovsky 2026-03-07 19:05:35 UTC
Application: akonadiserver (6.6.2 (25.12.2))

ApplicationNotResponding [ANR]: false
Qt Version: 6.10.2
Frameworks Version: 6.23.0
Operating System: Linux 6.20.0-0.rc0.260212gc22e26bd0906e.3.fc45.x86_64 x86_64
Windowing System: Wayland
Distribution: "Fedora Linux 45 (KDE Plasma Desktop Edition Prerelease)"
DrKonqi: 6.6.0 [CoredumpBackend]

-- Information about the crash:
I have no clue, it's just something that I saw after logging into Fedora.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Akonadi Server (akonadiserver), signal: Aborted

[New LWP 3164]
[New LWP 3167]
[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 0x7f0ac92a7d40 (LWP 3164))]
Using eu-unstrip to resolve modules.
[Current thread is 2 (Thread 0x7f0abb3b16c0 (LWP 3167))]

Thread 2 (Thread 0x7f0abb3b16c0 (LWP 3167)):
#0  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007f0ace07522c in __internal_syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=8, a6=a6@entry=0, nr=271) at cancellation.c:49
#2  0x00007f0ace075274 in __syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=8, a6=a6@entry=0, nr=271) at cancellation.c:75
#3  0x00007f0ace0ef926 in __GI_ppoll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>, sigmask=<optimized out>) at ../sysdeps/unix/sysv/linux/ppoll.c:42
#4  0x00007f0acc6e6e25 in g_main_context_iterate_unlocked.isra () from /lib64/libglib-2.0.so.0
#5  0x00007f0acc6e6ee3 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#6  0x00007f0acea508ed in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#7  0x00007f0ace716f03 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#8  0x00007f0ace8478d6 in QThread::exec() () from /lib64/libQt6Core.so.6
#9  0x00007f0aced40084 in ?? () from /lib64/libQt6DBus.so.6
#10 0x00007f0abb3b07f0 in ?? ()
#11 0x00007f0ace8454e3 in QThread::started(QThread::QPrivateSignal) () from /lib64/libQt6Core.so.6
#12 0x00007f0ace8f49d1 in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#13 0x00007f0ace078919 in start_thread (arg=<optimized out>) at pthread_create.c:454
#14 0x00007f0ace0fca8c in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 1 (Thread 0x7f0ac92a7d40 (LWP 3164)):
[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  0x00007f0ace07aa93 in __pthread_kill_internal (threadid=<optimized out>, signo=6) at pthread_kill.c:89
#7  0x00007f0ace01f34e in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#8  0x00007f0ace0067b3 in __GI_abort () at abort.c:77
#9  0x00007f0ace20939e in __gnu_cxx::__verbose_terminate_handler() [clone .cold] () from /lib64/libstdc++.so.6
#10 0x00007f0ace2207dc in __cxxabiv1::__terminate(void (*)()) () from /lib64/libstdc++.so.6
#11 0x00007f0ace208f15 in std::terminate() () from /lib64/libstdc++.so.6
#12 0x00007f0ace220a88 in __cxa_throw () from /lib64/libstdc++.so.6
#13 0x000055a8391aa0b5 in Akonadi::Server::DbIntrospector::hasIndex (this=<optimized out>, tableName=..., indexName=...) at /usr/src/debug/akonadi-server-25.12.2-2.fc45.x86_64/src/server/storage/dbintrospector.cpp:56
#14 0x000055a83929d760 in Akonadi::Server::DbInitializer::checkIndexes (this=0x55a859fd5c10, tableDescription=...) at /usr/src/debug/akonadi-server-25.12.2-2.fc45.x86_64/src/server/storage/dbinitializer.cpp:205
#15 0x000055a8392779dd in Akonadi::Server::DbInitializer::updateIndexesAndConstraints (this=0x55a859fd5c10) at /usr/src/debug/akonadi-server-25.12.2-2.fc45.x86_64/src/server/storage/dbinitializer.cpp:228
#16 Akonadi::Server::DataStore::init (this=<optimized out>) at /usr/src/debug/akonadi-server-25.12.2-2.fc45.x86_64/src/server/storage/datastore.cpp:227
#17 0x000055a8391c70dd in Akonadi::Server::AkonadiServer::setupDatabase (this=this@entry=0x7ffededd0560) at /usr/src/debug/akonadi-server-25.12.2-2.fc45.x86_64/src/server/akonadi.cpp:263
#18 0x000055a8391c8aba in Akonadi::Server::AkonadiServer::init (this=0x7ffededd0560) at /usr/src/debug/akonadi-server-25.12.2-2.fc45.x86_64/src/server/akonadi.cpp:107
#19 0x00007f0ace776b9e in QObject::event(QEvent*) () from /lib64/libQt6Core.so.6
#20 0x00007f0ace708ee8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt6Core.so.6
#21 0x00007f0ace70d2da in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt6Core.so.6
#22 0x00007f0acea5109f in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt6Core.so.6
#23 0x00007f0acc6e2d04 in g_main_context_dispatch_unlocked.lto_priv () from /lib64/libglib-2.0.so.0
#24 0x00007f0acc6e6d38 in g_main_context_iterate_unlocked.isra () from /lib64/libglib-2.0.so.0
#25 0x00007f0acc6e6ee3 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#26 0x00007f0acea508ed in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#27 0x00007f0ace716f03 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#28 0x00007f0ace7120d2 in QCoreApplication::exec() () from /lib64/libQt6Core.so.6
#29 0x000055a8391bef5c in AkApplicationBase::exec (this=0x7ffededd0520) at /usr/src/debug/akonadi-server-25.12.2-2.fc45.x86_64/src/shared/akapplication.cpp:109
#30 main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/akonadi-server-25.12.2-2.fc45.x86_64/src/server/main.cpp:65

Reported using DrKonqi
Comment 1 TraceyC 2026-03-09 21:23:16 UTC
Thanks for the crash report. Based on the backtrace, this looks like bug 515873, so I'll merge this report in with that one.
The fix was upstream in MariaDB, and there is a  fix at https://github.com/MariaDB/server/commit/87309d3d4bb8f48910d05b0ca5ee989bcdd6b053

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