-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[RF] Uninitialized value issue reported by Valgrind #18323
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
Comments
@will-cern could you provide a reproducer? |
Sorry it was a mistake on my side, I will try to provide the reproducer and not Will. He just wanted to be tagged. |
Here is the reproducer: #include "RooFit/xRooFit/xRooFit.h"
using namespace ROOT::Experimental::XRooFit;
int main(int argv, char** argc) {
xRooNode node("FitExampleNtuple_combined_FitExampleNtuple_model.root");
auto pdf = node["simPdf"];
auto channel = pdf->find("ljets_5j3b_HT");
auto samples = channel->find("samples");
auto sample = samples->find("ttlight_ljets_5j3b_HT_shapes");
const auto bins = sample->GetBinContents();
const double central = channel->GetBinContent(1);
}
Note that just calling
The test file is available at |
Thanks Tomas! |
I did, but it seems the problem must be something else since we actually disable the histogram registration globally in the code with |
Check duplicate issues.
Description
Using the following valgrind setup:
Gives
Reproducer
Tagging @will-cern who kindly said that if a reproducer is needed he can provide it```
ROOT version
Installation method
build from source
Operating system
Ubuntu 24.10
Additional context
No response
The text was updated successfully, but these errors were encountered: