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

Segfault in TMinuit destructor (I have fix)

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • High
    • Resolution: Fixed
    • 6.02/01
    • None
    • Math Libraries
    • None
    • gcc4.8.1

    Description

      In a CMS unit test, there is a segfault in the destructor of TMinuit, which causes a test failure.
      This occurs because the destructor calls:
      gROOT->GetListOfSpecials()->Remove(this);
      In this particular test, the TROOT destructor is called before the TMinuit destructor, so the dereferencing of gROOT in the TMinuit destructor causes a segfault. A trivial patch for this problem is attached. The patch works.
      The segfault occurs in the stand-alone test "testSideBandSubreaction" which is part of the unit test of PhysicsTools/Utilities

      Attachments

        Activity

          People

            moneta Lorenzo Moneta
            wmtan William Tanenbaum (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Actual End: