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.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

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

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

Your Answer


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.