Cannot update Julia packages

I am using Julia 1.2 on Fedora 31.
When I tried to update Julia packages today, I got this error message:

signal (11): Segmentation fault
in expression starting at none:0
unknown function (ip: 0x7f2b3abdb9f7)
http_parser_execute at /usr/bin/../lib64/libhttp_parser.so.2 (unknown line)
unknown function (ip: 0x7f2b3abdd839)
unknown function (ip: 0x7f2b3abdef04)
unknown function (ip: 0x7f2b3abe10cf)
unknown function (ip: 0x7f2b3abdf692)
unknown function (ip: 0x7f2b3abbe0af)
git_remote_fetch at /usr/bin/../lib64/julia/libgit2.so (unknown line)
unknown function (ip: 0x7f2b57fc26d9)
unknown function (ip: 0x7f2b57fcc7ec)
unknown function (ip: 0x7f2b57fccc5b)
unknown function (ip: 0x7f2b57fcd0bc)
unknown function (ip: 0x7f2b5854ab78)
#update_registries at ./none:0 [inlined]
#update_registries at ./none:0 [inlined]
#up#43 at /builddir/build/BUILD/julia/build/usr/share/julia/stdlib/v1.2/Pkg/src/API.jl:150
up at /builddir/build/BUILD/julia/build/usr/share/julia/stdlib/v1.2/Pkg/src/API.jl:143 [inlined]
do_up! at /builddir/build/BUILD/julia/build/usr/share/julia/stdlib/v1.2/Pkg/src/REPLMode.jl:483
jl_f__apply at /usr/bin/../lib64/libjulia.so.1 (unknown line)
jl_f__apply_latest at /usr/bin/../lib64/libjulia.so.1 (unknown line)
unknown function (ip: 0x7f2b57efc72d)
jl_f__apply at /usr/bin/../lib64/libjulia.so.1 (unknown line)
invokelatest at ./essentials.jl:789
unknown function (ip: 0x7f2b57f4a97d)
unknown function (ip: 0x7f2b584fbb12)
unknown function (ip: 0x7f2b57f4b426)
unknown function (ip: 0x7f2b57f4b55a)
jl_f__apply at /usr/bin/../lib64/libjulia.so.1 (unknown line)
jl_f__apply_latest at /usr/bin/../lib64/libjulia.so.1 (unknown line)
unknown function (ip: 0x7f2b585e0142)
unknown function (ip: 0x7f2b580ca6de)
unknown function (ip: 0x7f2b580cbba1)
unknown function (ip: 0x7f2b57efc010)
unknown function (ip: 0x7f2b57efc64a)
jl_f__apply at /usr/bin/../lib64/libjulia.so.1 (unknown line)
jl_f__apply_latest at /usr/bin/../lib64/libjulia.so.1 (unknown line)
unknown function (ip: 0x7f2b58488535)
unknown function (ip: 0x7f2b5848f2f1)
unknown function (ip: 0x7f2b57ea0fdb)
unknown function (ip: 0x4029c5)
unknown function (ip: 0x402596)
__libc_start_main at /usr/bin/../lib64/libc.so.6 (unknown line)
unknown function (ip: 0x40263d)
Allocations: 3311185 (Pool: 3310330; Big: 855); GC: 6
Segmentation fault (core dumped)

is your Julia from Fedora or binary provided on official website?

it is from fedora.

use the binary

1 Like

This looks alot like a stack that was happening on Arch/Manjaro. I believe the issue was a bad build or package. It was fixed in the next update. You should probably raise an issue with Fedora and use the official build until they fix it.

It’s annoying, I know.

1 Like