-
Notifications
You must be signed in to change notification settings - Fork 209
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
Task scheduling can result in delays when synchronizing #1525
Comments
Then this is a different issue. Julia should always respond to CRTL-C, especially in the case of this issue. If it doesn't, attach GDB and see where it's stuck. |
It does respond to Ctrl-C, but the test should finish, right? |
Ah I misread. It cleanly reports a shutdown, right? Because if you mash CTRL-C you can get Julia killed uncleanly. What I'm looking for, is whether there's a task that just doesn't finish (in which case a CTRL-C should be cleanly intercepted, and result in an InterruptException), or whether a CUDA API call blocks (in which case a CTRL-C will likely result in a fatal error, like a segfault). In case of the former, you could try something like JuliaLang/julia#47933 to enumerate the outstanding tasks. In case of the latter, you can also use Either way, this is a different issue, unrelated to the task scheduling delay reported here. And it may still be a user error; if you create a deadlock on a task, that will result in the task never finishing and Julia soft-hanging. |
You were correct and this was not your issue, sorry for the confusion :) |
Should be fixed by #2025 |
See https://discourse.julialang.org/t/occasional-long-delays-in-cuda-jl/81545
The text was updated successfully, but these errors were encountered: