NPTL test failures with KSE

Craig Rodrigues rodrigc at
Mon Jan 12 22:00:11 PST 2004


Just for kicks, I started looking at some of the
tests included with the new Linux Native Posix Threading Library (NPTL).

I cobbled together a Makefile that links -lkse, and edited test-skeleton.c so
that the tests would compile on FreeBSD.  The attached file
has 4 tests which fail:

  Didn't expect signal from child: got `Segmentation fault'

  thread not canceled

  4th mutex_unlock didn't return EPERM

     Fatal error 'Thread has returned from _thread_switch' 
     at line 1095 in file /usr/src/lib/libpthread/thread/thr_kern.c (errno = 0)
     Didn't expect signal from child: got `Abort trap'

Any idea if these failures point to problems in KSE, or if the
tests are bogus?


Craig Rodrigues
rodrigc at

More information about the freebsd-threads mailing list