Illegal instruction Linux Origin: Platform & cloud Last updated 15 Oct 2026

Illegal instruction (core dumped) (SIGILL)

The program used a CPU instruction your processor doesn’t support — typically AVX/AVX2 in prebuilt binaries (TensorFlow, MongoDB 5+) on older or virtual CPUs.

Exact message you may see Illegal instruction (core dumped)Illegal instructionexit code 132
Seen on: Linux

Meaning

Builds compiled for newer CPU features crash with SIGILL on older CPUs, some VPS/virtualized CPUs that hide AVX, or Raspberry Pi/ARM variants. Also caused by running x86 binaries under incomplete emulation.

Common causes

  • Binary requires AVX/AVX2 the CPU (or VM) doesn’t expose
  • MongoDB 5+/TensorFlow prebuilt packages on old CPUs
  • ARM build for a newer ARM revision
  • Corrupted binary

⚡ Quick fix

  1. Check CPU flags: grep -o 'avx[^ ]*' /proc/cpuinfo | sort -u
  2. Use a build without AVX (older version or compile from source)
  3. Enable host CPU passthrough in the VM

Detailed fix by platform

Linux

  1. bash
    grep -o -w 'avx\|avx2\|avx512f' /proc/cpuinfo | sort -u
    lscpu | grep -i 'model name\|flags' | head -2

How to diagnose

  1. CPU — Flags present?
  2. VM — CPU model exposed by hypervisor
  3. Binary — Version requirements

🔧 Still not fixed?

Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:

Where this error sits

Origin: Platform & cloud. Errors that are often confused with or caused by this one (click to open):

0xC0000005 — The application was unable to start correctly (0xc0000005) / Exception code 0xc0000005 access violation (Windows)0xC00000050xC0000142 — The application was unable to start correctly (0xc0000142) (Windows)0xC0000142built for iOS, linking for simulator — Building for iOS Simulator, but linking in object file built for iOS, for architecture arm64 (iOS)built for iOS, linkin…cannot execute binary file — cannot execute binary file: Exec format error (Linux)cannot execute binary…Could not cast value of type — Swift: Could not cast value of type 'X' to 'Y' (iOS)Could not cast value …double free or corruption — C/C++: free(): double free detected / double free or corruption (out) — Aborted (core dumped) (C/C++)double free or corrup…exec format error — exec /usr/local/bin/docker-entrypoint.sh: exec format error (Docker)exec format errorno matching manifest — no matching manifest for linux/arm64/v8 in the manifest list entries (Docker)no matching manifestIllegal i…

Explore the map of this error Full error map →

🧠 Still stuck? Analyze your error

Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.

💬 What worked for others

No tips yet — did something else fix this for you?

Share what worked for you

Tips are checked by an editor before they appear. Links are removed.