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.

[ws] BUS FAULT occurs when connect and disconnect websocket server for several times. #1670

@qiaojingx

Description

@qiaojingx

Description

Try to connect and disconnect with websocket server for several times, BUS FAULT error will happen.

Test Code

WebSocketServer.js;

Steps to Reproduction

  1. make JS=samples/websockets/WebSocketServer.js BOARD=frdm_k64f
  2. cp outdir/frdm_k64f/zephyr.bin /media/<username>/MBED/
  3. node samples/websockets/NodeWebSocketClient.js
  4. CTRL+C to disconnect
  5. repeat steps 3 and 4(error happens after about 5 times).

Actual Result

selection_006

Expected Result

No error occurs.

Test Builds

Branch Commit Id Target Device Test Date Result
master dcf56a9 FRDM-K64F Nov 20, 2017 Fail

Additional Information

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions