If I run ftrace and ask it to trace a nonexistent program, it prints: execvp: No such file or directory ... and then hangs. I would expect a sensible error message (prefaced with "ftrace: ") and no hang.
I'm pretty sure this one is fixed: opsy. ftrace -- /bin/zardoz Error: open: No such file or directory (file /bin/zardoz) (Though note the not-so-great error message... instead of "Error" I think it should probably say "ftrace")
I spoke too soon. This hang does still happen in some cases. For me, "ftrace -- ls" hangs, but "ftrace -- zardoz" does not. I get different errors in each case: opsy. ftrace -- zardoz Error: open: No such file or directory (file /home/tromey/gnu/quagmire/quagmire/zardoz) opsy. ftrace -- ls execvp: No such file or directory Note that the error in the first case is pretty bogus. The quagmire stuff is my working directory. Probably the error should just say something about "zardoz not found in path".