Re: Bug#628493: perl: FTBFS on kfreebsd-i386: t/op/threads failed
I just bisected on past eglibc versions and this is reproducible for me
(segfault 5% of the time) on kfreebsd-i386, up until this version, with
which I can't reproduce the problem any more (10,000+ test runs) :
eglibc (2.13-22) unstable; urgency=low
-- Aurelien Jarno <firstname.lastname@example.org> Sat, 10 Dec 2011 21:49:03 +0100
The changelog for that version was quite long, but probably these
changes are what fixed this:
[ Petr Salinger ]
* kfreebsd/local-sysdeps.diff: update to revision 3763 (from glibc-bsd).
* add kfreebsd/local-use-thr-primitives.diff to use kernel thr*
primitives inside linuxthreads. Closes: #639658.
Therefore I'm marking this as fixed in that eglibc upload and I'll try
to let upstream know. Thanks!
IMO, my suggested change (Perl_atfork_reinit) in "Message #54" 
still should be aplied by perl upstream. While it might not be problem
for this testcase, the unlocking in forked child is fragile.