Segmentation violation, when input is JSON with JobHeader or RunHeader, and output is ROOT format
The code fails when I try and process an input JSON file with ROOT output. Specifically, it fails at Write time, when it attempts to write the JobHeader or RunHeader from the input file.
If I remove the offending lines from the input JSON, then it runs okay. This was tested with the current trunk.
I have attached two scripts and two datacards, which will reproduce the problem with minimal effort.
Updated by Dobbs, Adam over 10 years ago
I see something similar. When I attempt to modify events in order to 'fake' multiple particles per event, either by directly editing the JSON, or through the C++ classes, I see a segmentation fault which seems to be caused by the Job Header.
Updated by Rogers, Chris almost 9 years ago
- File valgrind.log valgrind.log added
valgrind python run_1.py --configuration_file datacard_1 >& valgrind.log
and got attached output. I think this is what I was supposed to do to reproduce this bug? Anyway, I don't see any issue. Is this still relevant?