[Akonadi] [Bug 371570] Duplicate entry in CollectionTable when creating database in a new installation

Daniel Vrátil bugzilla_noreply at kde.org
Wed Oct 26 22:44:41 BST 2016


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |CONFIRMED
                 CC|                            |dvratil at kde.org

--- Comment #2 from Daniel Vrátil <dvratil at kde.org> ---
Just an update on what I found so far:

Turns out it's a race condition between KMail and KMail :-) Specifically there
seem to be two SpecialCollectionsRequestJobs started in quick succession from
two different places in KMail and both attempt to create the "inbox" folder.

It's rather hard to debug where the SCRJs are started from because gdb slows
down kmail enough to make the race condition go away. Setting a bp on
CollectionCreateJob does not hide the race condition, but also does not provide
any useful information.

I guess the best course of action is to add some debug info into SCRJ and
compile AkonadiCore in the VM where I can reproduce the condition...

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


More information about the Kdepim-bugs mailing list