Opened 11 years ago

Closed 11 years ago

#9445 closed defect (fixed)

GalRep.non_surjective_primes() returns unexpected errors

Reported by: justin Owned by: cremona
Priority: major Milestone: sage-4.6.1
Component: elliptic curves Keywords:
Cc: Merged in:
Authors: Justin Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

It's possible these are related. In tests of 4.5.a4, the following doctests fail:

1) File "wrapper.pyx", line 171, in sage.libs.galrep.wrapper.GalRep?.non_surjective_primes (sage/libs/galrep/wrapper.c:2602)

ValueError?: min and max must be <= 59

2) File "/Users/Sage?/sage-4.5.alpha4/devel/sage/sage/libs/galrep/wrapper.pyx", line 163:

sage: galrep.GalRep?().non_surjective_primes(-432,8208,7,59)

Expected:

[]

Got:

[2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59]

Seems to be a failure on Mac OS X, 10.5.8, and has not been reported elsewhere.

Change History (3)

comment:1 Changed 11 years ago by drkirkby

I did not notice this ticket, but this is giving a different error on a Solaris 10 system (t2.math). See #9490. It's basically crashing:

sage -t -long "devel/sage/sage/libs/galrep/wrapper.pyx"     


------------------------------------------------------------
Unhandled SIGBUS: A bus error occurred in Sage.
This probably occurred because a *compiled* component
of Sage has a bug in it (typically accessing invalid memory)
or is not properly wrapped with _sig_on, _sig_off.
You might want to run Sage under gdb with 'sage -gdb' to debug this.
Sage will now terminate (sorry).
------------------------------------------------------------


	 [18.0 s]
 
----------------------------------------------------------------------
The following tests failed:


	sage -t -long "devel/sage/sage/libs/galrep/wrapper.pyx"
Total time for all tests: 18.0 seconds

I guess this was tested on Linux!

Dave

comment:2 Changed 11 years ago by rlm

  • Priority changed from blocker to major

Remove blocker status since galrep was reverted.

comment:3 Changed 11 years ago by rlm

  • Resolution set to fixed
  • Status changed from new to closed

In fact, I'm closing the ticket since galrep was never added to Sage. This ticket will still be here to demonstrate the current problems...

Note: See TracTickets for help on using tickets.