Dear Experts,
I am facing a segmentation error when I try to run the macro for a simultaneous fit. Please have a look at my working directory at: sim_fit_forum.zip - Google Drive. Also, below the complete stack of the messages:
===========================================================
There was a crash.
This is the entire stack trace of all threads:
===========================================================
#0 0x00007f9e8d091c3a in __GI___wait4 (pid=36046, stat_loc=stat_loc
entry=0x7ffccc6a0368, options=options
entry=0, usage=usage
entry=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:27
#1 0x00007f9e8d091bfb in __GI___waitpid (pid=<optimized out>, stat_loc=stat_loc
entry=0x7ffccc6a0368, options=options
entry=0) at waitpid.c:38
#2 0x00007f9e8d000f67 in do_system (line=<optimized out>) at ../sysdeps/posix/system.c:172
#3 0x00007f9e8d6c69ae in TUnixSystem::StackTrace() () from /home/sanjeeda/root_software/root/lib/libCore.so
#4 0x00007f9e8d6c3825 in TUnixSystem::DispatchSignals(ESignals) () from /home/sanjeeda/root_software/root/lib/libCore.so
#5 <signal handler called>
#6 0x00007f9e8d264df2 in __dynamic_cast () from /lib/x86_64-linux-gnu/libstdc++.so.6
#7 0x00007f9e792332f5 in RooAbsCollection::insert(RooAbsArg*) () from /home/sanjeeda/root_software/root/lib/libRooFitCore.so
#8 0x00007f9e79233729 in RooAbsCollection::add(RooAbsArg const&, bool) () from /home/sanjeeda/root_software/root/lib/libRooFitCore.so
#9 0x00007f9e80ee7f72 in kk_simfit_old_data() () from /home/sanjeeda/Desktop/thesis_new/analysis/iriomote/belle2/kk/kk_simfit_old_data_C.so
#10 0x00007f9e8d39f053 in ?? ()
#11 0x00007f9e88d76970 in ?? () from /home/sanjeeda/root_software/root/lib/libCling.so
#12 0x00007ffccc6e3280 in ?? ()
#13 0x000056390328d7d0 in ?? ()
#14 0x00007f9e88d43aff in cling::IncrementalExecutor::executeWrapper(llvm::StringRef, cling::Value*) const () from /home/sanjeeda/root_software/root/lib/libCling.so
#15 0x00007f9e88cb8395 in cling::Interpreter::RunFunction(clang::FunctionDecl const*, cling::Value*) () from /home/sanjeeda/root_software/root/lib/libCling.so
#16 0x00007f9e88cbb1bd in cling::Interpreter::EvaluateInternal(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, cling::CompilationOptions, cling::Value*, cling::Transaction**, unsigned long) () from /home/sanjeeda/root_software/root/lib/libCling.so
#17 0x00007f9e88cbb594 in cling::Interpreter::process(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, cling::Value*, cling::Transaction**, bool) () from /home/sanjeeda/root_software/root/lib/libCling.so
#18 0x00007f9e88da7a07 in cling::MetaProcessor::process(llvm::StringRef, cling::Interpreter::CompilationResult&, cling::Value*, bool) () from /home/sanjeeda/root_software/root/lib/libCling.so
#19 0x00007f9e88bba03c in HandleInterpreterException(cling::MetaProcessor*, char const*, cling::Interpreter::CompilationResult&, cling::Value*) () from /home/sanjeeda/root_software/root/lib/libCling.so
#20 0x00007f9e88bd195c in TCling::ProcessLine(char const*, TInterpreter::EErrorCode*) () from /home/sanjeeda/root_software/root/lib/libCling.so
#21 0x00007f9e88bd1e4a in TCling::ProcessLineSynch(char const*, TInterpreter::EErrorCode*) () from /home/sanjeeda/root_software/root/lib/libCling.so
#22 0x00007f9e8d56b6ea in TApplication::ExecuteFile(char const*, int*, bool) () from /home/sanjeeda/root_software/root/lib/libCore.so
#23 0x00007f9e8d56c423 in TApplication::ProcessLine(char const*, bool, int*) () from /home/sanjeeda/root_software/root/lib/libCore.so
#24 0x00007f9e8d9451b6 in TRint::ProcessLineNr(char const*, char const*, int*) () from /home/sanjeeda/root_software/root/lib/libRint.so
#25 0x00007f9e8d946abd in TRint::Run(bool) () from /home/sanjeeda/root_software/root/lib/libRint.so
#26 0x00005639027df180 in main ()
===========================================================
The lines below might hint at the cause of the crash.
You may get help by asking at the ROOT forum https://root.cern.ch/forum
Only if you are really convinced it is a bug in ROOT then please submit a
report at https://root.cern.ch/bugs Please post the ENTIRE stack trace
from above as an attachment in addition to anything else
that might help us fixing this issue.
===========================================================
#6 0x00007f9e8d264df2 in __dynamic_cast () from /lib/x86_64-linux-gnu/libstdc++.so.6
#7 0x00007f9e792332f5 in RooAbsCollection::insert(RooAbsArg*) () from /home/sanjeeda/root_software/root/lib/libRooFitCore.so
#8 0x00007f9e79233729 in RooAbsCollection::add(RooAbsArg const&, bool) () from /home/sanjeeda/root_software/root/lib/libRooFitCore.so
#9 0x00007f9e80ee7f72 in kk_simfit_old_data() () from /home/sanjeeda/Desktop/thesis_new/analysis/iriomote/belle2/kk/kk_simfit_old_data_C.so
#10 0x00007f9e8d39f053 in ?? ()
#11 0x00007f9e88d76970 in ?? () from /home/sanjeeda/root_software/root/lib/libCling.so
#12 0x00007ffccc6e3280 in ?? ()
#13 0x000056390328d7d0 in ?? ()
#14 0x00007f9e88d43aff in cling::IncrementalExecutor::executeWrapper(llvm::StringRef, cling::Value*) const () from /home/sanjeeda/root_software/root/lib/libCling.so
#15 0x00007f9e88cb8395 in cling::Interpreter::RunFunction(clang::FunctionDecl const*, cling::Value*) () from /home/sanjeeda/root_software/root/lib/libCling.so
#16 0x00007f9e88cbb1bd in cling::Interpreter::EvaluateInternal(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, cling::CompilationOptions, cling::Value*, cling::Transaction**, unsigned long) () from /home/sanjeeda/root_software/root/lib/libCling.so
#17 0x00007f9e88cbb594 in cling::Interpreter::process(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, cling::Value*, cling::Transaction**, bool) () from /home/sanjeeda/root_software/root/lib/libCling.so
#18 0x00007f9e88da7a07 in cling::MetaProcessor::process(llvm::StringRef, cling::Interpreter::CompilationResult&, cling::Value*, bool) () from /home/sanjeeda/root_software/root/lib/libCling.so
#19 0x00007f9e88bba03c in HandleInterpreterException(cling::MetaProcessor*, char const*, cling::Interpreter::CompilationResult&, cling::Value*) () from /home/sanjeeda/root_software/root/lib/libCling.so
===========================================================
type or paste code here
Please help. I am using ubuntu 20.02 and root 6.24/06