Source: faketime
Version: debian/0.9.10+2024-06-05+gba9ed5b2-0.2
Affects: gem2deb
Severity: serious
Justification: Prevents testing migration

The gem2deb autopkgtest is failing with the new version of faketime.
There's a BUG complaint from, I think, the libc, in
pthread_cond_destroy.

The most relevant changes in libfaketime seem to me to be that the
test for `initialized` has been hoisted into ftpl_init.  I looked at
the code and if faked functions are run from multiple threads, the
core of ftpl_init could run twice concurrently.  Looking at it, it
obviously isn't sound against that.

I intend to develop a patch to change this to use sound locking
techniques and/or atomics.  But that will probably not happen right
away.

Ian.

-- 
Ian Jackson <ijack...@chiark.greenend.org.uk>   These opinions are my own.  

Pronouns: they/he.  If I emailed you from @fyvzl.net or @evade.org.uk,
that is a private address which bypasses my fierce spamfilter.

Reply via email to