Project

General

Profile

Bug #12321

TimeTracker crashes if input file contains zero events.

Added by Herbert Greenlee over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Infrastructure
Target version:
Start date:
04/14/2016
Due date:
% Done:

100%

Estimated time:
4.00 h
Spent time:
Occurs In:
Scope:
Internal
Experiment:
MicroBooNE
SSI Package:
art
Duration:

Description

TimeTracker throws a std::exception in TimeTracker::postEndJob if the input file contains zero events.

%MSG-s ArtException: RootOutput:out1@EndJob 14-Apr-2016 16:59:55 CDT PostEndRun
cet::exception caught in art
---- BEGIN
std::exception
---- END
%MSG

Removing TimeTracker from the job configuration allows the program to run (e.g. MemoryTracker doesn't crash).
Crash happens using the default TimeTracker configuration (TimeTracker: {}).

This results in nonzero exit status (65) even though the output file is apparently closed properly.

Associated revisions

Revision eb2c33a2 (diff)
Added by Kyle Knoepfel over 3 years ago

Fix for issue #12321: TimeTracker crashes when processing job with no events.

History

#1 Updated by Kyle Knoepfel over 3 years ago

  • Status changed from New to Accepted
  • Estimated time set to 4.00 h

We will investigate.

#2 Updated by Kyle Knoepfel over 3 years ago

  • Category set to Infrastructure
  • Status changed from Accepted to Resolved
  • Assignee set to Kyle Knoepfel
  • Target version set to 2.01.00
  • % Done changed from 0 to 100
  • SSI Package art added
  • SSI Package deleted ()

Problem confirmed. Fix implemented with art:eb2c33a2.

#3 Updated by Kyle Knoepfel over 3 years ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF