Skip to content
New issue

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

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

Already on GitHub? # to your account

Xeus crashes on SIGINT #272

Open
rapgenic opened this issue Feb 6, 2021 · 1 comment
Open

Xeus crashes on SIGINT #272

rapgenic opened this issue Feb 6, 2021 · 1 comment

Comments

@rapgenic
Copy link

rapgenic commented Feb 6, 2021

Jupyter protocol specifies SIGINT as one of the two methods for interrupting the kernel.

However when the interpreter itself does not register a signal handler, and a interrupt request is performed with the SIGINT (for example clicking on the stop button), the kernel stops on zmq::poll function in xserver_zmq.cpp (line 116), that throws an exception due to the received signal.

This causes the kernel to stop and jupyter to show an error message.

I have tested this in xeus-python (binder instance) as well, and has the same behaviour.

rapgenic added a commit to jupyter-xeus/xeus-octave that referenced this issue Feb 6, 2021
When no cell is running the SIGINT causes xeus to stop see
jupyter-xeus/xeus#272

Close: #25
@SylvainCorlay
Copy link
Member

Thanks for the report. This is definitely in scope for core xeus.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants