ccapi icon indicating copy to clipboard operation
ccapi copied to clipboard

segmentation fault, wsConnectionPtr null pointer in onPongByMethod

Open nelyajizi opened this issue 3 years ago • 1 comments

Describe the bug the subscription is working fine but after few seconds, I got a segmentation fault in onPongByMethod while he is trying to use wsConnectionPtr: this->lastPongTpByMethodByConnectionIdMap[wsConnection.id][method] = timeReceived; the bug appears with the version v6.4.4, when using the version v5.45.5, there is noticed no issue .. To Reproduce Steps to reproduce the behavior: use 6.4.4: I subscribed to Kucoin and Ascendex for marketData (depth=5) and trades in addition of sending a request within the same session once every n seconds... after the subscription started, wait few seconds and the segmentation fault happens..

Expected behavior no issue, receiving event normaly

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here (such as operating system, compiler used, git commit hash used, etc.). image

nelyajizi avatar Sep 21 '23 19:09 nelyajizi

Yes, I am able to reproduce the bug now.

cryptochassis avatar Sep 22 '23 19:09 cryptochassis