[Akonadi] [Bug 508354] New: akonadiserver crash in Akonadi::Server::Connection::slotSendHello

Thomas Rosenberger bugzilla_noreply at kde.org
Sat Aug 16 17:15:27 BST 2025


https://bugs.kde.org/show_bug.cgi?id=508354

            Bug ID: 508354
           Summary: akonadiserver crash in
                    Akonadi::Server::Connection::slotSendHello
    Classification: Frameworks and Libraries
           Product: Akonadi
      Version First unspecified
       Reported In:
          Platform: openSUSE
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: server
          Assignee: kdepim-bugs at kde.org
          Reporter: thomas.rosenberger at posteo.de
                CC: carl at carlschwan.eu
  Target Milestone: ---

Created attachment 184156
  --> https://bugs.kde.org/attachment.cgi?id=184156&action=edit
Log of the crashing process

SUMMARY
When logging into KDE Plasma desktop, Akonadiserver always crashes. This is
generating a core dump with each login. When starting Akonadiserver some time
later by accessing KMail via Kontact, it starts successfully. But if Kontact is
started too early, it also crashes.

STEPS TO REPRODUCE
1. Boot system
2. Log in to KDE Plasma

OBSERVED RESULT
New core dump for Akonadiserver is generated.

EXPECTED RESULT
No crash.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: openSUSE Tumbleweed
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.1

ADDITIONAL INFORMATION

The crash happens in the copy ctor of Akonadi::Server::SchemaVersion which gets
called from method Akonadi::Server::Connection::slotSendHello.

>From the core dump:
(gdb) f 5
#5  Akonadi::Server::SchemaVersion::SchemaVersion (this=0x7f4ac9ffa450,
other=...) at /usr/src/debug/akonadi-25.04.3/build/src/server/entities.cpp:99
99      SchemaVersion::SchemaVersion(const SchemaVersion &other)
(gdb) info args
this = 0x7f4ac9ffa450
other = <error reading variable: Cannot access memory at address 0x0>

It looks like SchemaVersion::retrieveAll().at(0); does not return a valid
object?

Related log output:
Aug 16 16:24:38 mobile akonadiserver[2968]: org.kde.pim.akonadiserver: Database
error: Cannot open database.
Aug 16 16:24:38 mobile akonadiserver[2968]: org.kde.pim.akonadiserver:   Last
driver error: "QMYSQL: Unable to connect"
Aug 16 16:24:38 mobile akonadiserver[2968]: org.kde.pim.akonadiserver:   Last
database error: "TLS/SSL error: certificate is not yet valid"

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list