Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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?

share|improve this question
add comment

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

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

1 Answer

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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