#4935: is_perfect_power leaks
----------------------+-----------------------------------------------------
Reporter: mabshoff | Owner: robertwb
Type: defect | Status: new
Priority: major | Milestone: sage-3.3
Component: memleak | Resolution:
Keywords: |
----------------------+-----------------------------------------------------
Comment (by mabshoff):
Replying to [comment:1 robertwb]:
> This would almost certainly be a memory leak in mpz_perfect_power_p, as
(in this case) (-a^3) is an integer, and the implementation of
is_perfect_power is a one-liner.
Well, I did run valgrind on it and nothing showed. I will valgrind some
pure C code to make 100% sure it isn't [gmp|mpir]. My guess would be that
Cython could be involved, but before I point the finger I should have some
data.
It seems like Cython is the new scape goat taking that role from Coercion
:p
Cheers,
Michael
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4935#comment:2>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---