-
-
Notifications
You must be signed in to change notification settings - Fork 523
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
Exit Sage ungracefully upon SIGQUIT #14029
Comments
This comment has been minimized.
This comment has been minimized.
Author: Jeroen Demeyer |
Attachment: 14029_SIGQUIT.patch.gz |
comment:7
This looks like a useful feature to me. The patch looks good and behaves as expected, and all doctests pass. The fact that Anyway, the issues in the above paragraph are only slightly annoying and should probably be addressed elsewhere than in this ticket (if at all), so no reason against a positive review. |
Reviewer: Peter Bruin |
comment:8
Replying to @pjbruin:
That's right indeed. It seems that, once GDB gets hold of a process, there is no easy way to get out. |
Merged: sage-5.13.beta2 |
When Sage is somehow totally stuck, one can still quit Sage using
SIGQUIT
(CTRL-\
on the keyboard). It would be useful if this would give a nice traceback. In other words: treatSIGQUIT
likeSIGSEGV
, except that it should always exit Sage, never raise an exception.Depends on #13908
Depends on #13996
CC: @nexttime @pjbruin
Component: c_lib
Author: Jeroen Demeyer
Reviewer: Peter Bruin
Merged: sage-5.13.beta2
Issue created by migration from https://trac.sagemath.org/ticket/14029
The text was updated successfully, but these errors were encountered: