[Akonadi] [Bug 442292] 21.08.1: test suite is failing

Aaron Williams bugzilla_noreply at kde.org
Thu Mar 23 03:38:41 GMT 2023


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

--- Comment #10 from Aaron Williams <aaronw at doofus.org> ---
(In reply to kloczek from comment #9)
> (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.

As I stated above, I traced the root cause to app-armor due to the fact that my
.home directory was a symlink to a SSD. I was mistaken in thinking it might be
due to some parallel issue.

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


More information about the Kdepim-bugs mailing list