threads/75273: FBSD 5.3 libpthread (KSE) bug
deischen at freebsd.org
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 freebsd.org>
To: "Enoch W." <ixew at hotmail.com>
Cc: freebsd-gnats-submit at freebsd.org
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:
> 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.
> 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