Sage: Ticket #9445: GalRep.non_surjective_primes() returns unexpected errors
https://trac.sagemath.org/ticket/9445
<p>
It's possible these are related. In tests of 4.5.a4, the following doctests fail:
</p>
<p>
1) File "wrapper.pyx", line 171, in sage.libs.galrep.wrapper.<a class="missing wiki">GalRep?</a>.non_surjective_primes (sage/libs/galrep/wrapper.c:2602)
</p>
<blockquote>
<p>
<a class="missing wiki">ValueError?</a>: min and max must be <= 59
</p>
</blockquote>
<p>
2) File "<a class="missing wiki">/Users/Sage?</a>/sage-4.5.alpha4/devel/sage/sage/libs/galrep/wrapper.pyx", line 163:
</p>
<blockquote>
<p>
sage: galrep.<a class="missing wiki">GalRep?</a>().non_surjective_primes(-432,8208,7,59)
</p>
</blockquote>
<p>
Expected:
</p>
<blockquote>
<p>
[]
</p>
</blockquote>
<p>
Got:
</p>
<blockquote>
<p>
[2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59]
</p>
</blockquote>
<p>
Seems to be a failure on Mac OS X, 10.5.8, and has not been reported elsewhere.
</p>
en-usSagehttps://trac.sagemath.org/chrome/site/logo_sagemath_trac.png
https://trac.sagemath.org/ticket/9445
Trac 1.1.6drkirkbyTue, 13 Jul 2010 14:54:00 GMT
https://trac.sagemath.org/ticket/9445#comment:1
https://trac.sagemath.org/ticket/9445#comment:1
<p>
I did not notice this ticket, but this is giving a different error on a Solaris 10 system (t2.math). See <a class="closed ticket" href="https://trac.sagemath.org/ticket/9490" title="defect: Doctest failure of sage/sage/libs/galrep/wrapper.pyx on t2.math ... (closed: fixed)">#9490</a>. It's basically crashing:
</p>
<pre class="wiki">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
</pre><p>
I guess this was tested on Linux!
</p>
<p>
Dave
</p>
TicketrlmWed, 14 Jul 2010 18:32:33 GMTpriority changed
https://trac.sagemath.org/ticket/9445#comment:2
https://trac.sagemath.org/ticket/9445#comment:2
<ul>
<li><strong>priority</strong>
changed from <em>blocker</em> to <em>major</em>
</li>
</ul>
<p>
Remove blocker status since galrep was reverted.
</p>
TicketrlmWed, 10 Nov 2010 14:01:53 GMTstatus changed; resolution set
https://trac.sagemath.org/ticket/9445#comment:3
https://trac.sagemath.org/ticket/9445#comment:3
<ul>
<li><strong>status</strong>
changed from <em>new</em> to <em>closed</em>
</li>
<li><strong>resolution</strong>
set to <em>fixed</em>
</li>
</ul>
<p>
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...
</p>
Ticket