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
This commit is contained in:
Philippe Waroquiers 2018-09-01 18:51:21 +02:00
parent fee5954ae0
commit a214595dae
6 changed files with 6 additions and 5 deletions

View File

@ -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'

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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)