-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
julia-1.6.1 incompatible with (lib)curl-7.81.0 (seg fault) #35186
Comments
Huh, that's definitely unexpected. Curl has had a stable ABI for ages now. |
JuliaLang/Downloads.jl#172 (comment) seems to point at a solution. The issue is they had infinite recursion going on in one of their methods and it was fixed in a version of Download.jl that wasn't used in latest julia. |
Interesting. I'm still surprised at why that explanation/bug (infinite recursion) surfaces because of a version bump in curl. |
Alternatively, what if we set |
It would ideally be using system libraries. If we are going to do something, I'd rather simply fix the internal Download.jl in the julia package. |
If the problem really is fixed by the PR linked from the issue, it's a relatively simple patch to carry for julia: https://patch-diff.githubusercontent.com/raw/JuliaLang/Downloads.jl/pull/164.patch. I'm working on getting julia 1.7.1 packaged, but I'll try to take a look after. |
Issues become stale 90 days after last activity and are closed 14 days after that. If this issue is still relevant bump it or assign it. |
System
Void 5.15.12_1 x86_64 AuthenticAMD notuptodate rFFFFFFFFFF
julia-1.6.1_1
libcurl-7.81.0_1
Issue
libcurl 7.81.0 (recently updated by 9da559d (PR #34870)) seems to have updated its ABI or something, to the effect that the current version of Julia crashes with segfault when attempting to make network requests (e.g., downloading packages). This issue needs to be fixed by Julia devs (who currently claim that curl-7.81 is currently officially unsupported, but I'm sure they'll get to it eventually); I'm just filing the issue here to help other Julia users on Void keep track of this issue and progress on fixing it (which, I imagine, involves updating julia to some version past 1.7 after the devs fix it, or backporting a patch fix, or something like that).
Relevant discussions on Julia repos:
Steps to reproduce the behavior
Install
julia
andlibcurl
, then try installing something:julia -e 'import Pkg; Pkg.add("DataStructures")'
The text was updated successfully, but these errors were encountered: