Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix seg fault for workspaces with RooDataHist objects #328

Merged
merged 3 commits into from
Jul 22, 2024

Conversation

anigamova
Copy link
Collaborator

With the new ROOT version (>6.26) the workspaces with RooHistPdf objects give segfault in ch::CombineHarvester::WriteDatacard method. @kcormi noticed that the links with RooDataHist object are lost as soon as ws_store previously defined in CombineTools/src/CombineHarvester_Datacards.cc goes out of scope. I still don't understand what exactly changed in RooDataHist memory management, but the change proposed here fixes the issue.

@ajgilbert ajgilbert merged commit 32a58fa into main Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants