Crash/Exception Debugging
Posted: Thu Sep 10, 2015 7:44 am
I would like guidance on how to read crash data and debug exceptions.
Is there a method of correlating memory addresses reported in the crash with lines of code in the sketch? Is there a way of obtaining a memory load/link symbol map?
Example of a recent crash:
Exception (0):
epc1=0x90001adf epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000
ctx: sys
sp: 3ffffde0 end: 3fffffb0 offset: 01a0
>>>stack>>>
3fffff80: 3fffdcb0 3ffeb828 3ffebd50 60000600
3fffff90: 40210cea 3fffdab0 3fffdab0 00000000
3fffffa0: 40000f49 40000f49 3fffdab0 40000f49
<<<stack<<<
ets Jan 8 2013,rst cause:2, boot mode:(3,7)
load 0x4010f000, len 1264, room 16
Pointers to documentation will be appreciated.
Thanks.
Is there a method of correlating memory addresses reported in the crash with lines of code in the sketch? Is there a way of obtaining a memory load/link symbol map?
Example of a recent crash:
Exception (0):
epc1=0x90001adf epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000
ctx: sys
sp: 3ffffde0 end: 3fffffb0 offset: 01a0
>>>stack>>>
3fffff80: 3fffdcb0 3ffeb828 3ffebd50 60000600
3fffff90: 40210cea 3fffdab0 3fffdab0 00000000
3fffffa0: 40000f49 40000f49 3fffdab0 40000f49
<<<stack<<<
ets Jan 8 2013,rst cause:2, boot mode:(3,7)
load 0x4010f000, len 1264, room 16
Pointers to documentation will be appreciated.
Thanks.