mirror of
https://github.com/espressif/esp-idf.git
synced 2026-09-22 13:01:16 +03:00
On RISC-V without frame pointers, STACK_DEPTH defaults to 0, so alloced_by[] is empty. Writing callers[0] still ran and overwrote the caller's cm.push saved ra, causing an illegal-instruction fault after the first traced malloc (e.g. with HEAP_TRACING on ESP32-S31).