Project

General

Profile

Bug #1183

Segmentation violation, when input is JSON with JobHeader or RunHeader, and output is ROOT format

Added by Taylor, Ian almost 9 years ago. Updated over 7 years ago.

Status:
Open
Priority:
Normal
Assignee:
Category:
common_cpp
Target version:
Start date:
04 December 2012
Due date:
% Done:

0%

Estimated time:
Workflow:
New Issue

Description

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.


Files

run_1.py (1.98 KB) run_1.py Taylor, Ian, 04 December 2012 12:01
datacard_1 (3.84 KB) datacard_1 Taylor, Ian, 04 December 2012 12:01
run_2.py (1.14 KB) run_2.py Taylor, Ian, 04 December 2012 12:01
datacard_2 (1.56 KB) datacard_2 Taylor, Ian, 04 December 2012 12:01
valgrind.log (503 KB) valgrind.log Rogers, Chris, 19 June 2014 14:18

Also available in: Atom PDF