Skip to content
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

Endless loop when installing a package after CRTL-C in 1.7.3 #46246

Open
PallHaraldsson opened this issue Aug 3, 2022 · 2 comments
Open

Endless loop when installing a package after CRTL-C in 1.7.3 #46246

PallHaraldsson opened this issue Aug 3, 2022 · 2 comments

Comments

@PallHaraldsson
Copy link
Contributor

PallHaraldsson commented Aug 3, 2022

With newly installed 1.7.3 (I forget if I had added some packages, maybe, but at least now env is empty after starting install of CairoMakie, then broken state?).

While precompiling, I pressed CTRL-C, as I often do (but I'm usually on newer master). I believe it's supposed to be supported action.

This might be about that package, but seemingly Julia should still tolerate, I get pages of:

┌ Error: curl_multi_socket_action: 8
└ @ Downloads.Curl /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Downloads/src/Curl/utils.jl:29
┌ Error: curl_multi_socket_action: 8
└ @ Downloads.Curl /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Downloads/src/Curl/utils.jl:29
...
┌ Error: curl_multi_socket_action: 8
└ @ Downloads.Curl /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Downloads/src/Curl/utils.jl:29
^Z
[1]+  Stopped                 julia

There CTRL-C didn't work (but should have?). This is at least a bad user experience. CTRL-Z worked, and in a different tab/julia I get:

(@v1.7) pkg> st
      Status `~/.julia/environments/v1.7/Project.toml` (empty project)

should I be seeing CairoMakie (and its dependencies, and more if I actually had stuff installed) there? I'm a bit worried ./julia is broken, so I see if I get an answer here, and could resume the Julia that was installing.

[I was testing since I saw people complaining (on Reddit) about install of that package taking 5 min. which seemed way excessive, but that's not better... I do know of sysimage workaround for that...]

Note, I've been having packet loss issues, and internet connection dropped, for some days, in case relevant, but with a new cable since yesterday good conditions, just 1 packet lost 0.5%, and non pinging all last night after installing new cable.

I believe Julia, and all software (including curl or other dependencies), should (and usually can) tolerate packet loss, so I'm not sure the issue, but posting for completeness. Understandably, curl or other download software can't download on bad or no internet conditions (which I apparently no longer have), but should then error, not loop, and even if loop, Julia should take CTRL-C?

@DilumAluthge
Copy link
Member

I get pages of:

That is JuliaLang/Downloads.jl#189, presumably?

@PallHaraldsson
Copy link
Contributor Author

PallHaraldsson commented Aug 3, 2022

Yes, presumably, I see you had a fix: JuliaLang/Downloads.jl#190 1000 seems excessive, not sure I hit that mark, was this backported to 1.7.3?

I found, that issue may or may not be relevant, but that exact comment seems to be: JuliaLang/Downloads.jl#94 (comment)

Off-topic (not blaming the error, or internet issue (I had at least before) on the volcano that just erupted 10 min. ago in Iceland, nor on the earthquakes last few days). Video (hopefully/seemingly as touristy as eruption from last year, in similar place 30 km from were I live): https://www.mbl.is/frettir/innlent/2022/08/03/eldgos_hafid_a_reykjanesskaga/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants