Closed xiangjunhuang closed 8 years ago
I'm hitting the same assertion in a completely different application. jsvLockAgain seems to be called from jspeFunctionCall at /big/home/src/esp8266/Espruino/src/jsparse.c:478
the same error in esp32 espruino 2v08
the same error in esp32 espruino 2v08
Please share some details.
Hi, Assertion crash happens when I running a websocket client app. Same code is able to work OK on a 1v85 binary release.
Board: ESP8266-12 Firmware version: $ git rev-parse HEAD c13891f0218ceab9901ab01e357671c151958d12
I'm running a web socket client application using below code base, and using a PC python script to send periodic message to ESP8266 every second:
var WebSocket = require("ws");
print(process.memory());
var host = "192.168.1.5"; var ws = new WebSocket(host,{ port: 9090, protocolVersion: 13, origin: 'Espruino', keepAlive: 60 });
ws.on('open', function() { console.log("Connected to server."); });
var msg_cnt=0; ws.on('message', function(msg) { msg_cnt+=1; print("MSG: " + msg_cnt); });
ws.on('close', function(){ console.log("socket closed."); });
Output log on webIDE:
| |_ |_| | | -| . | | | | | | . | |___|| || ||||_|__| || http://espruino.com 1v85.226 Copyright 2016 G.Williams Espruino is Open Source. Our work is supported only by sales of official boards and donations: http://espruino.com/Donate Flash map 4MB:512/512, manuf 0xe0 chip 0x4016