# Julia 1.9 on qemu-aarch64 docker segfaults whille importing Unitful

**URL:** <https://discourse.julialang.org/t/julia-1-9-on-qemu-aarch64-docker-segfaults-whille-importing-unitful/98711>\
**Category:** General Usage\
**Created:** [May 12, 2023, 12:42am UTC](https://discourse.julialang.org/t/julia-1-9-on-qemu-aarch64-docker-segfaults-whille-importing-unitful/98711 "2023-05-12T00:42:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![minetest2048](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/minetest2048/32/45961_2.png) [@minetest2048](https://discourse.julialang.org/u/minetest2048)\
**Post date:** [May 12, 2023, 12:42am UTC](https://discourse.julialang.org/t/julia-1-9-on-qemu-aarch64-docker-segfaults-whille-importing-unitful/98711/1 "2023-05-12T00:42:05Z")

</div>

I don’t know on which repo to report (Julia? Unitful.jl?) or what information is helpful, so I’ve put it here

I’ve started a aarch64 ubuntu docker container on x86 PC

```julia
podman run -ti --net=host --arch=arm64 --volume=./julia_arm64:/workdir ubuntu

```

then ran Julia

```julia
root@ifrit-hpc:/workdir/julia-1.9.0/bin# ./julia 
               _
   _ _ _(_)_ | Documentation: https://docs.julialang.org
  (_) | (_) (_) |
   _ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` | |
  | | |_| | | | (_| | | Version 1.9.0 (2023-05-07)
 _/ |\ __'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |

julia> versioninfo()
Julia Version 1.9.0
Commit 8e630552924 (2023-05-07 11:25 UTC)
Platform Info:
  OS: Linux (aarch64-linux-gnu)
  CPU: 24 × AMD Ryzen Threadripper 2920X 12-Core Processor
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-14.0.6 (ORCJIT, generic)
  Threads: 1 on 24 virtual cores

```

then tried to install Unitful and it crashed

```julia
(@v1.9) pkg> add Unitful
  Installing known registries into `~/.julia`
    Updating registry at `~/.julia/registries/General.toml`
   Resolving package versions...
   Installed Unitful ────────── v1.14.0
   Installed ConstructionBase ─ v1.5.2
    Updating `~/.julia/environments/v1.9/Project.toml`
  [1986cc42] + Unitful v1.14.0
    Updating `~/.julia/environments/v1.9/Manifest.toml`
  [187b0558] + ConstructionBase v1.5.2
  [1986cc42] + Unitful v1.14.0
  [56f22d72] + Artifacts
  [ade2ca70] + Dates
  [8f399da3] + Libdl
  [37e2e46d] + LinearAlgebra
  [de0858da] + Printf
  [9a3f8284] + Random
  [ea8e919c] + SHA v0.7.0
  [9e88b42a] + Serialization
  [4ec0a83e] + Unicode
  [e66e0078] + CompilerSupportLibraries_jll v1.0.2+0
  [4536629a] + OpenBLAS_jll v0.3.21+4
  [8e850b90] + libblastrampoline_jll v5.7.0+0
Precompiling project...
  ✗ Unitful
  1 dependency successfully precompiled in 55 seconds
  1 dependency errored. To see a full report either run `import Pkg; Pkg.precompile()` or load the package

julia> using Unitful
[Info: Precompiling Unitful [1986cc42-f94f-5a68-af5c-568840ba703d]

[71] signal (11.1): Segmentation fault
in expression starting at /root/.julia/packages/Unitful/orvol/src/pkgdefaults.jl:134
_string_n at ./strings/string.jl:90 [inlined]
StringVector at ./iobuffer.jl:31 [inlined]
#IOBuffer#454 at ./iobuffer.jl:114 [inlined]
GenericIOBuffer at ./iobuffer.jl:105 [inlined]
print_to_string at ./strings/io.jl:142
string at ./strings/io.jl:185
unknown function (ip: 0x57d2d8f473)
_jl_invoke at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/gf.c:2758 [inlined]
ijl_apply_generic at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/gf.c:2940
jl_apply at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/julia.h:1879 [inlined]
do_call at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/interpreter.c:126
eval_value at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/interpreter.c:226
eval_stmt_value at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/interpreter.c:177 [inlined]
eval_body at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/interpreter.c:624
jl_interpret_toplevel_thunk at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/interpreter.c:762
jl_toplevel_eval_flex at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/toplevel.c:912
jl_toplevel_eval_flex at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/toplevel.c:856
ijl_toplevel_eval_in at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/toplevel.c:971
eval at ./boot.jl:370 [inlined]
include_string at ./loading.jl:1864
_jl_invoke at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/gf.c:2758 [inlined]
ijl_apply_generic at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/gf.c:2940
_include at ./loading.jl:1924
include at ./Base.jl:457
jfptr_include_32262 at /workdir/julia-1.9.0/lib/julia/sys.so (unknown line)
_jl_invoke at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/gf.c:2758 [inlined]
ijl_apply_generic at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/gf.c:2940
jl_apply at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/julia.h:1879 [inlined]
jl_f__call_latest at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/builtins.c:774
include at /root/.julia/packages/Unitful/orvol/src/Unitful.jl:1
unknown function (ip: 0x551890f2e7)
_jl_invoke at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/gf.c:2758 [inlined]
ijl_apply_generic at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/gf.c:2940
jl_apply at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/julia.h:1879 [inlined]
do_call at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/interpreter.c:126
eval_value at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/interpreter.c:226
eval_stmt_value at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/interpreter.c:177 [inlined]
eval_body at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/interpreter.c:624
jl_interpret_toplevel_thunk at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/interpreter.c:762
jl_toplevel_eval_flex at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/toplevel.c:912
jl_eval_module_expr at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/toplevel.c:203 [inlined]
jl_toplevel_eval_flex at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/toplevel.c:715
jl_toplevel_eval_flex at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/toplevel.c:856
ijl_toplevel_eval_in at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/toplevel.c:971
eval at ./boot.jl:370 [inlined]
include_string at ./loading.jl:1864
_jl_invoke at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/gf.c:2758 [inlined]
ijl_apply_generic at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/gf.c:2940
_include at ./loading.jl:1924
include at ./Base.jl:457 [inlined]
include_package_for_output at ./loading.jl:2010
jfptr_include_package_for_output_37748 at /workdir/julia-1.9.0/lib/julia/sys.so (unknown line)
_jl_invoke at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/gf.c:2758 [inlined]
ijl_apply_generic at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/gf.c:2940
jl_apply at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/julia.h:1879 [inlined]
do_call at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/interpreter.c:126
eval_value at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/interpreter.c:226
eval_stmt_value at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/interpreter.c:177 [inlined]
eval_body at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/interpreter.c:624
jl_interpret_toplevel_thunk at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/interpreter.c:762
jl_toplevel_eval_flex at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/toplevel.c:912
jl_toplevel_eval_flex at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/toplevel.c:856
ijl_toplevel_eval_in at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/toplevel.c:971
eval at ./boot.jl:370 [inlined]
include_string at ./loading.jl:1864
include_string at ./loading.jl:1874 [inlined]
exec_options at ./client.jl:305
_start at ./client.jl:522
jfptr__start_45911 at /workdir/julia-1.9.0/lib/julia/sys.so (unknown line)
_jl_invoke at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/gf.c:2758 [inlined]
ijl_apply_generic at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/gf.c:2940
jl_apply at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/julia.h:1879 [inlined]
true_main at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/jlapi.c:573
jl_repl_entrypoint at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/jlapi.c:717
main at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/cli/loader_exe.c:59
unknown function (ip: 0x55008b73fb)
__libc_start_main at /lib/aarch64-linux-gnu/libc.so.6 (unknown line)
_start at /workdir/julia-1.9.0/bin/julia (unknown line)
_start at /workdir/julia-1.9.0/bin/julia (unknown line)
Allocations: 9487547 (Pool: 9483028; Big: 4519); GC: 14
ERROR: Failed to precompile Unitful [1986cc42-f94f-5a68-af5c-568840ba703d] to "/root/.julia/compiled/v1.9/Unitful/jl_Va3WIG".
Stacktrace:
 [1] error(s::String)
   @ Base ./error.jl:35
 [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool)
   @ Base ./loading.jl:2260
 [3] compilecache
   @ ./loading.jl:2127 [inlined]
 [4] _require(pkg::Base.PkgId, env::String)
   @ Base ./loading.jl:1770
 [5] _require_prelocked(uuidkey::Base.PkgId, env::String)
   @ Base ./loading.jl:1625
 [6] macro expansion
   @ ./loading.jl:1613 [inlined]
 [7] macro expansion
   @ ./lock.jl:267 [inlined]
 [8] require(into::Module, mod::Symbol)
   @ Base ./loading.jl:1576

julia> 

```

The same command work on Raspberry Pi 4 running Raspberry Pi 4

---

<div class="post-metadata">

**Author:** ![kimikage](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kimikage/32/14534_2.png) [@kimikage](https://discourse.julialang.org/u/kimikage)\
**Post date:** [June 2, 2024, 12:08am UTC](https://discourse.julialang.org/t/julia-1-9-on-qemu-aarch64-docker-segfaults-whille-importing-unitful/98711/2 "2024-06-02T00:08:42Z")

</div>

The problem has not been resolved, but this does not appear to be a Unitful-specific issue.

> <https://github.com/JuliaGraphics/ColorTypes.jl/issues/304>
>
> I was addressing issue #288 and noticed that julia v1.9 on aarch64 fails to load… \`ColorTypes\`.
> With julia v1.6-v1.8 and julia v1.10 there is no problem.
> 
> Since julia v1.9 is unlikely to be the next LTS, no fix for this will be made.
> However, this may be due to the unsafe implementation of ColorTypes, so it is left for reference.
> 
> \<details\>
> \<summary\>CI (with QEMU) log\</summary\>
> 
> \`\`\`julia
> Julia Version 1.9.4
> Commit 8e5136fa297 (2023-11-14 08:46 UTC)
> Build Info:
> Official https://julialang.org/ release
> Platform Info:
> OS: Linux (aarch64-linux-gnu)
> CPU: 4 × AMD EPYC 7763 64-Core Processor
> WORD\_SIZE: 64
> LIBM: libopenlibm
> LLVM: libLLVM-14.0.6 (ORCJIT, generic)
> Threads: 1 on 4 virtual cores
> Updating registry at \`~/.julia/registries/General.toml\`
> Installed FixedPointNumbers ─ v0.8.4
> Updating \`/home/runner/work/ColorTypes.jl/ColorTypes.jl/Project.toml\`
> \[53c48c17\] + FixedPointNumbers v0.8.4
> Updating \`/home/runner/work/ColorTypes.jl/ColorTypes.jl/Manifest.toml\`
> \[53c48c17\] + FixedPointNumbers v0.8.4
> \[0dad84c5\] + ArgTools v1.1.1
> \[56f22d72\] + Artifacts
> \[2a0f44e3\] + Base64
> \[ade2ca70\] + Dates
> \[f43a241f\] + Downloads v1.6.0
> \[7b1f6079\] + FileWatching
> \[b77e0a4c\] + InteractiveUtils
> \[b27032c2\] + LibCURL v0.6.4
> \[76f85450\] + LibGit2
> \[8f399da3\] + Libdl
> \[37e2e46d\] + LinearAlgebra
> \[56ddb016\] + Logging
> \[d6f4376e\] + Markdown
> \[ca575930\] + NetworkOptions v1.2.0
> \[44cfe95a\] + Pkg v1.9.2
> \[de0858da\] + Printf
> \[3fa0cd96\] + REPL
> \[9a3f8284\] + Random
> \[ea8e919c\] + SHA v0.7.0
> \[9e88b42a\] + Serialization
> \[6462fe0b\] + Sockets
> \[2f01184e\] + SparseArrays
> \[10745b16\] + Statistics v1.9.0
> \[fa267f1f\] + TOML v1.0.3
> \[a4e569a6\] + Tar v1.10.0
> \[cf7118a7\] + UUIDs
> \[4ec0a83e\] + Unicode
> \[e\[66\](https://github.com/kimikage/ColorTypes.jl/actions/runs/8842368991/job/24280905638?pr=3#step:7:67)e0078\] + CompilerSupportLibraries\_jll v1.0.5+0
> \[deac9b47\] + LibCURL\_jll v8.4.0+0
> \[29816b5a\] + LibSSH2\_jll v1.11.0+1
> \[c8ffd9c3\] + MbedTLS\_jll v2.28.2+0
> \[14a3606d\] + MozillaCACerts\_jll v2022.10.11
> \[4536629a\] + OpenBLAS\_jll v0.3.21+4
> \[bea87d4a\] + SuiteSparse\_jll v5.10.1+6
> \[83775a58\] + Zlib\_jll v1.2.13+0
> \[8e850b90\] + libblastrampoline\_jll v5.8.0+0
> \[8e850ede\] + nghttp2\_jll v1.52.0+1
> \[3f19e933\] + p7zip\_jll v17.4.0+0
> Precompiling project...
> ✓ CompilerSupportLibraries\_jll
> ✓ FixedPointNumbers
> ✓ ColorTypes
> 3 dependencies successfully precompiled in 39 seconds. 5 already precompiled.
> Testing ColorTypes
> Status \`/tmp/jl\_ui79mQ/Project.toml\`
> \[3da002f7\] ColorTypes v0.11.5 \`/home/runner/work/ColorTypes.jl/ColorTypes.jl\`
> \[8dfed614\] Test
> Status \`/tmp/jl\_ui79mQ/Manifest.toml\`
> \[3da002f7\] ColorTypes v0.11.5 \`/home/runner/work/ColorTypes.jl/ColorTypes.jl\`
> \[53c48c17\] FixedPointNumbers v0.8.4
> \[0dad84c5\] ArgTools v1.1.1
> \[56f22d72\] Artifacts
> \[2a0f44e3\] Base64
> \[ade2ca70\] Dates
> \[f43a241f\] Downloads v1.6.0
> \[7b1f6079\] FileWatching
> \[b77e0a4c\] InteractiveUtils
> \[b27032c2\] LibCURL v0.6.4
> \[76f85450\] LibGit2
> \[8f399da3\] Libdl
> \[37e2e46d\] LinearAlgebra
> \[56ddb016\] Logging
> \[d6f4376e\] Markdown
> \[ca575930\] NetworkOptions v1.2.0
> \[44cfe95a\] Pkg v1.9.2
> \[de0858da\] Printf
> \[3fa0cd96\] REPL
> \[9a3f8284\] Random
> \[ea8e919c\] SHA v0.7.0
> \[9e88b42a\] Serialization
> \[6462fe0b\] Sockets
> \[2f01184e\] SparseArrays
> \[10745b16\] Statistics v1.9.0
> \[fa2\[67\](https://github.com/kimikage/ColorTypes.jl/actions/runs/8842368991/job/24280905638?pr=3#step:7:68)f1f\] TOML v1.0.3
> \[a4e569a6\] Tar v1.10.0
> \[8dfed614\] Test
> \[cf7118a7\] UUIDs
> \[4ec0a83e\] Unicode
> \[e66e0078\] CompilerSupportLibraries\_jll v1.0.5+0
> \[deac9b47\] LibCURL\_jll v8.4.0+0
> \[29816b5a\] LibSSH2\_jll v1.11.0+1
> \[c8ffd9c3\] MbedTLS\_jll v2.28.2+0
> \[14a3606d\] MozillaCACerts\_jll v2022.10.11
> \[4536629a\] OpenBLAS\_jll v0.3.21+4
> \[bea87d4a\] SuiteSparse\_jll v5.10.1+6
> \[83775a58\] Zlib\_jll v1.2.13+0
> \[8e850b90\] libblastrampoline\_jll v5.8.0+0
> \[8e850ede\] nghttp2\_jll v1.52.0+1
> \[3f19e933\] p7zip\_jll v17.4.0+0
> Precompiling project...
> ✓ CompilerSupportLibraries\_jll
> ✓ SuiteSparse\_jll
> ✓ Zlib\_jll
> ✓ MbedTLS\_jll
> ✓ Statistics
> ✓ LibSSH2\_jll
> ✓ FixedPointNumbers
> ✗ ColorTypes
> 7 dependencies successfully precompiled in 26 seconds
>   
> ERROR: The following 1 direct dependency failed to precompile:
>   
> ColorTypes \[3da002f7-5984-5a60-b8a6-cbb66c0b333f\]
>   
> Failed to precompile ColorTypes \[3da002f7-5984-5a60-b8a6-cbb66c0b333f\] to "/root/.julia/compiled/v1.9/ColorTypes/jl\_vtIinG".
>   
> \[125\] signal (11.1): Segmentation fault
> in expression starting at /home/runner/work/ColorTypes.jl/ColorTypes.jl/src/types.jl:583
> top-level scope at /home/runner/work/ColorTypes.jl/ColorTypes.jl/src/types.jl:583
> jl\_toplevel\_eval\_flex at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/toplevel.c:903
> jl\_toplevel\_eval\_flex at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/toplevel.c:856
> ijl\_toplevel\_eval\_in at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/toplevel.c:971
> eval at ./boot.jl:370 \[inlined\]
> include\_string at ./loading.jl:1903
> \_jl\_invoke at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/gf.c:2758 \[inlined\]
> ijl\_apply\_generic at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/gf.c:2940
> \_include at ./loading.jl:1963
> include at ./Base.jl:457
> jfptr\_include\_34789 at /home/runner/work/julia/lib/julia/sys.so (unknown line)
> \_jl\_invoke at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/gf.c:2758 \[inlined\]
> ijl\_apply\_generic at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/gf.c:2940
> jl\_apply at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/julia.h:1880 \[inlined\]
> jl\_f\_\_call\_latest at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/builtins.c:774
> include at /home/runner/work/ColorTypes.jl/ColorTypes.jl/src/ColorTypes.jl:1
> unknown function (ip: 0x55172d1303)
> \_jl\_invoke at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/gf.c:2758 \[inlined\]
> ijl\_apply\_generic at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/gf.c:2940
> jl\_apply at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/julia.h:1880 \[inlined\]
> do\_call at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/interpreter.c:126
> eval\_value at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/interpreter.c:226
> eval\_stmt\_value at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/interpreter.c:177 \[inlined\]
> eval\_body at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/interpreter.c:624
> jl\_interpret\_toplevel\_thunk at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/interpreter.c:762
> jl\_toplevel\_eval\_flex at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/toplevel.c:912
> jl\_eval\_module\_expr at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/toplevel.c:203 \[inlined\]
> jl\_toplevel\_eval\_flex at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/toplevel.c:715
> jl\_toplevel\_eval\_flex at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/toplevel.c:856
> ijl\_toplevel\_eval\_in at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/toplevel.c:971
> eval at ./boot.jl:370 \[inlined\]
> include\_string at ./loading.jl:1903
> \_jl\_invoke at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/gf.c:2758 \[inlined\]
> ijl\_apply\_generic at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/gf.c:2940
> \_include at ./loading.jl:1963
> include at ./Base.jl:457 \[inlined\]
> include\_package\_for\_output at ./loading.jl:2049
> jfptr\_include\_package\_for\_output\_31818 at /home/runner/work/julia/lib/julia/sys.so (unknown line)
> \_jl\_invoke at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/gf.c:2758 \[inlined\]
> ijl\_apply\_generic at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/gf.c:2940
> jl\_apply at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/julia.h:1880 \[inlined\]
> do\_call at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/interpreter.c:126
> eval\_value at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/interpreter.c:226
> eval\_stmt\_value at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/interpreter.c:177 \[inlined\]
> eval\_body at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/interpreter.c:624
> jl\_interpret\_toplevel\_thunk at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/interpreter.c:762
> jl\_toplevel\_eval\_flex at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/toplevel.c:912
> jl\_toplevel\_eval\_flex at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/toplevel.c:856
> ijl\_toplevel\_eval\_in at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/toplevel.c:971
> eval at ./boot.jl:370 \[inlined\]
> include\_string at ./loading.jl:1903
> include\_string at ./loading.jl:1913 \[inlined\]
> exec\_options at ./client.jl:305
> \_start at ./client.jl:522
> jfptr\_\_start\_37121 at /home/runner/work/julia/lib/julia/sys.so (unknown line)
> \_jl\_invoke at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/gf.c:2758 \[inlined\]
> ijl\_apply\_generic at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/gf.c:2940
> jl\_apply at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/julia.h:1880 \[inlined\]
> true\_main at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/jlapi.c:573
> jl\_repl\_entrypoint at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/jlapi.c:717
> main at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/cli/loader\_exe.c:59
> unknown function (ip: 0x55010d84c3)
> \_\_libc\_start\_main at /lib/aarch64-linux-gnu/libc.so.6 (unknown line)
> \_start at /home/runner/work/julia/bin/julia (unknown line)
> \_start at /home/runner/work/julia/bin/julia (unknown line)
> Allocations: 661670 (Pool: 661161; Big: 509); GC: 1
> Stacktrace:
> \[1\] pkgerror(msg::String)
> @ Pkg.Types /home/runner/work/julia/share/julia/stdlib/v1.9/Pkg/src/Types.jl:\[69\](https://github.com/kimikage/ColorTypes.jl/actions/runs/8842368991/job/24280905638?pr=3#step:7:70)
> \[2\] precompile(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; internal\_call::Bool, strict::Bool, warn\_loaded::Bool, already\_instantiated::Bool, timing::Bool, kwargs::Base.Pairs{Symbol, Base.TTY, Tuple{Symbol}, NamedTuple{(:io,), Tuple{Base.TTY}}})
> @ Pkg.API /home/runner/work/julia/share/julia/stdlib/v1.9/Pkg/src/API.jl:1619
> \[3\] precompile(pkgs::Vector{Pkg.Types.PackageSpec}; io::Base.TTY, kwargs::Base.Pairs{Symbol, Bool, Tuple{Symbol}, NamedTuple{(:warn\_loaded,), Tuple{Bool}}})
> @ Pkg.API /home/runner/work/julia/share/julia/stdlib/v1.9/Pkg/src/API.jl:156
> \[4\] precompile(; name::Nothing, uuid::Nothing, version::Nothing, url::Nothing, rev::Nothing, path::Nothing, mode::Pkg.Types.PackageMode, subdir::Nothing, kwargs::Base.Pairs{Symbol, Bool, Tuple{Symbol}, NamedTuple{(:warn\_loaded,), Tuple{Bool}}})
> @ Pkg.API /home/runner/work/julia/share/julia/stdlib/v1.9/Pkg/src/API.jl:171
> \[5\] top-level scope
> @ none:6
> Testing Precompilation of test environment failed. Continuing to tests
> Testing Running tests...
>   
> \[138\] signal (11.1): Segmentation fault
> in expression starting at /home/runner/work/ColorTypes.jl/ColorTypes.jl/src/types.jl:583
> top-level scope at /home/runner/work/ColorTypes.jl/ColorTypes.jl/src/types.jl:583
> jl\_toplevel\_eval\_flex at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/toplevel.c:903
> jl\_toplevel\_eval\_flex at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/toplevel.c:856
> ijl\_toplevel\_eval\_in at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/toplevel.c:971
> eval at ./boot.jl:3\[70\](https://github.com/kimikage/ColorTypes.jl/actions/runs/8842368991/job/24280905638?pr=3#step:7:71) \[inlined\]
> include\_string at ./loading.jl:1903
> \_jl\_invoke at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/gf.c:2758 \[inlined\]
> ijl\_apply\_generic at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/gf.c:2940
> \_include at ./loading.jl:1963
> include at ./Base.jl:457
> jfptr\_include\_34789 at /home/runner/work/julia/lib/julia/sys.so (unknown line)
> \_jl\_invoke at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/gf.c:2758 \[inlined\]
> ijl\_apply\_generic at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/gf.c:2940
> jl\_apply at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/julia.h:1880 \[inlined\]
> jl\_f\_\_call\_latest at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/builtins.c:774
> include at /home/runner/work/ColorTypes.jl/ColorTypes.jl/src/ColorTypes.jl:1
> unknown function (ip: 0x551993c123)
> \_jl\_invoke at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/gf.c:2758 \[inlined\]
> ijl\_apply\_generic at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/gf.c:2940
> jl\_apply at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/julia.h:1880 \[inlined\]
> do\_call at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/interpreter.c:126
> eval\_value at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/interpreter.c:226
> eval\_stmt\_value at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/interpreter.c:177 \[inlined\]
> eval\_body at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/interpreter.c:624
> jl\_interpret\_toplevel\_thunk at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/interpreter.c:762
> jl\_toplevel\_eval\_flex at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/toplevel.c:912
> jl\_eval\_module\_expr at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/toplevel.c:203 \[inlined\]
> jl\_toplevel\_eval\_flex at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/toplevel.c:\[71\](https://github.com/kimikage/ColorTypes.jl/actions/runs/8842368991/job/24280905638?pr=3#step:7:72)5
> jl\_toplevel\_eval\_flex at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/toplevel.c:856
> ijl\_toplevel\_eval\_in at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/toplevel.c:971
> eval at ./boot.jl:370 \[inlined\]
> include\_string at ./loading.jl:1903
> \_jl\_invoke at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/gf.c:2758 \[inlined\]
> ijl\_apply\_generic at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/gf.c:2940
> \_include at ./loading.jl:1963
> include at ./Base.jl:457 \[inlined\]
> include\_package\_for\_output at ./loading.jl:2049
> jfptr\_include\_package\_for\_output\_31838 at /home/runner/work/julia/lib/julia/sys.so (unknown line)
> \_jl\_invoke at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/gf.c:2758 \[inlined\]
> ijl\_apply\_generic at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/gf.c:2940
> jl\_apply at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/julia.h:1880 \[inlined\]
> do\_call at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/interpreter.c:126
> eval\_value at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/interpreter.c:226
> eval\_stmt\_value at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/interpreter.c:177 \[inlined\]
> eval\_body at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/interpreter.c:624
> jl\_interpret\_toplevel\_thunk at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/interpreter.c:762
> jl\_toplevel\_eval\_flex at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/toplevel.c:912
> jl\_toplevel\_eval\_flex at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/toplevel.c:856
> ijl\_toplevel\_eval\_in at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/toplevel.c:971
> eval at ./boot.jl:370 \[inlined\]
> include\_string at ./loading.jl:1903
> include\_string at ./loading.jl:1913 \[inlined\]
> exec\_options at ./client.jl:305
> \_start at ./client.jl:522
> jfptr\_\_start\_37121 at /home/runner/work/julia/lib/julia/sys.so (unknown line)
> \_jl\_invoke at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/gf.c:2758 \[inlined\]
> ijl\_apply\_generic at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/gf.c:2940
> jl\_apply at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/julia.h:1880 \[inlined\]
> true\_main at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/jlapi.c:5\[73\](https://github.com/kimikage/ColorTypes.jl/actions/runs/8842368991/job/24280905638?pr=3#step:7:74)
> jl\_repl\_entrypoint at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/src/jlapi.c:717
> main at /cache/build/default-armageddon-6/julialang/julia-release-1-dot-9/cli/loader\_exe.c:59
> unknown function (ip: 0x55010d84c3)
> \_\_libc\_start\_main at /lib/aarch64-linux-gnu/libc.so.6 (unknown line)
> \_start at /home/runner/work/julia/bin/julia (unknown line)
> \_start at /home/runner/work/julia/bin/julia (unknown line)
> Allocations: 662567 (Pool: 662053; Big: 514); GC: 1
> ERROR: LoadError: Failed to precompile ColorTypes \[3da002f7-5984-5a60-b8a6-cbb66c0b333f\] to "/root/.julia/compiled/v1.9/ColorTypes/jl\_pksIE1".
> Stacktrace:
> \[1\] error(s::String)
> @ Base ./error.jl:35
> \[2\] compilecache(pkg::Base.PkgId, path::String, internal\_stderr::IO, internal\_stdout::IO, keep\_loaded\_modules::Bool)
> @ Base ./loading.jl:2294
> \[3\] compilecache
> @ ./loading.jl:2167 \[inlined\]
> \[4\] \_require(pkg::Base.PkgId, env::String)
> @ Base ./loading.jl:1805
> \[5\] \_require\_prelocked(uuidkey::Base.PkgId, env::String)
> @ Base ./loading.jl:1660
> \[6\] macro expansion
> @ ./loading.jl:1648 \[inlined\]
> \[7\] macro expansion
> @ ./lock.jl:267 \[inlined\]
> \[8\] require(into::Module, mod::Symbol)
> @ Base ./loading.jl:1611
> \[9\] include(fname::String)
> @ Base.MainInclude ./client.jl:4\[78\](https://github.com/kimikage/ColorTypes.jl/actions/runs/8842368991/job/24280905638?pr=3#step:7:79)
> \[10\] top-level scope
> @ none:6
> in expression starting at /home/runner/work/ColorTypes.jl/ColorTypes.jl/test/runtests.jl:1
> \`\`\`
> \</details\>

ColorTypes.jl test shows no segfaults on Julia v1.6.7, v1.10, and v1.12.0-DEV.
