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

[RF] Crash in RooStats::ToyMCSample::GenerateToyData #11565

Closed
1 task done
TomasDado opened this issue Oct 14, 2022 · 1 comment · Fixed by #15902
Closed
1 task done

[RF] Crash in RooStats::ToyMCSample::GenerateToyData #11565

TomasDado opened this issue Oct 14, 2022 · 1 comment · Fixed by #15902

Comments

@TomasDado
Copy link

  • Checked for duplicates

Describe the bug

A segmentation violation is encountered when trying to run fit on toys during the toy generation.

To Reproduce

To reproduce the crash, please use the attached (minimal) code and the ROOT file with the RooWorkspace inside: link to cernbox

Setup

Tested on
ROOT Version: 6.27/01
Built for linuxx8664gcc on Jul 18 2022, 09:11:00
From heads/master@ffdbbb6d

as well as
LCG_101 x86_64-centos7-gcc8-opt

Additional context

Note that the code here tries to reproduce what is done in a bigger framework, It is entirely possible that we are doing something dumb and this is not an actual bug in GenerateToyData, but it is interestingly seen only for "gammas" NPs (i.e. one NP per bin)

@ferdymercury
Copy link
Collaborator

ferdymercury commented Jun 21, 2024

Fix here: #15902

Compilable reproducer is attached.
MWE.zip

guitargeek pushed a commit to ferdymercury/root that referenced this issue Aug 2, 2024
guitargeek pushed a commit to guitargeek/root that referenced this issue Aug 2, 2024
silverweed pushed a commit to silverweed/root that referenced this issue Aug 14, 2024
silverweed pushed a commit to silverweed/root that referenced this issue Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants