mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +01:00
405ab79e29
d7120f7f78cda5ed1ab91f83e9b546de68dbee47 valgrind : remove duplicate BCLog::Logger suppression (fanquake) 708e3c7e85a666d5b8da8638a819c0f3973fcca4 valgrind: remove rest_blockhash_by_height suppression (fanquake) Pull request description:708e3c7e85
: `Suppress rest_blockhash_by_height` should no longer be needed after #18785.d7120f7f78
: Removes a duplicate `Suppress BCLog::Logger::StartLogging()` suppression that was added in #17770. ACKs for top commit: MarcoFalke: ACK d7120f7f78cda5ed1ab91f83e9b546de68dbee47 practicalswift: ACK d7120f7f78cda5ed1ab91f83e9b546de68dbee47 -- patch looks correct and valgrind Travis job is happy Tree-SHA512: 45f5b9fa64bf83cada3cd9ad33c245f660376d5b29f51a2531d83133940090df945f5ef26c5847d6ec024ffab9528d55573c5cf9ca5e73795f9abfc971b3d29b
113 lines
3.2 KiB
Plaintext
113 lines
3.2 KiB
Plaintext
# Valgrind suppressions file for Dash.
|
|
#
|
|
# Includes known Valgrind warnings in our dependencies that cannot be fixed
|
|
# in-tree.
|
|
#
|
|
# Example use:
|
|
# $ valgrind --suppressions=contrib/valgrind.supp src/test/test_dash
|
|
# $ valgrind --suppressions=contrib/valgrind.supp --leak-check=full \
|
|
# --show-leak-kinds=all src/test/test_dash
|
|
#
|
|
# To create suppressions for found issues, use the --gen-suppressions=all option:
|
|
# $ valgrind --suppressions=contrib/valgrind.supp --leak-check=full \
|
|
# --show-leak-kinds=all --gen-suppressions=all --show-reachable=yes \
|
|
# --error-limit=no src/test/test_dash
|
|
#
|
|
# Note that suppressions may depend on OS and/or library versions.
|
|
{
|
|
Suppress libstdc++ warning - https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65434
|
|
Memcheck:Leak
|
|
match-leak-kinds: reachable
|
|
fun:malloc
|
|
obj:*/libstdc++.*
|
|
fun:call_init.part.0
|
|
fun:call_init
|
|
fun:_dl_init
|
|
obj:*/ld-*.so
|
|
}
|
|
{
|
|
Suppress libdb warning - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=662917
|
|
Memcheck:Cond
|
|
obj:*/libdb_cxx-*.so
|
|
fun:__log_put
|
|
obj:*/libdb_cxx-*.so
|
|
fun:__log_put_record
|
|
}
|
|
{
|
|
Suppress libdb warning
|
|
Memcheck:Param
|
|
pwrite64(buf)
|
|
fun:pwrite
|
|
fun:__os_io
|
|
obj:*/libdb_cxx-*.so
|
|
}
|
|
{
|
|
Suppress leveldb warning (leveldb::InitModule()) - https://github.com/google/leveldb/issues/113
|
|
Memcheck:Leak
|
|
match-leak-kinds: reachable
|
|
fun:_Znwm
|
|
fun:_ZN7leveldbL10InitModuleEv
|
|
}
|
|
{
|
|
Suppress leveldb warning (leveldb::Env::Default()) - https://github.com/google/leveldb/issues/113
|
|
Memcheck:Leak
|
|
match-leak-kinds: reachable
|
|
fun:_Znwm
|
|
...
|
|
fun:_ZN7leveldbL14InitDefaultEnvEv
|
|
}
|
|
{
|
|
Suppress wcsnrtombs glibc SSE4 warning (could be related: https://stroika.atlassian.net/browse/STK-626)
|
|
Memcheck:Addr16
|
|
fun:__wcsnlen_sse4_1
|
|
fun:wcsnrtombs
|
|
}
|
|
{
|
|
Suppress boost::filesystem warning (fixed in boost 1.70: https://github.com/boostorg/filesystem/commit/bbe9d1771e5d679b3f10c42a58fc81f7e8c024a9)
|
|
Memcheck:Cond
|
|
fun:_ZN5boost10filesystem6detail28directory_iterator_incrementERNS0_18directory_iteratorEPNS_6system10error_codeE
|
|
fun:_ZN5boost10filesystem6detail28directory_iterator_constructERNS0_18directory_iteratorERKNS0_4pathEPNS_6system10error_codeE
|
|
obj:*/libboost_filesystem.so.*
|
|
}
|
|
{
|
|
Suppress boost::filesystem warning (could be related: https://stackoverflow.com/questions/9830182/function-boostfilesystemcomplete-being-reported-as-possible-memory-leak-by-v)
|
|
Memcheck:Leak
|
|
match-leak-kinds: reachable
|
|
fun:_Znwm
|
|
fun:_ZN5boost10filesystem8absoluteERKNS0_4pathES3_
|
|
}
|
|
{
|
|
Suppress boost still reachable memory warning
|
|
Memcheck:Leak
|
|
match-leak-kinds: reachable
|
|
fun:_Znwm
|
|
...
|
|
fun:_M_construct_aux<char*>
|
|
fun:_M_construct<char*>
|
|
fun:basic_string
|
|
fun:path
|
|
}
|
|
{
|
|
Suppress LogInstance still reachable memory warning
|
|
Memcheck:Leak
|
|
match-leak-kinds: reachable
|
|
fun:_Znwm
|
|
fun:_Z11LogInstancev
|
|
}
|
|
{
|
|
Suppress secp256k1_context_create still reachable memory warning
|
|
Memcheck:Leak
|
|
match-leak-kinds: reachable
|
|
fun:malloc
|
|
...
|
|
fun:secp256k1_context_create
|
|
}
|
|
{
|
|
Suppress BCLog::Logger::StartLogging() still reachable memory warning
|
|
Memcheck:Leak
|
|
match-leak-kinds: reachable
|
|
fun:malloc
|
|
...
|
|
fun:_ZN5BCLog6Logger12StartLoggingEv
|
|
}
|