From owner-freebsd-bugs@FreeBSD.ORG Fri Apr 13 21:30:11 2012 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 A77511065673 for ; Fri, 13 Apr 2012 21:30:11 +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 818A78FC0C for ; Fri, 13 Apr 2012 21:30:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q3DLUB9E055581 for ; Fri, 13 Apr 2012 21:30:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q3DLUB67055580; Fri, 13 Apr 2012 21:30:11 GMT (envelope-from gnats) Resent-Date: Fri, 13 Apr 2012 21:30:11 GMT Resent-Message-Id: <201204132130.q3DLUB67055580@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Ryan Stone Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 470CB106564A for ; Fri, 13 Apr 2012 21:27:02 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 32E998FC0A for ; Fri, 13 Apr 2012 21:27:02 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q3DLR24l060146 for ; Fri, 13 Apr 2012 21:27:02 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q3DLR2L6060145; Fri, 13 Apr 2012 21:27:02 GMT (envelope-from nobody) Message-Id: <201204132127.q3DLR2L6060145@red.freebsd.org> Date: Fri, 13 Apr 2012 21:27:02 GMT From: Ryan Stone To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/166918: USDT probes not cleaned up when process exits uncleanly X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Apr 2012 21:30:11 -0000 >Number: 166918 >Category: kern >Synopsis: USDT probes not cleaned up when process exits uncleanly >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Apr 13 21:30:11 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Ryan Stone >Release: 8.3-RELEASE >Organization: >Environment: >Description: I was playing with the USDT example on the wiki: http://wiki.freebsd.org/DTrace/userland I ended up having to kill -9 some of the db instances, and I ended up in the following state: (module-1:wheel)# dtrace -l | grep database 32081 database25896 db main query-done 32082 database25896 db main query-start 32083 database28195 db main query-done 32084 database28195 db main query-start 32085 database39041 db main query-done 32086 database39041 db main query-start (module-1:wheel)# kill 25896 28195 39041 -bash: kill: (25896) - No such process -bash: kill: (28195) - No such process -bash: kill: (39041) - No such process I would suspect that 25896 et al. were test invocations that were crashed by dtrace(1). >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: