https://bugs.kde.org/show_bug.cgi?id=442292
--- Comment #8 from kloczek <kloczko.tom...@gmail.com> --- (In reply to Aaron Williams from comment #5) > I am hitting this bug. The last time I debugged this it turned out to be due > to multiple threads attempting to do the same thing at the same time. Two > threads attempt to move Akonadi.error to Akonadi.error.old at the same time > and this fails. The code needs to be fixed to handle this by either adding a > lock or not failing. > The problem is in akInit() and it is caused by multiple instances attempting > to start at the same time. > I.e. with two processes: > P1 sees old file exists > P2 sees old file exists > P1 deletes old file > P2 attempts to delete old file, fails due to P1. IIRC in cmake it is possible to specyfy that some some units must be serialised. --- Comment #9 from kloczek <kloczko.tom...@gmail.com> --- (In reply to Aaron Williams from comment #5) > I am hitting this bug. The last time I debugged this it turned out to be due > to multiple threads attempting to do the same thing at the same time. Two > threads attempt to move Akonadi.error to Akonadi.error.old at the same time > and this fails. The code needs to be fixed to handle this by either adding a > lock or not failing. > The problem is in akInit() and it is caused by multiple instances attempting > to start at the same time. > I.e. with two processes: > P1 sees old file exists > P2 sees old file exists > P1 deletes old file > P2 attempts to delete old file, fails due to P1. IIRC in cmake it is possible to specyfy that some some units must be serialised. -- You are receiving this mail because: You are watching all bug changes.