I ask because my app does dynamic memory allocation to parse incoming data, It receives quite a bit of packets. Randomly I'll get a Fatal Exception which occurs in the pvPortRealloc method. I don't have any code that uses realloc.
My printf traces are:
Disposing Grid
Avaliable - Attepting To Send: 61 bytes - Fatal exception (28):
epc1=0x4010168a
epc2=0x00000000
epc3=0x4010179e
epcvaddr=0x00000000
depc=0x00000000
rtn_add=0x40101511
ets Jan 8 2013,rst cause:2, boot mode:(3,6)
Its attempting to send 61 bytes via espconn_send(); then I get the fatal exception:
epc1 is in the pvPortRealloc Method.
epc3 is in the vPortExitCritical Method.
In previous cases, I've fixed fatal exceptions by reusing memory using memset to clear it, instead of free and malloc'ing a new pointer.Statistics: Posted by EliteScientist — Wed Nov 25, 2015 4:44 pm
]]>