ROOT Version: 6.28.0
Platform: Ubuntu 18.04.5 LTS
Hello,
I would like to import ROOT, but I get this error, and it throw me out from the python environment.
I am using Python 3.9.16.
Can anyone help me to resolve this?
Thank you.
import ROOT
*** Break *** segmentation violation
Generating stack trace…
0x00007f32a1b8c093 in TROOT::InitInterpreter() + 0xd3 from /opt/anaconda3/envs/fermi/lib/./libCore.so.6.22
0x00007f32a1b8c590 in ROOT::Internal::GetROOT2() + 0x30 from /opt/anaconda3/envs/fermi/lib/./libCore.so.6.22
0x00007f329db577db in from /opt/anaconda3/envs/fermi/lib/libCling.so
0x00007f32a1c6de13 in TClassEdit::ResolveTypedef[abi:cxx11](char const*, bool) + 0x113 from /opt/anaconda3/envs/fermi/lib/./libCore.so.6.22
0x00007f32a1c75150 in TClassEdit::TSplitType::ShortType(std::__cxx11::basic_string<char, std::char_traits, std::allocator >&, int) + 0x350 from /opt/anaconda3/envs/fermi/lib/./libCore.so.6.22
0x00007f32a1c73608 in TClassEdit::GetNormalizedName(std::__cxx11::basic_string<char, std::char_traits, std::allocator >&, std::basic_string_view<char, std::char_traits >) at TClassEdit.cxx:? from /opt/anaconda3/envs/fermi/lib/./libCore.so.6.22
0x00007f32a1cb92f1 in ROOT::TSchemaRule::SetTargetClass(TString const&) + 0x51 from /opt/anaconda3/envs/fermi/lib/./libCore.so.6.22
0x00007f32a1cbccc0 in ROOT::TSchemaRule::SetFromRule(char const*) + 0x2d0 from /opt/anaconda3/envs/fermi/lib/./libCore.so.6.22
0x00007f32a1c929a4 in TClass::AddRule(char const*) + 0x44 from /opt/anaconda3/envs/fermi/lib/./libCore.so.6.22
0x00007f32a1c92c50 in from /opt/anaconda3/envs/fermi/lib/./libCore.so.6.22
0x00007f32a1c92f5b in TClass::ReadRules() + 0x8b from /opt/anaconda3/envs/fermi/lib/./libCore.so.6.22
0x00007f329db717a6 in from /opt/anaconda3/envs/fermi/lib/libCling.so
0x00007f32a2f40cc3 in TROOT::InitInterpreter() + 0x233 from /opt/anaconda3/envs/python39/bin/…/lib/libCore.so.6.28
0x00007f32a2f41060 in ROOT::Internal::GetROOT2() + 0x30 from /opt/anaconda3/envs/python39/bin/…/lib/libCore.so.6.28
0x00007f32a3260d11 in from /opt/anaconda3/envs/python39/bin/…/lib/libcppyy_backend3_9.so.6.28
0x00007f32a46b38d3 in from /lib64/ld-linux-x86-64.so.2
0x00007f32a46b839f in from /lib64/ld-linux-x86-64.so.2
0x00007f32a384d16f in _dl_catch_exception + 0x6f from /lib/x86_64-linux-gnu/libc.so.6
0x00007f32a46b796a in from /lib64/ld-linux-x86-64.so.2
0x00007f32a4280f96 in from /lib/x86_64-linux-gnu/libdl.so.2
0x00007f32a384d16f in _dl_catch_exception + 0x6f from /lib/x86_64-linux-gnu/libc.so.6
0x00007f32a384d1ff in _dl_catch_error + 0x2f from /lib/x86_64-linux-gnu/libc.so.6
0x00007f32a4281745 in from /lib/x86_64-linux-gnu/libdl.so.2
0x00007f32a4281051 in dlopen + 0x71 from /lib/x86_64-linux-gnu/libdl.so.2
0x00005582e0e79dad in from python
0x00005582e0e79591 in from python
0x00005582e0db8654 in from python
0x00005582e0dacd36 in _PyEval_EvalFrameDefault + 0x5ba6 from python
0x00005582e0da627a in from python
0x00005582e0db7c05 in _PyFunction_Vectorcall + 0xd5 from python
0x00005582e0dabfa7 in _PyEval_EvalFrameDefault + 0x4e17 from python
0x00005582e0db7ef3 in from python
0x00005582e0da781b in _PyEval_EvalFrameDefault + 0x68b from python
0x00005582e0db7ef3 in from python
0x00005582e0da7568 in _PyEval_EvalFrameDefault + 0x3d8 from python
0x00005582e0db7ef3 in from python
0x00005582e0da7568 in _PyEval_EvalFrameDefault + 0x3d8 from python
0x00005582e0db7ef3 in from python
0x00005582e0da7568 in _PyEval_EvalFrameDefault + 0x3d8 from python
0x00005582e0db7ef3 in from python
0x00005582e0da7568 in _PyEval_EvalFrameDefault + 0x3d8 from python
0x00005582e0da627a in from python
0x00005582e0db7c05 in _PyFunction_Vectorcall + 0xd5 from python
0x00005582e0dabfa7 in _PyEval_EvalFrameDefault + 0x4e17 from python
0x00005582e0da627a in from python
0x00005582e0db7c05 in _PyFunction_Vectorcall + 0xd5 from python
0x00005582e0dabfa7 in _PyEval_EvalFrameDefault + 0x4e17 from python
0x00005582e0da627a in from python
0x00005582e0da5f07 in _PyEval_EvalCodeWithName + 0x47 from python
0x00005582e0da5eb9 in PyEval_EvalCodeEx + 0x39 from python
0x00005582e0e568bb in PyEval_EvalCode + 0x1b from python
0x00005582e0e5b302 in from python
0x00005582e0db8654 in from python
0x00005582e0dacd36 in _PyEval_EvalFrameDefault + 0x5ba6 from python
0x00005582e0da627a in from python
0x00005582e0db7c05 in _PyFunction_Vectorcall + 0xd5 from python
0x00005582e0dabfa7 in _PyEval_EvalFrameDefault + 0x4e17 from python
0x00005582e0db7ef3 in from python
0x00005582e0da781b in _PyEval_EvalFrameDefault + 0x68b from python
0x00005582e0db7ef3 in from python
0x00005582e0da7568 in _PyEval_EvalFrameDefault + 0x3d8 from python
0x00005582e0db7ef3 in from python
0x00005582e0da7568 in _PyEval_EvalFrameDefault + 0x3d8 from python
0x00005582e0db7ef3 in from python
0x00005582e0db74dc in from python
0x00005582e0dc7d21 in _PyObject_CallMethodIdObjArgs + 0x131 from python
0x00005582e0dc7141 in PyImport_ImportModuleLevelObject + 0x431 from python
0x00005582e0daa958 in _PyEval_EvalFrameDefault + 0x37c8 from python
0x00005582e0da627a in from python
0x00005582e0da5f07 in _PyEval_EvalCodeWithName + 0x47 from python
0x00005582e0da5eb9 in PyEval_EvalCodeEx + 0x39 from python
0x00005582e0e568bb in PyEval_EvalCode + 0x1b from python
0x00005582e0e5b302 in from python
0x00005582e0db8654 in from python
0x00005582e0dacd36 in _PyEval_EvalFrameDefault + 0x5ba6 from python
0x00005582e0da627a in from python
0x00005582e0db7c05 in _PyFunction_Vectorcall + 0xd5 from python
0x00005582e0dabfa7 in _PyEval_EvalFrameDefault + 0x4e17 from python
0x00005582e0db7ef3 in from python
0x00005582e0da781b in _PyEval_EvalFrameDefault + 0x68b from python
0x00005582e0db7ef3 in from python
0x00005582e0da7568 in _PyEval_EvalFrameDefault + 0x3d8 from python
0x00005582e0db7ef3 in from python
0x00005582e0da7568 in _PyEval_EvalFrameDefault + 0x3d8 from python
0x00005582e0db7ef3 in from python
0x00005582e0db74dc in from python
0x00005582e0dc7d21 in _PyObject_CallMethodIdObjArgs + 0x131 from python
0x00005582e0dc7141 in PyImport_ImportModuleLevelObject + 0x431 from python
0x00005582e0daa958 in _PyEval_EvalFrameDefault + 0x37c8 from python
0x00005582e0da627a in from python
0x00005582e0da5f07 in _PyEval_EvalCodeWithName + 0x47 from python
0x00005582e0da5eb9 in PyEval_EvalCodeEx + 0x39 from python
0x00005582e0e568bb in PyEval_EvalCode + 0x1b from python
0x00005582e0e84adc in from python
0x00005582e0e80c24 in from python
0x00005582e0d8fcfa in from python
0x00005582e0d8fea1 in PyRun_InteractiveLoopFlags + 0xe7 from python
0x00005582e0d1161e in from python
0x00005582e0d0e842 in from python
0x00005582e0e4a359 in Py_BytesMain + 0x39 from python
0x00007f32a3707c87 in __libc_start_main + 0xe7 from /lib/x86_64-linux-gnu/libc.so.6
0x00005582e0e4a251 in from python.