Project

General

Profile

Bug #11797

sam_metadata_dumper seg faults and hangs on non-art root files

Added by Alexander Himmel over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Application
Target version:
Start date:
02/22/2016
Due date:
% Done:

100%

Estimated time:
Spent time:
Occurs In:
Scope:
Internal
Experiment:
-
SSI Package:
art
Duration:

Description

Some Nova production scripts inadvertently tried to run sam_metadata_dumper on non-art root files. Rather then ending with an error, sam_metadata_dumper segfaulted but did not exit, which caused our grid jobs to hang mysteriously for extended periods of time. In this circumstances the program should end with an error message and a non-zero error code.

Here is an example file on which sam_metadata_dumper crashed:
/pnfs/nova/production/limited/R16-01-27-prod2calib.f/numi/nd/000104/10402/neardet_r00010402_s31_t00_R16-01-27-prod2calib.f_v1_data.limitedcaf.root

Associated revisions

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

Implement fix for #11797: segfault when sam_metadata_dumper used on non-art/ROOT file

History

#1 Updated by Kyle Knoepfel over 3 years ago

  • Status changed from New to Accepted

We will adjust the implementation to produce an error message and emit a non-zero exit code should a non-art ROOT file be an argument to sam_metadata_dumper.

#2 Updated by Kyle Knoepfel over 3 years ago

More specifically, we will address the issue you have brought up. However, we do not understand how a segmentation violation (return code 128+SIGSEGV) can result in a process hanging. How does your wrapper script handle such a return code?

#3 Updated by Kyle Knoepfel over 3 years ago

  • Category set to Application
  • Status changed from Accepted to Resolved
  • Assignee set to Kyle Knoepfel
  • SSI Package art added
  • SSI Package deleted ()

Fix implemented with commit art:e703c105.

#4 Updated by Kyle Knoepfel over 3 years ago

  • % Done changed from 0 to 100

#5 Updated by Kyle Knoepfel over 3 years ago

  • Target version set to 2.00.01

#6 Updated by Kyle Knoepfel over 3 years ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF