zephyr.js icon indicating copy to clipboard operation
zephyr.js copied to clipboard

[tcp][qemu] CPU exception when sending data to TCP server by net-tools for a while

Open qiaojingx opened this issue 7 years ago • 2 comments

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

  1. Start net-tools terminal1: ./loop-socat.sh terminal2: sudo ./loop-slip-tap.sh
  2. make BOARD=qemu_x86 qemu JS=samples/TCPEchoServ4.js
  3. Send data to TCP server every 3s.

Actual Result

selection_013

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

qiaojingx avatar Sep 25 '17 06:09 qiaojingx

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: qemu_tcpech6 Additional info: The matched python server and client are here: https://github.com/01org/web-test-suite/tree/master/zephyr.js/tools/tests

qiaojingx avatar Dec 28 '17 06:12 qiaojingx

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 selection_009

TCPEchoServ6.js screenshot from 2018-02-06 14-10-33

TCPClient6.js screenshot from 2018-02-06 17-11-22

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

qiaojingx avatar Feb 07 '18 01:02 qiaojingx