-
-
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
CTRL-C in julia on windows 10 #50325
Comments
Does it happen on older releases as well? |
Hi! Yeah, I don't actually know if there ever was a version where ctrl-c worked reliably without crashes from time to time. I started with julia 0.9 iirc ;)
I'm using julia in the windows cmd prompt exclusively.
(edit: removed quote from original email)
|
There was no Julia 0.9, only 0.7/1.0, but I believe CTRL-C worked at some point, better, on some 1.0+, then got worse. My recollection is it started not working, i.e. being ignored, I don't recall a segfault implicated. |
Here's 0.7 with the minimal example:
No segfault, but it exits... Here's a little more involved example:
Also no segfault, but exits sometimes instead of returning to the prompt. This exiting is somewhat hard to reproduce though. So I suspect a race condition somewhere.. |
1.0.5:
I couldn't reproduce the second exit here in a couple of tries.. |
1.1.1:
Same for the second example |
1.2.0:
Same for the second example |
1.3.0:
Same for the second example |
1.4.2:
Same for the second example |
Ok, coming from the other side :) 1.9.0:
|
1.8.5:
So the segfault was introduced somewhere between 1.8.5 and 1.9.0 |
1.9.0-rc1 has it, too:
|
Related: #49541 |
This was getting current-task on the wrong thread, which resulted in the value being NULL and crashing. Fixes #50325
This was getting current-task on the wrong thread, which resulted in the value being NULL and crashing. Fixes #50325
This was getting current-task on the wrong thread, which resulted in the value being NULL and crashing. Fixes #50325
This was getting current-task on the wrong thread, which resulted in the value being NULL and crashing. Fixes #50325
Julia crashes quite often when interrupting loops with ctrl-c. This happens to me only in windows, linux is seemingly fine. The simplest NWE being this one:
But it also happens during more elaborate loops with plotting, optimizing a neural network and printing some terminal output. There's a ca. 50/50 chance of julia crashing. Here's one corresponding crash output:
If you need more debugging info, please let me know..
The text was updated successfully, but these errors were encountered: