Understanding and solving errors in monitor
Posted: Mon Aug 17, 2020 12:07 pm
Hello
I got this error on monitor (more details bellow)
Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled.
Core 0 register dump:
PC : 0x400d1480 PS : 0x00060a30 A0 : 0x800d1962 A1 : 0x3ffbb820
A2 : 0x3ffc8614 A3 : 0x00000000 A4 : 0x000007ee A5 : 0x00000000
A6 : 0x3ffc8b04 A7 : 0x00000000 A8 : 0x000007ee A9 : 0x3ffbb7d0
A10 : 0x00000006 A11 : 0x3ffbb9f4 A12 : 0x0000002c A13 : 0x3ffbb85c
A14 : 0x40130100 A15 : 0x000007ee SAR : 0x00000004 EXCCAUSE: 0x0000001c
EXCVADDR: 0x000007ee LBEG : 0x400014fd LEND : 0x4000150d LCOUNT : 0xffffffff
The documentations says it is due to a failed attemp to read memory, but also says:
I'm working on a sniffer, to keep it simple I initialize Wifi, then Promiscuous mode, then CSI gatthering. When I set the callback for CSI events I create a queue (using xQueueCreate/xQueueSendFromISR/xQueueReceive) with received CSI information.
The ESP response is not very stable as sometimes it does what it is supposed to do (just print the CSI information) but sometimes the it reboots with the error above. So my guess is that sometimes the queue has nothing to show, I don't get it
I got this error on monitor (more details bellow)
Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled.
Core 0 register dump:
PC : 0x400d1480 PS : 0x00060a30 A0 : 0x800d1962 A1 : 0x3ffbb820
A2 : 0x3ffc8614 A3 : 0x00000000 A4 : 0x000007ee A5 : 0x00000000
A6 : 0x3ffc8b04 A7 : 0x00000000 A8 : 0x000007ee A9 : 0x3ffbb7d0
A10 : 0x00000006 A11 : 0x3ffbb9f4 A12 : 0x0000002c A13 : 0x3ffbb85c
A14 : 0x40130100 A15 : 0x000007ee SAR : 0x00000004 EXCCAUSE: 0x0000001c
EXCVADDR: 0x000007ee LBEG : 0x400014fd LEND : 0x4000150d LCOUNT : 0xffffffff
The documentations says it is due to a failed attemp to read memory, but also says:
Okay, I got 0x000007ee so for me it is close to zero (is it?)If this address is zero, it usually means that application attempted to dereference a NULL pointer
I'm working on a sniffer, to keep it simple I initialize Wifi, then Promiscuous mode, then CSI gatthering. When I set the callback for CSI events I create a queue (using xQueueCreate/xQueueSendFromISR/xQueueReceive) with received CSI information.
The ESP response is not very stable as sometimes it does what it is supposed to do (just print the CSI information) but sometimes the it reboots with the error above. So my guess is that sometimes the queue has nothing to show, I don't get it