Julia crashed - Core dumped

I tried to report bug therough this command julia --bug-report=yes. But it is giving the segmentation fault for this as well. I updated to Julia 1.9, the latest stable version and now it crashes.

[ Info: Loading BugReporting package...
[ Info: Package `BugReporting` not found - attempting temporary installation

[1385509] signal (11.1): Segmentation fault
in expression starting at none:0
gc_mark_scan_objarray at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/src/gc.c:2080 [inlined]
gc_mark_loop at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/src/gc.c:2487
_jl_gc_collect at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/src/gc.c:3407
ijl_gc_collect at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/src/gc.c:3713
maybe_collect at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/src/gc.c:1083 [inlined]
jl_gc_pool_alloc_inner at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/src/gc.c:1450 [inlined]
jl_gc_pool_alloc_noinline at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/src/gc.c:1511 [inlined]
jl_gc_alloc_ at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/src/julia_internal.h:460 [inlined]
jl_gc_alloc at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/src/gc.c:3760
_new_array_ at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/src/array.c:134 [inlined]
_new_array at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/src/array.c:198 [inlined]
ijl_alloc_array_1d at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/src/array.c:436
Array at ./boot.jl:477 [inlined]
Array at ./boot.jl:486 [inlined]
similar at ./abstractarray.jl:849 [inlined]
similar at ./abstractarray.jl:840 [inlined]
_similar_for at ./array.jl:661 [inlined]
_collect at ./array.jl:717
collect at ./array.jl:707 [inlined]
#split#470 at ./strings/util.jl:607 [inlined]
split at ./strings/util.jl:605 [inlined]
#read_tarball#45 at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/usr/share/julia/stdlib/v1.9/Tar/src/extract.jl:408
read_tarball at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/usr/share/julia/stdlib/v1.9/Tar/src/extract.jl:342 [inlined]
#19 at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/usr/share/julia/stdlib/v1.9/Pkg/src/Registry/registry_instance.jl:257 [inlined]
#open#770 at ./process.jl:427
open at ./process.jl:414 [inlined]
uncompress_registry at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/usr/share/julia/stdlib/v1.9/Pkg/src/Registry/registry_instance.jl:256
RegistryInstance at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/usr/share/julia/stdlib/v1.9/Pkg/src/Registry/registry_instance.jl:323
#reachable_registries#25 at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/usr/share/julia/stdlib/v1.9/Pkg/src/Registry/registry_instance.jl:429
reachable_registries at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/usr/share/julia/stdlib/v1.9/Pkg/src/Registry/registry_instance.jl:399 [inlined]
#download_default_registries#39 at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/usr/share/julia/stdlib/v1.9/Pkg/src/Registry/Registry.jl:99
download_default_registries at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/usr/share/julia/stdlib/v1.9/Pkg/src/Registry/Registry.jl:98 [inlined]
#add#27 at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/usr/share/julia/stdlib/v1.9/Pkg/src/API.jl:146
_jl_invoke at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/src/gf.c:2758 [inlined]
ijl_apply_generic at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/src/gf.c:2940
add at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/usr/share/julia/stdlib/v1.9/Pkg/src/API.jl:145
#add#24 at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/usr/share/julia/stdlib/v1.9/Pkg/src/API.jl:143 [inlined]
add at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/usr/share/julia/stdlib/v1.9/Pkg/src/API.jl:143
jfptr_add_67321.clone_1 at /home/cornell/.julia/juliaup/julia-1.9.4+0.x64.linux.gnu/lib/julia/sys.so (unknown line)
_jl_invoke at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/src/gf.c:2758 [inlined]
ijl_apply_generic at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/src/gf.c:2940
#82 at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/usr/share/julia/stdlib/v1.9/InteractiveUtils/src/InteractiveUtils.jl:353
#mktempdir#24 at ./file.jl:762
unknown function (ip: 0x7f472bffb91d)
_jl_invoke at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/src/gf.c:2758 [inlined]
ijl_apply_generic at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/src/gf.c:2940
mktempdir at ./file.jl:758
mktempdir at ./file.jl:758 [inlined]
report_bug at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/usr/share/julia/stdlib/v1.9/InteractiveUtils/src/InteractiveUtils.jl:348
unknown function (ip: 0x7f472bffa952)
_jl_invoke at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/src/gf.c:2758 [inlined]
ijl_apply_generic at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/src/gf.c:2940
exec_options at ./client.jl:242
_start at ./client.jl:522
jfptr__start_49509.clone_1 at /home/cornell/.julia/juliaup/julia-1.9.4+0.x64.linux.gnu/lib/julia/sys.so (unknown line)
_jl_invoke at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/src/gf.c:2758 [inlined]
ijl_apply_generic at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/src/gf.c:2940
jl_apply at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/src/julia.h:1880 [inlined]
true_main at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/src/jlapi.c:573
jl_repl_entrypoint at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/src/jlapi.c:717
main at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/cli/loader_exe.c:59
__libc_start_main at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
unknown function (ip: 0x4010b8)
Allocations: 571189 (Pool: 570591; Big: 598); GC: 0
Segmentation fault (core dumped)```

How is julia installed, what CPU and OS?

I have juliaup to switch betweens versions.

Commit 8e5136fa297 (2023-11-14 08:46 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 28 × Intel(R) Core(TM) i9-10940X CPU @ 3.30GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-14.0.6 (ORCJIT, cascadelake)
  Threads: 1 on 28 virtual cores```

Does it crash already when you start Julia? Or when you load a package? Or when you run a script?

Probably unrelated to the issue, but --bug-report=yes isn’t a valid flag. You need to specify something like --bug-report=rr.

  BugReporting.jl
  ≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡

  This package implements Julia's --bug-report flag, simplyfing bug reporting by enabling users to easily generate and upload reports to help developers fix bugs.

      julia --bug-report=REPORT_TYPE[,REPORT_FLAG,...]

  Currently, only the rr (https://github.com/rr-debugger/rr) tool is supported to generate bug reports, but in the future other types of reports may be supported as
  well.

  Available bug report types and flags
  ======================================

  --bug-report=help
  –––––––––––––––––––

  Print help message and exit.

  --bug-report=rr
  –––––––––––––––––

  Run julia inside rr record and upload the recorded trace.

  --bug-report=rr-local
  –––––––––––––––––––––––

  Run julia inside rr record but do not upload the recorded trace. Useful for local debugging.

  --bug-report=XXX,timeout=SECONDS
  ––––––––––––––––––––––––––––––––––

  Generate a bug report, but limit the execution time of the debugged process to SECONDS seconds. This is useful for generating reports for hangs.

  --bug-report=rr,chaos
  –––––––––––––––––––––––

  Generate an rr trace, while enabling so-called chaos mode. This is useful for flushing out threading-related issues (refer to the rr documentation for more
  details).

  Using the traces for local debugging
  ======================================

  You can use this package also for debugging your own Julia code locally. Use --bug-report=rr-local to record a trace, and replay() to replay the latest trace.

  For example, if you have a script in a project that you'd like to trace, run julia --bug-report=rr -- --project=foo run.jl.

Since you have juliaup could you try the following to see if Julia still crashes. Do I understand correctly that Julia is crashing on startup?

juliaup add 1.9.0
julia +1.9.0
juliaup remove 1.9.0

It that does not the crash, could you try 1.9.1, 1.9.2, and 1.9.3.

Also are you using a conda environment or do you have any environment variables such as LD_PRELOAD or LD_LIBRARY_PATH set?