cms-analysis / HiggsAnalysis-CombinedLimit

CMS Higgs Combination toolkit.
https://cms-analysis.github.io/HiggsAnalysis-CombinedLimit/latest
Apache License 2.0
75 stars 389 forks source link

fix seg fault with FitDiagnostics plots #991

Closed kcormi closed 4 months ago

kcormi commented 4 months ago

The most recent version seems to segfault when running the --plots option of FitDiagnostics. This appears to be due to explicitly deleting the nodes of this TList while iterating over them, and then the TList trying to delete them later when it is deleted. Though I'm not sure what change is making this only cause a problem now.

Sometimes rather than a segmentation fault, this just produced error printouts of the type:

Error in <TList::Clear>: A list is accessing an object (0x82808d0) already deleted (list name = TList)