Opened 7 years ago

Last modified 8 days ago

#20024 new defect

Fix infinite crash loop when quitting gp interpreter

Reported by: vdelecroix Owned by:
Priority: major Milestone:
Component: interfaces Keywords: pari, gp, console
Cc: jdemeyer, slelievre Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description (last modified by vdelecroix)

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

Change History (10)

comment:1 Changed 7 years ago by vdelecroix

Description: modified (diff)

comment:2 Changed 4 years ago by chapoton

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..

comment:3 Changed 2 years ago by slelievre

Cc: jdemeyer slelievre added
Keywords: pari gp console added
Milestone: sage-7.1sage-9.3
Priority: criticalmajor

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'.

Last edited 2 years ago by slelievre (previous) (diff)

comment:4 Changed 2 years ago by slelievre

Summary: can not quit gp interpreterFix infinite crash loop when quitting gp interpreter

comment:5 Changed 23 months ago by mkoeppe

Milestone: sage-9.3sage-9.4

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.

comment:6 Changed 18 months ago by mkoeppe

Milestone: sage-9.4sage-9.5

comment:7 Changed 14 months ago by mkoeppe

Milestone: sage-9.5sage-9.6

comment:8 Changed 9 months ago by mkoeppe

Milestone: sage-9.6sage-9.7

comment:9 Changed 5 months ago by mkoeppe

Milestone: sage-9.7sage-9.8

comment:10 Changed 8 days ago by mkoeppe

Milestone: sage-9.8
Note: See TracTickets for help on using tickets.