Closed
Description
User @jumjum123 reported a problem in the gitter stream that has been able to be trivially recreated. He supplied an awesome demonstration video here.
http://jumspruino.jumware.com/problems/Problem_one.mp4
The symptom is that if one sets up a Web Server which has a bad JS statement in the processing of a URL request and then one connects a browser ... and THEN one closes the waiting socket connection, the ESP8266 asserts. Examining UART1 ... we find a clear exception message:
> net_ESP8266_BOARD_closeSocket, socket=1
Dump of espconn: 0x3fffa808
- type = TCP
Fatal exception 28(LoadProhibitedCause):
epc1=0x4022b417, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000004, depc=0x00000000
Which seems to show bad memory access during the socket close. Next steps are to drill down on this in detail and see what is going on.