SIGTRAP (Signal 5): Meaning, Exit Code 133 & Fix
SIGTRAP is Unix signal 5. A process terminated by it reports exit code 133 (128 + 5).
SIGTRAP is used by debuggers and tracing tools at breakpoints. When it kills a process, the shell reports exit code 133 - the 128 + signal-number convention.
What it means
Outside a debugger it can indicate a runtime that hit an internal trap or a hardened binary detecting tampering.
When it happens in CI
- A debugger/tracer is attached.
- A runtime hit an
int3/breakpoint instruction unexpectedly.
How to handle it
Detach debuggers in CI; if it persists, suspect a corrupted binary or an incompatible runtime build.
Related guides
Exit Codes and Signals in CI/CD: A Practical GuideA practical guide to process exit codes and signals in CI/CD - what 1, 2, 124, 126, 127, 130, 137, and 143 me…
CI Exit Code Lookup: What Does This Exit Code Mean?Instant lookup for CI/CD process exit codes - enter a code (137, 127, 143…) to see what it means, whether it…