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
Fix static variable problem in payload inspector code #38155
Conversation
ServiceRegistry::Operate objects are only ever supposed to be used on the stack.
The use of static for the ServiceToken isn't great, but I do not believe it will cause a memory problem. (Could be wrong) |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-38155/30301
|
A new Pull Request was created by @Dr15Jones (Chris Jones) for master. It involves the following packages:
@cmsbuild, @ggovi, @tvami, @malbouis, @francescobrivio can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
@cmsbuild , please test |
type bugfix |
shouldn't it be tested for ASAN_X? |
@cmsbuild , please test for CMSSW_12_5_ASAN_X
|
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-a54a9e/25131/summary.html Comparison SummarySummary:
|
+db
|
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 Failed Tests: RelVals AddOn 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: RelVals
AddOn Tests
|
@Dr15Jones @tvami There are HLT AddOn failures in ASAN tests above, please have a look. |
The failures in the ASAN build are unrelated to this code change. The failures are in GsfElectronProducer and within OscarMTProducer, neither of which use this code change. |
+1 |
PR description:
ServiceRegistry::Operate objects are only ever supposed to be used on the stack.
PR validation:
The unit test testGetPayloadData which showed the problem passed.
Fixes #38141