I installed Garuda Linux on my laptop and am trying to run Julia using atom as I used to.
I can use julia in a terminal but in Atom I have the following failure.
Upon pressing Enter to start a new session, everything seems fine and I can run a few commands, but a few seconds later I have the following error message
julia: /build/julia/src/julia-1.7.1/src/llvm-late-gc-lowering.cpp:562: std::pair<llvm::Value*, int> FindBaseValue(const State&, llvm::Value*, bool): Assertion `isa<LoadInst>(CurrentV) || isa<CallInst>(CurrentV) || isa<AtomicCmpXchgInst>(CurrentV) || isa<AtomicRMWInst>(CurrentV) || isa<Argument>(CurrentV) || isa<SelectInst>(CurrentV) || isa<PHINode>(CurrentV) || isa<AddrSpaceCastInst>(CurrentV) || isa<Constant>(CurrentV) || isa<AllocaInst>(CurrentV) || isa<InsertValueInst>(CurrentV) || isa<ExtractValueInst>(CurrentV) || isa<InsertElementInst>(CurrentV) || isa<ShuffleVectorInst>(CurrentV)' failed.
signal (6): Aborted
in expression starting at none:0
gsignal at /usr/bin/../lib/libc.so.6 (unknown line)
abort at /usr/bin/../lib/libc.so.6 (unknown line)
__assert_fail_base.cold at /usr/bin/../lib/libc.so.6 (unknown line)
__assert_fail at /usr/bin/../lib/libc.so.6 (unknown line)
unknown function (ip: 0x7f6282fb4274)
unknown function (ip: 0x7f6282fb8bb3)
unknown function (ip: 0x7f6282fb8dc0)
unknown function (ip: 0x7f6282fbf209)
unknown function (ip: 0x7f6282fc9f92)
_ZN4llvm13FPPassManager13runOnFunctionERNS_8FunctionE at /usr/bin/../lib/julia/../libLLVM-13.so (unknown line)
_ZN4llvm13FPPassManager11runOnModuleERNS_6ModuleE at /usr/bin/../lib/julia/../libLLVM-13.so (unknown line)
_ZN4llvm6legacy15PassManagerImpl3runERNS_6ModuleE at /usr/bin/../lib/julia/../libLLVM-13.so (unknown line)
unknown function (ip: 0x7f6282f9a83f)
_ZN4llvm3orc14IRCompileLayer4emitESt10unique_ptrINS0_29MaterializationResponsibilityESt14default_deleteIS3_EENS0_16ThreadSafeModuleE at /usr/bin/../lib/julia/../libLLVM-13.so (unknown line)
_ZN4llvm3orc31BasicIRLayerMaterializationUnit11materializeESt10unique_ptrINS0_29MaterializationResponsibilityESt14default_deleteIS3_EE at /usr/bin/../lib/julia/../libLLVM-13.so (unknown line)
_ZN4llvm3orc19MaterializationTask3runEv at /usr/bin/../lib/julia/../libLLVM-13.so (unknown line)
unknown function (ip: 0x7f627f0829f7)
_ZN4llvm3orc16ExecutionSession22dispatchOutstandingMUsEv at /usr/bin/../lib/julia/../libLLVM-13.so (unknown line)
_ZN4llvm3orc16ExecutionSession17OL_completeLookupESt10unique_ptrINS0_21InProgressLookupStateESt14default_deleteIS3_EESt10shared_ptrINS0_23AsynchronousSymbolQueryEESt8functionIFvRKNS_8DenseMapIPNS0_8JITDylibENS_8DenseSetINS0_15SymbolStringPtrENS_12DenseMapInfoISF_EEEENSG_ISD_EENS_6detail12DenseMapPairISD_SI_EEEEEE at /usr/bin/../lib/julia/../libLLVM-13.so (unknown line)
unknown function (ip: 0x7f627f0a23f9)
_ZN4llvm3orc16ExecutionSession19OL_applyQueryPhase1ESt10unique_ptrINS0_21InProgressLookupStateESt14default_deleteIS3_EENS_5ErrorE at /usr/bin/../lib/julia/../libLLVM-13.so (unknown line)
_ZN4llvm3orc16ExecutionSession6lookupENS0_10LookupKindERKSt6vectorISt4pairIPNS0_8JITDylibENS0_19JITDylibLookupFlagsEESaIS8_EENS0_15SymbolLookupSetENS0_11SymbolStateENS_15unique_functionIFvNS_8ExpectedINS_8DenseMapINS0_15SymbolStringPtrENS_18JITEvaluatedSymbolENS_12DenseMapInfoISI_EENS_6detail12DenseMapPairISI_SJ_EEEEEEEEESt8functionIFvRKNSH_IS6_NS_8DenseSetISI_SL_EENSK_IS6_EENSN_IS6_SV_EEEEEE at /usr/bin/../lib/julia/../libLLVM-13.so (unknown line)
_ZN4llvm3orc16ExecutionSession6lookupERKSt6vectorISt4pairIPNS0_8JITDylibENS0_19JITDylibLookupFlagsEESaIS7_EERKNS0_15SymbolLookupSetENS0_10LookupKindENS0_11SymbolStateESt8functionIFvRKNS_8DenseMapIS5_NS_8DenseSetINS0_15SymbolStringPtrENS_12DenseMapInfoISK_EEEENSL_IS5_EENS_6detail12DenseMapPairIS5_SN_EEEEEE at /usr/bin/../lib/julia/../libLLVM-13.so (unknown line)
_ZN4llvm3orc16ExecutionSession6lookupERKSt6vectorISt4pairIPNS0_8JITDylibENS0_19JITDylibLookupFlagsEESaIS7_EENS0_15SymbolStringPtrENS0_11SymbolStateE at /usr/bin/../lib/julia/../libLLVM-13.so (unknown line)
_ZN4llvm3orc16ExecutionSession6lookupENS_8ArrayRefIPNS0_8JITDylibEEENS0_15SymbolStringPtrENS0_11SymbolStateE at /usr/bin/../lib/julia/../libLLVM-13.so (unknown line)
_ZN4llvm3orc16ExecutionSession6lookupENS_8ArrayRefIPNS0_8JITDylibEEENS_9StringRefENS0_11SymbolStateE at /usr/bin/../lib/julia/../libLLVM-13.so (unknown line)
unknown function (ip: 0x7f6282f96406)
unknown function (ip: 0x7f6282f981d4)
unknown function (ip: 0x7f6282f99334)
unknown function (ip: 0x7f6282f98c3b)
unknown function (ip: 0x7f6282f98c3b)
unknown function (ip: 0x7f628305a9a2)
unknown function (ip: 0x7f6282f93fff)
unknown function (ip: 0x7f6282f1b8dd)
jl_apply_generic at /usr/bin/../lib/julia/libjulia-internal.so.1 (unknown line)
#270 at /home/benoitseron/.julia/packages/Atom/BUIFZ/src/outline.jl:10
handlemsg at /home/benoitseron/.julia/packages/Atom/BUIFZ/src/comm.jl:169
unknown function (ip: 0x7f625bc1776e)
jl_f__call_latest at /usr/bin/../lib/julia/libjulia-internal.so.1 (unknown line)
unknown function (ip: 0x7f6282f256d1)
unknown function (ip: 0x7f626b854fd0)
unknown function (ip: 0x7f6282f256d1)
unknown function (ip: 0x7f626b6e95b7)
unknown function (ip: 0x7f6282f256d1)
#31 at ./task.jl:423
unknown function (ip: 0x7f625bbfc4ff)
unknown function (ip: 0x7f6282f30264)
Allocations: 40427226 (Pool: 40416840; Big: 10386); GC: 34
which then exists the session.
I tried what I could see in [FAQ · Juno Documentation] which says changing the location of the binaries, but I was not able to enter anything that worked (I am not sure what to write there).
Does anyone have an idea of how to solve this?