Exit 133 SIGTRAP (128 + 5)
Killed by SIGTRAP: a breakpoint or trace trap with nobody attached.
- Value
- 133
- Convention
- Killed by a signal (128 + N)
- Signal
- SIGTRAP (Linux 5, FreeBSD 5)
A stray breakpoint instruction, or ptrace-style tracing that went wrong. A debugger turns this into a stop you can inspect; with no debugger attached the default action is to die.
What to check
gdb -batch -ex run -ex bt --args ./progSources
Exit codes are conventions, not guarantees: a program can return any value from 0 to 255. Spot one that's wrong? Tell Rod.