I found this while reading the code during review of lock usage for MT-fork. Test case attached (can be adapted for libc-test regression tests, I think, or improved to be a conformance test). Rich