Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BP CMSSW_106X] Add protection for missing handleExtResults #33921

Closed
wants to merge 1,389 commits into from

Conversation

gouskos
Copy link
Contributor

@gouskos gouskos commented May 31, 2021

Adds a protection against the error:

A std::exception was thrown.
vector::_M_range_check: __n (which is 0) >= this->size() (which is 0)

Happening due to empty handleExtResults. This is a rare case.
More details in:
https://its.cern.ch/jira/browse/CMSCOMPPR-17789

Validated on the affected events:
RECO --conditions 106X_dataRun2_v32 --customise Configuration/DataProcessing/Utils.addMonitoring --datatier NANOAOD --era Run2_2017,run2_nanoAOD_106Xv1 --eventcontent NANOEDMAOD --filein placeholder.root --fileout file:ReReco-Run2017E-JetHT-UL2017_MiniAODv1_NanoAODv2-00002.root --nThreads 2 --no_exec --python_filename ReReco-Run2017E-JetHT-UL2017_MiniAODv1_NanoAODv2-00002_0_cfg.py --scenario pp --step NANO --data

file on which we should be able to reproduce the crash at:

Processing Event run: 304197 lumi: 1 event: 875064
root://xrootd.echo.stfc.ac.uk//store/data/Run2017E/JetHT/MINIAOD/09Aug2019_UL2017-v1/30000/457A4F7E-DEEB-DB40-AE94-3687A974F426.root

This PR is a backport of Add protection for missing handleExtResults

rmanzoni and others added 30 commits December 7, 2020 14:48
… based on ID score, add run2_miniAOD_UL modifier, code review
…12-02-2300

[backport] Add new Pythia filter to select particles based on ancestor (i.e. further back than mother)
…ts_106X

Add low-pT electrons to MINIAOD, update ID, improve end user experience (back port of 31220)
…gm_10_6_X

Add low pT electron payloads to Run 2 data/MC and Run 3 MC GTs [10_6_X]
…12-02-2300

[backport] Avoid rejecting good events in PythiaFilterMultiAncestor.cc
[10_6_X] feat: allow for not sorting during PATJetUpdater call
Sergio Sanchez Cruz and others added 5 commits May 27, 2021 12:56
…no_jercVars_PuId

[NanoAOD, JMENanoAOD] Backport of cms-sw#33824 (Remove jercVars variables, update puId config) to 10_6_X
…lectromMatching_PR_backport

Extension of electron matching in nanoAOD (backport)
@cmsbuild
Copy link
Contributor

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-33921/22994

ERROR: Build errors found during clang-tidy run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment