-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
handle signals gracefully? #192
Comments
Is it fixed by the latest commit? I see crashes everyday when I forgot to |
On Julia master, Downloads now has try/catch blocks in all callbacks, which might help, but I don't know if that fixes this issue or not. Have you tried using a nightly Julia? Let me know if it is better. |
Tried
|
@vtjnash, any idea how to handle this better? |
Same as JuliaLang/julia#34184 (comment) ? |
In theory, this means a task recently exited and nobody cared about the result (as of yet). In practice, it seems quite common. Does this mean Julia programs are not good about "task nursery" concepts? Or just that sync is delayed? It is unclear. |
Would be nice if this particular issue could be fixed. I was using the package manager through a slow and unrepsonsive internet connection and had to keep ctrl-c'ing and Julia kept crashing. |
This situation could presumably be greatly improved by JuliaLang/julia#49541 |
As reported in JuliaLang/Pkg.jl#3060, Downloads doesn't handle ctrl-C or other signals gracefully at all and tends to crash. Even if you luck out and it doesn't crash, it tends to end up in a corrupted state such that future downloads will fail. @vtjnash, any advice on how to handle signals more gracefully here?
The text was updated successfully, but these errors were encountered: