ESP32 Bench
Boards: ESP32, S3, C3
Flash and monitor: Web Serial
← All errors

Guru Meditation Error: Core 1 panic'ed (StoreProhibited)

CrashesRecognised by the crash translator

What it looks like

Guru Meditation Error: Core  1 panic'ed (StoreProhibited). Exception was unhandled.
EXCVADDR: 0x00000000
Backtrace: 0x400d14f2:0x3ffb1f20 0x400d3a11:0x3ffb1f40

What it means

The code tried to write to an address it may not touch. The RISC-V chips (ESP32-C3, C6, H2) report it as "Store access fault". Like LoadProhibited, an EXCVADDR near zero points at a null pointer.

Likely causes

  • Writing through a null or uninitialised pointer.
  • Writing past the end of an array or a buffer from malloc().
  • Using memory after it has been freed.

How to fix it

  1. Decode the backtrace to find the line that wrote.
  2. Check array indexes and buffer sizes in that function, especially loops that use <= instead of <.
  3. Replace sprintf and strcpy with snprintf and strlcpy so writes cannot overrun.

Paste your full log

The lines around the error usually say more. Paste everything from the reset to the backtrace and the crash translator explains each part. It runs in your browser; nothing is sent anywhere.