-
Notifications
You must be signed in to change notification settings - Fork 89
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
anyhow::bail!("Maybe we should never reach this?")
: what if we did reach this?
#645
Comments
@maleadt and @staticfloat any thoughts? I think you helped me (i.e. told me ;) how to implement the signal handling stuff on Linux, and this seems like a corner case we aren't handling correctly yet? |
Okay so it looks like what's happening here is that Julia is dying with a signal (SIGINT) and when rust tries to kill itself with that same signal it doesn't die. I believe that's because of the I wish |
I ran into this when ctrlc ing a package compiler run Details
|
I have an MWE that reaches this line:
juliaup/src/bin/julialauncher.rs
Line 327 in 33d1fdb
It involves interrupting an IO hang due to
--warn-overwrite=yes
. This came up in JuliaDocs/Documenter.jl#2121. To reproduce, run the following script with IOCapture 0.2.2 (0.2.3 contains JuliaDocs/IOCapture.jl#15 which removes the hang):This must be run as a script, i.e.
julia --warn-overwrite=yes --project script.jl
(wherejulia
isjuliaup
). I have the correct manifest here: https://gist.github.com/mortenpi/6223ef6f3c02a1b9fbfe2530a0d884e3It should result in
This is on Linux. And it seems like the Julia version matters -- I get this with the official 1.9 binary, but not with 1.7 or 1.8. I didn't try 1.10/master.
The text was updated successfully, but these errors were encountered: