Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bad segfault when hitting control-c #710

Closed
williamstein opened this issue Sep 20, 2007 · 2 comments
Closed

bad segfault when hitting control-c #710

williamstein opened this issue Sep 20, 2007 · 2 comments

Comments

@williamstein
Copy link
Contributor

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

@williamstein

This comment has been minimized.

@williamstein
Copy link
Contributor Author

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
Projects
None yet
Development

No branches or pull requests

1 participant