-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
L1T: address issue 36647 with int overrun #37487
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-37487/29190
|
A new Pull Request was created by @cecilecaillol for master. It involves the following packages:
@epalencia, @cmsbuild, @cecilecaillol, @rekovic can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-a56297/23727/summary.html Comparison SummarySummary:
|
+l1 |
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) |
@cecilecaillol did you check that this PR actually fixes the issue? |
@perrotta How can I check if the PR fixes the issue? |
@Dr15Jones opened #36647, perhaps he can provide some suggestion |
hold |
Pull request has been put on hold by @perrotta |
@cecilecaillol any suggestion about how to proceed here? |
@perrotta I can make etComponentSum a long int too, but I still dont know how to check if this will actually solve the problem. |
@Dr15Jones @smuzaffar @makortel : can any of you suggest us how to run UBSAN on the proposed fix, so that it can be verified its effectiveness (or further adjust, if needed) before merging it? |
please test for CMSSW_12_4_UBSAN_X |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-a56297/24219/summary.html |
so looks like it does fix the |
@perrotta as Shahzad has shown, if you create a build area from one of the UBSAN IBs
then build and run the RelVal workflow
you should get the full UBSAN report. |
Thank you @smuzaffar and @Dr15Jones! So, this fixes the issue. My concern about What I overlooked is that at line
bitsToShift bits, which is evidently enough to reenter in the int size
|
+1
|
unhold |
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 be automatically merged. |
PR description:
Fixes undefined behavior from int overruns. Addressing issue #36647