2

I am trying to run a set UID root program in UNIX using the zsh shell. But I keep getting this message

$ ./progExe
zsh: trace trap ./progExe

Can anyone please tell what does “zsh: trace trap” mean?

migrated from stackoverflow.com Oct 2 '11 at 10:59

This question came from our site for professional and enthusiast programmers.

3

zsh: something or other ./progExe indicates that zsh is reporting that the program died due to a signal. “Trace trap” is SIGTRAP. On Linux, you should never see this signal (it's only raised when running under a debugger, and the debugger would catch it). On Mac OS X, SIGTRAP indicates an unhandled exception in the program. In other words, the program is buggy.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.