> > > 3. A segfault on OS X 10.5 32-bit Intel (bsd.math.washington.edu): > > > sage -t -long "devel/sage/sage/schemes/elliptic_curves/ell_finite_field.py" > > A mysterious error (perphaps a memory error?) occurred, which may have > > crashed doctest. > > [22.7 s] > > > Doing this again with --verbose yields: > > > ---------------------------------------------- > > Trying: > > for p in prime_range(Integer(10000)): #long time > > (~20s)###line 1206:_sage_ >>> for p in prime_range(10000): > > #long time (~20s) > > if p != Integer(389): > > G=E.change_ring(GF(p)).abelian_group() > > Expecting nothing > > > error: no more memory > > System 5120k:5120k Appl 4681k/438k Malloc 4095k/0k Valloc 1024k/438k > > Pages 161/95 Regions 2:2 > > > halt 14 > > [33.3 s] > > exit code: 1024 > > ---------------------------------------------- > > > Having this fail on a box with 8GB RAM is unacceptable (even if it is > > 32-bit). > > This has been #3760 for a while. IIRC that doctest passes with Sage > build in 64 bit mode on OSX, but it would not surprised me if this is > pari related. >
Hi, as noted in the ticket #4179 which is referred to in ticket #3760, all goes well even on 32bit mac if you change the lineline 1013 from sage: for p in prime_range(10000): #long time (~20s) to sage: for p in prime_range(32768, 42768): #long time (~20s) I had poked a bit around some time ago and it does not seem to be an issue with not enough memory on a box (on my 2 GB MacIntel I could do it with even larger prime ranges). But things crash, as soon as the lower bound of the prime range is lower than 2^15 == 32768, so I opened ticket #4181 for precisely that issue. Hmmm ... maybe I should test my potential fix (code snippet) at #5278 on my own computer (and I do not need access to Fedora 64 bit), maybe it is somehow the same root cause, in light of the fix there is a slight chance (if this computation somehow does involve Singular resp. omalloc) ... but that has to wait till tomorrow. Cheers, gsw --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send 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 -~----------~----~----~----~------~----~------~--~---