Skip to content

Commit

Permalink
Simplify rust memcheck exceptions
Browse files Browse the repository at this point in the history
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
  • Loading branch information
fabbione committed Jun 17, 2021
1 parent 9634ced commit b5eff26
Showing 1 changed file with 40 additions and 72 deletions.
112 changes: 40 additions & 72 deletions build-aux/knet_valgrind_memcheck.supp
Original file line number Diff line number Diff line change
Expand Up @@ -728,76 +728,44 @@
fun:clone
}
{
For knet-test Rust API checker
Memcheck:Leak
match-leak-kinds: possible
fun:malloc
fun:_ZN5alloc5alloc5alloc17h88e9509a359ebb46E
fun:_ZN5alloc5alloc6Global10alloc_impl17heec423e473c84c77E
fun:_ZN63_$LT$alloc..alloc..Global$u20$as$u20$core..alloc..Allocator$GT$8allocate17hf695ca6d80143d73E
fun:_ZN9hashbrown3raw5alloc5inner8do_alloc17ha7cf839e4ae3b605E
fun:_ZN9hashbrown3raw22RawTableInner$LT$A$GT$17new_uninitialized17h2f8ed9ed97d99c59E
fun:_ZN9hashbrown3raw22RawTableInner$LT$A$GT$22fallible_with_capacity17h463cef2f6ab21358E
fun:_ZN9hashbrown3raw22RawTableInner$LT$A$GT$14prepare_resize17h167fb9f59c4c3769E
fun:_ZN9hashbrown3raw21RawTable$LT$T$C$A$GT$6resize17h220394e4ddf95cdaE
fun:_ZN9hashbrown3raw21RawTable$LT$T$C$A$GT$14reserve_rehash17hdb1acfe6616e110bE
fun:_ZN9hashbrown3raw21RawTable$LT$T$C$A$GT$7reserve17h6adf3b6cbced4ff9E
fun:_ZN9hashbrown3raw21RawTable$LT$T$C$A$GT$6insert17h04df28ed06102244E
}
{
For knet-test Rust API checker
Memcheck:Leak
match-leak-kinds: possible
fun:calloc
fun:UnknownInlinedFun
fun:allocate_dtv
fun:_dl_allocate_tls
fun:pthread_create
fun:_ZN3std3sys4unix6thread6Thread3new17hd28665ab47e6837bE
fun:_ZN3std6thread7Builder15spawn_unchecked17h68cc146c8b166f39E
fun:_ZN3std6thread7Builder5spawn17hcd1b38d2384c060eE
fun:_ZN3std6thread5spawn17h3b50460b84f53569E
fun:_ZN9knet_test10setup_node17h60e4258a4f1b5542E
fun:_ZN9knet_test4main17h93dc1eb52d872352E
fun:_ZN4core3ops8function6FnOnce9call_once17h992aa9d4709882fdE
fun:_ZN3std10sys_common9backtrace28__rust_begin_short_backtrace17hbe9958990c11224dE
fun:_ZN3std2rt10lang_start28_$u7b$$u7b$closure$u7d$$u7d$17h056af6a930923e23E
}
{
For knet-test Rust API checker
Memcheck:Leak
match-leak-kinds: possible
fun:calloc
fun:UnknownInlinedFun
fun:allocate_dtv
fun:_dl_allocate_tls
fun:pthread_create
fun:_ZN3std3sys4unix6thread6Thread3new17hd28665ab47e6837bE
fun:_ZN3std6thread7Builder15spawn_unchecked17h68cc146c8b166f39E
fun:_ZN3std6thread7Builder5spawn17hcd1b38d2384c060eE
fun:_ZN3std6thread5spawn17h3b50460b84f53569E
fun:_ZN9knet_test10setup_node17h60e4258a4f1b5542E
fun:_ZN9knet_test4main17h93dc1eb52d872352E
fun:_ZN4core3ops8function6FnOnce9call_once17h992aa9d4709882fdE
fun:_ZN3std10sys_common9backtrace28__rust_begin_short_backtrace17hbe9958990c11224dE
fun:_ZN3std2rt10lang_start28_$u7b$$u7b$closure$u7d$$u7d$17h056af6a930923e23E
}
{
For knet-test Rust API checker
Memcheck:Leak
match-leak-kinds: possible
fun:calloc
fun:UnknownInlinedFun
fun:allocate_dtv
fun:_dl_allocate_tls
fun:pthread_create
fun:_ZN3std3sys4unix6thread6Thread3new17hd28665ab47e6837bE
fun:_ZN3std6thread7Builder15spawn_unchecked17ha6d7eea36215382dE
fun:_ZN3std6thread7Builder5spawn17h26a34bb5ab6cd4f8E
fun:_ZN3std6thread5spawn17hefbe7bfaa873c479E
fun:_ZN9kronosnet7libknet10handle_new17h7ab5f5a37566b38eE
fun:_ZN9knet_test10setup_node17h60e4258a4f1b5542E
fun:_ZN9knet_test4main17h93dc1eb52d872352E
fun:_ZN4core3ops8function6FnOnce9call_once17h992aa9d4709882fdE
fun:_ZN3std10sys_common9backtrace28__rust_begin_short_backtrace17hbe9958990c11224dE
For knet-test Rust API checker
Memcheck:Leak
match-leak-kinds: possible
fun:malloc
...
fun:_ZN*
}
{
For knet-test Rust API checker
Memcheck:Leak
match-leak-kinds: possible
fun:calloc
fun:UnknownInlinedFun
fun:allocate_dtv
fun:_dl_allocate_tls
fun:pthread_create
...
fun:_ZN*
}
{
For knet-test Rust API checker
Memcheck:Leak
match-leak-kinds: possible
fun:calloc
fun:UnknownInlinedFun
fun:allocate_dtv
fun:_dl_allocate_tls
fun:pthread_create
...
fun:_ZN*
fun:main
}
{
For knet-test Rust API checker
Memcheck:Leak
match-leak-kinds: possible
fun:malloc
...
fun:_ZN*
fun:main
}

0 comments on commit b5eff26

Please sign in to comment.