Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cygwin: pari's sea.gp program segfaults on Cygwin #9175

Closed
williamstein opened this issue Jun 7, 2010 · 2 comments
Closed

cygwin: pari's sea.gp program segfaults on Cygwin #9175

williamstein opened this issue Jun 7, 2010 · 2 comments

Comments

@williamstein
Copy link
Contributor


sage -t  "devel/sage/sage/schemes/elliptic_curves/ell_finite_field.py"
**********************************************************************
File "/home/wstein/sage-4.4.3/devel/sage/sage/schemes/elliptic_curves/ell_finite_field.py", line 865:
    sage: EllipticCurve(GF(next_prime(10**20)),[1,2,3,4,5]).cardinality(algorithm='sea')
Exception raised:
    Traceback (most recent call last):
      File "/home/wstein/sage-4.4.3/local/bin/ncadoctest.py", line 1231, in run_one_test
        self.run_one_example(test, example, filename, compileflags)
      File "/home/wstein/sage-4.4.3/local/bin/sagedoctest.py", line 38, in run_one_example
        OrigDocTestRunner.run_one_example(self, test, example, filename, compileflags)
      File "/home/wstein/sage-4.4.3/local/bin/ncadoctest.py", line 1172, in run_one_example
        compileflags, 1) in test.globs
      File "<doctest __main__.example_13[12]>", line 1, in <module>
        EllipticCurve(GF(next_prime(Integer(10)**Integer(20))),[Integer(1),Integer(2),Integer(3),Integer(4),Integer(5)]).cardinality(algorithm='sea')###line 865:
    sage: EllipticCurve(GF(next_prime(10**20)),[1,2,3,4,5]).cardinality(algorithm='sea')
      File "/home/wstein/sage-4.4.3/local/lib/python/site-packages/sage/schemes/elliptic_curves/ell_finite_field.py", line 921, in cardinality
        N = self.cardinality_sea()
      File "/home/wstein/sage-4.4.3/local/lib/python/site-packages/sage/schemes/elliptic_curves/ell_finite_field.py", line 1155, in cardinality_sea
        return sea.ellsea(list(self.a_invariants()), p, early_abort=early_abort)
      File "/home/wstein/sage-4.4.3/local/lib/python/site-packages/sage/schemes/elliptic_curves/sea.py", line 48, in ellsea
        raise RuntimeError, "Error: '%s'"%N
    RuntimeError: Error: '  *** CM_CardEFp: bug in GP (Segmentation Fault), please report'
**********************************************************************
1 items had failures:

Component: porting: Cygwin

Issue created by migration from https://trac.sagemath.org/ticket/9175

@williamstein
Copy link
Contributor Author

comment:1

SEA.gp does not always fail. often it works:


sage: E = EllipticCurve('389a').change_ring(GF(next_prime(10^15)))
sage: E.cardinality_sea()
999999960319827

@williamstein williamstein changed the title cygwin: pari's sea.gp program just segfaults on Cygwin cygwin: pari's sea.gp program segfaults on Cygwin Jun 7, 2010
@jdemeyer
Copy link

jdemeyer commented Aug 1, 2010

comment:2

By #9343, the script sea.gp will be removed, so this will trivially be fixed.

@jdemeyer jdemeyer removed this from the sage-4.5.2 milestone Aug 1, 2010
@qed777 qed777 mannequin closed this as completed Sep 10, 2010
@qed777 qed777 mannequin added r: duplicate and removed p: major / 3 labels Sep 10, 2010
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants