On Wednesday, June 20, 2012 3:40:24 PM UTC-4, Stephen Montgomery-Smith 
wrote:
>
> On 06/20/2012 02:30 PM, kcrisman wrote: 
> > 
> > 
> > On Thursday, April 19, 2012 3:25:44 PM UTC-4, leif wrote: 
> > 
> >     On 19 Apr., 05:33, Stephen Montgomery-Smith <step...@missouri.edu> 
> >     wrote: 
> >      > I think I have found the problem with sympow. It is nothing to do 
> >     with 
> >      > elliptic curves. It is simply a malloc/free error. 
> >      > 
> >      > In util.c there is a function free_data, which frees TACKS[0]. 
> >     TACKS[0] 
> >      > is meant to be allocated in disk.c, but there are circumstances 
> when 
> >      > TACKS[0] is not allocated. 
> >      > 
> >      > See the attached patch. 
> >      > 
> >      > I am not going to submit it as a trac ticket until I have heard 
> from 
> >      > others. In general, how to different OS's react to "free(NULL)"? 
> > 
> > 
> > 
> > I've created http://trac.sagemath.org/sage_trac/ticket/13144 for this. 
> > We could just apply it only on FreeBSD, for instance. 
>
> I had responses from the email you just cited, and so I went ahead and 
> created a ticket here: 
>
> http://trac.sagemath.org/sage_trac/ticket/12858 
>
> So your ticket is a duplicate.


Hmm, it would have been helpful to have noted that ticket before.  Since it 
wasn't mentioned with FreeBSD, I didn't find it.  But  I see why you didn't 
put it in that component now.
 

>
>
> I think this patch should be applied to all operating systems.  I think 
> it is just a matter of luck that other operating systems were not hit by 
> this bug. 

 
Which is why we want to have Sage build on as many as possible!  Great.

-- 
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
URL: http://www.sagemath.org

Reply via email to