On Aug 28, 3:41 am, Nils Bruin <nbr...@sfu.ca> wrote:
> On Aug 27, 5:16 pm, Juanjo <juanjose.garciarip...@googlemail.com>
> wrote:
>
> > I have just uploaded some patches to our source repositories that
> > allow ECL coexist with a GMP library which uses other memory
> > allocation functions. The changes are available in the CVS and git
> > repositorieshttp://ecls.sf.net/download.html
> > and will undergo automated testing during the following days.
>
> Wow, thank you very much! this is wonderful. The coredump doesn't
> happen anymore. There is one problem:
> In big_register0_get(void), a bignum gets initialized by a limb
> pointer to a preallocated array big_register_limbs.
> If GMP wants to reallocate the limbs of a register, it will be calling
> a free or a realloc on that memory area, which has not been allocated

I have changed the code so that the bignum registers are always
allocated using GMP's routines. The changes are now in the usual
repositories.

Juanjo
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to