threads/75273: FBSD 5.3 libpthread (KSE) bug

Daniel Eischen deischen at
Sun Dec 19 10:00:48 PST 2004

The following reply was made to PR threads/75273; it has been noted by GNATS.

From: Daniel Eischen <deischen at>
To: "Enoch W." <ixew at>
Cc: freebsd-gnats-submit at
Subject: Re: threads/75273: FBSD 5.3  libpthread (KSE) bug
Date: Sun, 19 Dec 2004 12:54:54 -0500 (EST)

 On Sun, 19 Dec 2004, Enoch W. wrote:
 > >Description:
 > sigsuspend() bug
 > Thread aborts at /usr/src/lib/libpthread/thread/thr_sigsuspend.c line 77 with "oldsigmask is not cleared" when the main thread tries to pthread_cancel() it.
 > FreeBSD 4.x (libc_r) does not have this problem.
 > >How-To-Repeat:
 > >Fix:
 > The easy solution :-) remove:
 > THR_ASSERT(curthread->oldsigmask == NULL, "oldsigmask is not cleared");
 Sample program to demonstrate the problem, please?
 This could be fixed in -current, but since I don't know how to repeat the
 problem, I can't test it.

More information about the freebsd-threads mailing list