Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Dec 2004 18:00:48 GMT
From:      Daniel Eischen <deischen@freebsd.org>
To:        freebsd-threads@FreeBSD.org
Subject:   Re: threads/75273: FBSD 5.3  libpthread (KSE) bug
Message-ID:  <200412191800.iBJI0mbd095137@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR threads/75273; it has been noted by GNATS.

From: Daniel Eischen <deischen@freebsd.org>
To: "Enoch W." <ixew@hotmail.com>
Cc: freebsd-gnats-submit@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:
 
 > >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.
 
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412191800.iBJI0mbd095137>