-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
[UBSAN] fix zero size array runtime error #41771
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-41771/35639
|
A new Pull Request was created by @smuzaffar (Malik Shahzad Muzaffar) for master. It involves the following packages:
@epalencia, @cmsbuild, @AdrianoDee, @srimanob, @aloeliger, @cecilecaillol can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
@smuzaffar I'm afraid I'm not as familiar with this part of L1 code, but this would seem to me to be a fundamental change in function? |
@aloeliger , correct this is a fundamental change in function. Someone should review this code. To me continuing the loop if either |
@smuzaffar That's very probably true. I can take a look tomorrow myself, and see if I know an expert who can also weigh in. Does this have a timescale like the ppc fix? |
I can look at it tomorrow, I’ve contributed to that code myself in the past so shouldn’t be hard, also @jfernan2 may help here. |
type bug-fix |
@folguera If you are okay with it, then I will sign off on it. |
@smuzaffar Apologies, this is off topic, however I was reminded reading this, @cecilecaillol would like to be removed from the l1-l2 github organization, and off of buildbot's ping/permission list. What does it take to do that? |
I think the fix is OK, however, there are similar errors on L989 that should be fixed, should we create another PR or should we include this here @smuzaffar I've created a PR to your branch with my proposed solutions smuzaffar#3 |
Here is the bot pr to do so: cms-sw/cms-bot#1999 |
Also fix UBSAN error on L989
thanks @folguera , I have merged your smuzaffar#3 |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-41771/35720
|
Pull request #41771 was updated. @epalencia, @AdrianoDee, @srimanob, @cmsbuild, @aloeliger can you please check and sign again. |
please test |
Okay, then this is good by me. I'll sign when the tests come back. |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-e2970c/32905/summary.html Comparison SummarySummary:
|
+1 |
+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, @rappoccio (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
UBSAN IBs generates runtime errors [a]. This change should fix these error. UBSAN complains here https://github.com/cms-sw/cmssw/blob/master/L1Trigger/DTTriggerPhase2/src/MuonPathAssociator.cc#L122-L127 and this can happen when any of
SL1metaPrimitives
orSL3metaPrimitives
is zero size[a]
https://cmssdt.cern.ch/SDT/jenkins-artifacts/ubsan_logs/CMSSW_13_2_X_2023-05-22-2300/