Skip to content

unfold crashes when swapping data and MC

Would like an error message instead.

unfold 0/1 start
451     Opening input files
463     Preparing output file

 *** Break *** segmentation violation



===========================================================
There was a crash.
This is the entire stack trace of all threads:
===========================================================
#0  0x00007f63898d8afa in wait4 () from /lib64/libc.so.6
#1  0x00007f638984b283 in do_system () from /lib64/libc.so.6
#2  0x00007f638a712439 in TUnixSystem::StackTrace() () from /cvmfs/sft.cern.ch/lcg/views/LCG_104/x86_64-el9-gcc13-opt/lib/libCore.so
#3  0x00007f638a711df4 in TUnixSystem::DispatchSignals(ESignals) () from /cvmfs/sft.cern.ch/lcg/views/LCG_104/x86_64-el9-gcc13-opt/lib/libCore.so
#4  <signal handler called>
#5  DAS::Unfolding::unfold (inputData=..., inputMC=..., output=..., config=..., steering=0, slice=...) at /afs/cern.ch/user/l/lmoureau/work/Installer/Core/Unfolding/bin/unfold.cc:524
#6  0x0000000000411655 in main (argc=4, argv=0x7ffcdf45f5b8) at /cvmfs/sft.cern.ch/lcg/releases/gcc/13.1.0-b3d18/x86_64-el9/include/c++/13.1.0/bits/stl_pair.h:330
===========================================================


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
Only if you are really convinced it is a bug in ROOT then please submit a
report at https://root.cern/bugs Please post the ENTIRE stack trace
from above as an attachment in addition to anything else
that might help us fixing this issue.
===========================================================
#5  DAS::Unfolding::unfold (inputData=..., inputMC=..., output=..., config=..., steering=0, slice=...) at /afs/cern.ch/user/l/lmoureau/work/Installer/Core/Unfolding/bin/unfold.cc:524
#6  0x0000000000411655 in main (argc=4, argv=0x7ffcdf45f5b8) at /cvmfs/sft.cern.ch/lcg/releases/gcc/13.1.0-b3d18/x86_64-el9/include/c++/13.1.0/bits/stl_pair.h:330
===========================================================