Skip to content

bad segfault when hitting control-c #710

Closed

Description

@williamstein

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)



Component: basic arithmetic

Issue created by migration from https://trac.sagemath.org/ticket/710

Activity

  1. added this to the sage-2.8.5 milestone on Sep 20, 2007
  2. williamstein commented on Sep 20, 2007

    @williamstein
    Author
  3. williamstein commented on Sep 21, 2007

    @williamstein
    ContributorAuthor
    comment:2

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions