aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/valgrind
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2015-03-30 17:02:05 +0200
committerSverker Eriksson <[email protected]>2015-03-30 17:05:23 +0200
commitda14897a6363a5c39180e8e3edf0c1c8336cfeb5 (patch)
treea9de8df74466fe9c33ab78100b2aaad4ff70765f /erts/emulator/valgrind
parentaa13ab92a4bc99bffdb1576690d1b62be8d34e4a (diff)
downloadotp-da14897a6363a5c39180e8e3edf0c1c8336cfeb5.tar.gz
otp-da14897a6363a5c39180e8e3edf0c1c8336cfeb5.tar.bz2
otp-da14897a6363a5c39180e8e3edf0c1c8336cfeb5.zip
erts: Suppress valgrind for bif_SUITE:erlang_halt
which does a deliberate deref of null pointer which is caught by a SEGV signal handler to resume crash dumping.
Diffstat (limited to 'erts/emulator/valgrind')
-rw-r--r--erts/emulator/valgrind/suppress.patched.3.6.012
-rw-r--r--erts/emulator/valgrind/suppress.standard12
2 files changed, 24 insertions, 0 deletions
diff --git a/erts/emulator/valgrind/suppress.patched.3.6.0 b/erts/emulator/valgrind/suppress.patched.3.6.0
index f79e3ff634..16cecf2dba 100644
--- a/erts/emulator/valgrind/suppress.patched.3.6.0
+++ b/erts/emulator/valgrind/suppress.patched.3.6.0
@@ -362,3 +362,15 @@ fun:async_main
...
}
+{
+Deliberate invalid read by test case bif_SUITE:erlang_halt
+Memcheck:Addr4
+...
+fun:erts_print_scheduler_info
+...
+fun:erl_exit
+fun:broken_halt_test
+fun:erts_debug_set_internal_state_2
+fun:process_main
+}
+
diff --git a/erts/emulator/valgrind/suppress.standard b/erts/emulator/valgrind/suppress.standard
index b3c77119fb..a1f3f82364 100644
--- a/erts/emulator/valgrind/suppress.standard
+++ b/erts/emulator/valgrind/suppress.standard
@@ -330,3 +330,15 @@ fun:async_main
...
}
+{
+Deliberate invalid read by test case bif_SUITE:erlang_halt
+Memcheck:Addr4
+...
+fun:erts_print_scheduler_info
+...
+fun:erl_exit
+fun:broken_halt_test
+fun:erts_debug_set_internal_state_2
+fun:process_main
+}
+