Hi,
I have a general problem with FCCAnalyses which persists across the FCCAnalyses framework.
I am trying to compile my own versions of FCCAnalyses and FCCeePhysicsPerformance locally. I can do this ok and can run preSel.py correctly. However when I try to run finalSel.py I get a segmentation violation.
As a last resort, I went back to the tutorial and didn’t download FCCAnalyses. But I get a similar error. See below.
This didn’t happen before with the tutorial. Help !
Thanks
Roy
[rlemmon@lxplus750 mytutorial]$ python finalSel.py
Warning in TInterpreter::ReadRootmapFile: class edm4hep::ObjectID found in libedm4drDict.so is already in libedm4hepDict.so
getting info from the web
EnableImplicitMT: 2
Load cxx analyzers …
Error in TUnixSystem::FindDynamicLibrary: libdatamodel[.so | .dll | .dylib | .sl | .dl | .a] does not exist in /cvmfs/sw.hsf.org/spackages4/xgboost/1.3.3/x86_64-centos7-gcc8.3.0-opt/yqy4fdg/lib64:/cvmfs/sw-nightlies.hsf.org/spackages4/py-uproot/4.0.11/x86_64-centos7-gcc8.3.0-opt/nn7ypaagp457csbgpbzwymz334thfl5s/lib:/cvmfs/sw-nightlies.hsf.org/spackages4/py-scikit-learn/1.0.1/x86_64-centos7-gcc8.3.0-opt/2v7bdlg4qa7wswx7dbznsdgd …
…/contrib/bzip2/1.0.8/x86_64-centos7-gcc4.8.5-opt/ceo6esx3tynrmqufzjhorensrssplo3m/lib:.:/cvmfs/sw-nightlies.hsf.org/spackages4/root/6.24.00/x86_64-centos7-gcc8.3.0-opt/7mjcil7w6kjmeazip3z46mjs4onxqnaq/lib:/lib64/tls/x86_64:/lib64/tls:/lib64/x86_64:/lib64:/usr/lib64/tls/x86_64:/usr/lib64/tls:/usr/lib64/x86_64:/usr/lib64:/cvmfs/sw-nightlies.hsf.org/spackages4/root/6.24.00/x86_64-centos7-gcc8.3.0-opt
open file /afs/cern.ch/user/r/rlemmon/mytutorial/p8_ee_ZH_ecm240.root
processed events {‘p8_ee_ZH_ecm240’: 1}
events in ttree {‘p8_ee_ZH_ecm240’: 1000}
running over process : p8_ee_ZH_ecm240
Defining snapshots and histograms
Evaluating…
*** Break *** segmentation violation
===========================================================
There was a crash.
This is the entire stack trace of all threads:
Thread 2 (Thread 0x7f0a8d2cf700 (LWP 5559) “python”):
#0 0x00007f0aa0c43de2 in pthread_cond_timedwait
GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007f0aa120e49c in PyCOND_TIMEDWAIT (us=, mut=0x7f0aa1405070 <_PyRuntime+1232>, cond=0x7f0aa1405040 <_PyRuntime+1184>) at /cvmfs/tmp/spack-stage/gitlab-runner/spack-stage-python-3.8.12-t7taq425vxxwcboo47pli3tbaezwdxoh/spack-src/Python/condvar.h:73
#2 take_gil (ceval=ceval
entry=0x7f0aa1404de8 <_PyRuntime+584>, tstate=tstate
entry=0x3e06900) at /cvmfs/tmp/spack-stage/gitlab-runner/spack-stage-python-3.8.12-t7taq425vxxwcboo47pli3tbaezwdxoh/spack-src/Python/ceval_gil.h:206
#3 0x00007f0aa120e833 in PyEval_RestoreThread (tstate=tstate
entry=0x3e06900) at /cvmfs/tmp/spack-stage/gitlab-runner/spack-stage-python-3.8.12-t7taq425vxxwcboo47pli3tbaezwdxoh/spack-src/Python/ceval.c:399
#4 0x00007f0aa12ad962 in pysleep (secs=) at /cvmfs/tmp/spack-stage/gitlab-runner/spack-stage-python-3.8.12-t7taq425vxxwcboo47pli3tbaezwdxoh/spack-src/Modules/timemodule.c:1867
#5 time_sleep (self=, obj=) at /cvmfs/tmp/spack-stage/gitlab-runner/spack-stage-python-3.8.12-t7taq425vxxwcboo47pli3tbaezwdxoh/spack-src/Modules/timemodule.c:338
#6 0x00007f0aa116ee80 in cfunction_vectorcall_O (func=0x7f0a9fee1cc0, args=, nargsf=, kwnames=) at /cvmfs/tmp/spack-stage/gitlab-runner/spack-stage-python-3.8.12-t7taq425vxxwcboo47pli3tbaezwdxoh/spack-src/Objects/methodobject.c:486
#7 0x00007f0aa110228a in _PyObject_Vectorcall (kwnames=, nargsf=, args=, callable=) at /cvmfs/tmp/spack-stage/gitlab-runner/spack-stage-python-3.8.12-t7taq425vxxwcboo47pli3tbaezwdxoh/spack-src/Include/cpython/abstract.h:127
#8 call_function (kwnames=0x0, oparg=, pp_stack=, tstate=0x3e06900) at /cvmfs/tmp/spack-stage/gitlab-runner/spack-stage-python-3.8.12-t7taq425vxxwcboo47pli3tbaezwdxoh/spack-src/Python/ceval.c:4963
#9 _PyEval_EvalFrameDefault (f=, throwflag=) at /cvmfs/tmp/spack-stage/gitlab-runner/spack-stage-python-3.8.12-t7taq425vxxwcboo47pli3tbaezwdxoh/spack-src/Python/ceval.c:3469
#10 0x00007f0aa120f4f1 in _PyEval_EvalCodeWithName (_co=, globals=, locals=locals
entry=0x0, args=, argcount=1, kwnames=0x0, kwargs=0x7f0a9fe81930, kwcount=0, kwstep=1, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0, name=0x7f0a8d768ee0, qualname=0x7f0a8d76e5e0) at /cvmfs/tmp/spack-stage/gitlab-runner/spack-stage-python-3.8.12-t7taq425vxxwcboo47pli3tbaezwdxoh/spack-src/Python/ceval.c:4298
#11 0x00007f0aa1128a31 in _PyFunction_Vectorcall (func=func
entry=0x7f0a9fde4670, stack=, nargsf=, nargsf
entry=1, kwnames=) at /cvmfs/tmp/spack-stage/gitlab-runner/spack-stage-python-3.8.12-t7taq425vxxwcboo47pli3tbaezwdxoh/spack-src/Objects/call.c:436
#12 0x00007f0aa112a7cc in PyVectorcall_Call (callable=0x7f0a9fde4670, tuple=, kwargs=) at /cvmfs/tmp/spack-stage/gitlab-runner/spack-stage-python-3.8.12-t7taq425vxxwcboo47pli3tbaezwdxoh/spack-src/Objects/call.c:200
#13 0x00007f0aa10fd5a0 in do_call_core (kwdict=0x7f0a8d70abc0, callargs=0x7f0a9fe81910, func=0x7f0a9fde4670, tstate=0x3e06900) at /cvmfs/tmp/spack-stage/gitlab-runner/spack-stage-python-3.8.12-t7taq425vxxwcboo47pli3tbaezwdxoh/spack-src/Python/ceval.c:5010
#14 _PyEval_EvalFrameDefault (f=, throwflag=) at /cvmfs/tmp/spack-stage/gitlab-runner/spack-stage-python-3.8.12-t7taq425vxxwcboo47pli3tbaezwdxoh/spack-src/Python/ceval.c:3559
#15 0x00007f0aa10fa93b in function_code_fastcall (co=, args=, nargs=1, globals=) at /cvmfs/tmp/spack-stage/gitlab-runner/spack-stage-python-3.8.12-t7taq425vxxwcboo47pli3tbaezwdxoh/spack-src/Objects/call.c:284
#16 0x00007f0aa10fcb92 in _PyObject_Vectorcall (kwnames=, nargsf=, args=, callable=) at /cvmfs/tmp/spack-stage/gitlab-runner/spack-stage-python-3.8.12-t7taq425vxxwcboo47pli3tbaezwdxoh/spack-src/Include/cpython/abstract.h:127
#17 call_function (kwnames=0x0, oparg=1, pp_stack=, tstate=0x3e06900) at /cvmfs/tmp/spack-stage/gitlab-runner/spack-stage-python-3.8.12-t7taq425vxxwcboo47pli3tbaezwdxoh/spack-src/Python/ceval.c:4963
#18 _PyEval_EvalFrameDefault (f=, throwflag=) at /cvmfs/tmp/spack-stage/gitlab-runner/spack-stage-python-3.8.12-t7taq425vxxwcboo47pli3tbaezwdxoh/spack-src/Python/ceval.c:3486
#19 0x00007f0aa10fa93b in function_code_fastcall (co=, args=, nargs=1, globals=) at /cvmfs/tmp/spack-stage/gitlab-runner/spack-stage-python-3.8.12-t7taq425vxxwcboo47pli3tbaezwdxoh/spack-src/Objects/call.c:284
#20 0x00007f0aa10fcb92 in _PyObject_Vectorcall (kwnames=, nargsf=, args=, callable=) at /cvmfs/tmp/spack-stage/gitlab-runner/spack-stage-python-3.8.12-t7taq425vxxwcboo47pli3tbaezwdxoh/spack-src/Include/cpython/abstract.h:127
#21 call_function (kwnames=0x0, oparg=1, pp_stack=, tstate=0x3e06900) at /cvmfs/tmp/spack-stage/gitlab-runner/spack-stage-python-3.8.12-t7taq425vxxwcboo47pli3tbaezwdxoh/spack-src/Python/ceval.c:4963
#22 _PyEval_EvalFrameDefault (f=, throwflag=) at /cvmfs/tmp/spack-stage/gitlab-runner/spack-stage-python-3.8.12-t7taq425vxxwcboo47pli3tbaezwdxoh/spack-src/Python/ceval.c:3486
#23 0x00007f0aa10fa93b in function_code_fastcall (co=, args=, nargs=1, globals=) at /cvmfs/tmp/spack-stage/gitlab-runner/spack-stage-python-3.8.12-t7taq425vxxwcboo47pli3tbaezwdxoh/spack-src/Objects/call.c:284
#24 0x00007f0aa112c08c in _PyObject_Vectorcall (kwnames=0x0, nargsf=1, args=0x7f0a8d2cee28, callable=0x7f0a8e34a160) at /cvmfs/tmp/spack-stage/gitlab-runner/spack-stage-python-3.8.12-t7taq425vxxwcboo47pli3tbaezwdxoh/spack-src/Include/cpython/abstract.h:127
#25 method_vectorcall (method=method
entry=0x7f0a8d67cec0, args=, nargsf=nargsf
entry=0, kwnames=0x0) at /cvmfs/tmp/spack-stage/gitlab-runner/spack-stage-python-3.8.12-t7taq425vxxwcboo47pli3tbaezwdxoh/spack-src/Objects/classobject.c:67
#26 0x00007f0aa112a7cc in PyVectorcall_Call (callable=0x7f0a8d67cec0, tuple=, kwargs=) at /cvmfs/tmp/spack-stage/gitlab-runner/spack-stage-python-3.8.12-t7taq425vxxwcboo47pli3tbaezwdxoh/spack-src/Objects/call.c:200
#27 0x00007f0aa12aebea in t_bootstrap (boot_raw=boot_raw
entry=0x7f0a8d4c2f90) at /cvmfs/tmp/spack-stage/gitlab-runner/spack-stage-python-3.8.12-t7taq425vxxwcboo47pli3tbaezwdxoh/spack-src/Modules/_threadmodule.c:1002
#28 0x00007f0aa125aab7 in pythread_wrapper (arg=) at /cvmfs/tmp/spack-stage/gitlab-runner/spack-stage-python-3.8.12-t7taq425vxxwcboo47pli3tbaezwdxoh/spack-src/Python/thread_pthread.h:232
#29 0x00007f0aa0c3fea5 in start_thread () from /lib64/libpthread.so.0
#30 0x00007f0aa025fb0d in clone () from /lib64/libc.so.6
Thread 1 (Thread 0x7f0aa14b3740 (LWP 5517) “python”):
#0 0x00007f0aa0226659 in waitpid () from /lib64/libc.so.6
#1 0x00007f0aa01a3f62 in do_system () from /lib64/libc.so.6
#2 0x00007f0aa01a4311 in system () from /lib64/libc.so.6
#3 0x00007f0a9fb543c3 in TUnixSystem::Exec (shellcmd=, this=0x1444f60) at /cvmfs/tmp/spack-stage/gitlab-runner/spack-stage-root-6.24.00-7mjcil7w6kjmeazip3z46mjs4onxqnaq/spack-src/core/unix/src/TUnixSystem.cxx:2120
#4 TUnixSystem::StackTrace (this=0x1444f60) at /cvmfs/tmp/spack-stage/gitlab-runner/spack-stage-root-6.24.00-7mjcil7w6kjmeazip3z46mjs4onxqnaq/spack-src/core/unix/src/TUnixSystem.cxx:2411
#5 0x00007f0a9fd02488 in (anonymous namespace)::do_trace (sig=1) at /cvmfs/tmp/spack-stage/gitlab-runner/spack-stage-root-6.24.00-7mjcil7w6kjmeazip3z46mjs4onxqnaq/spack-src/bindings/pyroot/cppyy/cppyy-backend/clingwrapper/src/clingwrapper.cxx:182
#6 (anonymous namespace)::TExceptionHandlerImp::HandleException (this=, sig=1) at /cvmfs/tmp/spack-stage/gitlab-runner/spack-stage-root-6.24.00-7mjcil7w6kjmeazip3z46mjs4onxqnaq/spack-src/bindings/pyroot/cppyy/cppyy-backend/clingwrapper/src/clingwrapper.cxx:195
#7 0x00007f0a9fb56c3d in TUnixSystem::DispatchSignals (this=0x1444f60, sig=kSigSegmentationViolation) at /cvmfs/tmp/spack-stage/gitlab-runner/spack-stage-root-6.24.00-7mjcil7w6kjmeazip3z46mjs4onxqnaq/spack-src/core/unix/src/TUnixSystem.cxx:3644
#8
#9 0x00007f0a783dbbe8 in ?? ()
#10 0x00007ffe142f4a90 in ?? ()
#11 0x0000000000000000 in ?? ()
The lines below might hint at the cause of the crash.
You may get help by asking at the ROOT forum ROOT Forum
Only if you are really convinced it is a bug in ROOT then please submit a
report at Sign in to GitHub · GitHub Please post the ENTIRE stack trace
from above as an attachment in addition to anything else
that might help us fixing this issue.
#9 0x00007f0a783dbbe8 in ?? ()
#10 0x00007ffe142f4a90 in ?? ()
#11 0x0000000000000000 in ?? ()
Traceback (most recent call last):
File “finalSel.py”, line 38, in
myana.run(ncpu=NUM_CPUS, doTree=DO_TREE)
File “/cvmfs/sw-nightlies.hsf.org/spackages4/fccanalyses/commit.2a7af22c36ca02e84cc9dfebba5bf4ba15804ab2/x86_64-centos7-gcc8.3.0-opt/5pejlnr6u25er7nm2stdzwpcvp4dupbd/python/config/runDataFrameFinal.py”, line 166, in run
all_events = df.Count().GetValue()
cppyy.ll.SegmentationViolation: const ULong64_t& ROOT::RDF::RResultPtr<ULong64_t>::GetValue() =>
SegmentationViolation: segfault in C++; program state was reset
[rlemmon@lxplus750 mytutorial]$