Enzyme.jl
Enzyme.jl copied to clipboard
Jit dangling reference
julia-debug: /mnt/Data/git/Enzyme.jl/julia7/deps/srccache/llvm-julia-12.0.1-4/llvm/include/llvm/ExecutionEngine/Orc/SymbolStringPool.h:151: llvm::orc::SymbolStringPool::~SymbolStringPool(): Assertion `Pool.empty() && "Dangling references at pool destruction time"' failed.
signal (6): Aborted
in expression starting at none:0
gsignal at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
abort at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
unknown function (ip: 0x7fb7064b2489)
__assert_fail at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
~SymbolStringPool at /mnt/Data/git/Enzyme.jl/julia7/deps/srccache/llvm-julia-12.0.1-4/llvm/include/llvm/ExecutionEngine/Orc/SymbolStringPool.h:151 [inlined]
destroy<llvm::orc::SymbolStringPool> at /usr/include/c++/7/ext/new_allocator.h:140 [inlined]
destroy<llvm::orc::SymbolStringPool> at /usr/include/c++/7/bits/alloc_traits.h:487 [inlined]
operator() at /usr/include/c++/7/bits/shared_ptr_base.h:1310 [inlined]
_M_dispose at /usr/include/c++/7/bits/shared_ptr_base.h:470
_M_release at /usr/include/c++/7/bits/shared_ptr_base.h:154
~__shared_count at /usr/include/c++/7/bits/shared_ptr_base.h:684 [inlined]
~__shared_ptr at /usr/include/c++/7/bits/shared_ptr_base.h:1123 [inlined]
~shared_ptr at /usr/include/c++/7/bits/shared_ptr.h:93 [inlined]
~ExecutionSession at /mnt/Data/git/Enzyme.jl/julia7/deps/srccache/llvm-julia-12.0.1-4/llvm/include/llvm/ExecutionEngine/Orc/Core.h:1221 [inlined]
operator() at /usr/include/c++/7/bits/unique_ptr.h:78 [inlined]
~unique_ptr at /usr/include/c++/7/bits/unique_ptr.h:263 [inlined]
~LLJIT at /mnt/Data/git/Enzyme.jl/julia7/deps/srccache/llvm-julia-12.0.1-4/llvm/lib/ExecutionEngine/Orc/LLJIT.cpp:977
LLVMOrcDisposeLLJIT at /mnt/Data/git/Enzyme.jl/julia7/deps/srccache/llvm-julia-12.0.1-4/llvm/lib/ExecutionEngine/Orc/OrcV2CBindings.cpp:444
LLVMOrcDisposeLLJIT at /home/wmoses/.julia/packages/LLVM/shuW4/lib/12/libLLVM_h.jl:1258 [inlined]
dispose at /home/wmoses/.julia/packages/LLVM/shuW4/src/executionengine/lljit.jl:43 [inlined]
dispose at /mnt/Data/git/Enzyme.jl/src/compiler/orcv2.jl:18
#2 at /mnt/Data/git/Enzyme.jl/src/compiler/orcv2.jl:86
unknown function (ip: 0x7fb683e0181f)
_jl_invoke at /mnt/Data/git/Enzyme.jl/julia7/src/gf.c:2247
jl_apply_generic at /mnt/Data/git/Enzyme.jl/julia7/src/gf.c:2429
_atexit at ./initdefs.jl:350
jfptr__atexit_28276 at /mnt/Data/git/Enzyme.jl/julia7/usr/lib/julia/sys-debug.so (unknown line)
_jl_invoke at /mnt/Data/git/Enzyme.jl/julia7/src/gf.c:2228
jl_apply_generic at /mnt/Data/git/Enzyme.jl/julia7/src/gf.c:2429
jl_apply at /mnt/Data/git/Enzyme.jl/julia7/src/julia.h:1788
jl_atexit_hook at /mnt/Data/git/Enzyme.jl/julia7/src/init.c:223
jl_repl_entrypoint at /mnt/Data/git/Enzyme.jl/julia7/src/jlapi.c:702
jl_load_repl at /mnt/Data/git/Enzyme.jl/julia7/cli/loader_lib.c:224
main at /mnt/Data/git/Enzyme.jl/julia7/cli/loader_exe.c:42
__libc_start_main at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
_start at /mnt/Data/git/Enzyme.jl/julia7/usr/bin/julia-debug (unknown line)
Allocations: 566829673 (Pool: 0; Other: 566829673); GC: 587
Allocations: 566829673 (Pool: 0; Other: 566829673); GC: 587
ERROR: Package Enzyme errored during testing (received signal: 6)