zephyr.js
zephyr.js copied to clipboard
[tcp][qemu] CPU exception when sending data to TCP server by net-tools for a while
Description
When running TCPEchoServ4.js or TCPEchoServ6.js in qemu, then send data to it every 3s via net-tools, CPU exception 6
will occurs.
Test Code
TCPEchoServ4.js;TCPEchoServ6.js
Steps to Reproduction
- Start net-tools
terminal1:
./loop-socat.sh
terminal2:sudo ./loop-slip-tap.sh
-
make BOARD=qemu_x86 qemu JS=samples/TCPEchoServ4.js
- Send data to TCP server every 3s.
Actual Result
Expected Result
No error happens when ever connect TCP server.
Test Builds
Branch | Commit Id | Target Device | Test Date | Result |
---|---|---|---|---|
zjs-0.4 | b11dc55 | Linux | Sep 25, 2017 | Fail |
Additional Information
Re-test TCPEchoServ4.js, TCPEchoServ4_DHCP.js, TCPEchoServ6.js in qemu with latest commit b32969f in master for 4hours.
They all got CPU Page Fault
error:
Additional info:
The matched python server and client are here:
https://github.com/01org/web-test-suite/tree/master/zephyr.js/tools/tests
Re-test TCPClient6.js, TCPEchoServ4_DHCP.js, TCPEchoServ6.js in qemu with commit 4cf09c5 in zjs-0.5 branch for 4hours.
They all got CPU Page Fault
error:
TCPEchoServ4_DHCP.js
TCPEchoServ6.js
TCPClient6.js
Additional info: The matched python server and client are here: 01org/web-test-suite/zephyr.js/tools/tests/test-tcp6-server.py 01org/web-test-suite/zephyr.js/tools/tests/test-tcp6-client.py