You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 17, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 17, 2026. It is now read-only.
Not usually necessary for Rust, but since we're doing a lot of unsafe stuff with pointers, we should have a valgrind test. Ideally, Travis would run it and fail the build if there are issues.
Well, I read this recent blog post on using Valgrind for this very purpose, and we are still advised to change the memory allocation system (using the nightly alloc_system feature). Other than that, this is a useful resource to whoever is attempting to resolve this issue.
I'd like to see how a compiler-based sanitizer works when interacting with code it didn't compile, i.e. what happens when we allocate something through libtensorflow.so and then don't release that.
I assume that the offsets in that stack trace could be traced back to a line of code via nm voodoo. Maybe they'll build that into the sanitizer at some point.
Activity
Enet4 commentedon Mar 14, 2017
Well, I read this recent blog post on using Valgrind for this very purpose, and we are still advised to change the memory allocation system (using the nightly
alloc_systemfeature). Other than that, this is a useful resource to whoever is attempting to resolve this issue.adamcrume commentedon Mar 15, 2017
We might copy the suggestion at rust-lang/rust#28224 (comment), which is to add a
nightlyfeature and add this to the code:Then we can build on the nightly channel with
--features=nightlyand run valgrind against that.adamcrume commentedon Mar 21, 2017
I'd like to see how a compiler-based sanitizer works when interacting with code it didn't compile, i.e. what happens when we allocate something through libtensorflow.so and then don't release that.
I assume that the offsets in that stack trace could be traced back to a line of code via
nmvoodoo. Maybe they'll build that into the sanitizer at some point.Add run-valgrind
Add run-valgrind
Add run-valgrind
Parq wide - Implement horizontal (tensorflow#71)