PyROOT: Importing ROOT crashes in another Conda environment

Hi,

Issue

I’ve installed ROOT in a conda environment (let’s name it root_cern). Everything works fine in root_cern environment. However, if I switch back the base environment and launch the python installed in the environment root_cern, import ROOT crashes the python program.

Why not use the environment where ROOT is installed?

Installing ROOT requires a dependency from an old version of gcc, which makes the environment basically unusable especially if another project requires a newer version of gcc. Currently installing ROOT in conda leads to the installing of gcc-12 but my project requires at least gcc-13. Running the project inside the environment fails because it’s always linked to the libstdc++ installed by conda.

Expectation

ROOT package should also be able to be imported even in other environments, like other python packages:

conda activate root_cern
# in root_cern env
conda install seaborn
conda deactivate
# in base env
python3 
# import seaborn -> Fail
/home/my_name/miniconda3/envs/root_cern/bin/python3
# import seabron -> OK!

Steps to reproduce

  1. Create a new conda environment for ROOT
conda create --name "root_cern"
  1. Install ROOT in root_cern environment
conda install conda-forge::root
  1. Back to base and launch the python installed from root_cern
conda deactivate
/home/my_name/miniconda3/envs/root_cern/bin/python3
  1. In the python environment, import ROOT
import ROOT
  1. Python crashes with the following error message:
ERROR in cling::CIFactory::createCI(): cannot extract standard library include paths!
Invoking:
  LC_ALL=C x86_64-conda-linux-gnu-c++  -O3 -DNDEBUG -xc++ -E -v /dev/null 2>&1 | sed -n -e '/^.include/,${' -e '/^ \/.*++/p' -e '}'
Results was:
With exit code 0
error: entry with relative path at the root level is not discoverable
{ 'name': '', 'type': 'directory',
          ^~
Error in modulemap.overlay!

 *** Break *** segmentation violation
===========================================================
There was a crash.
This is the entire stack trace of all threads:
===========================================================
#0  0x00007ff2445942d7 in __GI___waitpid (pid=27178, stat_loc=stat_loc
entry=0x7ffc7e09acf8, options=options
entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:30
#1  0x00007ff24451270f in do_system (line=<optimized out>) at ../sysdeps/posix/system.c:149
#2  0x00007ff2439d794b in TUnixSystem::StackTrace() () from /u/yanwang/miniconda3/envs/root_cern/bin/../lib/libCore.so.6.30
#3  0x00007ff2439d5296 in TUnixSystem::DispatchSignals(ESignals) () from /u/yanwang/miniconda3/envs/root_cern/bin/../lib/libCore.so.6.30
#4  <signal handler called>
#5  0x00007ff24012ae02 in llvm::vfs::OverlayFileSystem::pushOverlay(llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>) () from /u/yanwang/miniconda3/envs/root_cern/lib/libCling.so
#6  0x00007ff23bc3480a in (anonymous namespace)::collectModuleMaps(clang::CompilerInstance&, llvm::SmallVectorImpl<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&) [clone .constprop.0] () from /u/yanwang/miniconda3/envs/root_cern/lib/libCling.so
#7  0x00007ff23bc35501 in (anonymous namespace)::setupCxxModules(clang::CompilerInstance&) () from /u/yanwang/miniconda3/envs/root_cern/lib/libCling.so
#8  0x00007ff23bc38fd3 in (anonymous namespace)::createCIImpl(std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> >, cling::CompilerOptions const&, char const*, std::unique_ptr<clang::ASTConsumer, std::default_delete<clang::ASTConsumer> >, std::vector<std::shared_ptr<clang::ModuleFileExtension>, std::allocator<std::shared_ptr<clang::ModuleFileExtension> > > const&, bool, bool) () from /u/yanwang/miniconda3/envs/root_cern/lib/libCling.so
#9  0x00007ff23bc3a7d6 in cling::CIFactory::createCI(llvm::StringRef, cling::InvocationOptions const&, char const*, std::unique_ptr<clang::ASTConsumer, std::default_delete<clang::ASTConsumer> >, std::vector<std::shared_ptr<clang::ModuleFileExtension>, std::allocator<std::shared_ptr<clang::ModuleFileExtension> > > const&) () from /u/yanwang/miniconda3/envs/root_cern/lib/libCling.so
#10 0x00007ff23bd12ad0 in cling::IncrementalParser::IncrementalParser(cling::Interpreter*, char const*, std::vector<std::shared_ptr<clang::ModuleFileExtension>, std::allocator<std::shared_ptr<clang::ModuleFileExtension> > > const&) () from /u/yanwang/miniconda3/envs/root_cern/lib/libCling.so
#11 0x00007ff23bc82f85 in cling::Interpreter::Interpreter(int, char const* const*, char const*, std::vector<std::shared_ptr<clang::ModuleFileExtension>, std::allocator<std::shared_ptr<clang::ModuleFileExtension> > > const&, void*, bool, cling::Interpreter const*) () from /u/yanwang/miniconda3/envs/root_cern/lib/libCling.so
#12 0x00007ff23bbcad5b in TCling::TCling(char const*, char const*, char const* const*, void*) () from /u/yanwang/miniconda3/envs/root_cern/lib/libCling.so
#13 0x00007ff23bbcc7f5 in CreateInterpreter () from /u/yanwang/miniconda3/envs/root_cern/lib/libCling.so
#14 0x00007ff2438b2993 in TROOT::InitInterpreter() () from /u/yanwang/miniconda3/envs/root_cern/bin/../lib/libCore.so.6.30
#15 0x00007ff2438b2e30 in ROOT::Internal::GetROOT2() () from /u/yanwang/miniconda3/envs/root_cern/bin/../lib/libCore.so.6.30
#16 0x00007ff243b92146 in __static_initialization_and_destruction_0(int, int) [clone .constprop.0] () from /u/yanwang/miniconda3/envs/root_cern/bin/../lib/libcppyy_backend3_11.so.6.30
#17 0x00007ff24488f38a in call_init (l=<optimized out>, argc=argc
entry=1, argv=argv
entry=0x7ffc7e0a2308, env=env
entry=0x5560c32a2fb0) at dl-init.c:72
#18 0x00007ff24488f486 in call_init (env=0x5560c32a2fb0, argv=0x7ffc7e0a2308, argc=1, l=<optimized out>) at dl-init.c:30
#19 _dl_init (main_map=main_map
entry=0x5560c32aa5f0, argc=1, argv=0x7ffc7e0a2308, env=0x5560c32a2fb0) at dl-init.c:119
#20 0x00007ff2448932e3 in dl_open_worker (a=a
entry=0x7ffc7e0a0840) at dl-open.c:517
#21 0x00007ff2446028cf in __GI__dl_catch_exception (exception=exception
entry=0x7ffc7e0a0820, operate=operate
entry=0x7ff244892f70 <dl_open_worker>, args=args
entry=0x7ffc7e0a0840) at dl-error-skeleton.c:196
#22 0x00007ff244892bca in _dl_open (file=0x7ff243d147d0 "/u/yanwang/miniconda3/envs/root_cern/lib/python3.11/site-packages/libcppyy3_11.so", mode=-2147483646, caller_dlopen=0x5560c138da9c <_PyImport_FindSharedFuncptr+140>, nsid=<optimized out>, argc=1, argv=0x7ffc7e0a2308, env=0x5560c32a2fb0) at dl-open.c:599
#23 0x00007ff244817256 in dlopen_doit (a=a
entry=0x7ffc7e0a0a60) at dlopen.c:66
#24 0x00007ff2446028cf in __GI__dl_catch_exception (exception=exception
entry=0x7ffc7e0a0a00, operate=operate
entry=0x7ff244817200 <dlopen_doit>, args=args
entry=0x7ffc7e0a0a60) at dl-error-skeleton.c:196
#25 0x00007ff24460295f in __GI__dl_catch_error (objname=objname
entry=0x5560c314c700, errstring=errstring
entry=0x5560c314c708, mallocedp=mallocedp
entry=0x5560c314c6f8, operate=operate
entry=0x7ff244817200 <dlopen_doit>, args=args
entry=0x7ffc7e0a0a60) at dl-error-skeleton.c:215
#26 0x00007ff244817995 in _dlerror_run (operate=operate
entry=0x7ff244817200 <dlopen_doit>, args=args
entry=0x7ffc7e0a0a60) at dlerror.c:170
#27 0x00007ff2448172e6 in __dlopen (file=<optimized out>, mode=<optimized out>) at dlopen.c:87
#28 0x00005560c138da9c in _PyImport_FindSharedFuncptr (prefix=0x5560c13f00f6 "PyInit", shortname=0x7ff243d0d3d0 "libcppyy3_11", pathname=0x7ff243d147d0 "/u/yanwang/miniconda3/envs/root_cern/lib/python3.11/site-packages/libcppyy3_11.so", fp=0x0) at /usr/local/src/conda/python-3.11.9/Include/cpython/transmogrify.h:80
#29 0x00005560c138c6ee in _PyImport_LoadDynamicModuleWithSpec (fp=0x0, spec=0x7ff243d216d0) at /usr/local/src/conda/python-3.11.9/Include/bytearrayobject.h:37
#30 _imp_create_dynamic_impl (module=<optimized out>, file=<optimized out>, spec=0x7ff243d216d0) at /usr/local/src/conda/python-3.11.9/Objects/stdio2.h:2397
#31 _imp_create_dynamic (module=<optimized out>, args=<optimized out>, nargs=<optimized out>) at /usr/local/src/conda/python-3.11.9/Include/cpython/fastsearch.h:446
#32 0x00005560c12c3223 in cfunction_vectorcall_FASTCALL (func=0x7ff243fea840, args=0x7ff243d0d258, nargsf=1, kwnames=<optimized out>) at /usr/local/src/conda/python-3.11.9/Modules/abstract.c:2023
#33 0x00005560c12b18d4 in do_call_core (use_tracing=<optimized out>, kwdict=0x7ff243d12000, callargs=0x7ff243d0d240, func=0x7ff243fea840, tstate=<optimized out>) at /usr/local/src/conda/python-3.11.9/Programs/ceval_gil.h:7321
#34 _PyEval_EvalFrameDefault (tstate=<optimized out>, frame=<optimized out>, throwflag=<optimized out>) at /usr/local/src/conda/python-3.11.9/Programs/ceval_gil.h:5376
#35 0x00005560c1360a8d in _PyEval_EvalFrame (throwflag=0, throwflag
entry=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, frame=0x7ff2448526d8, frame
entry=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, tstate=0x5560c1637998 <_PyRuntime+166328>) at /home/conda/feedstock_root/build_artifacts/python-split_1713550854359/_build_env/x86_64-conda-linux-gnu/sysroot/usr/include/bits/pycore_frame.h:73
#36 _PyEval_Vector (tstate=0x5560c1637998 <_PyRuntime+166328>, func=0x7ff243d0b7e0, locals=<optimized out>, args=0x0, argcount=0, kwnames=0x0) at /usr/local/src/conda/python-3.11.9/Programs/ceval_gil.h:6434
#37 0x00005560c136011f in PyEval_EvalCode (co=0x5560c32a95c0, globals=<optimized out>, locals=0x7ff243e4c180) at /usr/local/src/conda/python-3.11.9/Programs/ceval_gil.h:1148
#38 0x00005560c13776ee in builtin_exec_impl (module=<optimized out>, closure=<optimized out>, locals=0x7ff243e4c180, globals=0x7ff243e4c180, source=0x5560c32a95c0) at /usr/local/src/conda/python-3.11.9/Include/tupleobject.h:997
#39 builtin_exec (module=<optimized out>, args=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, nargs=<optimized out>, kwnames=<optimized out>) at /usr/local/src/conda/python-3.11.9/Modules/_io/clinic/bytesio.c:465
#40 0x00005560c12b5fbf in cfunction_vectorcall_FASTCALL_KEYWORDS (func=0x7ff243fe8f90, args=0x7ff243d10958, nargsf=<optimized out>, kwnames=0x0) at /usr/local/src/conda/python-3.11.9/Modules/funcobject.c:52
#41 0x00005560c12b18d4 in do_call_core (use_tracing=<optimized out>, kwdict=0x7ff243cff580, callargs=0x7ff243d10940, func=0x7ff243fe8f90, tstate=<optimized out>) at /usr/local/src/conda/python-3.11.9/Programs/ceval_gil.h:7321
#42 _PyEval_EvalFrameDefault (tstate=<optimized out>, frame=<optimized out>, throwflag=<optimized out>) at /usr/local/src/conda/python-3.11.9/Programs/ceval_gil.h:5376
#43 0x00005560c12cc981 in _PyEval_EvalFrame (throwflag=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, frame=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, tstate=0x5560c1637998 <_PyRuntime+166328>) at /home/conda/feedstock_root/build_artifacts/python-split_1713550854359/_build_env/x86_64-conda-linux-gnu/sysroot/usr/include/bits/pycore_frame.h:70
#44 _PyEval_Vector (kwnames=<optimized out>, argcount=2, args=0x7ffc7e0a1370, locals=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, func=<optimized out>, tstate=0x5560c1637998 <_PyRuntime+166328>) at /usr/local/src/conda/python-3.11.9/Programs/ceval_gil.h:6434
#45 _PyFunction_Vectorcall (func=<optimized out>, stack=0x7ffc7e0a1370, nargsf=<optimized out>, kwnames=<optimized out>) at /home/conda/feedstock_root/build_artifacts/python-split_1713550854359/_build_env/x86_64-conda-linux-gnu/sysroot/usr/include/bits/pycore_call.h:393
#46 0x00005560c12bbd76 in _PyObject_VectorcallTstate (kwnames=0x0, kwnames
entry=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, nargsf=2, nargsf
entry=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, args=0x7ffc7e0a1370, args
entry=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, callable=0x7ff243fafce0, callable
entry=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, tstate=0x5560c1637998 <_PyRuntime+166328>, tstate
entry=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>) at /home/conda/feedstock_root/build_artifacts/python-split_1713550854359/_build_env/x86_64-conda-linux-gnu/sysroot/usr/include/bits/pycore_pyerrors.h:77
#47 object_vacall (tstate=0x5560c1637998 <_PyRuntime+166328>, base=<optimized out>, callable=0x7ff243fafce0, vargs=0x7ffc7e0a1400) at /home/conda/feedstock_root/build_artifacts/python-split_1713550854359/_build_env/x86_64-conda-linux-gnu/sysroot/usr/include/bits/pycore_call.h:819
#48 0x00005560c12ea37a in PyObject_CallMethodObjArgs (obj=0x0, name=<optimized out>) at /home/conda/feedstock_root/build_artifacts/python-split_1713550854359/_build_env/x86_64-conda-linux-gnu/sysroot/usr/include/bits/pycore_call.h:878
#49 0x00005560c11e1bff in import_find_and_load (abs_name=0x7ff243cffbf0, tstate=0x5560c1637998 <_PyRuntime+166328>) at /usr/local/src/conda/python-3.11.9/Objects/stdio2.h:1748
#50 PyImport_ImportModuleLevelObject (name=0x7ff243cffbf0, globals=<optimized out>, locals=<optimized out>, fromlist=0x5560c15fa0c0 <_Py_NoneStruct>, level=0) at /usr/local/src/conda/python-3.11.9/Objects/stdio2.h:1847
#51 0x00005560c12af817 in import_name (level=0x5560c160f328 <_PyRuntime+840>, level
entry=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, fromlist=0x5560c15fa0c0 <_Py_NoneStruct>, fromlist
entry=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, name=0x7ff243cffbf0, name
entry=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, frame=0x7ff244852370, frame
entry=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, tstate=<optimized out>) at /usr/local/src/conda/python-3.11.9/Programs/ceval_gil.h:7422
#52 _PyEval_EvalFrameDefault (tstate=<optimized out>, frame=<optimized out>, throwflag=<optimized out>) at /usr/local/src/conda/python-3.11.9/Programs/ceval_gil.h:3946
#53 0x00005560c1360a8d in _PyEval_EvalFrame (throwflag=0, throwflag
entry=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, frame=0x7ff244852370, frame
entry=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, tstate=0x5560c1637998 <_PyRuntime+166328>) at /home/conda/feedstock_root/build_artifacts/python-split_1713550854359/_build_env/x86_64-conda-linux-gnu/sysroot/usr/include/bits/pycore_frame.h:73
#54 _PyEval_Vector (tstate=0x5560c1637998 <_PyRuntime+166328>, func=0x7ff243d0b4c0, locals=<optimized out>, args=0x0, argcount=0, kwnames=0x0) at /usr/local/src/conda/python-3.11.9/Programs/ceval_gil.h:6434
#55 0x00005560c136011f in PyEval_EvalCode (co=0x5560c321cb20, globals=<optimized out>, locals=0x7ff243e238c0) at /usr/local/src/conda/python-3.11.9/Programs/ceval_gil.h:1148
#56 0x00005560c13776ee in builtin_exec_impl (module=<optimized out>, closure=<optimized out>, locals=0x7ff243e238c0, globals=0x7ff243e238c0, source=0x5560c321cb20) at /usr/local/src/conda/python-3.11.9/Include/tupleobject.h:997
#57 builtin_exec (module=<optimized out>, args=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, nargs=<optimized out>, kwnames=<optimized out>) at /usr/local/src/conda/python-3.11.9/Modules/_io/clinic/bytesio.c:465
#58 0x00005560c12b5fbf in cfunction_vectorcall_FASTCALL_KEYWORDS (func=0x7ff243fe8f90, args=0x7ff243e4fa98, nargsf=<optimized out>, kwnames=0x0) at /usr/local/src/conda/python-3.11.9/Modules/funcobject.c:52
#59 0x00005560c12b18d4 in do_call_core (use_tracing=<optimized out>, kwdict=0x7ff243e3c180, callargs=0x7ff243e4fa80, func=0x7ff243fe8f90, tstate=<optimized out>) at /usr/local/src/conda/python-3.11.9/Programs/ceval_gil.h:7321
#60 _PyEval_EvalFrameDefault (tstate=<optimized out>, frame=<optimized out>, throwflag=<optimized out>) at /usr/local/src/conda/python-3.11.9/Programs/ceval_gil.h:5376
#61 0x00005560c12cc981 in _PyEval_EvalFrame (throwflag=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, frame=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, tstate=0x5560c1637998 <_PyRuntime+166328>) at /home/conda/feedstock_root/build_artifacts/python-split_1713550854359/_build_env/x86_64-conda-linux-gnu/sysroot/usr/include/bits/pycore_frame.h:70
#62 _PyEval_Vector (kwnames=<optimized out>, argcount=2, args=0x7ffc7e0a1ad0, locals=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, func=<optimized out>, tstate=0x5560c1637998 <_PyRuntime+166328>) at /usr/local/src/conda/python-3.11.9/Programs/ceval_gil.h:6434
#63 _PyFunction_Vectorcall (func=<optimized out>, stack=0x7ffc7e0a1ad0, nargsf=<optimized out>, kwnames=<optimized out>) at /home/conda/feedstock_root/build_artifacts/python-split_1713550854359/_build_env/x86_64-conda-linux-gnu/sysroot/usr/include/bits/pycore_call.h:393
#64 0x00005560c12bbd76 in _PyObject_VectorcallTstate (kwnames=0x0, kwnames
entry=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, nargsf=2, nargsf
entry=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, args=0x7ffc7e0a1ad0, args
entry=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, callable=0x7ff243fafce0, callable
entry=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, tstate=0x5560c1637998 <_PyRuntime+166328>, tstate
entry=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>) at /home/conda/feedstock_root/build_artifacts/python-split_1713550854359/_build_env/x86_64-conda-linux-gnu/sysroot/usr/include/bits/pycore_pyerrors.h:77
#65 object_vacall (tstate=0x5560c1637998 <_PyRuntime+166328>, base=<optimized out>, callable=0x7ff243fafce0, vargs=0x7ffc7e0a1b60) at /home/conda/feedstock_root/build_artifacts/python-split_1713550854359/_build_env/x86_64-conda-linux-gnu/sysroot/usr/include/bits/pycore_call.h:819
#66 0x00005560c12ea37a in PyObject_CallMethodObjArgs (obj=0x0, name=<optimized out>) at /home/conda/feedstock_root/build_artifacts/python-split_1713550854359/_build_env/x86_64-conda-linux-gnu/sysroot/usr/include/bits/pycore_call.h:878
#67 0x00005560c11e1bff in import_find_and_load (abs_name=0x7ff243e3f830, tstate=0x5560c1637998 <_PyRuntime+166328>) at /usr/local/src/conda/python-3.11.9/Objects/stdio2.h:1748
#68 PyImport_ImportModuleLevelObject (name=0x7ff243e3f830, globals=<optimized out>, locals=<optimized out>, fromlist=0x5560c15fa0c0 <_Py_NoneStruct>, level=0) at /usr/local/src/conda/python-3.11.9/Objects/stdio2.h:1847
#69 0x00005560c12af817 in import_name (level=0x5560c160f328 <_PyRuntime+840>, level
entry=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, fromlist=0x5560c15fa0c0 <_Py_NoneStruct>, fromlist
entry=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, name=0x7ff243e3f830, name
entry=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, frame=0x7ff244852020, frame
entry=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, tstate=<optimized out>) at /usr/local/src/conda/python-3.11.9/Programs/ceval_gil.h:7422
#70 _PyEval_EvalFrameDefault (tstate=<optimized out>, frame=<optimized out>, throwflag=<optimized out>) at /usr/local/src/conda/python-3.11.9/Programs/ceval_gil.h:3946
#71 0x00005560c1360a8d in _PyEval_EvalFrame (throwflag=0, throwflag
entry=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, frame=0x7ff244852020, frame
entry=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, tstate=0x5560c1637998 <_PyRuntime+166328>) at /home/conda/feedstock_root/build_artifacts/python-split_1713550854359/_build_env/x86_64-conda-linux-gnu/sysroot/usr/include/bits/pycore_frame.h:73
#72 _PyEval_Vector (tstate=0x5560c1637998 <_PyRuntime+166328>, func=0x7ff243e389a0, locals=<optimized out>, args=0x0, argcount=0, kwnames=0x0) at /usr/local/src/conda/python-3.11.9/Programs/ceval_gil.h:6434
#73 0x00005560c136011f in PyEval_EvalCode (co=0x7ff243f7f770, globals=<optimized out>, locals=0x7ff24405b080) at /usr/local/src/conda/python-3.11.9/Programs/ceval_gil.h:1148
#74 0x00005560c137f08a in run_eval_code_obj (tstate=0x5560c1637998 <_PyRuntime+166328>, co=0x7ff243f7f770, globals=0x7ff24405b080, locals=0x7ff24405b080) at Python/deepfreeze/stat.h:1741
#75 0x00005560c137ac13 in run_mod (mod=<optimized out>, filename=<optimized out>, globals=0x7ff24405b080, locals=0x7ff24405b080, flags=<optimized out>, arena=<optimized out>) at Python/deepfreeze/stat.h:1762
#76 0x00005560c127d4b0 in PyRun_InteractiveOneObjectEx (fp=0x7ff244688a00 <_IO_2_1_stdin_>, filename=0x7ff243ffff70, flags=0x7ffc7e0a20e8) at Python/deepfreeze/stat.h:261
#77 0x00005560c127d807 in _PyRun_InteractiveLoopObject (fp=0x7ff244688a00 <_IO_2_1_stdin_>, filename=0x7ff243ffff70, flags=0x7ffc7e0a20e8) at Python/deepfreeze/stat.h:138
#78 0x00005560c11f8a7b in _PyRun_AnyFileObject (fp=0x7ff244688a00 <_IO_2_1_stdin_>, filename=0x7ff243ffff70, closeit=0, flags=0x7ffc7e0a20e8) at Python/deepfreeze/stat.h:73
#79 0x00005560c127d929 in PyRun_AnyFileExFlags (fp=0x7ff244688a00 <_IO_2_1_stdin_>, filename=<optimized out>, closeit=0, flags=0x7ffc7e0a20e8) at Python/deepfreeze/stat.h:105
#80 0x00005560c11f2505 in pymain_run_stdin (config=0x5560c161d9e0 <_PyRuntime+59904>) at /usr/local/src/conda/python-3.11.9/Programs/initconfig.c:509
#81 pymain_run_python (exitcode=0x7ffc7e0a20e4) at /usr/local/src/conda/python-3.11.9/Programs/initconfig.c:604
#82 Py_RunMain () at /usr/local/src/conda/python-3.11.9/Programs/initconfig.c:680
#83 0x00005560c1350027 in Py_BytesMain (argc=<optimized out>, argv=<optimized out>) at /usr/local/src/conda/python-3.11.9/Programs/initconfig.c:734
#84 0x00007ff2444f209b in __libc_start_main (main=0x5560c134ff80 <main>, argc=1, argv=0x7ffc7e0a2308, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc7e0a22f8) at ../csu/libc-start.c:308
#85 0x00005560c134fecd in _start () at /usr/local/src/conda/python-3.11.9/Modules/frameobject.c:33782
===========================================================

ROOT Version: 6.30/04
Python Version in root_cern: 3.11.9
Python Version in base: 3.12.2
Conda Version: 24.4.0
OS Version: Debian GNU/Linux 10 (buster)

Here is the rest of the error log:

The lines below might hint at the cause of the crash. If you see question
marks as part of the stack trace, try to recompile with debugging information
enabled and export CLING_DEBUG=1 environment variable before running.
You may get help by asking at the ROOT forum https://root.cern/forum
preferably using the command (.forum bug) in the ROOT prompt.
Only if you are really convinced it is a bug in ROOT then please submit a
report at https://root.cern/bugs or (preferably) using the command (.gh bug) in
the ROOT prompt. Please post the ENTIRE stack trace
from above as an attachment in addition to anything else
that might help us fixing this issue.
===========================================================
#5  0x00007ff24012ae02 in llvm::vfs::OverlayFileSystem::pushOverlay(llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>) () from /u/yanwang/miniconda3/envs/root_cern/lib/libCling.so
#6  0x00007ff23bc3480a in (anonymous namespace)::collectModuleMaps(clang::CompilerInstance&, llvm::SmallVectorImpl<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&) [clone .constprop.0] () from /u/yanwang/miniconda3/envs/root_cern/lib/libCling.so
#7  0x00007ff23bc35501 in (anonymous namespace)::setupCxxModules(clang::CompilerInstance&) () from /u/yanwang/miniconda3/envs/root_cern/lib/libCling.so
#8  0x00007ff23bc38fd3 in (anonymous namespace)::createCIImpl(std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> >, cling::CompilerOptions const&, char const*, std::unique_ptr<clang::ASTConsumer, std::default_delete<clang::ASTConsumer> >, std::vector<std::shared_ptr<clang::ModuleFileExtension>, std::allocator<std::shared_ptr<clang::ModuleFileExtension> > > const&, bool, bool) () from /u/yanwang/miniconda3/envs/root_cern/lib/libCling.so
#9  0x00007ff23bc3a7d6 in cling::CIFactory::createCI(llvm::StringRef, cling::InvocationOptions const&, char const*, std::unique_ptr<clang::ASTConsumer, std::default_delete<clang::ASTConsumer> >, std::vector<std::shared_ptr<clang::ModuleFileExtension>, std::allocator<std::shared_ptr<clang::ModuleFileExtension> > > const&) () from /u/yanwang/miniconda3/envs/root_cern/lib/libCling.so
#10 0x00007ff23bd12ad0 in cling::IncrementalParser::IncrementalParser(cling::Interpreter*, char const*, std::vector<std::shared_ptr<clang::ModuleFileExtension>, std::allocator<std::shared_ptr<clang::ModuleFileExtension> > > const&) () from /u/yanwang/miniconda3/envs/root_cern/lib/libCling.so
#11 0x00007ff23bc82f85 in cling::Interpreter::Interpreter(int, char const* const*, char const*, std::vector<std::shared_ptr<clang::ModuleFileExtension>, std::allocator<std::shared_ptr<clang::ModuleFileExtension> > > const&, void*, bool, cling::Interpreter const*) () from /u/yanwang/miniconda3/envs/root_cern/lib/libCling.so
#12 0x00007ff23bbcad5b in TCling::TCling(char const*, char const*, char const* const*, void*) () from /u/yanwang/miniconda3/envs/root_cern/lib/libCling.so
#13 0x00007ff23bbcc7f5 in CreateInterpreter () from /u/yanwang/miniconda3/envs/root_cern/lib/libCling.so
#14 0x00007ff2438b2993 in TROOT::InitInterpreter() () from /u/yanwang/miniconda3/envs/root_cern/bin/../lib/libCore.so.6.30
#15 0x00007ff2438b2e30 in ROOT::Internal::GetROOT2() () from /u/yanwang/miniconda3/envs/root_cern/bin/../lib/libCore.so.6.30
#16 0x00007ff243b92146 in __static_initialization_and_destruction_0(int, int) [clone .constprop.0] () from /u/yanwang/miniconda3/envs/root_cern/bin/../lib/libcppyy_backend3_11.so.6.30
#17 0x00007ff24488f38a in call_init (l=<optimized out>, argc=argc
entry=1, argv=argv
entry=0x7ffc7e0a2308, env=env
entry=0x5560c32a2fb0) at dl-init.c:72
#18 0x00007ff24488f486 in call_init (env=0x5560c32a2fb0, argv=0x7ffc7e0a2308, argc=1, l=<optimized out>) at dl-init.c:30
#19 _dl_init (main_map=main_map
entry=0x5560c32aa5f0, argc=1, argv=0x7ffc7e0a2308, env=0x5560c32a2fb0) at dl-init.c:119
#20 0x00007ff2448932e3 in dl_open_worker (a=a
entry=0x7ffc7e0a0840) at dl-open.c:517
#21 0x00007ff2446028cf in __GI__dl_catch_exception (exception=exception
entry=0x7ffc7e0a0820, operate=operate
entry=0x7ff244892f70 <dl_open_worker>, args=args
entry=0x7ffc7e0a0840) at dl-error-skeleton.c:196
#22 0x00007ff244892bca in _dl_open (file=0x7ff243d147d0 "/u/yanwang/miniconda3/envs/root_cern/lib/python3.11/site-packages/libcppyy3_11.so", mode=-2147483646, caller_dlopen=0x5560c138da9c <_PyImport_FindSharedFuncptr+140>, nsid=<optimized out>, argc=1, argv=0x7ffc7e0a2308, env=0x5560c32a2fb0) at dl-open.c:599
#23 0x00007ff244817256 in dlopen_doit (a=a
entry=0x7ffc7e0a0a60) at dlopen.c:66
#24 0x00007ff2446028cf in __GI__dl_catch_exception (exception=exception
entry=0x7ffc7e0a0a00, operate=operate
entry=0x7ff244817200 <dlopen_doit>, args=args
entry=0x7ffc7e0a0a60) at dl-error-skeleton.c:196
#25 0x00007ff24460295f in __GI__dl_catch_error (objname=objname
entry=0x5560c314c700, errstring=errstring
entry=0x5560c314c708, mallocedp=mallocedp
entry=0x5560c314c6f8, operate=operate
entry=0x7ff244817200 <dlopen_doit>, args=args
entry=0x7ffc7e0a0a60) at dl-error-skeleton.c:215
#26 0x00007ff244817995 in _dlerror_run (operate=operate
entry=0x7ff244817200 <dlopen_doit>, args=args
entry=0x7ffc7e0a0a60) at dlerror.c:170
#27 0x00007ff2448172e6 in __dlopen (file=<optimized out>, mode=<optimized out>) at dlopen.c:87
#28 0x00005560c138da9c in _PyImport_FindSharedFuncptr (prefix=0x5560c13f00f6 "PyInit", shortname=0x7ff243d0d3d0 "libcppyy3_11", pathname=0x7ff243d147d0 "/u/yanwang/miniconda3/envs/root_cern/lib/python3.11/site-packages/libcppyy3_11.so", fp=0x0) at /usr/local/src/conda/python-3.11.9/Include/cpython/transmogrify.h:80
#29 0x00005560c138c6ee in _PyImport_LoadDynamicModuleWithSpec (fp=0x0, spec=0x7ff243d216d0) at /usr/local/src/conda/python-3.11.9/Include/bytearrayobject.h:37
#30 _imp_create_dynamic_impl (module=<optimized out>, file=<optimized out>, spec=0x7ff243d216d0) at /usr/local/src/conda/python-3.11.9/Objects/stdio2.h:2397
#31 _imp_create_dynamic (module=<optimized out>, args=<optimized out>, nargs=<optimized out>) at /usr/local/src/conda/python-3.11.9/Include/cpython/fastsearch.h:446
#32 0x00005560c12c3223 in cfunction_vectorcall_FASTCALL (func=0x7ff243fea840, args=0x7ff243d0d258, nargsf=1, kwnames=<optimized out>) at /usr/local/src/conda/python-3.11.9/Modules/abstract.c:2023
#33 0x00005560c12b18d4 in do_call_core (use_tracing=<optimized out>, kwdict=0x7ff243d12000, callargs=0x7ff243d0d240, func=0x7ff243fea840, tstate=<optimized out>) at /usr/local/src/conda/python-3.11.9/Programs/ceval_gil.h:7321
#34 _PyEval_EvalFrameDefault (tstate=<optimized out>, frame=<optimized out>, throwflag=<optimized out>) at /usr/local/src/conda/python-3.11.9/Programs/ceval_gil.h:5376
#35 0x00005560c1360a8d in _PyEval_EvalFrame (throwflag=0, throwflag
entry=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, frame=0x7ff2448526d8, frame
entry=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, tstate=0x5560c1637998 <_PyRuntime+166328>) at /home/conda/feedstock_root/build_artifacts/python-split_1713550854359/_build_env/x86_64-conda-linux-gnu/sysroot/usr/include/bits/pycore_frame.h:73
#36 _PyEval_Vector (tstate=0x5560c1637998 <_PyRuntime+166328>, func=0x7ff243d0b7e0, locals=<optimized out>, args=0x0, argcount=0, kwnames=0x0) at /usr/local/src/conda/python-3.11.9/Programs/ceval_gil.h:6434
#37 0x00005560c136011f in PyEval_EvalCode (co=0x5560c32a95c0, globals=<optimized out>, locals=0x7ff243e4c180) at /usr/local/src/conda/python-3.11.9/Programs/ceval_gil.h:1148
#38 0x00005560c13776ee in builtin_exec_impl (module=<optimized out>, closure=<optimized out>, locals=0x7ff243e4c180, globals=0x7ff243e4c180, source=0x5560c32a95c0) at /usr/local/src/conda/python-3.11.9/Include/tupleobject.h:997
#39 builtin_exec (module=<optimized out>, args=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, nargs=<optimized out>, kwnames=<optimized out>) at /usr/local/src/conda/python-3.11.9/Modules/_io/clinic/bytesio.c:465
#40 0x00005560c12b5fbf in cfunction_vectorcall_FASTCALL_KEYWORDS (func=0x7ff243fe8f90, args=0x7ff243d10958, nargsf=<optimized out>, kwnames=0x0) at /usr/local/src/conda/python-3.11.9/Modules/funcobject.c:52
#41 0x00005560c12b18d4 in do_call_core (use_tracing=<optimized out>, kwdict=0x7ff243cff580, callargs=0x7ff243d10940, func=0x7ff243fe8f90, tstate=<optimized out>) at /usr/local/src/conda/python-3.11.9/Programs/ceval_gil.h:7321
#42 _PyEval_EvalFrameDefault (tstate=<optimized out>, frame=<optimized out>, throwflag=<optimized out>) at /usr/local/src/conda/python-3.11.9/Programs/ceval_gil.h:5376
#43 0x00005560c12cc981 in _PyEval_EvalFrame (throwflag=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, frame=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, tstate=0x5560c1637998 <_PyRuntime+166328>) at /home/conda/feedstock_root/build_artifacts/python-split_1713550854359/_build_env/x86_64-conda-linux-gnu/sysroot/usr/include/bits/pycore_frame.h:70
#44 _PyEval_Vector (kwnames=<optimized out>, argcount=2, args=0x7ffc7e0a1370, locals=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, func=<optimized out>, tstate=0x5560c1637998 <_PyRuntime+166328>) at /usr/local/src/conda/python-3.11.9/Programs/ceval_gil.h:6434
#45 _PyFunction_Vectorcall (func=<optimized out>, stack=0x7ffc7e0a1370, nargsf=<optimized out>, kwnames=<optimized out>) at /home/conda/feedstock_root/build_artifacts/python-split_1713550854359/_build_env/x86_64-conda-linux-gnu/sysroot/usr/include/bits/pycore_call.h:393
#46 0x00005560c12bbd76 in _PyObject_VectorcallTstate (kwnames=0x0, kwnames
entry=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, nargsf=2, nargsf
entry=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, args=0x7ffc7e0a1370, args
entry=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, callable=0x7ff243fafce0, callable
entry=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, tstate=0x5560c1637998 <_PyRuntime+166328>, tstate
entry=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>) at /home/conda/feedstock_root/build_artifacts/python-split_1713550854359/_build_env/x86_64-conda-linux-gnu/sysroot/usr/include/bits/pycore_pyerrors.h:77
#47 object_vacall (tstate=0x5560c1637998 <_PyRuntime+166328>, base=<optimized out>, callable=0x7ff243fafce0, vargs=0x7ffc7e0a1400) at /home/conda/feedstock_root/build_artifacts/python-split_1713550854359/_build_env/x86_64-conda-linux-gnu/sysroot/usr/include/bits/pycore_call.h:819
#48 0x00005560c12ea37a in PyObject_CallMethodObjArgs (obj=0x0, name=<optimized out>) at /home/conda/feedstock_root/build_artifacts/python-split_1713550854359/_build_env/x86_64-conda-linux-gnu/sysroot/usr/include/bits/pycore_call.h:878
#49 0x00005560c11e1bff in import_find_and_load (abs_name=0x7ff243cffbf0, tstate=0x5560c1637998 <_PyRuntime+166328>) at /usr/local/src/conda/python-3.11.9/Objects/stdio2.h:1748
#50 PyImport_ImportModuleLevelObject (name=0x7ff243cffbf0, globals=<optimized out>, locals=<optimized out>, fromlist=0x5560c15fa0c0 <_Py_NoneStruct>, level=0) at /usr/local/src/conda/python-3.11.9/Objects/stdio2.h:1847
#51 0x00005560c12af817 in import_name (level=0x5560c160f328 <_PyRuntime+840>, level
entry=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, fromlist=0x5560c15fa0c0 <_Py_NoneStruct>, fromlist
entry=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, name=0x7ff243cffbf0, name
entry=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, frame=0x7ff244852370, frame
entry=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, tstate=<optimized out>) at /usr/local/src/conda/python-3.11.9/Programs/ceval_gil.h:7422
#52 _PyEval_EvalFrameDefault (tstate=<optimized out>, frame=<optimized out>, throwflag=<optimized out>) at /usr/local/src/conda/python-3.11.9/Programs/ceval_gil.h:3946
#53 0x00005560c1360a8d in _PyEval_EvalFrame (throwflag=0, throwflag
entry=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, frame=0x7ff244852370, frame
entry=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, tstate=0x5560c1637998 <_PyRuntime+166328>) at /home/conda/feedstock_root/build_artifacts/python-split_1713550854359/_build_env/x86_64-conda-linux-gnu/sysroot/usr/include/bits/pycore_frame.h:73
#54 _PyEval_Vector (tstate=0x5560c1637998 <_PyRuntime+166328>, func=0x7ff243d0b4c0, locals=<optimized out>, args=0x0, argcount=0, kwnames=0x0) at /usr/local/src/conda/python-3.11.9/Programs/ceval_gil.h:6434
#55 0x00005560c136011f in PyEval_EvalCode (co=0x5560c321cb20, globals=<optimized out>, locals=0x7ff243e238c0) at /usr/local/src/conda/python-3.11.9/Programs/ceval_gil.h:1148
#56 0x00005560c13776ee in builtin_exec_impl (module=<optimized out>, closure=<optimized out>, locals=0x7ff243e238c0, globals=0x7ff243e238c0, source=0x5560c321cb20) at /usr/local/src/conda/python-3.11.9/Include/tupleobject.h:997
#57 builtin_exec (module=<optimized out>, args=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, nargs=<optimized out>, kwnames=<optimized out>) at /usr/local/src/conda/python-3.11.9/Modules/_io/clinic/bytesio.c:465
#58 0x00005560c12b5fbf in cfunction_vectorcall_FASTCALL_KEYWORDS (func=0x7ff243fe8f90, args=0x7ff243e4fa98, nargsf=<optimized out>, kwnames=0x0) at /usr/local/src/conda/python-3.11.9/Modules/funcobject.c:52
#59 0x00005560c12b18d4 in do_call_core (use_tracing=<optimized out>, kwdict=0x7ff243e3c180, callargs=0x7ff243e4fa80, func=0x7ff243fe8f90, tstate=<optimized out>) at /usr/local/src/conda/python-3.11.9/Programs/ceval_gil.h:7321
#60 _PyEval_EvalFrameDefault (tstate=<optimized out>, frame=<optimized out>, throwflag=<optimized out>) at /usr/local/src/conda/python-3.11.9/Programs/ceval_gil.h:5376
#61 0x00005560c12cc981 in _PyEval_EvalFrame (throwflag=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, frame=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, tstate=0x5560c1637998 <_PyRuntime+166328>) at /home/conda/feedstock_root/build_artifacts/python-split_1713550854359/_build_env/x86_64-conda-linux-gnu/sysroot/usr/include/bits/pycore_frame.h:70
#62 _PyEval_Vector (kwnames=<optimized out>, argcount=2, args=0x7ffc7e0a1ad0, locals=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, func=<optimized out>, tstate=0x5560c1637998 <_PyRuntime+166328>) at /usr/local/src/conda/python-3.11.9/Programs/ceval_gil.h:6434
#63 _PyFunction_Vectorcall (func=<optimized out>, stack=0x7ffc7e0a1ad0, nargsf=<optimized out>, kwnames=<optimized out>) at /home/conda/feedstock_root/build_artifacts/python-split_1713550854359/_build_env/x86_64-conda-linux-gnu/sysroot/usr/include/bits/pycore_call.h:393
#64 0x00005560c12bbd76 in _PyObject_VectorcallTstate (kwnames=0x0, kwnames
entry=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, nargsf=2, nargsf
entry=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, args=0x7ffc7e0a1ad0, args
entry=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, callable=0x7ff243fafce0, callable
entry=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, tstate=0x5560c1637998 <_PyRuntime+166328>, tstate
entry=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>) at /home/conda/feedstock_root/build_artifacts/python-split_1713550854359/_build_env/x86_64-conda-linux-gnu/sysroot/usr/include/bits/pycore_pyerrors.h:77
#65 object_vacall (tstate=0x5560c1637998 <_PyRuntime+166328>, base=<optimized out>, callable=0x7ff243fafce0, vargs=0x7ffc7e0a1b60) at /home/conda/feedstock_root/build_artifacts/python-split_1713550854359/_build_env/x86_64-conda-linux-gnu/sysroot/usr/include/bits/pycore_call.h:819
#66 0x00005560c12ea37a in PyObject_CallMethodObjArgs (obj=0x0, name=<optimized out>) at /home/conda/feedstock_root/build_artifacts/python-split_1713550854359/_build_env/x86_64-conda-linux-gnu/sysroot/usr/include/bits/pycore_call.h:878
#67 0x00005560c11e1bff in import_find_and_load (abs_name=0x7ff243e3f830, tstate=0x5560c1637998 <_PyRuntime+166328>) at /usr/local/src/conda/python-3.11.9/Objects/stdio2.h:1748
#68 PyImport_ImportModuleLevelObject (name=0x7ff243e3f830, globals=<optimized out>, locals=<optimized out>, fromlist=0x5560c15fa0c0 <_Py_NoneStruct>, level=0) at /usr/local/src/conda/python-3.11.9/Objects/stdio2.h:1847
#69 0x00005560c12af817 in import_name (level=0x5560c160f328 <_PyRuntime+840>, level
entry=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, fromlist=0x5560c15fa0c0 <_Py_NoneStruct>, fromlist
entry=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, name=0x7ff243e3f830, name
entry=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, frame=0x7ff244852020, frame
entry=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, tstate=<optimized out>) at /usr/local/src/conda/python-3.11.9/Programs/ceval_gil.h:7422
#70 _PyEval_EvalFrameDefault (tstate=<optimized out>, frame=<optimized out>, throwflag=<optimized out>) at /usr/local/src/conda/python-3.11.9/Programs/ceval_gil.h:3946
#71 0x00005560c1360a8d in _PyEval_EvalFrame (throwflag=0, throwflag
entry=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, frame=0x7ff244852020, frame
entry=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, tstate=0x5560c1637998 <_PyRuntime+166328>) at /home/conda/feedstock_root/build_artifacts/python-split_1713550854359/_build_env/x86_64-conda-linux-gnu/sysroot/usr/include/bits/pycore_frame.h:73
#72 _PyEval_Vector (tstate=0x5560c1637998 <_PyRuntime+166328>, func=0x7ff243e389a0, locals=<optimized out>, args=0x0, argcount=0, kwnames=0x0) at /usr/local/src/conda/python-3.11.9/Programs/ceval_gil.h:6434
#73 0x00005560c136011f in PyEval_EvalCode (co=0x7ff243f7f770, globals=<optimized out>, locals=0x7ff24405b080) at /usr/local/src/conda/python-3.11.9/Programs/ceval_gil.h:1148
#74 0x00005560c137f08a in run_eval_code_obj (tstate=0x5560c1637998 <_PyRuntime+166328>, co=0x7ff243f7f770, globals=0x7ff24405b080, locals=0x7ff24405b080) at Python/deepfreeze/stat.h:1741
#75 0x00005560c137ac13 in run_mod (mod=<optimized out>, filename=<optimized out>, globals=0x7ff24405b080, locals=0x7ff24405b080, flags=<optimized out>, arena=<optimized out>) at Python/deepfreeze/stat.h:1762
#76 0x00005560c127d4b0 in PyRun_InteractiveOneObjectEx (fp=0x7ff244688a00 <_IO_2_1_stdin_>, filename=0x7ff243ffff70, flags=0x7ffc7e0a20e8) at Python/deepfreeze/stat.h:261
#77 0x00005560c127d807 in _PyRun_InteractiveLoopObject (fp=0x7ff244688a00 <_IO_2_1_stdin_>, filename=0x7ff243ffff70, flags=0x7ffc7e0a20e8) at Python/deepfreeze/stat.h:138
#78 0x00005560c11f8a7b in _PyRun_AnyFileObject (fp=0x7ff244688a00 <_IO_2_1_stdin_>, filename=0x7ff243ffff70, closeit=0, flags=0x7ffc7e0a20e8) at Python/deepfreeze/stat.h:73
#79 0x00005560c127d929 in PyRun_AnyFileExFlags (fp=0x7ff244688a00 <_IO_2_1_stdin_>, filename=<optimized out>, closeit=0, flags=0x7ffc7e0a20e8) at Python/deepfreeze/stat.h:105
#80 0x00005560c11f2505 in pymain_run_stdin (config=0x5560c161d9e0 <_PyRuntime+59904>) at /usr/local/src/conda/python-3.11.9/Programs/initconfig.c:509
#81 pymain_run_python (exitcode=0x7ffc7e0a20e4) at /usr/local/src/conda/python-3.11.9/Programs/initconfig.c:604
#82 Py_RunMain () at /usr/local/src/conda/python-3.11.9/Programs/initconfig.c:680
#83 0x00005560c1350027 in Py_BytesMain (argc=<optimized out>, argv=<optimized out>) at /usr/local/src/conda/python-3.11.9/Programs/initconfig.c:734
#84 0x00007ff2444f209b in __libc_start_main (main=0x5560c134ff80 <main>, argc=1, argv=0x7ffc7e0a2308, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc7e0a22f8) at ../csu/libc-start.c:308
#85 0x00005560c134fecd in _start () at /usr/local/src/conda/python-3.11.9/Modules/frameobject.c:33782
===========================================================

[1]    27124 segmentation fault  /u/yanwang/miniconda3/envs/root_cern/bin/python3

Hi,

Thanks for the report. I am adding @vpadulan , that is following the conda builds.

Best,
D

Dear @EdwinYZ ,

Thanks for your report and reaching out to the forum.

By the very nature of the fact ROOT packages a C++ interpreter, what you are asking is (to my best knowledge and intent) impossible.

ERROR in cling::CIFactory::createCI(): cannot extract standard library include paths!

Errors like this occur exactly when one uses a different C++ compiler (and thus different C++ standard library headers) w.r.t. the one used to build ROOT. Unless I am completely missing something obvious here, I would say this is out of reach.

On the other hand, ROOT surely supports GCC13, it happens to be the compiler I use daily to build on my machine these days so I know that works. It might be this is just a “simple” requirement update for the conda builds. I need to investigate how complicated that actually would be.

Cheers,
Vincenzo

@vpadulan Thanks for your reply.

Errors like this occur exactly when one uses a different C++ compiler (and thus different C++ standard library headers) w.r.t. the one used to build ROOT.

I see. But I wonder if some Conda packages, in the same environment, require a different version of gcc to be installed as well, ROOT may not even work properly. Fortunately, among all Conda packages I have installed, only ROOT requires the installation of gcc with a specific version.

Guess I should just stick with building ROOT from source files or using the pre-built binary.

Thanks again.

Dear @EdwinYZ ,

using the pre-built binary.

The pre-built binaries have the same requirements. They are built using the system-default compiler, so it depends also on the OS, and if on Linux on the specific distribution.

Cheers,
Vincenzo

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.