# Node-RED 5.0.5 crashes with "Illegal instruction" (SIGILL) on Raspberry Pi 4 Model B

**URL:** https://discourse.nodered.org/t/node-red-5-0-5-crashes-with-illegal-instruction-sigill-on-raspberry-pi-4-model-b/101715
**Category:** General
**Created:** [1 September 2026 22:00 UTC](https://discourse.nodered.org/t/node-red-5-0-5-crashes-with-illegal-instruction-sigill-on-raspberry-pi-4-model-b/101715 "2026-09-01T22:00:25Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![OlliOnNR](https://avatars.discourse-cdn.com/v4/letter/o/c37758/32.png) [@OlliOnNR](https://discourse.nodered.org/u/OlliOnNR)
#### Post date: [1 September 2026 22:00 UTC](https://discourse.nodered.org/t/node-red-5-0-5-crashes-with-illegal-instruction-sigill-on-raspberry-pi-4-model-b/101715/1 "2026-09-01T22:00:25Z")

</div>

I'm seeing a reproducible crash after upgrading from Node-RED 5.0.4 to 5.0.5 on two separate Raspberry Pi 4 Model B units (Rev 1.1 and Rev 1.2, both aarch64/Cortex-A72).

**Environment:**

- Raspberry Pi 4 Model B (both Rev 1.1 and Rev 1.2)
- Architecture: aarch64
- Node.js: v22.23.2
- Node-RED: 5.0.5 (crashes), 5.0.4 (works fine)

**Symptom:**

Running `node-red --version` or starting the service results in:

```auto
Illegal instruction

```

Via systemd, the service shows:

```auto
Main PID: XXXX (code=killed, signal=ILL)

```

The service enters a restart loop (`activating (auto-restart)`).

**Steps to reproduce:**

1. Have Node-RED 5.0.4 running on Raspberry Pi 4 Model B with Node.js 22.x
2. `sudo npm uninstall -g node-red`
3. `sudo npm install -g --unsafe-perm node-red@5.0.5`
4. Run `node-red --version` or start the systemd service

**Result:** Immediate crash with SIGILL on both devices.

**Workaround:** Downgrading back to `node-red@5.0.4` with the same Node.js 22.23.2 resolves the issue completely; the service runs stable.

**Notable:** The same 5.0.5 version runs without issue on a Raspberry Pi 5 (Cortex-A76) in my setup, which points toward an ARM instruction-set incompatibility (possibly a native dependency using CPU features not present on Cortex-A72) rather than a general Node-RED bug.

Happy to provide more diagnostic info (cpuinfo, journalctl logs, etc.) if useful.

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [1 September 2026 22:24 UTC](https://discourse.nodered.org/t/node-red-5-0-5-crashes-with-illegal-instruction-sigill-on-raspberry-pi-4-model-b/101715/2 "2026-09-01T22:24:32Z")

</div>

I suspect this is related: [Node-Red service fails to start with 5.0.5 · Issue #5919 · node-red/node-red · GitHub](https://github.com/node-red/node-red/issues/5919)

If you want, you could try reinstalling 5.0.5 & recompiling bcrypt from source

```auto
npm rebuild bcrypt --build-from-source

```

---

<div class="post-metadata">

### Author: ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)
#### Post date: [1 September 2026 22:38 UTC](https://discourse.nodered.org/t/node-red-5-0-5-crashes-with-illegal-instruction-sigill-on-raspberry-pi-4-model-b/101715/3 "2026-09-01T22:38:23Z")

</div>

5.0.6 has just been published that reverts the dependency update that caused this.

---

<div class="post-metadata">

### Author: ![OlliOnNR](https://avatars.discourse-cdn.com/v4/letter/o/c37758/32.png) [@OlliOnNR](https://discourse.nodered.org/u/OlliOnNR)
#### Post date: [2 September 2026 17:53 UTC](https://discourse.nodered.org/t/node-red-5-0-5-crashes-with-illegal-instruction-sigill-on-raspberry-pi-4-model-b/101715/4 "2026-09-02T17:53:44Z")

</div>

Thanks both for the quick response! Can confirm 5.0.6 is out and works fine on my Raspberry Pi 4 Model B — upgraded from 5.0.4 straight to 5.0.6 and the service starts without issues, no more SIGILL crash. Appreciate the fast fix!
