Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

[tcp] General Protection Fault occurs when running TCPEchoServ6.js on arduino101 over ble for long time #1737

@qiaojingx

Description

@qiaojingx

Description

General Protection Fault occurs after running TCPEchoServ6.js for 1 hour on arduino101 over ble.

Test Code

TCPEchoServ6.js;

Steps to Reproduction

  1. Flash Arduino101 with test sample.
$ make JS=samples/TCPEchoServ6.js ROM=256
$ make dfu
  1. connect to PC via 6lowpan, add router and address.
modprobe bluetooth_6lowpan
echo 1 > /sys/kernel/debug/bluetooth/6lowpan_enable
echo "connect FF:EE:DD:CC:BB:AA 2" > /sys/kernel/debug/bluetooth/6lowpan_control
ip -6 route add 2001:db8::/64 dev bt0
ip -6 addr add 2001:db8::2 dev bt0
  1. Connect TCPEchoServ6.js using python client:
    python test-tcp6-client.py

Actual Result

General Protection Fault occurs after about 1hour.
selection_001

Expected Result

Server should always works fine.

Test Builds

Branch Commit Id Target Device Test Date Result
master b32969f Arduino 101 Dec 28, 2017 Fail

Additional Information

The matched python client is here: https://github.com/01org/web-test-suite/tree/master/zephyr.js/tools/tests

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions