From: Philippe Waroquiers Date: Sat, 1 Sep 2018 16:51:21 +0000 (+0200) Subject: Change filter_memcheck_monitor as glibc 2.27 seems to keep some more memory X-Git-Tag: VALGRIND_3_14_0~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a214595daed7830a091dcd0f52c5b8073bfd04dd;p=thirdparty%2Fvalgrind.git Change filter_memcheck_monitor as glibc 2.27 seems to keep some more memory There is no real need to verify how much memory is still in use at exit, so filter this in filter_memcheck_monitor. Analysis by Dimitrije Nikolic --- diff --git a/gdbserver_tests/filter_memcheck_monitor b/gdbserver_tests/filter_memcheck_monitor index 431352b222..f5a2e51eee 100755 --- a/gdbserver_tests/filter_memcheck_monitor +++ b/gdbserver_tests/filter_memcheck_monitor @@ -31,4 +31,5 @@ sed -e '/Cannot access memory at address 0x......../d' \ -e '/^Missing separate debuginfo/d' \ -e '/^Try: zypper install -C/d' \ -e 's/Test 3: FAIL: expected si_code==2, not 128/Test 3: PASS/' \ + -e 's/in use at exit: [0-9][0-9]* bytes in [0-9][0-9]* blocks/in use at exit: ... bytes in ... blocks/' \ -e '/^ total heap usage: /d' diff --git a/gdbserver_tests/mcclean_after_fork.stderr.exp b/gdbserver_tests/mcclean_after_fork.stderr.exp index 3bb7944e1f..91071826bb 100644 --- a/gdbserver_tests/mcclean_after_fork.stderr.exp +++ b/gdbserver_tests/mcclean_after_fork.stderr.exp @@ -1,6 +1,6 @@ (action at startup) vgdb me ... HEAP SUMMARY: - in use at exit: 0 bytes in 0 blocks + in use at exit: ... bytes in ... blocks For a detailed leak analysis, rerun with: --leak-check=full For counts of detected and suppressed errors, rerun with: -v ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) diff --git a/gdbserver_tests/mcmain_pic.stderr.exp b/gdbserver_tests/mcmain_pic.stderr.exp index d82a7ee7cb..546bc37114 100644 --- a/gdbserver_tests/mcmain_pic.stderr.exp +++ b/gdbserver_tests/mcmain_pic.stderr.exp @@ -1,6 +1,6 @@ (action at startup) vgdb me ... HEAP SUMMARY: - in use at exit: 16 bytes in 1 blocks + in use at exit: ... bytes in ... blocks For a detailed leak analysis, rerun with: --leak-check=full For counts of detected and suppressed errors, rerun with: -v ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) diff --git a/gdbserver_tests/mcsignopass.stderr.exp b/gdbserver_tests/mcsignopass.stderr.exp index 7dbc9ee164..4055b97ec5 100644 --- a/gdbserver_tests/mcsignopass.stderr.exp +++ b/gdbserver_tests/mcsignopass.stderr.exp @@ -8,7 +8,7 @@ Test 2: PASS Test 3: PASS Test 4: PASS HEAP SUMMARY: - in use at exit: 0 bytes in 0 blocks + in use at exit: ... bytes in ... blocks For a detailed leak analysis, rerun with: --leak-check=full For counts of detected and suppressed errors, rerun with: -v ERROR SUMMARY: 11 errors from 1 contexts (suppressed: 0 from 0) diff --git a/gdbserver_tests/mcsigpass.stderr.exp b/gdbserver_tests/mcsigpass.stderr.exp index 7a754fd0cf..e35e38a4ab 100644 --- a/gdbserver_tests/mcsigpass.stderr.exp +++ b/gdbserver_tests/mcsigpass.stderr.exp @@ -8,7 +8,7 @@ Test 2: PASS Test 3: PASS Test 4: PASS HEAP SUMMARY: - in use at exit: 0 bytes in 0 blocks + in use at exit: ... bytes in ... blocks For a detailed leak analysis, rerun with: --leak-check=full For counts of detected and suppressed errors, rerun with: -v ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) diff --git a/gdbserver_tests/mcwatchpoints.stderr.exp b/gdbserver_tests/mcwatchpoints.stderr.exp index 319547c917..8d04da054c 100644 --- a/gdbserver_tests/mcwatchpoints.stderr.exp +++ b/gdbserver_tests/mcwatchpoints.stderr.exp @@ -15,7 +15,7 @@ before rewriting 8 value 0nde4ine8 value of k50[1000] p HEAP SUMMARY: - in use at exit: 0 bytes in 0 blocks + in use at exit: ... bytes in ... blocks For a detailed leak analysis, rerun with: --leak-check=full For counts of detected and suppressed errors, rerun with: -v ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)