Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-10668

RooFit with Asymptotically Correct approach will segfault if RooRealVar Name != Title

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 6.20/02, 6.20/04
    • Fix Version/s: 6.22/00, 6.20/06
    • Component/s: RooFit/RooStats
    • Labels:
      None
    • Environment:

      Using ROOT 6.20.02 from LHCb's stack based on LCG_97, running on centos7.

      Description

      Using the "Asymptotically correct approach" coming with ROOT 6.20 crashes my fits. Running via gdb indicates that this line causes the problem:

      https://github.com/root-project/root/blob/v6-20-02/roofit/roofitcore/src/RooAbsPdf.cxx#L1532

      It should probably be floatingparams->find(paramresult->GetName()) instead of ->getTitle(). In my setup, the title diverges from the name, leading to a nullptr and a segfault when calling the derivative().

        Attachments

          Activity

            People

            • Assignee:
              shageboe Stephan Hageboeck
              Reporter:
              kheinick Kevin Heinicke
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: