Installing packages leads to crash

Hello, I just installed Julia for the first time but am unable to install any packages. I am running Julia 1.3 on Arch linux.

edit: it looks like upgrading from http-parser 2.9.2 to 2.9.3 is what’s causing this for me.

(v1.3) pkg> add IJulia
   Cloning default registries into `~/.julia`
   Cloning registry from "https://github.com/JuliaRegistries/General.git"

signal (11): Segmentation fault
in expression starting at none:0
unknown function (ip: 0x7f1c234ace73)
http_parser_execute at /usr/bin/../lib/libhttp_parser.so.2.9 (unknown line)
unknown function (ip: 0x7f1c234ae390)
unknown function (ip: 0x7f1c234b0770)
unknown function (ip: 0x7f1c234b2b58)
unknown function (ip: 0x7f1c234b0f91)
git_remote_fetch at /usr/bin/../lib/libgit2.so (unknown line)
git_clone at /usr/bin/../lib/libgit2.so (unknown line)
unknown function (ip: 0x7f1c3ddbf97f)
unknown function (ip: 0x7f1c3ddc0991)
unknown function (ip: 0x7f1c3ddf4e5e)
unknown function (ip: 0x7f1c3ddf53b9)
unknown function (ip: 0x7f1c3ddf553e)
unknown function (ip: 0x7f1c3ddf5dda)
unknown function (ip: 0x7f1c3ddf7b39)
unknown function (ip: 0x7f1c3ddf89b1)
unknown function (ip: 0x7f1c3de02164)
unknown function (ip: 0x7f1c3de6b9e1)
unknown function (ip: 0x7f1c3de6bc1a)
unknown function (ip: 0x7f1c3dde5aeb)
do_add! at /build/julia/src/julia-1.3.1/usr/share/julia/stdlib/v1.3/Pkg/src/REPLMode.jl:505
jl_f__apply at /usr/bin/../lib/libjulia.so.1 (unknown line)
jl_f__apply_latest at /usr/bin/../lib/libjulia.so.1 (unknown line)
unknown function (ip: 0x7f1c3dd7f82b)
jl_f__apply at /usr/bin/../lib/libjulia.so.1 (unknown line)
unknown function (ip: 0x7f1c3def7522)
unknown function (ip: 0x7f1c3de9d104)
unknown function (ip: 0x7f1c3de9d52d)
unknown function (ip: 0x7f1c3dea12e8)
unknown function (ip: 0x7f1c3dea1416)
jl_f__apply at /usr/bin/../lib/libjulia.so.1 (unknown line)
jl_f__apply_latest at /usr/bin/../lib/libjulia.so.1 (unknown line)
unknown function (ip: 0x7f1c3df7fce1)
unknown function (ip: 0x7f1c3df92d9e)
unknown function (ip: 0x7f1c3df93cd1)
unknown function (ip: 0x7f1c3dda5d9c)
unknown function (ip: 0x7f1c3dda6358)
jl_f__apply at /usr/bin/../lib/libjulia.so.1 (unknown line)
jl_f__apply_latest at /usr/bin/../lib/libjulia.so.1 (unknown line)
unknown function (ip: 0x7f1c3dcb9717)
unknown function (ip: 0x7f1c3dcbfff2)
unknown function (ip: 0x7f1c3dcc0512)
unknown function (ip: 0x7f1c3dcc0655)
unknown function (ip: 0x560f29bc14fe)
unknown function (ip: 0x560f29bc10a7)
__libc_start_main at /usr/bin/../lib/libc.so.6 (unknown line)
unknown function (ip: 0x560f29bc115d)
Allocations: 963855 (Pool: 963573; Big: 282); GC: 1
Segmentation fault (core dumped)

Thank you for your consideration.

See FS#65540 : [julia] signal (11): Segmentation fault. If you use official binaries it should work, see Segfault when installing or updating packages · Issue #1700 · JuliaLang/Pkg.jl · GitHub

1 Like