valgrind: Add new suppressions for OCaml 4.14

(cherry picked from commit 1342626b33)
This commit is contained in:
Richard W.M. Jones
2022-07-01 15:22:46 +01:00
parent 5cc914bccc
commit dbdd015699

View File

@@ -172,6 +172,24 @@
fun:caml_main
}
# Valgrind bug affecting OCaml 4.14
# https://bugs.kde.org/show_bug.cgi?id=455711
{
caml_terminate_signals_uninitialized_sigaltstack
Memcheck:Param
sigaltstack(ss)
fun:sigaltstack
fun:caml_terminate_signals
}
{
caml_stop_stack_overflow_detection_uninitialized_sigaltstack
Memcheck:Param
sigaltstack(ss)
fun:sigaltstack
fun:caml_stop_stack_overflow_detection
}
# The OCaml PCRE.compile function calls pcre_compile2 which allocates
# memory. If these regexps are stored in a global variable then they
# can never be freed. This is not really a bug, so ignore it.