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

Compilation fails lead to kernel restarting #22

Open
ioanaif opened this issue Feb 22, 2023 · 3 comments
Open

Compilation fails lead to kernel restarting #22

ioanaif opened this issue Feb 22, 2023 · 3 comments

Comments

@ioanaif
Copy link
Collaborator

ioanaif commented Feb 22, 2023

image

In the example above, the kernel simply restarts. Better recovery from exceptions / errors should be implemented so that the kernel doesn't automatically restart and lose its state.

@p4vook
Copy link

p4vook commented Nov 27, 2023

This is most definitely an upstream (clang-repl) bug

@vgvassilev
Copy link
Contributor

@ioanaif, can you still reproduce this?

@ioanaif
Copy link
Collaborator Author

ioanaif commented Nov 27, 2023

Yes. However, the idea here was not to flag an error; But the fact that the whole kernel restarts which means that the user loses the state of the kernel and needs to rerun all cells.

The idea behind this issue was to state that it might be a good policy to implement a wrapper which catches different types of compiler errors and prevents the kernel from restarting and instead it could output an informative error message.

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

No branches or pull requests

3 participants