#15671: sig_error() without sig_on()
------------------------+----------------------------
Reporter: zimmerma | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-6.1
Component: cython | Keywords:
Merged in: | Authors:
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies:
Stopgaps: |
------------------------+----------------------------
with Sage 6.0 and the following program:
{{{
def search(p):
R = RealField(p)
m = 2^(2*p)+2^(p+1)-1
l = []
for a in range(2^p):
for b in range(2^p):
for e in range(2):
l.append(a*b*2^e)
l = uniq(l)
l.sort()
n = len(l)
i = j = 0
while i < n and l[i]-l[j] < m:
i += 1
sol = 0
while i < n:
if l[i]-l[j]==m:
sol += 1
j += 1
while i < n and l[i]-l[j] < m:
i += 1
print "sol=", sol
}}}
I get:
{{{
sage: search(15)
sig_error() without sig_on()
------------------------------------------------------------------------
------------------------------------------------------------------------
Attaching gdb to process id 404.
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/15671>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.