Opened 12 years ago

Closed 12 years ago

#9175 closed defect (duplicate)

cygwin: pari's program segfaults on Cygwin

Reported by: was Owned by: tbd
Priority: major Milestone: sage-duplicate/invalid/wontfix
Component: porting: Cygwin Keywords:
Cc: Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges


sage -t  "devel/sage/sage/schemes/elliptic_curves/"
File "/home/wstein/sage-4.4.3/devel/sage/sage/schemes/elliptic_curves/", 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/", line 1231, in run_one_test
        self.run_one_example(test, example, filename, compileflags)
      File "/home/wstein/sage-4.4.3/local/bin/", line 38, in run_one_example
        OrigDocTestRunner.run_one_example(self, test, example, filename, compileflags)
      File "/home/wstein/sage-4.4.3/local/bin/", 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/", line 921, in cardinality
        N = self.cardinality_sea()
      File "/home/wstein/sage-4.4.3/local/lib/python/site-packages/sage/schemes/elliptic_curves/", 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/", line 48, in ellsea
        raise RuntimeError, "Error: '%s'"%N
    RuntimeError: Error: '  *** CM_CardEFp: bug in GP (Segmentation Fault), please report'
1 items had failures:

Change History (3)

comment:1 Changed 12 years ago by was

  • Summary changed from cygwin: pari's program just segfaults on Cygwin to cygwin: pari's program segfaults on Cygwin does not *always* fail. often it works:

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

comment:2 Changed 12 years ago by jdemeyer

  • Milestone changed from sage-4.5.2 to sage-duplicate/invalid/wontfix

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

comment:3 Changed 12 years ago by mpatel

  • Resolution set to duplicate
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.