Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] julia-1.6.1 incompatible with (lib)curl-7.81.0 (seg fault)
@ 2022-01-22 21:30 kwshi
  2022-01-22 21:55 ` ericonr
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: kwshi @ 2022-01-22 21:30 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 4034 bytes --]

New issue by kwshi on void-packages repository

https://github.com/void-linux/void-packages/issues/35186

Description:
<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
### System

* xuname:  
  `Void 5.15.12_1 x86_64 AuthenticAMD notuptodate rFFFFFFFFFF`
* package:  
  `julia-1.6.1_1` `libcurl-7.81.0_1`

### Issue

libcurl 7.81.0 (recently updated by 9da559d50e3e0dc5cf81c335f94713a1c3ed6160 (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:
- https://github.com/JuliaLang/julia/issues/43703
- https://github.com/JuliaLang/julia/issues/43682

### Steps to reproduce the behavior

Install `julia` and `libcurl`, then try installing something:
```bash
julia -e 'import Pkg; Pkg.add("DataStructures")'
```

```
WARNING: failed to select UTF-8 encoding, using ASCII
  Installing known registries into `~/.julia`

signal (11): Segmentation fault
in expression starting at none:1
unknown function (ip: 0x7fb71b75e666)
unknown function (ip: 0x7fb71b73f38c)
unknown function (ip: 0x7fb71b740912)
curl_multi_socket_action at /usr/bin/../lib/julia/libcurl.so (unknown line)
unknown function (ip: 0x7fb76b489727)
unknown function (ip: 0x7fb76b489ca7)
unknown function (ip: 0x7fb76b4a19c4)
unknown function (ip: 0x7fb76b4a1b5c)
unknown function (ip: 0x7fb76b52c5e2)
unknown function (ip: 0x7fb71b73cd43)
curl_multi_add_handle at /usr/bin/../lib/julia/libcurl.so (unknown line)
unknown function (ip: 0x7fb76b532435)
unknown function (ip: 0x7fb76b532663)
unknown function (ip: 0x7fb76b2f65a8)
unknown function (ip: 0x7fb76b2f77f5)
unknown function (ip: 0x7fb76b2f7f17)
unknown function (ip: 0x7fb76b2f8709)
unknown function (ip: 0x7fb76b2f8784)
unknown function (ip: 0x7fb76b400e1b)
unknown function (ip: 0x7fb76b435660)
unknown function (ip: 0x7fb76b436221)
unknown function (ip: 0x7fb76b4363ad)
unknown function (ip: 0x7fb76b2fb32a)
unknown function (ip: 0x7fb76b2fc41e)
unknown function (ip: 0x7fb76b42564a)
unknown function (ip: 0x7fb76b4256cc)
unknown function (ip: 0x7fb76b2da6fe)
unknown function (ip: 0x7fb76b2da8ae)
unknown function (ip: 0x7fb76b3e563c)
unknown function (ip: 0x7fb76b5403b6)
unknown function (ip: 0x7fb76b3927fc)
unknown function (ip: 0x7fb76b44bf19)
unknown function (ip: 0x7fb76b555a47)
unknown function (ip: 0x7fb76b4c6dd6)
unknown function (ip: 0x7fb76b4c7644)
unknown function (ip: 0x7fb76b4c76cc)
unknown function (ip: 0x7fb76b4167e6)
unknown function (ip: 0x7fb76b30445f)
unknown function (ip: 0x7fb76b30991e)
unknown function (ip: 0x7fb778c4b9bb)
unknown function (ip: 0x7fb778c4b4fd)
unknown function (ip: 0x7fb778c4c1f7)
unknown function (ip: 0x7fb778c4cd6c)
unknown function (ip: 0x7fb778c67846)
unknown function (ip: 0x7fb778c684b7)
unknown function (ip: 0x7fb778c684b7)
jl_toplevel_eval_in at /usr/bin/../lib/julia/libjulia-internal.so.1 (unknown line)
unknown function (ip: 0x7fb76b3ab3d1)
unknown function (ip: 0x7fb76b3ae32c)
unknown function (ip: 0x7fb76b3ae495)
unknown function (ip: 0x7fb778c8a6f5)
repl_entrypoint at /usr/bin/../lib/julia/libjulia-internal.so.1 (unknown line)
main at julia (unknown line)
__libc_start_main at /builddir/glibc-2.32/csu/../csu/libc-start.c:314
_start at julia (unknown line)
Allocations: 2650 (Pool: 2640; Big: 10); GC: 0
Segmentation fault
```

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: julia-1.6.1 incompatible with (lib)curl-7.81.0 (seg fault)
  2022-01-22 21:30 [ISSUE] julia-1.6.1 incompatible with (lib)curl-7.81.0 (seg fault) kwshi
@ 2022-01-22 21:55 ` ericonr
  2022-01-22 22:01 ` ericonr
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: ericonr @ 2022-01-22 21:55 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 220 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/35186#issuecomment-1019364708

Comment:
Huh, that's definitely *unexpected*. Curl has had a stable ABI for ages now.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: julia-1.6.1 incompatible with (lib)curl-7.81.0 (seg fault)
  2022-01-22 21:30 [ISSUE] julia-1.6.1 incompatible with (lib)curl-7.81.0 (seg fault) kwshi
  2022-01-22 21:55 ` ericonr
