I’m trying to do a simple OTA update from MDash, using the sample js application. My esp32 device is online, and running a simple test app. I initiate the OTA update from MDash and it runs for a while, then the device core dumps. I can flash locally, and this has worked fine in the past. Here is what I see in the mos window when the OTA fails:
Oct 17 11:07:05.401] mg_rpc.c:376 '258' '' '' 'OTA.Write'
[Oct 17 11:07:05.401] mgos_rpc.c:365 Called 'OTA.Write', acl for it: '*'
[Oct 17 11:07:05.406] mg_rpc.c:293 OTA.Write via WSS_out 148.251.54.236:443
[Oct 17 11:07:05.423] mg_rpc.c:612 0x3ffc84b8 SEND FRAME (40): {"id":258,"src":"device5","result":null} -> 1
[Oct 17 11:07:05.430] mg_rpc.c:508 0x3ffc84b8 FRAME SENT (1)
[Oct 17 11:07:05.436] Guru Meditation Error: Core 0 panic'ed (Unhandled debug exception)
[Oct 17 11:07:05.442] Debug exception reason: Stack canary watchpoint triggered (LED13)
[Oct 17 11:07:05.448] Core 0 register dump:
[Oct 17 11:07:05.448] PC : 0x4008763e PS : 0x00050036 A0 : 0x40088f37 A1 : 0x3ffc8b00
[Oct 17 11:07:05.459] A2 : 0x00050023 A3 : 0x00000000 A4 : 0x00600000 A5 : 0x60033c4c
[Oct 17 11:07:05.465] A6 : 0x60033c68 A7 : 0x000003b1 A8 : 0x80084c91 A9 : 0x3ffb07c0
[Oct 17 11:07:05.476] A10 : 0x00000000 A11 : 0x00000001 A12 : 0x00000020 A13 : 0x3ffbd170
[Oct 17 11:07:05.481] A14 : 0x00000003 A15 : 0x00060823 SAR : 0x00000016 EXCCAUSE: 0x00000001
[Oct 17 11:07:05.486] EXCVADDR: 0x00000000 LBEG : 0x4000c2e0 LEND : 0x4000c2f6 LCOUNT : 0xffffffff
[Oct 17 11:07:05.498]
[Oct 17 11:07:05.498] Backtrace: 0x4008763e 0x40088f34 0x40088eea
[Oct 17 11:07:05.498]
[Oct 17 11:07:05.503] --- BEGIN CORE DUMP ---
[Oct 17 11:07:05.503] mos: catching core dump
[Oct 17 11:07:08.359] ..............
[Oct 17 11:07:45.514] ---- END CORE DUMP ----