[kmail2] [Bug 380171] KMail crash on first start

Daniel Vrátil bugzilla_noreply at kde.org
Wed Mar 27 10:08:08 GMT 2019


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

Daniel Vrátil <dvratil at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dvratil at kde.org

--- Comment #8 from Daniel Vrátil <dvratil at kde.org> ---
I think this is a race condition in the initial setup: the race could be that
on first start the Maildir resource (that backs the "Local folders") starts
discovering what folders exist in ~/.local/share/mail and starts creating them
in Akonadi and at the same time KMail realizes there's no Inbox, Outbox etc. in
Local Folders and starts creating them.

At some point they clash as they both attempt to create the same collection -
one of them wins and one of them fails with the SQL error - if KMail is the one
who loses, it aborts the initial job and triggers the "fatal error" dialog.

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


More information about the Kdepim-bugs mailing list