Date: Sun, 19 Dec 2004 17:20:54 GMT From: "Enoch W." <ixew@hotmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: threads/75273: FBSD 5.3 libpthread (KSE) bug Message-ID: <200412191720.iBJHKs0R081818@www.freebsd.org> Resent-Message-ID: <200412191730.iBJHUQSC093338@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412191720.iBJHKs0R081818>
