-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Set all member data in SiPixelGenError constructor #32600
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
Conversation
|
Here is the code with the problem cmssw/CondTools/SiPixel/test/SiPixelGenErrorDBObjectReader.cc Lines 161 to 163 in b1eb848
the constructor was not setting the values so the were undefined at the time of the printout. |
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-32600/20636
|
|
A new Pull Request was created by @Dr15Jones (Chris Jones) for master. It involves the following packages: CondFormats/SiPixelTransient @ggovi, @perrotta, @cmsbuild, @jpata, @slava77 can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
|
please test |
|
-1 Failed Tests: ClangBuild The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:
You can see more details here: Clang BuildI found compilation error while trying to compile with clang. Command used: >> Compiling /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_3_X_2021-01-04-1100/src/CondFormats/SiPixelTransient/src/SiPixelGenError.cc
>> Compiling /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_3_X_2021-01-04-1100/src/CondFormats/SiPixelTransient/src/SiPixelTemplate2D.cc
>> Compiling /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_3_X_2021-01-04-1100/src/CondFormats/SiPixelTransient/src/SiPixelTemplate.cc
>> Compiling /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_3_X_2021-01-04-1100/src/CondFormats/SiPixelTransient/src/SiPixelUtils.cc
In file included from /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_3_X_2021-01-04-1100/src/CondFormats/SiPixelTransient/src/SiPixelGenError.cc:32:
/data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_3_X_2021-01-04-1100/src/CondFormats/SiPixelTransient/interface/SiPixelGenError.h:122:15: error: excess elements in scalar initializer
fbin_{{0, 0, 0}},
^ ~~~~~~~
1 error generated.
gmake: *** [tmp/slc7_amd64_gcc900/src/CondFormats/SiPixelTransient/src/CondFormatsSiPixelTransient/SiPixelGenError.cc.o] Error 1
>> Entering Package RecoParticleFlow/Configuration
|
This solves a UBSAN compiler warning related to SiPixelGenErrorDBObjectReader.
0371f63 to
76133f8
Compare
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-32600/20637
|
|
please test |
|
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-54febf/11956/summary.html The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:
You can see more details here: Comparison SummarySummary:
|
|
ping @cms-sw/db-l2 |
|
+1 |
|
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. @silviodonato, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
|
+1 |
PR description:
This solves a UBSAN compiler warning related to SiPixelGenErrorDBObjectReader. The member data was being read before it was ever set.
PR validation:
Compiled in UBSAN release and the warning no longer appears.