From owner-freebsd-bugs@FreeBSD.ORG Tue Aug 31 03:10:07 2010 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 57A6E10656A9 for ; Tue, 31 Aug 2010 03:10:07 +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 475B28FC0C for ; Tue, 31 Aug 2010 03:10:07 +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 o7V3A7NQ061160 for ; Tue, 31 Aug 2010 03:10:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o7V3A72j061158; Tue, 31 Aug 2010 03:10:07 GMT (envelope-from gnats) Date: Tue, 31 Aug 2010 03:10:07 GMT Message-Id: <201008310310.o7V3A72j061158@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: David Xu Cc: Subject: Re: kern/150138: [patch] signal sent to stopped, traced process not immediately handled on continue X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: David Xu List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Aug 2010 03:10:07 -0000 The following reply was made to PR kern/150138; it has been noted by GNATS. From: David Xu To: Dan McNulty Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: kern/150138: [patch] signal sent to stopped, traced process not immediately handled on continue Date: Tue, 31 Aug 2010 11:09:32 +0000 User & wrote: >> Fix: > > The attached patch ( to CURRENT ) takes a stab at fixing the problem. The patch > adds code so that even if the process is being traced, a signal sent to a > interruptibly sleeping thread wakes up the thread so it will handle the signal > when the process leaves the stopped state. The added code was copied from the > code that handled stopped, non-traced processes later in the same function. No patch ?