Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

segmentation fault, wsConnectionPtr null pointer in onPongByMethod #432

Closed
nelyajizi opened this issue Sep 21, 2023 · 1 comment
Closed

Comments

@nelyajizi
Copy link

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

@cryptochassis
Copy link
Contributor

Yes, I am able to reproduce the bug now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants