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

segfault: REPLExt / Downloads.Curl (Error: curl_multi_assign ) #56226

Closed
khughitt opened this issue Oct 18, 2024 · 4 comments
Closed

segfault: REPLExt / Downloads.Curl (Error: curl_multi_assign ) #56226

khughitt opened this issue Oct 18, 2024 · 4 comments

Comments

@khughitt
Copy link

Overview

Package operations lead to segfaults.

Happened a bunch of times for different operations (install, update, etc.)

Example of one such instance below.

To reproduce:

julia --startup-file=no

import Pkg; Pkg.update();

Result:

❯ julia --startup-file=no
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.11.1 (2024-10-16)
 _/ |\__'_|_|_|\__'_|  |
|__/                   |

julia> import Pkg; Pkg.update();
    Updating registry at `~/.julia/registries/General.toml`
  No Changes to `/mnt/ssd/julia/environments/v1.11/Project.toml`
  No Changes to `/mnt/ssd/julia/environments/v1.11/Manifest.toml`
        Info We haven't cleaned this depot up for a bit, running Pkg.gc()...
      Active manifest files: 9 found
      Active artifact files: 244 found
      Active scratchspaces: 15 found
     Deleted 17 package installations (30.148 MiB)
     Deleted 2 artifact installations (84.351 MiB)

julia> ┌ Error: curl_multi_assign: 1
└ @ Downloads.Curl /usr/share/julia/stdlib/v1.11/Downloads/src/Curl/utils.jl:57
┌ Error: curl_multi_assign: 1
└ @ Downloads.Curl /usr/share/julia/stdlib/v1.11/Downloads/src/Curl/utils.jl:57

[49465] signal 6 (-6): Aborted
in expression starting at none:0
unknown function (ip: 0x762b77e233f4)
gsignal at /usr/bin/../lib/libc.so.6 (unknown line)
abort at /usr/bin/../lib/libc.so.6 (unknown line)
unknown function (ip: 0x762b77423f1f)
unknown function (ip: 0x762b7753fa7d)
uv_run at /usr/bin/../lib/julia/libjulia-internal.so.1.11 (unknown line)
ijl_task_get_next at /usr/bin/../lib/julia/libjulia-internal.so.1.11 (unknown line)
unknown function (ip: 0x762b5f1e29c5)
unknown function (ip: 0x762b5f1129a7)
unknown function (ip: 0x762b5f2fbdc6)
wait at ./condition.jl:125 [inlined]
_wait at /build/julia/src/julia-1.11.1/usr/share/julia/stdlib/v1.11/FileWatching/src/FileWatching.jl:572
wait at /build/julia/src/julia-1.11.1/usr/share/julia/stdlib/v1.11/FileWatching/src/FileWatching.jl:600
#58 at /usr/share/julia/stdlib/v1.11/Downloads/src/Curl/Multi.jl:188
unknown function (ip: 0x762b5e31a2f3)
unknown function (ip: 0x762b7746683e)
Allocations: 7621515 (Pool: 7619746; Big: 1769); GC: 9
zsh: IOT instruction (core dumped)  julia --startup-file=no

Core dump

           PID: 49465 (julia)
           UID: 1000 (keith)
           GID: 1000 (keith)
        Signal: 6 (ABRT)
     Timestamp: Fri 2024-10-18 06:32:54 EDT (6min ago)
  Command Line: julia --startup-file=no
    Executable: /usr/bin/julia
 Control Group: /user.slice/user-1000.slice/[email protected]/kitty-3850-0.scope
          Unit: [email protected]
     User Unit: kitty-3850-0.scope
         Slice: user-1000.slice
     Owner UID: 1000 (keith)
       Boot ID: 58c159a8a233454ea25170311ee134a3
    Machine ID: 80e42bb418d248238b57a86ebe409e8a
      Hostname: io
       Storage: /var/lib/systemd/coredump/core.julia.1000.58c159a8a233454ea25170311ee134a3.49465.1729247574000000.zst (present)
  Size on Disk: 85.1M
       Message: Process 49465 (julia) of user 1000 dumped core.
                
                Module /mnt/ssd/julia/compiled/v1.11/REPLExt/m7ggP_xUHJg.so without build-id.
                Module /mnt/ssd/julia/compiled/v1.11/Pkg/tUTdb_xUHJg.so without build-id.
                Module /mnt/ssd/julia/compiled/v1.11/Downloads/eiA4B_xUHJg.so without build-id.
                Module /mnt/ssd/julia/compiled/v1.11/p7zip_jll/dfuGM_xUHJg.so without build-id.
                Module /mnt/ssd/julia/compiled/v1.11/ArgTools/aGHFV_xUHJg.so without build-id.
                Module /mnt/ssd/julia/compiled/v1.11/LibGit2/xrYJZ_xUHJg.so without build-id.
                Module /mnt/ssd/julia/compiled/v1.11/Tar/G9ZYP_xUHJg.so without build-id.
                Module /mnt/ssd/julia/compiled/v1.11/LibCURL/ht49g_xUHJg.so without build-id.
                Module /mnt/ssd/julia/compiled/v1.11/Dates/p8See_xUHJg.so without build-id.
                Module /mnt/ssd/julia/compiled/v1.11/MozillaCACerts_jll/XKIUi_xUHJg.so without build-id.
                Module [dso] without build-id.
                Module /mnt/ssd/julia/compiled/v1.11/REPL/u0gqU_xUHJg.so without build-id.
                Module /mnt/ssd/julia/compiled/v1.11/StyledStrings/UcVoM_xUHJg.so without build-id.
                Module /mnt/ssd/julia/compiled/v1.11/Markdown/AREjX_xUHJg.so without build-id.
                Module /mnt/ssd/julia/compiled/v1.11/LibCURL_jll/9JWaY_xUHJg.so without build-id.
                Module /mnt/ssd/julia/compiled/v1.11/nghttp2_jll/KTGSA_xUHJg.so without build-id.
                Module /mnt/ssd/julia/compiled/v1.11/LibGit2_jll/nfCpg_xUHJg.so without build-id.
                Module /mnt/ssd/julia/compiled/v1.11/LibSSH2_jll/K6mup_xUHJg.so without build-id.
                Module /mnt/ssd/julia/compiled/v1.11/InteractiveUtils/0TrXF_xUHJg.so without build-id.
                Module /mnt/ssd/julia/compiled/v1.11/MbedTLS_jll/u5NEn_xUHJg.so without build-id.
                Module /mnt/ssd/julia/compiled/v1.11/Logging/PWFjL_xUHJg.so without build-id.
                Module /mnt/ssd/julia/compiled/v1.11/NetworkOptions/J8H6s_xUHJg.so without build-id.
                Module /mnt/ssd/julia/compiled/v1.11/TOML/mjrwE_xUHJg.so without build-id.
                Module /mnt/ssd/julia/compiled/v1.11/UUIDs/SIw1t_xUHJg.so without build-id.
                Module /mnt/ssd/julia/compiled/v1.11/Printf/3FQLY_xUHJg.so without build-id.
                Module /mnt/ssd/julia/compiled/v1.11/Printf/3FQLY_xUHJg.so without build-id.
                Module /mnt/ssd/julia/compiled/v1.11/Base64/D7K0n_xUHJg.so without build-id.
                Module /mnt/ssd/julia/compiled/v1.11/Unicode/E4Hzs_xUHJg.so without build-id.
                Stack trace of thread 49465:
                #0  0x0000762b77e233f4 n/a (libc.so.6 + 0x963f4)
                #1  0x0000762b77dca120 raise (libc.so.6 + 0x3d120)
                #2  0x0000762b77dca1d0 n/a (libc.so.6 + 0x3d1d0)
                #3  0x0000762b77e233f4 n/a (libc.so.6 + 0x963f4)
                #4  0x0000762b77dca120 raise (libc.so.6 + 0x3d120)
                #5  0x0000762b77db14c3 abort (libc.so.6 + 0x244c3)
                #6  0x0000762b77423f20 n/a (libjulia-internal.so.1.11 + 0x23f20)
                #7  0x0000762b7753fa7e n/a (libjulia-internal.so.1.11 + 0x13fa7e)
                #8  0x0000762b7752c2b2 uv_run (libjulia-internal.so.1.11 + 0x12c2b2)
                #9  0x0000762b7749ec64 ijl_task_get_next (libjulia-internal.so.1.11 + 0x9ec64)
                #10 0x0000762b5f1e29c6 n/a (sys.so + 0x1e29c6)
                #11 0x0000762b5f1129a8 n/a (sys.so + 0x1129a8)
                #12 0x0000762b5f2fbdc7 n/a (sys.so + 0x2fbdc7)
                #13 0x0000762b5e319b6a n/a (n/a + 0x0)
                #14 0x0000762b5e319e33 n/a (n/a + 0x0)
                #15 0x0000762b5e31a110 n/a (n/a + 0x0)
                #16 0x0000762b5e31a2f4 n/a (n/a + 0x0)
                #17 0x0000762b7746683f n/a (libjulia-internal.so.1.11 + 0x6683f)
                
                Stack trace of thread 49468:
                #0  0x0000762b77dcae58 __sigtimedwait (libc.so.6 + 0x3de58)
                #1  0x0000762b774bb9bc n/a (libjulia-internal.so.1.11 + 0xbb9bc)
                #2  0x0000762b77e2139d n/a (libc.so.6 + 0x9439d)
                #3  0x0000762b77ea649c n/a (libc.so.6 + 0x11949c)
                
                Stack trace of thread 49467:
                #0  0x0000000000000000 n/a (n/a + 0x0)
                #1  0x00007ffe82f18180 n/a (n/a + 0x0)
                ELF object binary architecture: AMD x86-64

System info

  • Julia 1.11.1
  • Arch (6.11-3 64-bit)
  • curl 8.10.1 (x86_64-pc-linux-gnu) libcurl/8.10.1 OpenSSL/3.3.2 zlib/1.3.1 brotli/1.1.0 zstd/1.5.6 libidn2/2.3.7 libpsl/0.21.5 libssh2/1.11.0 nghttp2/1.63.0 nghttp3/1.6.0
    Release-Date: 2024-09-18
@KristofferC
Copy link
Member

You are missing the "Official https://julialang.org/ release" from the version banner. How did you install julia?

@giordano
Copy link
Contributor

Duplicate of JuliaLang/Downloads.jl#260

@giordano giordano marked this as a duplicate of JuliaLang/Downloads.jl#260 Oct 18, 2024
@giordano giordano closed this as not planned Won't fix, can't repro, duplicate, stale Oct 18, 2024
@khughitt
Copy link
Author

Apologies. Installed via AUR. I see now that it is not supported.

@giordano
Copy link
Contributor

From AUR you may want to use juliaup or juliaup-bin instead.

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

3 participants