Skip to content
Latchkey

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

Run this faster and cheaper on Latchkey managed runners. Start free →