-
Notifications
You must be signed in to change notification settings - Fork 4.6k
disable ubsan checks for some global summary functions #49301
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
base: master
Are you sure you want to change the base?
Conversation
|
cms-bot internal usage |
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-49301/46663 |
|
A new Pull Request was created by @dan131riley for master. It involves the following packages:
@Dr15Jones, @cmsbuild, @makortel, @smuzaffar can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
|
@cmsbuild, please test |
|
@cmsbuild, please test for CMSSW_16_0_UBSAN_X |
|
Visually looks ok to me. @smuzaffar What do you think? |
|
+1 Size: This PR adds an extra 16KB to repository Comparison SummarySummary:
|
|
-1 Failed Tests: UnitTests Failed Unit TestsI found 1 errors in the following unit tests: ---> test TestFWCoreFrameworkGlobalStreamOne had ERRORS |
The test failed with |
|
Interesting. I only did the global versions, not limited (or any others). It doesn't replicate on my development system, but does on lxplus. It does seem to be somewhat probabilistic, I think it depends on the alignment of the |
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-49301/46677 |
|
Pull request #49301 was updated. @Dr15Jones, @cmsbuild, @makortel, @smuzaffar can you please check and sign again. |
PR description:
UBSAN jobs are failing in recent IBs with the runtime error
unreachable program point. This is mostly seen in NANOAOD production jobs that read run products at BeginRun, but also appears in the frameworkTestFWCoreFrameworkGlobalStreamOneunit test. See #49151 for details.This PR disables UBSAN checks for the problematic routines. While
unreachable program pointusually means some undefined behavior that the optimizer is trying to take advantage of, no UB has been found. Selective disabling of the UBSAN checks also failed to work around the problem, so this PR completely disables UBSAN for the routines in question.Resolves #49151
Resolves cms-sw/framework-team#1610
PR validation:
Compiles, verified to fix the
TestFWCoreFrameworkGlobalStreamOneunit test. Purely technical fix.