On Aug 29, 2007, at 10:22 AM, Joel B. Mohler wrote:

>
> On Wednesday 29 August 2007 07:19, mabshoff wrote:
>> ==22784== 791,674 bytes in 65,421 blocks are definitely lost in loss
>> record 2,472 of 2,481
>> ==22784==    at 0x4A05CB9: operator new[](unsigned long)
>> (vg_replace_malloc.c:199)
>> ==22784==    by 0x9280247: ZZ_pX_repr (in /tmp/Work2/ 
>> sage-2.8.3.alpha2/
>> local/lib/libcsage.so.0.0.0)
>
> I think you also have a similar memory leak in number fields.  I'm  
> going to
> fix that one as soon as the c_lib gets integrated in to the main  
> tree and the
> new code for the sage c_lib gets added which provides support for  
> the proper
> fix.
>
> The trac for the c_lib integration is
> http://trac.sagemath.org/sage_trac/ticket/411
> Perhaps this should be in milestone 2.8.3

I hope that the #411 patch can get included soon... this has been  
kicking around for a while. I agree with mabshoff though, probably  
2.8.3 is too soon.

I installed scons optional package, applied joel's patch, ran sage - 
ba, compiles fine and all tests pass, except:

sage -t  devel/sage-main/sage/rings/polynomial/ 
multi_polynomial_libsingular.pyx

------------------------------------------------------------
Unhandled SIGBUS: A bus error occured in SAGE.
This probably occured because a *compiled* component
of SAGE has a bug in it (typically accessing invalid memory)
or is not properly wrapped with _sig_on, _sig_off.
You might want to run SAGE under gdb with 'sage -gdb' to debug this.
SAGE will now terminate (sorry).
------------------------------------------------------------

(This is mac OS 10.4.10, core duo.)

Also I noticed now I have
* SAGE_ROOT/devel/c_lib
* SAGE_ROOT/devel/sage/c_lib (which I guess is now the active one?)
and still a lot of that code is also in
* SAGE_ROOT/devel/sage/sage/ext

david


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to