Root 6.26/04 crash with Proxies

Dear Experts,
I am struggling with root 6.26/04 version. When I open a workspace (whatever workspace, created with older root version as well as the 6.26/04 itself) and I try to Print(“v”) whatever objects that has “Proxies”, at that level I just have a crash. I copy-paste below the full error that I see.
Do you have any kind of explanation on why this is happening?

Thank you very much.

Best

Chiara


myWS->obj("whatever_object")->Print("v")
--- RooAbsArg ---
  Value State: clean
  Shape State: DIRTY
  Attributes:  [Constant,SnapShot_ExtRefClone] 
  Address: 0x4104df0
  Clients: 
    (0x4249900,V-) RooFormulaVar::whatever_formula "(@0*@1*@2*@3)"
  Servers: 
    (0x41044e0,V-) RooRealVar::whatever_variable"
  Proxies: 
    paramList -> 


 *** Break *** segmentation violation
===========================================================

There was a crash.

This is the entire stack trace of all threads:

===========================================================

#0 0x00007fc1062f460c in waitpid () from /lib64/libc.so.6

#1 0x00007fc106271f62 in do_system () from /lib64/libc.so.6

#2 0x00007fc10701fa5c in TUnixSystem::StackTrace() () from /cvmfs/sft.cern.ch/lcg/releases/ROOT/6.26.04-edd28/x86_64-centos7-gcc11-opt/bin/../lib/libCore.so

#3 0x00007fc10701d155 in TUnixSystem::DispatchSignals(ESignals) () from /cvmfs/sft.cern.ch/lcg/releases/ROOT/6.26.04-edd28/x86_64-centos7-gcc11-opt/bin/../lib/libCore.so

#4 <signal handler called>

#5 0x00007fc0eb361884 in RooPrintable::printStream(std::ostream&, int, RooPrintable::StyleOption, TString) const () from /cvmfs/sft.cern.ch/lcg/releases/ROOT/6.26.04-edd28/x86_64-centos7-gcc11-opt/lib/libRooFitCore.so

#6 0x00007fc0eb172fbd in RooAbsArg::printMultiline(std::ostream&, int, bool, TString) const () from /cvmfs/sft.cern.ch/lcg/releases/ROOT/6.26.04-edd28/x86_64-centos7-gcc11-opt/lib/libRooFitCore.so

#7 0x00007fc0eb1e815e in RooAbsReal::printMultiline(std::ostream&, int, bool, TString) const () from /cvmfs/sft.cern.ch/lcg/releases/ROOT/6.26.04-edd28/x86_64-centos7-gcc11-opt/lib/libRooFitCore.so

#8 0x00007fc0e9bb03cd in RooStats::HistFactory::FlexibleInterpVar::printMultiline(std::ostream&, int, bool, TString) const () from /cvmfs/sft.cern.ch/lcg/views/LCG_102/x86_64-centos7-gcc11-opt/lib/libHistFactory.so

#9 0x00007fc0eb3619df in RooPrintable::printStream(std::ostream&, int, RooPrintable::StyleOption, TString) const () from /cvmfs/sft.cern.ch/lcg/releases/ROOT/6.26.04-edd28/x86_64-centos7-gcc11-opt/lib/libRooFitCore.so

#10 0x00007fc0eb14e96d in RooAbsArg::Print(char const*) const () from /cvmfs/sft.cern.ch/lcg/releases/ROOT/6.26.04-edd28/x86_64-centos7-gcc11-opt/lib/libRooFitCore.so

#11 0x00007fc10155d256 in cling::IncrementalExecutor::executeWrapper(llvm::StringRef, cling::Value*) const () from /cvmfs/sft.cern.ch/lcg/views/LCG_102/x86_64-centos7-gcc11-opt/lib/libCling.so

#12 0x00007fc1014eb7b1 in cling::Interpreter::RunFunction(clang::FunctionDecl const*, cling::Value*) () from /cvmfs/sft.cern.ch/lcg/views/LCG_102/x86_64-centos7-gcc11-opt/lib/libCling.so

#13 0x00007fc1014ebda3 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 /cvmfs/sft.cern.ch/lcg/views/LCG_102/x86_64-centos7-gcc11-opt/lib/libCling.so

#14 0x00007fc1014ec13f in cling::Interpreter::process(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, cling::Value*, cling::Transaction**, bool) () from /cvmfs/sft.cern.ch/lcg/views/LCG_102/x86_64-centos7-gcc11-opt/lib/libCling.so

#15 0x00007fc1015a948f in cling::MetaProcessor::process(llvm::StringRef, cling::Interpreter::CompilationResult&, cling::Value*, bool) () from /cvmfs/sft.cern.ch/lcg/views/LCG_102/x86_64-centos7-gcc11-opt/lib/libCling.so

#16 0x00007fc10140ee3c in HandleInterpreterException(cling::MetaProcessor*, char const*, cling::Interpreter::CompilationResult&, cling::Value*) () from /cvmfs/sft.cern.ch/lcg/views/LCG_102/x86_64-centos7-gcc11-opt/lib/libCling.so

#17 0x00007fc101428cda in TCling::ProcessLine(char const*, TInterpreter::EErrorCode*) () from /cvmfs/sft.cern.ch/lcg/views/LCG_102/x86_64-centos7-gcc11-opt/lib/libCling.so

#18 0x00007fc10749a1c6 in TRint::ProcessLineNr(char const*, char const*, int*) () from /cvmfs/sft.cern.ch/lcg/releases/ROOT/6.26.04-edd28/x86_64-centos7-gcc11-opt/bin/../lib/libRint.so

#19 0x00007fc10749a5d2 in TRint::HandleTermInput() () from /cvmfs/sft.cern.ch/lcg/releases/ROOT/6.26.04-edd28/x86_64-centos7-gcc11-opt/bin/../lib/libRint.so

#20 0x00007fc10701c204 in TUnixSystem::CheckDescriptors() () from /cvmfs/sft.cern.ch/lcg/releases/ROOT/6.26.04-edd28/x86_64-centos7-gcc11-opt/bin/../lib/libCore.so

#21 0x00007fc10701ddd8 in TUnixSystem::DispatchOneEvent(bool) () from /cvmfs/sft.cern.ch/lcg/releases/ROOT/6.26.04-edd28/x86_64-centos7-gcc11-opt/bin/../lib/libCore.so

#22 0x00007fc106f32e37 in TSystem::Run() () from /cvmfs/sft.cern.ch/lcg/releases/ROOT/6.26.04-edd28/x86_64-centos7-gcc11-opt/bin/../lib/libCore.so

#23 0x00007fc106ece6c3 in TApplication::Run(bool) () from /cvmfs/sft.cern.ch/lcg/releases/ROOT/6.26.04-edd28/x86_64-centos7-gcc11-opt/bin/../lib/libCore.so

#24 0x00007fc10749bffb in TRint::Run(bool) () from /cvmfs/sft.cern.ch/lcg/releases/ROOT/6.26.04-edd28/x86_64-centos7-gcc11-opt/bin/../lib/libRint.so

#25 0x00000000004011dd 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/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 0x00007fc0eb361884 in RooPrintable::printStream(std::ostream&, int, RooPrintable::StyleOption, TString) const () from /cvmfs/sft.cern.ch/lcg/releases/ROOT/6.26.04-edd28/x86_64-centos7-gcc11-opt/lib/libRooFitCore.so

#6 0x00007fc0eb172fbd in RooAbsArg::printMultiline(std::ostream&, int, bool, TString) const () from /cvmfs/sft.cern.ch/lcg/releases/ROOT/6.26.04-edd28/x86_64-centos7-gcc11-opt/lib/libRooFitCore.so

#7 0x00007fc0eb1e815e in RooAbsReal::printMultiline(std::ostream&, int, bool, TString) const () from /cvmfs/sft.cern.ch/lcg/releases/ROOT/6.26.04-edd28/x86_64-centos7-gcc11-opt/lib/libRooFitCore.so

