From owner-freebsd-threads@FreeBSD.ORG Sun Dec 19 17:30:42 2004 Return-Path: Delivered-To: freebsd-threads@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3AB8716A4F5 for ; Sun, 19 Dec 2004 17:30:42 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB53343D5D for ; Sun, 19 Dec 2004 17:30:26 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id iBJHUQc5093341 for ; Sun, 19 Dec 2004 17:30:26 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id iBJHUQSC093338; Sun, 19 Dec 2004 17:30:26 GMT (envelope-from gnats) Resent-Date: Sun, 19 Dec 2004 17:30:26 GMT Resent-Message-Id: <200412191730.iBJHUQSC093338@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-threads@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Enoch W." Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 85A7816A4CE for ; Sun, 19 Dec 2004 17:20:54 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F2AB43D41 for ; Sun, 19 Dec 2004 17:20:54 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id iBJHKs1e081820 for ; Sun, 19 Dec 2004 17:20:54 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id iBJHKs0R081818; Sun, 19 Dec 2004 17:20:54 GMT (envelope-from nobody) Message-Id: <200412191720.iBJHKs0R081818@www.freebsd.org> Date: Sun, 19 Dec 2004 17:20:54 GMT From: "Enoch W." To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: threads/75273: FBSD 5.3 libpthread (KSE) bug X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Dec 2004 17:30:42 -0000 >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: