[10757] signal 11 (1): Segmentation fault

Hi, I’m completely new to Julia, I’d like to begging by expressing my appreciation for the FreeBSD installation package to the Dev responsible for it.

I’m under FreeBSD 14.3 patch 1. I’m using KDE, Plasma 6.4.3.

The way I installed Julia was that I downloaded the tar.gz for the last stable version (Version 1.11.6 (2025-07-09) Official https://julialang.org/ release for FreeBSD x86. I then proceeded, unpacked the tar within the command line in my ~/ directory. Then I looked inside the folder generated and placed the content of each folder in its corresponding folder in /usr/local/ [bin lib etc share include..] except for the .md file which I wasn’t sure where to put it. I then deleted the extracted folder and launched Julia by typing julia in the command line. Julia started normally, I gave the command ], came to the pkg mode and typed add Pluto, the installation started but stopped with an error message which is the following:

┌ Error: curl_multi_assign: 1===>                    ]  20/40
└ @ Downloads.Curl /usr/local/share/julia/stdlib/v1.11/Downloads/src/Curl/utils.jl:57
  ✓ ExproniconLite
[10757] signal 11 (1): Segmentation fault
in expression starting at none:0
curl_multi_socket_action at /usr/local/bin/../lib/libcurl.so.4 (unknown line)
curl_multi_socket_action at /usr/home/julia/.buildkite-agent/builds/freebsd13-amdci6-0/julialang/julia-release-1-dot-11/usr/share/julia/stdlib/v1.11/Downloads/src/Curl/Curl.jl:51 [inlined]
curl_multi_socket_action at /usr/home/julia/.buildkite-agent/builds/freebsd13-amdci6-0/julialang/julia-release-1-dot-11/usr/share/julia/stdlib/v1.11/Downloads/src/Curl/Curl.jl:59 [inlined]
macro expansion at /usr/home/julia/.buildkite-agent/builds/freebsd13-amdci6-0/julialang/julia-release-1-dot-11/usr/share/julia/stdlib/v1.11/Downloads/src/Curl/utils.jl:56 [inlined]
#55 at /usr/home/julia/.buildkite-agent/builds/freebsd13-amdci6-0/julialang/julia-release-1-dot-11/usr/share/julia/stdlib/v1.11/Downloads/src/Curl/Multi.jl:190
lock at ./lock.jl:232
#54 at /usr/home/julia/.buildkite-agent/builds/freebsd13-amdci6-0/julialang/julia-release-1-dot-11/usr/share/julia/stdlib/v1.11/Downloads/src/Curl/Multi.jl:188
unknown function (ip: 0x848e7495f)
jl_apply at /usr/home/julia/.buildkite-agent/builds/freebsd13-amdci6-0/julialang/julia-release-1-dot-11/src/julia.h:2157 [inlined]
start_task at /usr/home/julia/.buildkite-agent/builds/freebsd13-amdci6-0/julialang/julia-release-1-dot-11/src/task.c:1202
Allocations: 12157555 (Pool: 12155691; Big: 1864); GC: 21
Segmentation fault (core dumped)

here is the entire output from the installation processes of Pluto:

ulia
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.11.6 (2025-07-09)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

