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

Fix infinite crash loop when quitting gp interpreter #20024

Open
videlec opened this issue Feb 7, 2016 · 5 comments
Open

Fix infinite crash loop when quitting gp interpreter #20024

videlec opened this issue Feb 7, 2016 · 5 comments

Comments

@videlec
Copy link
Contributor

videlec commented Feb 7, 2016

sage: %gp
pari: quit
PARI/GP interpreter crashed -- automatically restarting.
PARI/GP interpreter crashed -- automatically restarting.
PARI/GP interpreter crashed -- automatically restarting.
PARI/GP interpreter crashed -- automatically restarting.
...

Initially reported in this question on ask.sagemath.org

CC: @jdemeyer @slel

Component: interfaces

Keywords: pari, gp, console

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

@videlec videlec added this to the sage-7.1 milestone Feb 7, 2016
@videlec

This comment has been minimized.

@fchapoton
Copy link
Contributor

comment:2

Part of this is normal. Quitting works when using

sage: gp.console()

Whereas %gp is an interactive access to the unique pari/gp session used by sage, which is automatically restarted when crashed.

What is not normal is the infinite restarting loop..

@slel
Copy link
Member

slel commented Oct 8, 2020

Changed keywords from none to pari, gp, console

@slel
Copy link
Member

slel commented Oct 8, 2020

comment:3

One way to gracefully exit the gp console seems to be using Ctrl + D.

sage: %gp

  --> Switching to PARI/GP interpreter <--

pari: <Ctrl + D>

  --> Exiting back to Sage <--

sage:

Should this be documented somewhere?

Can we prevent the infinite loop and make
quit behave the same as Ctrl + D?

Demoting from 'critical' to 'major'.

@slel slel modified the milestones: sage-7.1, sage-9.3 Oct 8, 2020
@slel slel changed the title can not quit gp interpreter Fix infinite crash loop when quitting gp interpreter Oct 8, 2020
@mkoeppe
Copy link
Member

mkoeppe commented Mar 24, 2021

comment:5

Sage development has entered the release candidate phase for 9.3. Setting a new milestone for this ticket based on a cursory review of ticket status, priority, and last modification date.

@mkoeppe mkoeppe modified the milestones: sage-9.3, sage-9.4 Mar 24, 2021
@mkoeppe mkoeppe modified the milestones: sage-9.4, sage-9.5 Aug 9, 2021
@mkoeppe mkoeppe modified the milestones: sage-9.5, sage-9.6 Dec 18, 2021
@mkoeppe mkoeppe modified the milestones: sage-9.6, sage-9.7 May 3, 2022
@mkoeppe mkoeppe modified the milestones: sage-9.7, sage-9.8 Sep 19, 2022
@mkoeppe mkoeppe removed this from the sage-9.8 milestone Jan 29, 2023
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

4 participants