-
-
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
fatal: error thrown and no exception handler available. #34184
Comments
Could you share some example code that exhibits this? |
I tried to come up with a simple example with the overall structure of the bigger code that I will not share at this time yet (maybe in a month or so I'll put it on Zenodo with the corresponding article on arXiv), but those did not exhibit the problem. This is slowing that down as half of the time when I change parameter for a computation Julia crashes and it takes quite a bit of time to reload. PS. I verified with |
I just saw a similar symptom in some code I'm working on right now, but without using PackageCompiler. Here's a MWE based on my code: try
t = Base.Threads.@spawn begin
sleep(10)
42
end
fetch(t)
catch
wait(t)
end Run the try block and press Ctrl-C. In my case the thing I'm I'd expect the The error I get is:
with my |
Is |
Perhaps, though I wasn't sure whether it was kosher to have a |
It's thread-local currently; it should perhaps be task-local instead. But I think it's generally ok to put |
Idk if it's helpful without a minimal example, but I'm getting a similar crash whenever I kill a parallel simulation that uses
|
This is also happening to me when calling AWS.jl functions inside
|
This happens to me in GAP which I compiled with the option
If I now press
|
I'm getting this in a program employing Threads.@Spawn and
Channel
communication between the threads when ^C is pressed. I have anInterruptException
catch
block in the main thread, but when the program crashes, it never gets called (It shouldprintstyled("\rUser interrupt—finishing up.\n", bold=true, color=202)
if it were.)Normally things crash, when they do, after a single ^C press, but this time things hung and I had to press ^C a second time to cause the crash:
The text was updated successfully, but these errors were encountered: