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 overloaded enum in TemplatedSecondaryVertexTagInfo #35197
Conversation
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-35197/25134
Code check has found code style and quality issues which could be resolved by applying following patch(s)
|
DataFormats/BTauReco/interface/TemplatedSecondaryVertexTagInfo.h
Outdated
Show resolved
Hide resolved
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-35197/25135
|
A new Pull Request was created by @emilbols for master. It involves the following packages:
@jpata, @cmsbuild, @slava77 can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-35197/25136
|
test parameters:
|
please test |
@mrodozov |
@emilbols |
@cmsbuild please test |
test parameters: |
@cmsbuild please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-ecad6a/18479/summary.html Comparison SummarySummary:
|
hi @slava77 here is the 1302.17 workflow log from the UBSAN run: I don't see this specific error in this log, considering the PR has fixed it |
+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:
Issue: #35033
An enum object is currently manipulated to be outside its defined range in BTV code, which is considered undefined behavior with the UBSAN IB. This fix changes this enum structure to be integer based instead, which should get rid of the error, while not changing any behavior.
PR validation:
As i had some issues reproducing the issues, i used a specific step2.root file [1] in workflow 1302.17 step3
With CMSSW_12_1_UBSAN_X_2021-09-03-2300 I get the reported error every time on event 10. After applying this fix, this error is gone.
[1]
https://cernbox.cern.ch/index.php/s/8vFa8hmOo9P94jf