-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
REPL sometimes breaks after printing is interrupted #32903
Labels
kind:regression
Regression in behavior compared to a previous version
Comments
JeffBezanson
added
the
kind:regression
Regression in behavior compared to a previous version
label
Aug 15, 2019
I'm just grateful that (1) it actually interrupts the loop and (2) doesn't crash :) |
JeffBezanson
added a commit
that referenced
this issue
Aug 22, 2019
This was referenced Aug 25, 2019
KristofferC
pushed a commit
that referenced
this issue
Aug 26, 2019
jonathan-conder-sm
added a commit
to jonathan-conder-sm/julia
that referenced
this issue
Aug 9, 2023
I noticed this when debugging a bizarre issue, probably caused by some earlier undefined behaviour, and I haven't been able to come up with simple reproduction steps. It seems like `current_task().queue` is basically never set after `wait()`. Based on JuliaLang#32903 it seems like raising SIGINT at the right time might trigger this. In any case, if you manage to trigger it, `list_deletefirst!` will fail because it is out of scope. I double-checked this using `@eval Sockets list_deletefirst!`.
KristofferC
pushed a commit
that referenced
this issue
Aug 14, 2023
I noticed this when debugging a bizarre issue, probably caused by some earlier undefined behaviour, and I haven't been able to come up with simple reproduction steps. It seems like `current_task().queue` is basically never set after `wait()`. Based on #32903 it seems like raising SIGINT at the right time might trigger this. In any case, if you manage to trigger it, `list_deletefirst!` will fail because it is out of scope. I double-checked this using `@eval Sockets list_deletefirst!` with Julia 1.9.2 (and there's only been one change to `Sockets` since then).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On v1.2.0-rc3, I have issues interrupting the following with Ctrl+C:
Doing so often gives the following warning/error, after which the REPL becomes unusable:
Other times I get this error, after which the REPL still works but Ctrl+C no longer interrupts things:
Finally, sometimes interrupting works as expected (without any noticeable issues):
Here is my version info:
I could not reproduce on v1.1.1:
The text was updated successfully, but these errors were encountered: