Skip to content
This repository was archived by the owner on May 3, 2024. It is now read-only.
This repository was archived by the owner on May 3, 2024. It is now read-only.

Some verbosity dependent seg faults in Ecal processors  #40

@bryngemark

Description

@bryngemark

On and off, there are terminate called after throwing an instance of 'std::bad_alloc'. I've seen this trying to run the ecal veto and most recently when trying to run v3.0.0 re-digi of EcalSimHits in files produced with v2.3.0. It doesn't happen on all files, but maybe 75% of them in my tests so far.

The weird thing is, that if the terminal printout verbosity increases (going from default p.termLogLevel = 2 to 0 or even 1, the problem disappears. But only if there is a log file specified too, with log level 0 or 1 (at 2, crashes reappear).

To reproduce:
run the ecal digi parts of this template config
on e.g. this input file: /nfs/slac/g/ldmx/data/mc20/v12/4.0GeV/v2.3.0-batch24/mc_v12-4GeV-1e-ecal_photonuclear_run230005_t1608608718.root
with the pro_v3.0.0 singularity image:
/nfs/slac/g/ldmx/production/singularityImages/ldmx-pro_v3.0.0-gLDMX.10.2.3_v0.4-r6.22.00-onnx1.3.0-xerces3.2.3-ubuntu18.04.sif
using singularity version 3.8.6-1.el7 at slac.

Curiosity: Tom was not able to reproduce this locally: jobs ran fine regardless of verbosity. I have been able to reproduce it with LDCS on a number of files from -batch24 above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions