-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Memory leak with ASAN and RUST_BACKTRACE=1 #59125
Comments
These do seem like legitimate leaks. I would guess that there needs to be a The |
Looks like fixes have already been posted upstream: Fix memory leak in build_address_map Maybe this issue should be moved to the libbacktrace repo. |
any timeline on when this will be fixed? (Our current solution for LeakSanitizer to ignore this issue is to have backtrace in a suppression file.) |
This is an attempt to work around rust-lang/rust#59125. Fixes rusqlite#729
This is an attempt to work around rust-lang/rust#59125. Fixes #729
This was fixed either by one of backtrace-rs upgrades or switch to gimli in #74682. |
This updates `cc`, `memchr` and `backtrace` to hopefully fix romanz#453. It looks like a memory leak was fixed in a new version but I'm not sure if relevant now. See rust-lang/rust#59125 (comment)
Hello,
There appears to be a memory leak when running a test that should panic with
RUST_BACKTRACE=1
. To reproduce, create a new library crate and modify thesrc/lib.rs
so that it contains:Then run the tests with:
This results in the following memory leaks:
My rustc version is
rustc 1.35.0-nightly (9d71ec135 2019-03-10)
. Please let me know if you need more information.The text was updated successfully, but these errors were encountered: