Bug#780186: GMP doesn't manage memory correctly
julien.puydt at laposte.net
Tue Mar 10 08:07:52 UTC 2015
the sagemath software is using MPIR, but we're trying to package it for
debian using the default lib for multi-precision arithmetic : GMP.
Sagemath uses mp_set_memory_functions to override the default memory
management and make it better for their purpose (trigger their error
handling), but there are places where gmp still calls its own functions!
And we have a failing test in their suites where an abort is triggered,
because _mpz_realloc in mpz/realloc.c is called instead of the
GMP shouldn't call its own realloc if a better one has been provided.
Snark on #debian-science
More information about the debian-science-maintainers