Exit Code 138 in CI: SIGBUS-Adjacent Signal 10 Termination
Exit code 138 means signal 10 (128 + 10) killed the process - its meaning depends on the platform.
A step exiting 138 was terminated by signal number 10. On Linux that number is SIGUSR1; on BSD/macOS it is SIGBUS, so context matters.
What it means
138 = 128 + 10. Signal 10 is platform-dependent: SIGUSR1 (application-defined) on Linux, SIGBUS (bus error) on BSD/macOS. Identify the OS to know which one applies.
Common causes
- On macOS/BSD: a bus error from a bad memory mapping.
- On Linux: an app or tool sent SIGUSR1 that the program treated as fatal.
- A misrouted control signal.
How to fix it
Determine the runner OS first. If SIGBUS, treat it like a bus error (check mappings and free space). If SIGUSR1, check what tool sent it and why the program did not handle it.
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…