kern/166929: dtrace -c doesn't seem to like it if the subcommand
doesn't call exit()
Ryan Stone
rstone at FreeBSD.org
Fri Apr 13 21:50:11 UTC 2012
>Number: 166929
>Category: kern
>Synopsis: dtrace -c doesn't seem to like it if the subcommand doesn't call exit()
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Apr 13 21:50:10 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Ryan Stone
>Release: 8-STABLE
>Organization:
>Environment:
>Description:
I had a program that did a return 0; from main(), and the program never seemed to exit properly(dtrace and the subcommand starting spinning at a high CPU rate).
I replaced the return 0; with an exit(0); and everything worked as expected.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list