/usr/share/sagemath/ext/valgrind/pyalloc.supp is in sagemath-common 8.1-7ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | # Read Misc/README.valgrind in the Python sourcs for a thorough explanation
#
# In short: We need these unless we compile python without pyalloc,
# but that would be prohibitively slow.
# Upstream has these commented out in python.supp:
{
ADDRESS_IN_RANGE/Invalid read of size 4
Memcheck:Addr4
fun:PyObject_Free
}
{
ADDRESS_IN_RANGE/Invalid read of size 4
Memcheck:Value4
fun:PyObject_Free
}
{
ADDRESS_IN_RANGE/Conditional jump or move depends on uninitialised value
Memcheck:Cond
fun:PyObject_Free
}
{
ADDRESS_IN_RANGE/Invalid read of size 4
Memcheck:Addr4
fun:PyObject_Realloc
}
{
ADDRESS_IN_RANGE/Invalid read of size 4
Memcheck:Value4
fun:PyObject_Realloc
}
{
ADDRESS_IN_RANGE/Conditional jump or move depends on uninitialised value
Memcheck:Cond
fun:PyObject_Realloc
}
# These also happen in Python 2.7.8, pretty sure they are just pyalloc
# artifacts as well:
{
Spurious "Use of uninitialised value of size 8"
Memcheck:Value8
fun:PyObject_Free
}
{
Spurious "Use of uninitialised value of size 8"
Memcheck:Value8
fun:PyObject_Realloc
}
|