McKube 0 requests sent

Kubernetes Exit Code 139 (SIGSEGV)

Root causes for segmentation faults in containers: amd64/arm64 mismatch, musl vs glibc, and native memory bugs.

CRITICAL · Exit 139 / SIGSEGV

Root Cause

The Linux kernel sent SIGSEGV (128 + 11 = 139) after the container process dereferenced invalid memory.

How to Fix

  • Confirm the container image CPU architecture matches the worker node (amd64 vs arm64 / Graviton).
  • Check native libraries compiled against glibc running inside Alpine (musl) images.
  • Test with an unstripped debug build or core dump in a non-production namespace.

Diagnostic Commands

kubectl get nodes -o custom-columns=NAME:.metadata.name,ARCH:.status.nodeInfo.architecture
kubectl logs <pod> -n <ns> --previous