>
>
> > 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.
>
Can William or someone who gets this error (I don't!) test what
happens if you replace
G=E.change_ring(GF(p)).abelian_group()
by
N=E.change_ring(GF(p)).cardinality()
? The cardinality will be provided by pari, so if it is a pari
problem that should still cause a problem. The abelian group code is
mine, so I would expect that is more likely to be the issue (!) We
used to have a function abelian_group_prime_field() which only worked
over prime fields and used pari, which was deleted at some point, but
in fact that function just called a gp script of mine so was not
really inedpendent.
Secondly, add "debug=True" to the abelian_group() call and send me the
output.
John
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---