-
-
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 Matrix_integer_dense__solve_iml (from matrix/strassen.pyx) #530
Comments
comment:3
The problem is at:
Cheers, Michael |
comment:4
But mp_D is also cleared:
Is this a reference counting issue maybe? Cheers, Michael |
comment:5
Consider these two closely related examples: This one leaks:
While this one doesn't:
|
comment:6
Also:
doesn't leak either. |
Attachment: trac_530.patch.gz |
comment:8
The attached patch fixes at least one possible leak |
comment:9
This patch works fine and solves a potential leak for degenerate matrices, but doesn't look like it solves the problem. |
comment:10
Yes, it does solve the problem. Before (this is on 2.11)
After:
The now no longer missing 24 bytes in three blocks is exactly what malb fixed. w00t Enthusiastic positive review. Cheers, Michael |
comment:11
Merged in Sage 3.0.alpha2 |
comment:12
I stand happily corrected. |
This is from Sage 2.8.3rc3:
Cheers,
Michael
Component: memleak
Issue created by migration from https://trac.sagemath.org/ticket/530
The text was updated successfully, but these errors were encountered: