Hi!
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 <aurel32@debian.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!