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
Initialise the errors_ data member of SiPixelDigiErrorsSoAFromCUDA #38476
Initialise the errors_ data member of SiPixelDigiErrorsSoAFromCUDA #38476
Conversation
Prevents reading from uninitialised memory when the first event of a job has zero error words. Fixes a crash observed at HLT during data taking.
type bug-fix |
urgent |
enable gpu |
please test |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-38476/30692
|
A new Pull Request was created by @fwyzard (Andrea Bocci) for master. It involves the following packages:
@jpata, @clacaputo can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-3206f6/25711/summary.html GPU Comparison SummarySummary:
Comparison SummarySummary:
|
and why valgrind, ubsan, asan etc did not catch it? |
I think, because the problem only happens if the first event has |
+reconstruction |
This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @perrotta, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
Initialise the
errors_
data member of theSiPixelDigiErrorsSoAFromCUDA
producer.Prevents reading from uninitialised memory when the first event of a job has zero error words, and fixes a crash observed at HLT during data taking.
PR validation:
Without this fix, it is possible to reproduce the error observed online running over the "error stream" events that triggered it.
With this fix, no crash is observed after running 30+ times on the same input.