Opened 13 years ago

Closed 13 years ago

#710 closed defect (fixed)

bad segfault when hitting control-c

Reported by: was Owned by: somebody
Priority: major Milestone: sage-2.8.5
Component: basic arithmetic Keywords:
Cc: Merged in:
Authors: Reviewers:
Report Upstream: Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description (last modified by was)

Try this:

sage: n=factor(2^997-1)
[hit control c]
---------------------------------------------------------------------------
<type 'exceptions.KeyboardInterrupt'>     Traceback (most recent call last)

sage: gp.eval('factor(2^997-1)')
[hit control c]
Segmentation fault (core dumped)

... Do the same with Magma:

sage: magma.eval('Factorization(2^997-1)')
Segmentation fault (core dumped)



Change History (2)

comment:1 Changed 13 years ago by was

  • Description modified (diff)

comment:2 Changed 13 years ago by was

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

This is now fixed for the next SAGE release by Stein and Tornaria. The fixes involved fixing some mistakes in gen.pyx a rewriting interrupt.c/h somewhat.

Note: See TracTickets for help on using tickets.