Summary: | Duplicate entry in CollectionTable when creating database in a new installation | ||
---|---|---|---|
Product: | [Frameworks and Libraries] Akonadi | Reporter: | Antonio Larrosa <larrosa> |
Component: | server | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED WORKSFORME | ||
Severity: | crash | CC: | dvratil, evgom.sid, fabian, sergio, till2.schaefer |
Priority: | NOR | ||
Version: | 5.3.0 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Logs from akonadi/kmail, showing the problem |
Description
Antonio Larrosa
2016-10-24 12:04:21 UTC
Created attachment 101739 [details]
Logs from akonadi/kmail, showing the problem
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... I have created a meta-bug " Akonadi IMAP Resource should handle Duplicate entry in CollectionTable errors": Bug 375244 Thank you for reporting this crash in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the crash with a recent software version? If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you! Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone! This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone! I think this should be close as duplicated of https://bugs.kde.org/show_bug.cgi?id=339214 |