I'd think it was me but I've COMPLETELY re-written the code that is at the origin of the call and the Guru Meditation Error is now occurring right at the start of my code, just after initialisation, so very little of my code has been executed. This is with headrev ESP-IDF as of 15 October 2019, #2e6398aff.
So I'm clutching at straws: has anyone else seen a Guru Meditation Error of this nature? We are using Wifi in STA mode but absolutely nothing has been done at this point except initialisation. Otherwise just UART, I2C, GPIOs, NVRAM and deep sleep mode, though again nothing has been done aside from initialisation. "overall" stack smash checking is switched on and has not triggered. Unfortunately I can't attach a debugger to my system; we ran out of IO pins.
Code: Select all
Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled.
Core 0 register dump:
PC : 0x40090b19 PS : 0x00060233 A0 : 0x8008f9de A1 : 0x3ffc0770
0x40090b19: uxListRemove at C:/Users/rob/esp/esp-idf/components/freertos/list.c:218
A2 : 0x3ffba124 A3 : 0x3ffc07f4 A4 : 0x00000004 A5 : 0x3ffb9898
A6 : 0x00000fa2 A7 : 0x00000000 A8 : 0x00000000 A9 : 0x3ffafac8
A10 : 0x3ffc4a40 A11 : 0x00000001 A12 : 0x00000000 A13 : 0x00000000
A14 : 0x00000000 A15 : 0x00000001 SAR : 0x0000001f EXCCAUSE: 0x0000001c
EXCVADDR: 0x00000004 LBEG : 0x4000c2e0 LEND : 0x4000c2f6 LCOUNT : 0xffffffff
ELF file SHA256: 96369d328cddc0c16505cf1631f9eea363662068eb427e4985a3ce6d5633da86
Backtrace: 0x40090b16:0x3ffc0770 0x4008f9db:0x3ffc0790 0x4008e5b0:0x3ffc07b0 0x400de9e5:0x3ffc07f0 0x400db1be:0x3ffc0820 0x400d435b:0x3ffc0900
0x40090b16: uxListRemove at C:/Users/rob/esp/esp-idf/components/freertos/list.c:214
0x4008f9db: xTaskRemoveFromEventList at C:/Users/rob/esp/esp-idf/components/freertos/tasks.c:3117
0x4008e5b0: xQueueGenericSend at C:/Users/rob/esp/esp-idf/components/freertos/queue.c:773
0x400de9e5: led at c:\users\rob\esp\device-application\build/../main/my_led.c:237
0x400db1be: doWakeUpAndSleep at c:\users\rob\esp\device-application\build/../main/main.c:645
(inlined by) app_main at c:\users\rob\esp\device-application\build/../main/main.c:832
0x400d435b: main_task at C:/Users/rob/esp/esp-idf/components/esp32/cpu_start.c:569