>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:
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to