[New-bugs-announce] [issue31494] Valgrind suppression file

Aaron Michaux report at bugs.python.org
Sat Sep 16 16:50:30 EDT 2017


New submission from Aaron Michaux:

The file "Misc/valgrind-python.supp" doesn't work on Linux x64, running Python3.5.2, when configured as such:

  --with-pydebug --with-valgrind --without-pymalloc

Running the interpreter

   echo "x = 1; print(x)" | valgrind --tool=memcheck --leak-check=full --track-origins=yes --verbose --log-file=valgrind.log --suppressions=Misc/valgrind-python.supp /path/to/built/python3

Gives the attached valgrind.log file. The tail of this file says:

==22828== 
==22828== LEAK SUMMARY:
==22828==    definitely lost: 0 bytes in 0 blocks
==22828==    indirectly lost: 0 bytes in 0 blocks
==22828==      possibly lost: 298,529 bytes in 690 blocks
==22828==    still reachable: 605,872 bytes in 4,874 blocks
==22828==         suppressed: 0 bytes in 0 blocks
==22828== Reachable blocks (those to which a pointer was found) are not shown.
==22828== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==22828== 
==22828== ERROR SUMMARY: 256 errors from 256 contexts (suppressed: 0 from 0)
==22828== ERROR SUMMARY: 256 errors from 256 contexts (suppressed: 0 from 0)

----------
components: Interpreter Core
files: valgrind.log
messages: 302353
nosy: Aaron Michaux
priority: normal
severity: normal
status: open
title: Valgrind suppression file
versions: Python 3.5
Added file: https://bugs.python.org/file47140/valgrind.log

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31494>
_______________________________________


More information about the New-bugs-announce mailing list