Skip to content

Instantly share code, notes, and snippets.

@brson
Last active May 17, 2020 22:09
Show Gist options
  • Save brson/8b2ab3f286a0a8b7f92b350830711d7f to your computer and use it in GitHub Desktop.
Save brson/8b2ab3f286a0a8b7f92b350830711d7f to your computer and use it in GitHub Desktop.
ubuntu@ip-172-30-0-140:~/tikv4$ rustc -V
rustc 1.44.0-nightly (b2e36e6c2 2020-04-22)
ubuntu@ip-172-30-0-140:~/tikv4$ RUSTFLAGS="-Zsanitizer=address" cargo test -p tikv_util --target=x86_64-unknown-linux-gnu -- batch_rec
Finished test [unoptimized + debuginfo] target(s) in 1.30s
Running target/x86_64-unknown-linux-gnu/debug/deps/tikv_util-691515b7c083429f
running 1 test
test mpsc::batch::tests::test_batch_receiver ... ok
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 141 filtered out
=================================================================
==25246==ERROR: LeakSanitizer: detected memory leaks
Indirect leak of 512 byte(s) in 1 object(s) allocated from:
#0 0x55ced8ac5d87 (/home/ubuntu/tikv4/target/x86_64-unknown-linux-gnu/debug/deps/tikv_util-691515b7c083429f+0x324d87)
#1 0x55cedb336f32 (/home/ubuntu/tikv4/target/x86_64-unknown-linux-gnu/debug/deps/tikv_util-691515b7c083429f+0x2b95f32)
#2 0x55cedb3378c5 (/home/ubuntu/tikv4/target/x86_64-unknown-linux-gnu/debug/deps/tikv_util-691515b7c083429f+0x2b968c5)
#3 0x55cedb3372e5 (/home/ubuntu/tikv4/target/x86_64-unknown-linux-gnu/debug/deps/tikv_util-691515b7c083429f+0x2b962e5)
#4 0x55ced8b2759b (/home/ubuntu/tikv4/target/x86_64-unknown-linux-gnu/debug/deps/tikv_util-691515b7c083429f+0x38659b)
#5 0x55ced8b25faa (/home/ubuntu/tikv4/target/x86_64-unknown-linux-gnu/debug/deps/tikv_util-691515b7c083429f+0x384faa)
#6 0x55ced950fa40 (/home/ubuntu/tikv4/target/x86_64-unknown-linux-gnu/debug/deps/tikv_util-691515b7c083429f+0xd6ea40)
#7 0x55ced9500144 (/home/ubuntu/tikv4/target/x86_64-unknown-linux-gnu/debug/deps/tikv_util-691515b7c083429f+0xd5f144)
#8 0x55ced8c79fd4 (/home/ubuntu/tikv4/target/x86_64-unknown-linux-gnu/debug/deps/tikv_util-691515b7c083429f+0x4d8fd4)
#9 0x55ced8efc403 (/home/ubuntu/tikv4/target/x86_64-unknown-linux-gnu/debug/deps/tikv_util-691515b7c083429f+0x75b403)
#10 0x55ced8bdd2a9 (/home/ubuntu/tikv4/target/x86_64-unknown-linux-gnu/debug/deps/tikv_util-691515b7c083429f+0x43c2a9)
#11 0x55cedb3760b5 (/home/ubuntu/tikv4/target/x86_64-unknown-linux-gnu/debug/deps/tikv_util-691515b7c083429f+0x2bd50b5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment