From owner-freebsd-bugs@FreeBSD.ORG Fri Oct 7 21:30:14 2011 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 91C1D1065670 for ; Fri, 7 Oct 2011 21:30:14 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6676E8FC16 for ; Fri, 7 Oct 2011 21:30:14 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p97LUEc4068480 for ; Fri, 7 Oct 2011 21:30:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p97LUEP2068463; Fri, 7 Oct 2011 21:30:14 GMT (envelope-from gnats) Date: Fri, 7 Oct 2011 21:30:14 GMT Message-Id: <201110072130.p97LUEP2068463@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Florian Smeets Cc: Subject: Re: kern/155606: [libc] select() does not return EBADF on closed file descriptor X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Florian Smeets List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Oct 2011 21:30:14 -0000 The following reply was made to PR kern/155606; it has been noted by GNATS. From: Florian Smeets To: bug-followup@FreeBSD.org Cc: Subject: Re: kern/155606: [libc] select() does not return EBADF on closed file descriptor Date: Fri, 07 Oct 2011 23:27:23 +0200 This is reproducible with nspr's regression testsuite. The test is called selct_er. Just go to devel/nspr and run make && make test, the selct_er test will hang indefinitely. cognet found out the commit causing this behavior is supposedly: http://svnweb.freebsd.org/base/head/sys/kern/sys_generic.c?r1=195259&r2=195258&pathrev=195259