@ 2022-01-22 22:01 ` ericonr
  2022-01-22 22:21 ` kwshi
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: ericonr @ 2022-01-22 22:01 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 406 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/35186#issuecomment-1019365508

Comment:
https://github.com/JuliaLang/Downloads.jl/issues/172#issuecomment-1008168562 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.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: julia-1.6.1 incompatible with (lib)curl-7.81.0 (seg fault)
  2022-01-22 21:30 [ISSUE] julia-1.6.1 incompatible with (lib)curl-7.81.0 (seg fault) kwshi
  2022-01-22 21:55 ` ericonr
  2022-01-22 22:01 ` ericonr
@ 2022-01-22 22:21 ` kwshi
  2022-01-22 22:55 ` kwshi
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: kwshi @ 2022-01-22 22:21 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 268 bytes --]

New comment by kwshi on void-packages repository

https://github.com/void-linux/void-packages/issues/35186#issuecomment-1019368350

Comment:
Interesting.  I'm still surprised at why that explanation/bug (infinite recursion) surfaces because of a version bump in curl.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: julia-1.6.1 incompatible with (lib)curl-7.81.0 (seg fault)
  2022-01-22 21:30 [ISSUE] julia-1.6.1 incompatible with (lib)curl-7.81.0 (seg fault) kwshi
                   ` (2 preceding siblings ...)
  2022-01-22 22:21 ` kwshi
@ 2022-01-22 22:55 ` kwshi
  2022-01-23 21:23 ` ericonr
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: kwshi @ 2022-01-22 22:55 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 430 bytes --]

New comment by kwshi on void-packages repository

https://github.com/void-linux/void-packages/issues/35186#issuecomment-1019372457

Comment:
Alternatively, what if we set `USE_SYSTEM_CURL=0` in the build args?  (It seems like we do this for several of the other library dependencies already, e.g. blas, lapack, llvm, libuv; so why not also do this with curl?  Or, is the eventual goal to make those use the system libraries too?)

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: julia-1.6.1 incompatible with (lib)curl-7.81.0 (seg fault)
  2022-01-22 21:30 [ISSUE] julia-1.6.1 incompatible with (lib)curl-7.81.0 (seg fault) kwshi
                   ` (3 preceding siblings ...)
  2022-01-22 22:55 ` kwshi
@ 2022-01-23 21:23 ` ericonr
  2022-01-28  5:15 ` non-Jedi
  2022-06-22  2:14 ` github-actions
  6 siblings, 0 replies; 8+ messages in thread
From: ericonr @ 2022-01-23 21:23 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 289 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/35186#issuecomment-1019570229

Comment:
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.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: julia-1.6.1 incompatible with (lib)curl-7.81.0 (seg fault)
  2022-01-22 21:30 [ISSUE] julia-1.6.1 incompatible with (lib)curl-7.81.0 (seg fault) kwshi
                   ` (4 preceding siblings ...)
  2022-01-23 21:23 ` ericonr
@ 2022-01-28  5:15 ` non-Jedi
  2022-06-22  2:14 ` github-actions
  6 siblings, 0 replies; 8+ messages in thread
From: non-Jedi @ 2022-01-28  5:15 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 423 bytes --]

New comment by non-Jedi on void-packages repository

https://github.com/void-linux/void-packages/issues/35186#issuecomment-1023894720

Comment:
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.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: julia-1.6.1 incompatible with (lib)curl-7.81.0 (seg fault)
  2022-01-22 21:30 [ISSUE] julia-1.6.1 incompatible with (lib)curl-7.81.0 (seg fault) kwshi
                   ` (5 preceding siblings ...)
  2022-01-28  5:15 ` non-Jedi
@ 2022-06-22  2:14 ` github-actions
  6 siblings, 0 replies; 8+ messages in thread
From: github-actions @ 2022-06-22  2:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 293 bytes --]

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/issues/35186#issuecomment-1162547547

Comment:
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.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-06-22  2:14 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-22 21:30 [ISSUE] julia-1.6.1 incompatible with (lib)curl-7.81.0 (seg fault) kwshi
2022-01-22 21:55 ` ericonr
2022-01-22 22:01 ` ericonr
2022-01-22 22:21 ` kwshi
2022-01-22 22:55 ` kwshi
2022-01-23 21:23 ` ericonr
2022-01-28  5:15 ` non-Jedi
2022-06-22  2:14 ` github-actions

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).