Bugzilla – Bug 1105207
[Build 20180815] openQA test fails in kontact - "Invalid parent" starting up kontact
Last modified: 2019-04-17 05:13:53 UTC
openQA test in scenario opensuse-Tumbleweed-DVD-x86_64-kde-wayland@64bit_virtio fails in
with an error message "The email program encountered a fatal error and will terminate now. The error was: Invalid parent"
Fails since (at least) Build (https://openqa.opensuse.org/tests/731817)
## Expected result
Last good: (https://openqa.opensuse.org/tests/724581) (or more recent)
## Further details
Always latest result in this scenario: [latest](https://openqa.opensuse.org/tests/latest?distri=opensuse&arch=x86_64&flavor=DVD&test=kde-wayland&machine=64bit_virtio&version=Tumbleweed)
https://bugzilla.suse.com/show_bug.cgi?id=952876 sounds like a similar report on openSUSE Leap 42.1
I could reproduce the issue manually with https://download.opensuse.org/repositories/KDE:/Medias/images/iso/openSUSE_Krypton.x86_64-5.12.80-Build3.132.iso . On the first stat the mentioned error pops up, can be clicked away and on next startup the problem does not show up again.
*** Bug 1111606 has been marked as a duplicate of this bug. ***
Upstream bug report: https://bugs.kde.org/show_bug.cgi?id=380171
To quote from there:
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.