You are reading a single comment by @tve and its replies. Click here to read the full conversation.
  • So I tried v1.85 at 66fde09 and that doesn't crash. I will try the official v1.86 next.
    The stack trace of assert fails for multiple reasons on the esp8266. First of all, it writes to the JS console. That's over telnet for me, so will never get there. Even when switched to serial it doesn't work because it jams the characters into the device, which then needs the idle loop to get drained, which also doesn't happen 'cause the assertion causes a reboot before that. The reason it's all messed-up is that I hacked the reboot code to first drain the console but I think some limited buffer gets overrun. So multiple things to fix.

    The exception stack dump is esp8266 specific. The commit is https://github.com/espruino/Espruino/com­mit/30aae54c80b6958d22447fc76f6d15d4c9da­81c0 (probably some follow-up changes too).

About

Avatar for tve @tve started