#8 0x00007fc0e9bb03cd in RooStats::HistFactory::FlexibleInterpVar::printMultiline(std::ostream&, int, bool, TString) const () from /cvmfs/sft.cern.ch/lcg/views/LCG_102/x86_64-centos7-gcc11-opt/lib/libHistFactory.so

#9 0x00007fc0eb3619df in RooPrintable::printStream(std::ostream&, int, RooPrintable::StyleOption, TString) const () from /cvmfs/sft.cern.ch/lcg/releases/ROOT/6.26.04-edd28/x86_64-centos7-gcc11-opt/lib/libRooFitCore.so

#10 0x00007fc0eb14e96d in RooAbsArg::Print(char const*) const () from /cvmfs/sft.cern.ch/lcg/releases/ROOT/6.26.04-edd28/x86_64-centos7-gcc11-opt/lib/libRooFitCore.so

#11 0x00007fc10155d256 in cling::IncrementalExecutor::executeWrapper(llvm::StringRef, cling::Value*) const () from /cvmfs/sft.cern.ch/lcg/views/LCG_102/x86_64-centos7-gcc11-opt/lib/libCling.so

#12 0x00007fc1014eb7b1 in cling::Interpreter::RunFunction(clang::FunctionDecl const*, cling::Value*) () from /cvmfs/sft.cern.ch/lcg/views/LCG_102/x86_64-centos7-gcc11-opt/lib/libCling.so

#13 0x00007fc1014ebda3 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 /cvmfs/sft.cern.ch/lcg/views/LCG_102/x86_64-centos7-gcc11-opt/lib/libCling.so

#14 0x00007fc1014ec13f in cling::Interpreter::process(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, cling::Value*, cling::Transaction**, bool) () from /cvmfs/sft.cern.ch/lcg/views/LCG_102/x86_64-centos7-gcc11-opt/lib/libCling.so

#15 0x00007fc1015a948f in cling::MetaProcessor::process(llvm::StringRef, cling::Interpreter::CompilationResult&, cling::Value*, bool) () from /cvmfs/sft.cern.ch/lcg/views/LCG_102/x86_64-centos7-gcc11-opt/lib/libCling.so

#16 0x00007fc10140ee3c in HandleInterpreterException(cling::MetaProcessor*, char const*, cling::Interpreter::CompilationResult&, cling::Value*) () from /cvmfs/sft.cern.ch/lcg/views/LCG_102/x86_64-centos7-gcc11-opt/lib/libCling.so

===========================================================

Hi @carcange ,

and welcome to the ROOT forum! Could you check whether the problem is still present in v6.26.06?

If yes, please provide a minimal, self-contained reproducer that we can run to debug the issue on our side. @jonas or @moneta might be able to comment further.

Cheers,
Enrico

Dear Enrico,
thank you very much for your answer. Unfortunately I met the same problem also with the v6.26/06 version. It seems that I cannot upload a file or put a link as new user. Is there another way to share a content?
Thanks again.

Best

Chiara

Ciao Chiara,

you should have permissions to post links and files now. Otherwise https://cernbox.cern.ch might be an option.

Cheers,
Enrico

Ok, it seems that it works now, thanks!
I just uploaded the simplest workspace where I saw this issue on this path:
/eos/user/c/carcange/ws_XS.root
you should be able to access.
In this particular one I saw it for sure in the RooAddPdf and in the RooFormula, instead in the RooSimultanouesPdf seems to not appear. So I really have no idea to what it could be related.
Thanks again.

Best

Chiara

1 Like

Hi @carcange ,

this issue is [RF] verbose printout of some RooFit classes broken · Issue #10385 · root-project/root · GitHub . It has been fixed in ROOT’s master branch (future v6.28) and there is also a backport for the 6.26 branch (here). I can confirm that the issue is present in v6.26.06 but not in the current v6-26-00-patches branch (future v6.26.10).

In other words: you are hitting a real issue, which has already been fixed, but there have been no ROOT releases that contain the fix so far. You can pick up a nightly build if you need a ROOT version that contains the patch, otherwise we plan to release v6.26.10 very soon.

I hope this helps!
Enrico

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.