(@v1.11) pkg> add Pluto
   Resolving package versions...
    Updating `~/.julia/environments/v1.11/Project.toml`
  [c3e4b0f8] + Pluto v0.20.13
    Updating `~/.julia/environments/v1.11/Manifest.toml`
  [d1d4a3ce] + BitFlags v0.1.9
  [944b1d66] + CodecZlib v0.7.8
  [34da2185] + Compat v4.17.0
  [f0e56b4a] + ConcurrentUtilities v2.5.0
  [5218b696] + Configurations v0.17.6
  [9a962f9c] + DataAPI v1.16.0
  [e2d170a0] + DataValueInterfaces v1.0.0
  [460bff9d] + ExceptionUnwrapping v0.1.11
  [21656369] + ExpressionExplorer v1.1.3
  [55351af7] + ExproniconLite v0.10.14
  [828d9ff0] + GracefulPkg v2.2.1
  [cd3eb016] + HTTP v1.10.17
  [ac1192a8] + HypertextLiteral v0.9.5
  [82899510] + IteratorInterfaceExtensions v1.0.0
  [692b3bcd] + JLLWrappers v1.7.1
  [8ac3fa9e] + LRUCache v1.6.2
  [0e77f7df] + LazilyInitializedFields v1.3.0
  [e6f89c97] + LoggingExtras v1.1.0
  [6c6e2e6c] + MIMEs v1.1.0
  [36869731] + Malt v1.1.2
  [739be429] + MbedTLS v1.1.9
  [99f44e22] + MsgPack v1.2.1
  [4d8831e6] + OpenSSL v1.5.0
  [bac558e1] + OrderedCollections v1.8.1
  [c3e4b0f8] + Pluto v0.20.13
  [72656b73] + PlutoDependencyExplorer v1.2.1
  [91cefc8d] + PrecompileSignatures v3.0.3
⌅ [aea7be01] + PrecompileTools v1.2.1
  [21216c6a] + Preferences v1.4.3
  [2792f1a3] + RegistryInstances v0.1.0
  [05181044] + RelocatableFolders v1.0.1
  [6c6a2e73] + Scratch v1.3.0
  [777ac1f9] + SimpleBufferStream v1.2.0
  [3783bdb8] + TableTraits v1.0.1
  [bd369af6] + Tables v1.12.1
  [3bb67fe8] + TranscodingStreams v0.11.3
  [410a4b4d] + Tricks v0.1.10
  [5c2747f8] + URIs v1.6.1
  [458c3c95] + OpenSSL_jll v3.5.1+0
  [0dad84c5] + ArgTools v1.1.2
  [56f22d72] + Artifacts v1.11.0
  [2a0f44e3] + Base64 v1.11.0
  [ade2ca70] + Dates v1.11.0
  [8ba89e20] + Distributed v1.11.0
  [f43a241f] + Downloads v1.6.0
  [7b1f6079] + FileWatching v1.11.0
  [b77e0a4c] + InteractiveUtils v1.11.0
  [b27032c2] + LibCURL v0.6.4
  [76f85450] + LibGit2 v1.11.0
  [8f399da3] + Libdl v1.11.0
  [56ddb016] + Logging v1.11.0
  [d6f4376e] + Markdown v1.11.0
  [ca575930] + NetworkOptions v1.2.0
  [44cfe95a] + Pkg v1.11.0
  [de0858da] + Printf v1.11.0
  [3fa0cd96] + REPL v1.11.0
  [9a3f8284] + Random v1.11.0
  [ea8e919c] + SHA v0.7.0
  [9e88b42a] + Serialization v1.11.0
  [6462fe0b] + Sockets v1.11.0
  [f489334b] + StyledStrings v1.11.0
  [fa267f1f] + TOML v1.0.3
  [a4e569a6] + Tar v1.10.0
  [8dfed614] + Test v1.11.0
  [cf7118a7] + UUIDs v1.11.0
  [4ec0a83e] + Unicode v1.11.0
  [deac9b47] + LibCURL_jll v8.6.0+0
  [e37daf67] + LibGit2_jll v1.7.2+0
  [29816b5a] + LibSSH2_jll v1.11.0+1
  [c8ffd9c3] + MbedTLS_jll v2.28.6+0
  [14a3606d] + MozillaCACerts_jll v2023.12.12
  [83775a58] + Zlib_jll v1.2.13+1
  [8e850ede] + nghttp2_jll v1.59.0+0
  [3f19e933] + p7zip_jll v17.4.0+2
        Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. To see why use `status --outdated -m`
Precompiling project...
┌ Error: curl_multi_assign: 1===>                    ]  20/40

I also have to mention that prior to that manual installation I had installed Julia from the FreeBSD binary repository and I had no problem installing Pluto or running Julia but when trying to launch a page in Pluto via Firefox it crashed with segmentation fault if remember correctly. So I checked and Saw that it was better to install it manually with the latest version offer. I pkg remove and clean Julia and installed it manually. Didn’t reboot between the two installation.

As always thank you verry much for the support and again for providing a pkg version for FreeBSD users. Keep it free and awsome ! If further information are needed to help assisting I’ll be happy to provide them. Peace!

I don’t know why new users always prefer the archive installation over juliaup, but this is a recurrent issue. Please use juliaup.

To website maintainers:

Perhaps the official Julia website should hide the archives as a last resource in a separate section? Or at least add a warning in different color to make it clear that installing archives manually can lead to issues.

Hi @juliohm can you please explain why installing it manually is responsible for causing issue. because it should not? Until then I do not consider using juliaup as a solution and would like to fix manually. thanks

It should not be an issue, but it is in many cases, unfortunately. You can wait for other people to help you with the archive-based installation.

Search this forum and you will see many other threads where users attempted the archive-based installation, and after several attempts, just decided to choose the recommended method with juliaup.

Is it?

2 Likes

I see this type of thread in the forum quite frequently. So I assume it is.

@juliohm You’re conflating package managers (e.g., apt/rpm/homebrew/etc) with the official downloads. We do recommend against package managers like those. The problem is generally library version mismatch. Distros and 3rd party package managers like to treat dependencies like interchangeable lego blocks — and it often does cause errors like these.

Juliaup just automates downloading these official tarballs; I wouldn’t expect it to change anything in this case (but it could be helpful to check!).

This is indeed a problem with the official archive.

5 Likes

Never seen them.

2 Likes

Thought it also configured environment variables like PATH. I’ve had Windows users complaining in various courses I gave in the past. The only way to get Julia working properly for them was juliaup.

1 Like

In this case, the stack trace shows calling into a libcurl that’s living in /usr/local/lib/libcurl.so.4, which is likely to cause issues very much akin to those caused by package managers. I’m not sure why that would be happening. It is likely to be a configuration issue, and not likely to be one that juliaup would solve, but I hate speculating like this.

@redti: Do you have LD_LIBRARY_PATH set? What’s the full output of versioninfo()?

1 Like

Hi @mbauman, this variable is not set because it return nothing.

~ $ $LD_LIBRARY_PATH
~ $ $PATH
/bin/sh: /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/free/bin: not found

             _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.11.6 (2025-07-09)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

julia> versioninfo()?
ERROR: ParseError:
# Error @ REPL[1]:1:14
versioninfo()?
#            └ ── space required before `?` operator
Stacktrace:
 [1] top-level scope
   @ none:1

Thanks for your support..

It’s just versioninfo() without the ?.

Thanks, yeah I was trying to figure out that was to be my next move deleting the ? character.
Here is the output:

julia> versioninfo()
Julia Version 1.11.6
Commit 9615af0f26 (2025-07-09 12:58 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: FreeBSD (x86_64-unknown-freebsd13.4)
  CPU: 4 × Intel(R) Core(TM) i7-7600U CPU @ 2.80GHz
  WORD_SIZE: 64
  LLVM: libLLVM-16.0.6 (ORCJIT, skylake)
Threads: 1 default, 0 interactive, 1 GC (on 4 virtual cores)

I see freebsd13.4 here, I’m under 14.3-p1.. may be it could be an issue?

2 Likes

For what is worth, works for me without issues:

$ freebsd-version
15.0-CURRENT
$ julia
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.11.6 (2025-07-09)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

(@v1.11) pkg> add Pluto
    Updating registry at `~/.julia/registries/General.toml`
   Resolving package versions...
   Installed OpenSSL_jll ───────────────── v3.5.1+0
   Installed RegistryInstances ─────────── v0.1.0
   Installed Scratch ───────────────────── v1.3.0
   Installed LRUCache ──────────────────── v1.6.2
   Installed LoggingExtras ─────────────── v1.1.0
   Installed TableTraits ───────────────── v1.0.1
   Installed Tricks ────────────────────── v0.1.10
   Installed GracefulPkg ───────────────── v2.2.1
   Installed SimpleBufferStream ────────── v1.2.0
   Installed DataAPI ───────────────────── v1.16.0
   Installed BitFlags ──────────────────── v0.1.9
   Installed PrecompileSignatures ──────── v3.0.3
   Installed PlutoDependencyExplorer ───── v1.2.1
   Installed Tables ────────────────────── v1.12.1
   Installed RelocatableFolders ────────── v1.0.1
   Installed Malt ──────────────────────── v1.1.2
   Installed JLLWrappers ───────────────── v1.7.1
   Installed ConcurrentUtilities ───────── v2.5.0
   Installed OrderedCollections ────────── v1.8.1
   Installed DataValueInterfaces ───────── v1.0.0
   Installed URIs ──────────────────────── v1.6.1
   Installed IteratorInterfaceExtensions ─ v1.0.0
   Installed MsgPack ───────────────────── v1.2.1
   Installed ExproniconLite ────────────── v0.10.14
   Installed CodecZlib ─────────────────── v0.7.8
   Installed Compat ────────────────────── v4.17.0
   Installed OpenSSL ───────────────────── v1.5.0
   Installed TranscodingStreams ────────── v0.11.3
   Installed Configurations ────────────── v0.17.6
   Installed MIMEs ─────────────────────── v1.1.0
   Installed HTTP ──────────────────────── v1.10.17
   Installed LazilyInitializedFields ───── v1.3.0
   Installed ExpressionExplorer ────────── v1.1.3
   Installed ExceptionUnwrapping ───────── v0.1.11
   Installed HypertextLiteral ──────────── v0.9.5
   Installed Pluto ─────────────────────── v0.20.13
  Downloaded artifact: OpenSSL
    Updating `~/.julia/environments/v1.11/Project.toml`
  [c3e4b0f8] + Pluto v0.20.13
    Updating `~/.julia/environments/v1.11/Manifest.toml`
  [d1d4a3ce] + BitFlags v0.1.9
  [944b1d66] + CodecZlib v0.7.8
  [34da2185] + Compat v4.17.0
  [f0e56b4a] + ConcurrentUtilities v2.5.0
  [5218b696] + Configurations v0.17.6
  [9a962f9c] + DataAPI v1.16.0
  [e2d170a0] + DataValueInterfaces v1.0.0
  [460bff9d] + ExceptionUnwrapping v0.1.11
  [21656369] + ExpressionExplorer v1.1.3
  [55351af7] + ExproniconLite v0.10.14
  [828d9ff0] + GracefulPkg v2.2.1
  [cd3eb016] + HTTP v1.10.17
  [ac1192a8] + HypertextLiteral v0.9.5
  [82899510] + IteratorInterfaceExtensions v1.0.0
  [692b3bcd] + JLLWrappers v1.7.1
  [8ac3fa9e] + LRUCache v1.6.2
  [0e77f7df] + LazilyInitializedFields v1.3.0
  [e6f89c97] + LoggingExtras v1.1.0
  [6c6e2e6c] + MIMEs v1.1.0
  [36869731] + Malt v1.1.2
  [739be429] + MbedTLS v1.1.9
  [99f44e22] + MsgPack v1.2.1
  [4d8831e6] + OpenSSL v1.5.0
  [bac558e1] + OrderedCollections v1.8.1
  [c3e4b0f8] + Pluto v0.20.13
  [72656b73] + PlutoDependencyExplorer v1.2.1
  [91cefc8d] + PrecompileSignatures v3.0.3
⌅ [aea7be01] + PrecompileTools v1.2.1
  [21216c6a] + Preferences v1.4.3
  [2792f1a3] + RegistryInstances v0.1.0
  [05181044] + RelocatableFolders v1.0.1
  [6c6a2e73] + Scratch v1.3.0
  [777ac1f9] + SimpleBufferStream v1.2.0
  [3783bdb8] + TableTraits v1.0.1
  [bd369af6] + Tables v1.12.1
  [3bb67fe8] + TranscodingStreams v0.11.3
  [410a4b4d] + Tricks v0.1.10
  [5c2747f8] + URIs v1.6.1
  [458c3c95] + OpenSSL_jll v3.5.1+0
  [0dad84c5] + ArgTools v1.1.2
  [56f22d72] + Artifacts v1.11.0
  [2a0f44e3] + Base64 v1.11.0
  [8ba89e20] + Distributed v1.11.0
  [f43a241f] + Downloads v1.6.0
  [7b1f6079] + FileWatching v1.11.0
  [b77e0a4c] + InteractiveUtils v1.11.0
  [b27032c2] + LibCURL v0.6.4
  [76f85450] + LibGit2 v1.11.0
  [8f399da3] + Libdl v1.11.0
  [56ddb016] + Logging v1.11.0
  [d6f4376e] + Markdown v1.11.0
  [ca575930] + NetworkOptions v1.2.0
  [44cfe95a] + Pkg v1.11.0
  [3fa0cd96] + REPL v1.11.0
  [9a3f8284] + Random v1.11.0
  [ea8e919c] + SHA v0.7.0
  [9e88b42a] + Serialization v1.11.0
  [6462fe0b] + Sockets v1.11.0
  [f489334b] + StyledStrings v1.11.0
  [fa267f1f] + TOML v1.0.3
  [a4e569a6] + Tar v1.10.0
  [8dfed614] + Test v1.11.0
  [cf7118a7] + UUIDs v1.11.0
  [deac9b47] + LibCURL_jll v8.6.0+0
  [e37daf67] + LibGit2_jll v1.7.2+0
  [29816b5a] + LibSSH2_jll v1.11.0+1
  [c8ffd9c3] + MbedTLS_jll v2.28.6+0
  [14a3606d] + MozillaCACerts_jll v2023.12.12
  [83775a58] + Zlib_jll v1.2.13+1
  [8e850ede] + nghttp2_jll v1.59.0+0
  [3f19e933] + p7zip_jll v17.4.0+2
        Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. To see why use `status --outdated -m`
Precompiling project...
  41 dependencies successfully precompiled in 58 seconds. 30 already precompiled.

julia> using Pluto
┌ Info:
│   Welcome to Pluto v0.20.13 🎈
│   Start a notebook server using:
│
│ julia> Pluto.run()
│
│   Have a look at the FAQ:
│   https://github.com/fonsp/Pluto.jl/wiki
└

I believe @ararslan uses FreeBSD 14, like you. Maybe he has also some ideas about what could be the issue

1 Like

@redti can you try running the following in your julia REPL:

using Downloads, Libdl
println.(filter(contains("libcurl"), dllist()));

? I get this:

julia> using Downloads, Libdl

julia> println.(filter(contains("libcurl"), dllist()));
/home/mose/.julia/juliaup/julia-1.11.6+0.x64.unknown.freebsd11.1/bin/../lib/julia/libcurl.so.4
1 Like

Ooooooh, yeah, this is gonna cause trouble. Don’t do this.

Just keep that entire folder in place. Somewhere. Anywhere. Doesn’t matter, but don’t attempt to split it apart like this. Instead, use a symlink:

ln -s /path/to/julia-1.11.6+0.x64.unknown.freebsd11.1/bin/julia /usr/local/bin/julia
4 Likes

Why is it gonna cause trouble? The content of those folder is in each directory it is supposed to be. if were to install it with pkg it would have put them exactly there inst that true ? the folder in question could have been ported to pkg bin if I’m not mistaken ??

Thank you

Mixing up potentially incompatible libraries only causes troubles.

1 Like

how to we know for sure that they are incompatible ? because they were built for an older version of FreeBSD ? so they interact with the libraries of the actual version causing bug, that’s it ? that’s the issue?