Closed pat-alt closed 1 year ago
Here's the full stack trace for the version using SnoopPrecompile
:
julia> using CounterfactualExplanations
[ Info: Precompiling CounterfactualExplanations [2f13d31b-18db-44c1-bc43-ebaf2cff0be0]
┌ Warning: Package artifacts have been serialized on a different Julia version and may not be compatible with your version.
└ @ CounterfactualExplanations ~/.julia/packages/CounterfactualExplanations/KYB1N/src/artifacts_setup.jl:9
Illegal inttoptr
%magicptr = ptrtoint {} addrspace(10)* %129 to i64, !dbg !14
signal (6): Aborted
in expression starting at /home/paltmeyer/.julia/packages/CounterfactualExplanations/KYB1N/src/precompile.jl:3
gsignal at /lib64/libc.so.6 (unknown line)
abort at /lib64/libc.so.6 (unknown line)
runOnFunction at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/llvm-gc-invariant-verifier.cpp:194
_ZN4llvm13FPPassManager13runOnFunctionERNS_8FunctionE at /apps/arch/2023r1/software/linux-rhel8-skylake_avx512/gcc-8.5.0/llvm-13.0.1-luuedcob23h45ategu2xuvx4frzgch7u/lib/libLLVM-13jl.so (unknown line)
_ZN4llvm13FPPassManager11runOnModuleERNS_6ModuleE at /apps/arch/2023r1/software/linux-rhel8-skylake_avx512/gcc-8.5.0/llvm-13.0.1-luuedcob23h45ategu2xuvx4frzgch7u/lib/libLLVM-13jl.so (unknown line)
_ZN4llvm6legacy15PassManagerImpl3runERNS_6ModuleE at /apps/arch/2023r1/software/linux-rhel8-skylake_avx512/gcc-8.5.0/llvm-13.0.1-luuedcob23h45ategu2xuvx4frzgch7u/lib/libLLVM-13jl.so (unknown line)
operator() at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/jitlayers.cpp:524
_ZN4llvm3orc14IRCompileLayer4emitESt10unique_ptrINS0_29MaterializationResponsibilityESt14default_deleteIS3_EENS0_16ThreadSafeModuleE at /apps/arch/2023r1/software/linux-rhel8-skylake_avx512/gcc-8.5.0/llvm-13.0.1-luuedcob23h45ategu2xuvx4frzgch7u/lib/libLLVM-13jl.so (unknown line)
_ZN4llvm3orc31BasicIRLayerMaterializationUnit11materializeESt10unique_ptrINS0_29MaterializationResponsibilityESt14default_deleteIS3_EE at /apps/arch/2023r1/software/linux-rhel8-skylake_avx512/gcc-8.5.0/llvm-13.0.1-luuedcob23h45ategu2xuvx4frzgch7u/lib/libLLVM-13jl.so (unknown line)
_ZN4llvm3orc19MaterializationTask3runEv at /apps/arch/2023r1/software/linux-rhel8-skylake_avx512/gcc-8.5.0/llvm-13.0.1-luuedcob23h45ategu2xuvx4frzgch7u/lib/libLLVM-13jl.so (unknown line)
_ZN4llvm6detail18UniqueFunctionBaseIvJSt10unique_ptrINS_3orc4TaskESt14default_deleteIS4_EEEE8CallImplIPFvS7_EEEvPvRS7_ at /apps/arch/2023r1/software/linux-rhel8-skylake_avx512/gcc-8.5.0/llvm-13.0.1-luuedcob23h45ategu2xuvx4frzgch7u/lib/libLLVM-13jl.so (unknown line)
_ZN4llvm3orc16ExecutionSession12dispatchTaskESt10unique_ptrINS0_4TaskESt14default_deleteIS3_EE at /apps/arch/2023r1/software/linux-rhel8-skylake_avx512/gcc-8.5.0/llvm-13.0.1-luuedcob23h45ategu2xuvx4frzgch7u/lib/libLLVM-13jl.so (unknown line)
_ZN4llvm3orc16ExecutionSession22dispatchOutstandingMUsEv at /apps/arch/2023r1/software/linux-rhel8-skylake_avx512/gcc-8.5.0/llvm-13.0.1-luuedcob23h45ategu2xuvx4frzgch7u/lib/libLLVM-13jl.so (unknown line)
_ZN4llvm3orc16ExecutionSession17OL_completeLookupESt10unique_ptrINS0_21InProgressLookupStateESt14default_deleteIS3_EESt10shared_ptrINS0_23AsynchronousSymbolQueryEESt8functionIFvRKNS_8DenseMapIPNS0_8JITDylibENS_8DenseSetINS0_15SymbolStringPtrENS_12DenseMapInfoISF_EEEENSG_ISD_EENS_6detail12DenseMapPairISD_SI_EEEEEE at /apps/arch/2023r1/software/linux-rhel8-skylake_avx512/gcc-8.5.0/llvm-13.0.1-luuedcob23h45ategu2xuvx4frzgch7u/lib/libLLVM-13jl.so (unknown line)
_ZN4llvm3orc25InProgressFullLookupState8completeESt10unique_ptrINS0_21InProgressLookupStateESt14default_deleteIS3_EE at /apps/arch/2023r1/software/linux-rhel8-skylake_avx512/gcc-8.5.0/llvm-13.0.1-luuedcob23h45ategu2xuvx4frzgch7u/lib/libLLVM-13jl.so (unknown line)
_ZN4llvm3orc16ExecutionSession19OL_applyQueryPhase1ESt10unique_ptrINS0_21InProgressLookupStateESt14default_deleteIS3_EENS_5ErrorE at /apps/arch/2023r1/software/linux-rhel8-skylake_avx512/gcc-8.5.0/llvm-13.0.1-luuedcob23h45ategu2xuvx4frzgch7u/lib/libLLVM-13jl.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 /apps/arch/2023r1/software/linux-rhel8-skylake_avx512/gcc-8.5.0/llvm-13.0.1-luuedcob23h45ategu2xuvx4frzgch7u/lib/libLLVM-13jl.so (unknown line)
_ZN4llvm3orc16ExecutionSession6lookupERKSt6vectorISt4pairIPNS0_8JITDylibENS0_19JITDylibLookupFlagsEESaIS7_EERKNS0_15SymbolLookupSetENS0_10LookupKindENS0_11SymbolStateESt8functionIFvRKNS_8DenseMapIS5_NS_8DenseSetINS0_15SymbolStringPtrENS_12DenseMapInfoISK_EEEENSL_IS5_EENS_6detail12DenseMapPairIS5_SN_EEEEEE at /apps/arch/2023r1/software/linux-rhel8-skylake_avx512/gcc-8.5.0/llvm-13.0.1-luuedcob23h45ategu2xuvx4frzgch7u/lib/libLLVM-13jl.so (unknown line)
_ZN4llvm3orc16ExecutionSession6lookupERKSt6vectorISt4pairIPNS0_8JITDylibENS0_19JITDylibLookupFlagsEESaIS7_EENS0_15SymbolStringPtrENS0_11SymbolStateE at /apps/arch/2023r1/software/linux-rhel8-skylake_avx512/gcc-8.5.0/llvm-13.0.1-luuedcob23h45ategu2xuvx4frzgch7u/lib/libLLVM-13jl.so (unknown line)
_ZN4llvm3orc16ExecutionSession6lookupENS_8ArrayRefIPNS0_8JITDylibEEENS0_15SymbolStringPtrENS0_11SymbolStateE at /apps/arch/2023r1/software/linux-rhel8-skylake_avx512/gcc-8.5.0/llvm-13.0.1-luuedcob23h45ategu2xuvx4frzgch7u/lib/libLLVM-13jl.so (unknown line)
_ZN4llvm3orc16ExecutionSession6lookupENS_8ArrayRefIPNS0_8JITDylibEEENS_9StringRefENS0_11SymbolStateE at /apps/arch/2023r1/software/linux-rhel8-skylake_avx512/gcc-8.5.0/llvm-13.0.1-luuedcob23h45ategu2xuvx4frzgch7u/lib/libLLVM-13jl.so (unknown line)
addModule at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/jitlayers.cpp:968
jl_add_to_ee at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/jitlayers.cpp:1261
jl_add_to_ee at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/jitlayers.cpp:1305
jl_add_to_ee at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/jitlayers.cpp:1327 [inlined]
_jl_compile_codeinst at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/jitlayers.cpp:149
jl_generate_fptr_impl at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/jitlayers.cpp:332
jl_compile_method_internal at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/gf.c:2081 [inlined]
jl_compile_method_internal at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/gf.c:2025
_jl_invoke at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/gf.c:2359 [inlined]
ijl_apply_generic at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/gf.c:2549
#166 at ./none:0
iterate at ./generator.jl:47 [inlined]
collect at ./array.jl:787
unknown function (ip: 0x155500dbc9f2)
prune! at /home/paltmeyer/.julia/packages/IRTools/jcpZw/src/passes/passes.jl:181
|> at ./operators.jl:911 [inlined]
#IR#15 at /home/paltmeyer/.julia/packages/IRTools/jcpZw/src/ir/wrap.jl:151 [inlined]
IR at /home/paltmeyer/.julia/packages/IRTools/jcpZw/src/ir/wrap.jl:146 [inlined]
_generate_pullback_via_decomposition at /home/paltmeyer/.julia/packages/Zygote/4SSHS/src/compiler/emit.jl:101
_generate_pullback at /home/paltmeyer/.julia/packages/Zygote/4SSHS/src/compiler/interface2.jl:28
_jl_invoke at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/gf.c:2367 [inlined]
ijl_apply_generic at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/gf.c:2549
jl_apply at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/julia.h:1839 [inlined]
do_apply at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/builtins.c:730
#s3198#1607 at /home/paltmeyer/.julia/packages/Zygote/4SSHS/src/compiler/interface2.jl:102 [inlined]
#s3198#1607 at ./none:0
GeneratedFunctionStub at ./boot.jl:582
_jl_invoke at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/gf.c:2367 [inlined]
ijl_apply_generic at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/gf.c:2549
jl_apply at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/julia.h:1839 [inlined]
jl_call_staged at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/method.c:520
ijl_code_for_staged at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/method.c:571
get_staged at ./compiler/utilities.jl:114
retrieve_code_info at ./compiler/utilities.jl:126 [inlined]
InferenceState at ./compiler/inferencestate.jl:284
typeinf_ext at ./compiler/typeinfer.jl:965
typeinf_ext_toplevel at ./compiler/typeinfer.jl:1000
typeinf_ext_toplevel at ./compiler/typeinfer.jl:996
jfptr_typeinf_ext_toplevel_12208 at /apps/arch/2023r1/software/linux-rhel8-skylake_avx512/gcc-8.5.0/julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/lib/julia/sys.so (unknown line)
_jl_invoke at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/gf.c:2367 [inlined]
ijl_apply_generic at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/gf.c:2549
jl_apply at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/julia.h:1839 [inlined]
jl_type_infer at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/gf.c:319
jl_generate_fptr_impl at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/jitlayers.cpp:319
jl_compile_method_internal at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/gf.c:2081 [inlined]
jl_compile_method_internal at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/gf.c:2025
_jl_invoke at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/gf.c:2359 [inlined]
ijl_apply_generic at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/gf.c:2549
_pullback at /home/paltmeyer/.julia/packages/CounterfactualExplanations/KYB1N/src/generators/loss.jl:18 [inlined]
_pullback at /home/paltmeyer/.julia/packages/Zygote/4SSHS/src/compiler/interface2.jl:0
unknown function (ip: 0x1555155b6906)
pullback at /home/paltmeyer/.julia/packages/Zygote/4SSHS/src/compiler/interface.jl:414
gradient at /home/paltmeyer/.julia/packages/Zygote/4SSHS/src/compiler/interface.jl:96
∂ℓ at /home/paltmeyer/.julia/packages/CounterfactualExplanations/KYB1N/src/generators/gradient_based/loss.jl:13
∇ at /home/paltmeyer/.julia/packages/CounterfactualExplanations/KYB1N/src/generators/gradient_based/loss.jl:46
unknown function (ip: 0x1555155b516d)
propose_state at /home/paltmeyer/.julia/packages/CounterfactualExplanations/KYB1N/src/generators/gradient_based/utils.jl:9
generate_perturbations at /home/paltmeyer/.julia/packages/CounterfactualExplanations/KYB1N/src/generators/gradient_based/utils.jl:24
unknown function (ip: 0x1555155b44b6)
update! at /home/paltmeyer/.julia/packages/CounterfactualExplanations/KYB1N/src/counterfactuals/search.jl:9
#generate_counterfactual#49 at /home/paltmeyer/.julia/packages/CounterfactualExplanations/KYB1N/src/generate_counterfactual/core.jl:86
macro expansion at /home/paltmeyer/.julia/packages/CounterfactualExplanations/KYB1N/src/precompile.jl:17 [inlined]
macro expansion at /home/paltmeyer/.julia/packages/SnoopPrecompile/1XXT1/src/SnoopPrecompile.jl:62 [inlined]
macro expansion at /home/paltmeyer/.julia/packages/CounterfactualExplanations/KYB1N/src/precompile.jl:7 [inlined]
top-level scope at /home/paltmeyer/.julia/packages/SnoopPrecompile/1XXT1/src/SnoopPrecompile.jl:119
jl_toplevel_eval_flex at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/toplevel.c:897
jl_toplevel_eval_flex at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/toplevel.c:850
ijl_toplevel_eval_in at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/toplevel.c:965
eval at ./boot.jl:368 [inlined]
include_string at ./loading.jl:1428
_jl_invoke at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/gf.c:2367 [inlined]
ijl_apply_generic at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/gf.c:2549
_include at ./loading.jl:1488
include at ./Base.jl:419
jfptr_include_28487 at /apps/arch/2023r1/software/linux-rhel8-skylake_avx512/gcc-8.5.0/julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/lib/julia/sys.so (unknown line)
_jl_invoke at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/gf.c:2367 [inlined]
ijl_apply_generic at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/gf.c:2549
jl_apply at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/julia.h:1839 [inlined]
jl_f__call_latest at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/builtins.c:774
include at /home/paltmeyer/.julia/packages/CounterfactualExplanations/KYB1N/src/CounterfactualExplanations.jl:1
unknown function (ip: 0x15553b6ab982)
jl_apply at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/julia.h:1839 [inlined]
do_call at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/interpreter.c:126
eval_value at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/interpreter.c:215
eval_stmt_value at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/interpreter.c:166 [inlined]
eval_body at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/interpreter.c:594
jl_interpret_toplevel_thunk at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/interpreter.c:750
jl_toplevel_eval_flex at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/toplevel.c:906
jl_eval_module_expr at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/toplevel.c:203 [inlined]
jl_toplevel_eval_flex at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/toplevel.c:709
jl_toplevel_eval_flex at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/toplevel.c:850
ijl_toplevel_eval_in at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/toplevel.c:965
eval at ./boot.jl:368 [inlined]
include_string at ./loading.jl:1428
_jl_invoke at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/gf.c:2367 [inlined]
ijl_apply_generic at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/gf.c:2549
_include at ./loading.jl:1488
include at ./Base.jl:419 [inlined]
include_package_for_output at ./loading.jl:1554
jfptr_include_package_for_output_33527 at /apps/arch/2023r1/software/linux-rhel8-skylake_avx512/gcc-8.5.0/julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/lib/julia/sys.so (unknown line)
_jl_invoke at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/gf.c:2367 [inlined]
ijl_apply_generic at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/gf.c:2549
jl_apply at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/julia.h:1839 [inlined]
do_call at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/interpreter.c:126
eval_value at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/interpreter.c:215
eval_stmt_value at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/interpreter.c:166 [inlined]
eval_body at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/interpreter.c:594
jl_interpret_toplevel_thunk at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/interpreter.c:750
jl_toplevel_eval_flex at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/toplevel.c:906
jl_toplevel_eval_flex at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/toplevel.c:850
ijl_toplevel_eval_in at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/toplevel.c:965
eval at ./boot.jl:368 [inlined]
include_string at ./loading.jl:1428
include_string at ./loading.jl:1438
_jl_invoke at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/gf.c:2367 [inlined]
ijl_apply_generic at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/gf.c:2549
exec_options at ./client.jl:301
_start at ./client.jl:522
jfptr__start_44032 at /apps/arch/2023r1/software/linux-rhel8-skylake_avx512/gcc-8.5.0/julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/lib/julia/sys.so (unknown line)
_jl_invoke at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/gf.c:2367 [inlined]
ijl_apply_generic at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/gf.c:2549
jl_apply at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/julia.h:1839 [inlined]
true_main at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/jlapi.c:575
jl_repl_entrypoint at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/src/jlapi.c:719
main at /tmp/spack-stage/feverdij/spack-stage-julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/spack-src/cli/loader_exe.c:59
__libc_start_main at /lib64/libc.so.6 (unknown line)
_start at /apps/arch/2023r1/software/linux-rhel8-skylake_avx512/gcc-8.5.0/julia-1.8.2-nr7lebgwpvj42wydlkrslxjhewgahaor/bin/julia (unknown line)
Allocations: 268382778 (Pool: 268321553; Big: 61225); GC: 100
ERROR: Failed to precompile CounterfactualExplanations [2f13d31b-18db-44c1-bc43-ebaf2cff0be0] to /home/paltmeyer/.julia/compiled/v1.8/CounterfactualExplanations/jl_byz45u.
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:1707
[3] compilecache
@ ./loading.jl:1651 [inlined]
[4] _require(pkg::Base.PkgId)
@ Base ./loading.jl:1337
[5] _require_prelocked(uuidkey::Base.PkgId)
@ Base ./loading.jl:1200
[6] macro expansion
@ ./loading.jl:1180 [inlined]
[7] macro expansion
@ ./lock.jl:223 [inlined]
[8] require(into::Module, mod::Symbol)
@ Base ./loading.jl:1144
You should migrate to PrecompileTools (SnoopPrecompile is deprecated.)
If the error persists, can you report it as a Julia bug? When you see C stackframes it's typically deeper than a package bug.
Oh I completely missed that, sorry! Thanks
This is a strange error. When trying to load package that uses
SnoopPrecompile
on my university's HPC, it fails to precompile:There's a long stack trace I'll post in a comment for completeness. I just removed
SnoopPrecompile
from the dev version of the package. Loading this version works:This was my
precompile.jl
file before this most recent commit.I guess this might just be a local issue on our HPC but thought I'd keep a record of it here. Anything obvious going on here?