SIGBUS (Signal 7): Meaning, Exit Code 135 & Fix
SIGBUS is Unix signal 7. A process terminated by it reports exit code 135 (128 + 7).
SIGBUS signals a hardware-level invalid memory access (misalignment, truncated mmap). When it kills a process, the shell reports exit code 135 - the 128 + signal-number convention.
What it means
Often an mmap of a file that was truncated, or misaligned access on strict architectures.
When it happens in CI
- mmap of a file that shrank underneath the process.
- Out-of-space on a tmpfs-backed mmap.
- Misaligned access on ARM.
How to handle it
Check disk/tmpfs space and that mapped files are intact; on ARM, verify alignment assumptions.
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…