kern/166929: dtrace -c doesn't seem to like it if the subcommand
doesn't call exit()
rstone at FreeBSD.org
Fri Apr 13 21:50:11 UTC 2012
>Synopsis: dtrace -c doesn't seem to like it if the subcommand doesn't call exit()
>Arrival-Date: Fri Apr 13 21:50:10 UTC 2012
>Originator: Ryan Stone
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.
More information about the freebsd-bugs