-
Notifications
You must be signed in to change notification settings - Fork 59
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
[Bug] Memory leaks when running z_sub demo #188
Comments
attached log |
Thanks for reporting this! I have reproduced the Valgrind report on Ubuntu Aarch64; the summary is as follows:
By "possibly lost" Valgrind means memory to which there may or may not have been a pointer when the program exited. And by "still reachable" Valgrind means memory to which there definitely was a pointer when the program exited. Our numbers are not exactly the same but they're comparable. To determine whether the size of this leak grows with time, I ran Valgrind on the Valgrind shows that there are numerous — and likely distinct in origin — memory leaks at play here. I speculate that some of them may be caused by Of course, these "false" leaks should ideally be hunted down and fixed. We will be investigating them. |
All memory leaks have been fixed by: eclipse-zenoh/zenoh#846. |
Describe the bug
Running using valgrind - the result is :
==18814== possibly lost: 15,836 bytes in 99 blocks
==18814== still reachable: 460,256 bytes in 717 blocks
To reproduce
run with the following parameters :
valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes --verbose --log-file=[file name] ./z_sub
System info
redhat docker
The text was updated successfully, but these errors were encountered: