Hi.
I am having a problem of segmentation violation that appears most of the times (but not always) in a specific point of my code.
It is the GetEntry() call in the file buildevents.cpp
at line 69:
for (unsigned int i = 0; i < _cluster_tree->GetEntries(); i++) {
bar.update();
_cluster_tree->GetEntry(i);
v_clusters.push_back(*cluster);
}
The tree is defined at lines 42-43:
_cluster_tree = (TTree *)_file_in->Get<TTree>(tree_name_in.c_str());
_cluster_tree->SetBranchAddress("clusters", &cluster, &b_clusters);
And this is the error printout:
*** Break *** segmentation violation
===========================================================
There was a crash.
This is the entire stack trace of all threads:
===========================================================
Thread 15 (Thread 0x7f01efa93640 (LWP 2980027) "BuildEvents"):
#0 0x00007f021488679a in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1 0x00007f0214891c48 in __new_sem_wait_slow64.constprop.0 () from /lib64/libc.so.6
#2 0x00007f01f6587446 in XrdSysSemaphore::Wait (this=0x4665d60) at /build/jenkins/workspace/lcg_release_pipeline/build/externals/xrootd-5.6.3/src/xrootd/5.6.3/src/XrdSys/XrdSysPthread.hh:509
#3 XrdCl::SyncQueue<XrdCl::JobManager::JobHelper>::Get (this=0x4597fd8) at /build/jenkins/workspace/lcg_release_pipeline/build/externals/xrootd-5.6.3/src/xrootd/5.6.3/src/XrdCl/XrdClSyncQueue.hh:66
#4 XrdCl::JobManager::RunJobs (this=0x4597fc0) at /build/jenkins/workspace/lcg_release_pipeline/build/externals/xrootd-5.6.3/src/xrootd/5.6.3/src/XrdCl/XrdClJobManager.cc:151
#5 0x00007f01f65874f9 in RunRunnerThread (arg=<optimized out>) at /build/jenkins/workspace/lcg_release_pipeline/build/externals/xrootd-5.6.3/src/xrootd/5.6.3/src/XrdCl/XrdClJobManager.cc:34
#6 0x00007f0214889c02 in start_thread () from /lib64/libc.so.6
#7 0x00007f021490ec40 in clone3 () from /lib64/libc.so.6
Thread 14 (Thread 0x7f01f0294640 (LWP 2980026) "BuildEvents"):
#0 0x00007f021488679a in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1 0x00007f0214891c48 in __new_sem_wait_slow64.constprop.0 () from /lib64/libc.so.6
#2 0x00007f01f6587446 in XrdSysSemaphore::Wait (this=0x4665d60) at /build/jenkins/workspace/lcg_release_pipeline/build/externals/xrootd-5.6.3/src/xrootd/5.6.3/src/XrdSys/XrdSysPthread.hh:509
#3 XrdCl::SyncQueue<XrdCl::JobManager::JobHelper>::Get (this=0x4597fd8) at /build/jenkins/workspace/lcg_release_pipeline/build/externals/xrootd-5.6.3/src/xrootd/5.6.3/src/XrdCl/XrdClSyncQueue.hh:66
#4 XrdCl::JobManager::RunJobs (this=0x4597fc0) at /build/jenkins/workspace/lcg_release_pipeline/build/externals/xrootd-5.6.3/src/xrootd/5.6.3/src/XrdCl/XrdClJobManager.cc:151
#5 0x00007f01f65874f9 in RunRunnerThread (arg=<optimized out>) at /build/jenkins/workspace/lcg_release_pipeline/build/externals/xrootd-5.6.3/src/xrootd/5.6.3/src/XrdCl/XrdClJobManager.cc:34
#6 0x00007f0214889c02 in start_thread () from /lib64/libc.so.6
#7 0x00007f021490ec40 in clone3 () from /lib64/libc.so.6
Thread 13 (Thread 0x7f01f0a95640 (LWP 2980025) "BuildEvents"):
#0 0x00007f021488679a in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1 0x00007f0214891c48 in __new_sem_wait_slow64.constprop.0 () from /lib64/libc.so.6
#2 0x00007f01f6587446 in XrdSysSemaphore::Wait (this=0x4665d60) at /build/jenkins/workspace/lcg_release_pipeline/build/externals/xrootd-5.6.3/src/xrootd/5.6.3/src/XrdSys/XrdSysPthread.hh:509
#3 XrdCl::SyncQueue<XrdCl::JobManager::JobHelper>::Get (this=0x4597fd8) at /build/jenkins/workspace/lcg_release_pipeline/build/externals/xrootd-5.6.3/src/xrootd/5.6.3/src/XrdCl/XrdClSyncQueue.hh:66
#4 XrdCl::JobManager::RunJobs (this=0x4597fc0) at /build/jenkins/workspace/lcg_release_pipeline/build/externals/xrootd-5.6.3/src/xrootd/5.6.3/src/XrdCl/XrdClJobManager.cc:151
#5 0x00007f01f65874f9 in RunRunnerThread (arg=<optimized out>) at /build/jenkins/workspace/lcg_release_pipeline/build/externals/xrootd-5.6.3/src/xrootd/5.6.3/src/XrdCl/XrdClJobManager.cc:34
#6 0x00007f0214889c02 in start_thread () from /lib64/libc.so.6
#7 0x00007f021490ec40 in clone3 () from /lib64/libc.so.6
Thread 12 (Thread 0x7f01f1296640 (LWP 2980024) "BuildEvents"):
#0 0x00007f02148d4075 in clock_nanosleep
GLIBC_2.2.5 () from /lib64/libc.so.6
#1 0x00007f02148d8c87 in nanosleep () from /lib64/libc.so.6
#2 0x00007f020daa8a68 in XrdSysTimer::Wait (mills=<optimized out>) at /build/jenkins/workspace/lcg_release_pipeline/build/externals/xrootd-5.6.3/src/xrootd/5.6.3/src/XrdSys/XrdSysTimer.cc:239
#3 0x00007f01f6506686 in XrdCl::TaskManager::RunTasks (this=0x3e14650) at /build/jenkins/workspace/lcg_release_pipeline/build/externals/xrootd-5.6.3/src/xrootd/5.6.3/src/XrdCl/XrdClTaskManager.cc:246
#4 0x00007f01f6506789 in RunRunnerThread (arg=<optimized out>) at /build/jenkins/workspace/lcg_release_pipeline/build/externals/xrootd-5.6.3/src/xrootd/5.6.3/src/XrdCl/XrdClTaskManager.cc:38
#5 0x00007f0214889c02 in start_thread () from /lib64/libc.so.6
#6 0x00007f021490ec40 in clone3 () from /lib64/libc.so.6
Thread 11 (Thread 0x7f01f1a97640 (LWP 2980023) "BuildEvents"):
#0 0x00007f021490e21e in epoll_wait () from /lib64/libc.so.6
#1 0x00007f020daa305a in XrdSys::IOEvents::PollE::Begin (this=0x463c7f0, syncsem=<optimized out>, retcode=<optimized out>, eTxt=<optimized out>) at /build/jenkins/workspace/lcg_release_pipeline/build/externals/xrootd-5.6.3/src/xrootd/5.6.3/src/XrdSys/XrdSysIOEventsPollE.icc:212
#2 0x00007f020da9f1ed in XrdSys::IOEvents::BootStrap::Start (parg=0x7ffff4847600) at /build/jenkins/workspace/lcg_release_pipeline/build/externals/xrootd-5.6.3/src/xrootd/5.6.3/src/XrdSys/XrdSysIOEvents.cc:149
#3 0x00007f020daa8177 in XrdSysThread_Xeq (myargs=0x458e1b0) at /build/jenkins/workspace/lcg_release_pipeline/build/externals/xrootd-5.6.3/src/xrootd/5.6.3/src/XrdSys/XrdSysPthread.cc:86
#4 0x00007f0214889c02 in start_thread () from /lib64/libc.so.6
#5 0x00007f021490ec40 in clone3 () from /lib64/libc.so.6
Thread 10 (Thread 0x7f01f2298640 (LWP 2980022) "BuildEvents"):
#0 0x00007f021490e21e in epoll_wait () from /lib64/libc.so.6
#1 0x00007f020daa305a in XrdSys::IOEvents::PollE::Begin (this=0x3d1f8d0, syncsem=<optimized out>, retcode=<optimized out>, eTxt=<optimized out>) at /build/jenkins/workspace/lcg_release_pipeline/build/externals/xrootd-5.6.3/src/xrootd/5.6.3/src/XrdSys/XrdSysIOEventsPollE.icc:212
#2 0x00007f020da9f1ed in XrdSys::IOEvents::BootStrap::Start (parg=0x7ffff4847600) at /build/jenkins/workspace/lcg_release_pipeline/build/externals/xrootd-5.6.3/src/xrootd/5.6.3/src/XrdSys/XrdSysIOEvents.cc:149
#3 0x00007f020daa8177 in XrdSysThread_Xeq (myargs=0x45e42f0) at /build/jenkins/workspace/lcg_release_pipeline/build/externals/xrootd-5.6.3/src/xrootd/5.6.3/src/XrdSys/XrdSysPthread.cc:86
#4 0x00007f0214889c02 in start_thread () from /lib64/libc.so.6
#5 0x00007f021490ec40 in clone3 () from /lib64/libc.so.6
Thread 9 (Thread 0x7f01f2a99640 (LWP 2980021) "BuildEvents"):
#0 0x00007f021490e21e in epoll_wait () from /lib64/libc.so.6
#1 0x00007f020daa305a in XrdSys::IOEvents::PollE::Begin (this=0x4667cd0, syncsem=<optimized out>, retcode=<optimized out>, eTxt=<optimized out>) at /build/jenkins/workspace/lcg_release_pipeline/build/externals/xrootd-5.6.3/src/xrootd/5.6.3/src/XrdSys/XrdSysIOEventsPollE.icc:212
#2 0x00007f020da9f1ed in XrdSys::IOEvents::BootStrap::Start (parg=0x7ffff4847600) at /build/jenkins/workspace/lcg_release_pipeline/build/externals/xrootd-5.6.3/src/xrootd/5.6.3/src/XrdSys/XrdSysIOEvents.cc:149
#3 0x00007f020daa8177 in XrdSysThread_Xeq (myargs=0x4601b30) at /build/jenkins/workspace/lcg_release_pipeline/build/externals/xrootd-5.6.3/src/xrootd/5.6.3/src/XrdSys/XrdSysPthread.cc:86
#4 0x00007f0214889c02 in start_thread () from /lib64/libc.so.6
#5 0x00007f021490ec40 in clone3 () from /lib64/libc.so.6
Thread 8 (Thread 0x7f01f329a640 (LWP 2980020) "BuildEvents"):
#0 0x00007f021490e21e in epoll_wait () from /lib64/libc.so.6
#1 0x00007f020daa305a in XrdSys::IOEvents::PollE::Begin (this=0x45b43e0, syncsem=<optimized out>, retcode=<optimized out>, eTxt=<optimized out>) at /build/jenkins/workspace/lcg_release_pipeline/build/externals/xrootd-5.6.3/src/xrootd/5.6.3/src/XrdSys/XrdSysIOEventsPollE.icc:212
#2 0x00007f020da9f1ed in XrdSys::IOEvents::BootStrap::Start (parg=0x7ffff4847600) at /build/jenkins/workspace/lcg_release_pipeline/build/externals/xrootd-5.6.3/src/xrootd/5.6.3/src/XrdSys/XrdSysIOEvents.cc:149
#3 0x00007f020daa8177 in XrdSysThread_Xeq (myargs=0x45e1760) at /build/jenkins/workspace/lcg_release_pipeline/build/externals/xrootd-5.6.3/src/xrootd/5.6.3/src/XrdSys/XrdSysPthread.cc:86
#4 0x00007f0214889c02 in start_thread () from /lib64/libc.so.6
#5 0x00007f021490ec40 in clone3 () from /lib64/libc.so.6
Thread 7 (Thread 0x7f01f3a9b640 (LWP 2980019) "BuildEvents"):
#0 0x00007f021490e21e in epoll_wait () from /lib64/libc.so.6
#1 0x00007f020daa305a in XrdSys::IOEvents::PollE::Begin (this=0x45f36c0, syncsem=<optimized out>, retcode=<optimized out>, eTxt=<optimized out>) at /build/jenkins/workspace/lcg_release_pipeline/build/externals/xrootd-5.6.3/src/xrootd/5.6.3/src/XrdSys/XrdSysIOEventsPollE.icc:212
#2 0x00007f020da9f1ed in XrdSys::IOEvents::BootStrap::Start (parg=0x7ffff4847600) at /build/jenkins/workspace/lcg_release_pipeline/build/externals/xrootd-5.6.3/src/xrootd/5.6.3/src/XrdSys/XrdSysIOEvents.cc:149
#3 0x00007f020daa8177 in XrdSysThread_Xeq (myargs=0x458e400) at /build/jenkins/workspace/lcg_release_pipeline/build/externals/xrootd-5.6.3/src/xrootd/5.6.3/src/XrdSys/XrdSysPthread.cc:86
#4 0x00007f0214889c02 in start_thread () from /lib64/libc.so.6
#5 0x00007f021490ec40 in clone3 () from /lib64/libc.so.6
Thread 6 (Thread 0x7f01f429c640 (LWP 2980018) "BuildEvents"):
#0 0x00007f021490e21e in epoll_wait () from /lib64/libc.so.6
#1 0x00007f020daa305a in XrdSys::IOEvents::PollE::Begin (this=0x4626ee0, syncsem=<optimized out>, retcode=<optimized out>, eTxt=<optimized out>) at /build/jenkins/workspace/lcg_release_pipeline/build/externals/xrootd-5.6.3/src/xrootd/5.6.3/src/XrdSys/XrdSysIOEventsPollE.icc:212
#2 0x00007f020da9f1ed in XrdSys::IOEvents::BootStrap::Start (parg=0x7ffff4847600) at /build/jenkins/workspace/lcg_release_pipeline/build/externals/xrootd-5.6.3/src/xrootd/5.6.3/src/XrdSys/XrdSysIOEvents.cc:149
#3 0x00007f020daa8177 in XrdSysThread_Xeq (myargs=0x41498c0) at /build/jenkins/workspace/lcg_release_pipeline/build/externals/xrootd-5.6.3/src/xrootd/5.6.3/src/XrdSys/XrdSysPthread.cc:86
#4 0x00007f0214889c02 in start_thread () from /lib64/libc.so.6
#5 0x00007f021490ec40 in clone3 () from /lib64/libc.so.6
Thread 5 (Thread 0x7f01f4a9d640 (LWP 2980017) "BuildEvents"):
#0 0x00007f021490e21e in epoll_wait () from /lib64/libc.so.6
#1 0x00007f020daa305a in XrdSys::IOEvents::PollE::Begin (this=0x45e1a40, syncsem=<optimized out>, retcode=<optimized out>, eTxt=<optimized out>) at /build/jenkins/workspace/lcg_release_pipeline/build/externals/xrootd-5.6.3/src/xrootd/5.6.3/src/XrdSys/XrdSysIOEventsPollE.icc:212
#2 0x00007f020da9f1ed in XrdSys::IOEvents::BootStrap::Start (parg=0x7ffff4847600) at /build/jenkins/workspace/lcg_release_pipeline/build/externals/xrootd-5.6.3/src/xrootd/5.6.3/src/XrdSys/XrdSysIOEvents.cc:149
#3 0x00007f020daa8177 in XrdSysThread_Xeq (myargs=0x46861f0) at /build/jenkins/workspace/lcg_release_pipeline/build/externals/xrootd-5.6.3/src/xrootd/5.6.3/src/XrdSys/XrdSysPthread.cc:86
#4 0x00007f0214889c02 in start_thread () from /lib64/libc.so.6
#5 0x00007f021490ec40 in clone3 () from /lib64/libc.so.6
Thread 4 (Thread 0x7f01f529e640 (LWP 2980016) "BuildEvents"):
#0 0x00007f021490e21e in epoll_wait () from /lib64/libc.so.6
#1 0x00007f020daa305a in XrdSys::IOEvents::PollE::Begin (this=0x459d700, syncsem=<optimized out>, retcode=<optimized out>, eTxt=<optimized out>) at /build/jenkins/workspace/lcg_release_pipeline/build/externals/xrootd-5.6.3/src/xrootd/5.6.3/src/XrdSys/XrdSysIOEventsPollE.icc:212
#2 0x00007f020da9f1ed in XrdSys::IOEvents::BootStrap::Start (parg=0x7ffff4847600) at /build/jenkins/workspace/lcg_release_pipeline/build/externals/xrootd-5.6.3/src/xrootd/5.6.3/src/XrdSys/XrdSysIOEvents.cc:149
#3 0x00007f020daa8177 in XrdSysThread_Xeq (myargs=0x45a6030) at /build/jenkins/workspace/lcg_release_pipeline/build/externals/xrootd-5.6.3/src/xrootd/5.6.3/src/XrdSys/XrdSysPthread.cc:86
#4 0x00007f0214889c02 in start_thread () from /lib64/libc.so.6
#5 0x00007f021490ec40 in clone3 () from /lib64/libc.so.6
Thread 3 (Thread 0x7f01f5a9f640 (LWP 2980015) "BuildEvents"):
#0 0x00007f021490e21e in epoll_wait () from /lib64/libc.so.6
#1 0x00007f020daa305a in XrdSys::IOEvents::PollE::Begin (this=0x45f3a80, syncsem=<optimized out>, retcode=<optimized out>, eTxt=<optimized out>) at /build/jenkins/workspace/lcg_release_pipeline/build/externals/xrootd-5.6.3/src/xrootd/5.6.3/src/XrdSys/XrdSysIOEventsPollE.icc:212
#2 0x00007f020da9f1ed in XrdSys::IOEvents::BootStrap::Start (parg=0x7ffff4847600) at /build/jenkins/workspace/lcg_release_pipeline/build/externals/xrootd-5.6.3/src/xrootd/5.6.3/src/XrdSys/XrdSysIOEvents.cc:149
#3 0x00007f020daa8177 in XrdSysThread_Xeq (myargs=0x46880a0) at /build/jenkins/workspace/lcg_release_pipeline/build/externals/xrootd-5.6.3/src/xrootd/5.6.3/src/XrdSys/XrdSysPthread.cc:86
#4 0x00007f0214889c02 in start_thread () from /lib64/libc.so.6
#5 0x00007f021490ec40 in clone3 () from /lib64/libc.so.6
Thread 2 (Thread 0x7f01f62a0640 (LWP 2980014) "BuildEvents"):
#0 0x00007f021490e21e in epoll_wait () from /lib64/libc.so.6
#1 0x00007f020daa305a in XrdSys::IOEvents::PollE::Begin (this=0x4285b90, syncsem=<optimized out>, retcode=<optimized out>, eTxt=<optimized out>) at /build/jenkins/workspace/lcg_release_pipeline/build/externals/xrootd-5.6.3/src/xrootd/5.6.3/src/XrdSys/XrdSysIOEventsPollE.icc:212
#2 0x00007f020da9f1ed in XrdSys::IOEvents::BootStrap::Start (parg=0x7ffff4847600) at /build/jenkins/workspace/lcg_release_pipeline/build/externals/xrootd-5.6.3/src/xrootd/5.6.3/src/XrdSys/XrdSysIOEvents.cc:149
#3 0x00007f020daa8177 in XrdSysThread_Xeq (myargs=0x45ed240) at /build/jenkins/workspace/lcg_release_pipeline/build/externals/xrootd-5.6.3/src/xrootd/5.6.3/src/XrdSys/XrdSysPthread.cc:86
#4 0x00007f0214889c02 in start_thread () from /lib64/libc.so.6
#5 0x00007f021490ec40 in clone3 () from /lib64/libc.so.6
Thread 1 (Thread 0x7f0216080bc0 (LWP 2979998) "BuildEvents"):
#0 0x00007f02148d8a3f in wait4 () from /lib64/libc.so.6
#1 0x00007f021484b243 in do_system () from /lib64/libc.so.6
#2 0x00007f0216912519 in TUnixSystem::StackTrace() () from /cvmfs/sft.cern.ch/lcg/releases/LCG_105/ROOT/6.30.02/x86_64-el9-gcc13-opt/lib/libCore.so
#3 0x00007f0216911ed4 in TUnixSystem::DispatchSignals(ESignals) () from /cvmfs/sft.cern.ch/lcg/releases/LCG_105/ROOT/6.30.02/x86_64-el9-gcc13-opt/lib/libCore.so
#4 <signal handler called>
#5 0x00007f02163fa7e7 in int TStreamerInfoActions::ReadBasicType<double>(TBuffer&, void*, TStreamerInfoActions::TConfiguration const*) () from /cvmfs/sft.cern.ch/lcg/releases/LCG_105/ROOT/6.30.02/x86_64-el9-gcc13-opt/lib/libRIO.so
#6 0x00007f02162cc29d in TBufferFile::ApplySequence(TStreamerInfoActions::TActionSequence const&, void*) () from /cvmfs/sft.cern.ch/lcg/releases/LCG_105/ROOT/6.30.02/x86_64-el9-gcc13-opt/lib/libRIO.so
#7 0x00007f021573d017 in TBranchElement::ReadLeavesMember(TBuffer&) () from /cvmfs/sft.cern.ch/lcg/releases/LCG_105/ROOT/6.30.02/x86_64-el9-gcc13-opt/lib/libTree.so
#8 0x00007f02157357d9 in TBranch::GetEntry(long long, int) () from /cvmfs/sft.cern.ch/lcg/releases/LCG_105/ROOT/6.30.02/x86_64-el9-gcc13-opt/lib/libTree.so
#9 0x00007f021574892c in TBranchElement::GetEntry(long long, int) () from /cvmfs/sft.cern.ch/lcg/releases/LCG_105/ROOT/6.30.02/x86_64-el9-gcc13-opt/lib/libTree.so
#10 0x00007f02157489ba in TBranchElement::GetEntry(long long, int) () from /cvmfs/sft.cern.ch/lcg/releases/LCG_105/ROOT/6.30.02/x86_64-el9-gcc13-opt/lib/libTree.so
#11 0x00007f02157b03b0 in TTree::GetEntry(long long, int) () from /cvmfs/sft.cern.ch/lcg/releases/LCG_105/ROOT/6.30.02/x86_64-el9-gcc13-opt/lib/libTree.so
#12 0x00007f0216dad7d7 in Tracking::BuildEvents::loadclusters() () from /afs/cern.ch/user/l/lmoleri/git/tb24-tracking/build/libTB24TrackingLib.so
#13 0x00007f0216dad566 in Tracking::BuildEvents::BuildEvents(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, double) () from /afs/cern.ch/user/l/lmoleri/git/tb24-tracking/build/libTB24TrackingLib.so
#14 0x000000000043fdf9 in main ()
===========================================================
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 0x00007f02163fa7e7 in int TStreamerInfoActions::ReadBasicType<double>(TBuffer&, void*, TStreamerInfoActions::TConfiguration const*) () from /cvmfs/sft.cern.ch/lcg/releases/LCG_105/ROOT/6.30.02/x86_64-el9-gcc13-opt/lib/libRIO.so
#6 0x00007f02162cc29d in TBufferFile::ApplySequence(TStreamerInfoActions::TActionSequence const&, void*) () from /cvmfs/sft.cern.ch/lcg/releases/LCG_105/ROOT/6.30.02/x86_64-el9-gcc13-opt/lib/libRIO.so
#7 0x00007f021573d017 in TBranchElement::ReadLeavesMember(TBuffer&) () from /cvmfs/sft.cern.ch/lcg/releases/LCG_105/ROOT/6.30.02/x86_64-el9-gcc13-opt/lib/libTree.so
#8 0x00007f02157357d9 in TBranch::GetEntry(long long, int) () from /cvmfs/sft.cern.ch/lcg/releases/LCG_105/ROOT/6.30.02/x86_64-el9-gcc13-opt/lib/libTree.so
#9 0x00007f021574892c in TBranchElement::GetEntry(long long, int) () from /cvmfs/sft.cern.ch/lcg/releases/LCG_105/ROOT/6.30.02/x86_64-el9-gcc13-opt/lib/libTree.so
#10 0x00007f02157489ba in TBranchElement::GetEntry(long long, int) () from /cvmfs/sft.cern.ch/lcg/releases/LCG_105/ROOT/6.30.02/x86_64-el9-gcc13-opt/lib/libTree.so
#11 0x00007f02157b03b0 in TTree::GetEntry(long long, int) () from /cvmfs/sft.cern.ch/lcg/releases/LCG_105/ROOT/6.30.02/x86_64-el9-gcc13-opt/lib/libTree.so
#12 0x00007f0216dad7d7 in Tracking::BuildEvents::loadclusters() () from /afs/cern.ch/user/l/lmoleri/git/tb24-tracking/build/libTB24TrackingLib.so
#13 0x00007f0216dad566 in Tracking::BuildEvents::BuildEvents(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, double) () from /afs/cern.ch/user/l/lmoleri/git/tb24-tracking/build/libTB24TrackingLib.so
#14 0x000000000043fdf9 in main ()
===========================================================
This is the repository where you can find the full code. I hope you can help solving this issue.
Thank you
Best regards
Luca Moleri
_ROOT Version: 6.32.04
_Platform: Red Hat 11.4.1-3
_Compiler: g++ (GCC) 11.4.1 20231218