-
-
Notifications
You must be signed in to change notification settings - Fork 529
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gmpz leak in gmp.pxi #566
Comments
comment:2
After the move we need to define a cleanup routine and call that routine from sage/all.py Cheers, Michael |
Attachment: gmp_leak.patch.gz |
comment:4
This actually crashes numerous doctests, e.g., modular/modsym/space.py. I've posted (to the official repo) this patch, but with a following patch
You'll see numerous memory allocation errors. |
comment:5
Fixed in attached |
Attachment: segfault-fix.patch.gz |
Hello,
every piece of code that includes gmp.pxi leaks at least one gmpz:
Valgrind says:
This leak is usually 8 bytes only, so this counts as noise.
Cheers,
Michael
Component: memleak
Issue created by migration from https://trac.sagemath.org/ticket/566
The text was updated successfully, but these errors were encountered: