threads/75273: FBSD 5.3 libpthread (KSE) bug
Enoch W.
ixew at hotmail.com
Sun Dec 19 09:30:42 PST 2004
>Number: 75273
>Category: threads
>Synopsis: FBSD 5.3 libpthread (KSE) bug
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-threads
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Dec 19 17:30:26 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Enoch W.
>Release: FreeBSD 5.3-STABLE
>Organization:
>Environment:
__FreeBSD_version 503101
i386
>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");
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-threads
mailing list