kern/166918: USDT probes not cleaned up when process exits uncleanly

Ryan Stone rstone at FreeBSD.org
Fri Apr 13 21:30:11 UTC 2012


>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:


More information about the freebsd-bugs mailing list