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

protect RawTask::_process from processing bad HcalHTRData #14963

Conversation

dan131riley
Copy link

RawTask::_process() doesn't check the validity of the HcalHTRData from getSpigotData(), which can result in invalid memory accesses if the data are corrupt or missing. This is seen in valgrind for some IB workflows, e.g. 134.703, and is suspected of causing intermittent crashes in the threaded IBs. Details are in issue #14898. This PR proposes a minimal point fix, copying a pattern used elsewhere in the HCAL DQM.

From the IB log files, it looks like the input file (from step2) for this workflow is missing most of the collections needed by step3; perhaps there ought to be some higher level check that would skip processing missing data altogether, but that's out of scope for this PR.

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @dan131riley (Dan Riley) for CMSSW_8_1_X.

It involves the following packages:

DQM/HcalTasks

@cmsbuild, @dmitrijus, @vanbesien, @davidlange6 can you please review it and eventually sign? Thanks.
@slava77, @Degano, @smuzaffar you are the release manager for this.

cms-bot commands are list here #13028

@davidlange6
Copy link
Contributor

I realize we see this error in tier0. @dmitrijus any problems with the PR?

@davidlange6
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 5, 2016

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/14381/console

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 5, 2016

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 5, 2016

@davidlange6
Copy link
Contributor

@dan131riley - could you make a 80x PR for this fix? thanks!

@davidlange6 davidlange6 merged commit 00855a1 into cms-sw:CMSSW_8_1_X Aug 6, 2016
@dan131riley dan131riley deleted the HcalTasks-rawtask-bad-event-protection branch October 9, 2017 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants