Project

General

Profile

Feature #8579

Catch boost exceptions thrown in FragmentGenerator getNext methods [LArIAT]

Added by Kurt Biery over 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
05/04/2015
Due date:
% Done:

100%

Estimated time:
Experiment:
-
Co-Assignees:
Duration:

Description

Our LArIAT collaborators have noticed that the system sometimes crashes when one of their FragmentGenerators throws a boost exception.

John found that we were only catching cet::exceptions in CommandableFragmentGenerator::getNext() when it called derived class getNext_() methods. He added catch blocks for boost::exception and std::exception. With these changes, the "processing fragments" thread will exit, but the process (and the whole MPI program) will not crash. And, we will get an Error message sent to the Message Facility, and this will help diagnose what happened.

History

#1 Updated by Kurt Biery over 4 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

#2 Updated by Eric Flumerfelt over 3 years ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF