-
Notifications
You must be signed in to change notification settings - Fork 4.6k
[ASAN] Fix runtime error by moving std::regex code in anonymous namespace #42077
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
|
test parameters: |
|
please test |
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-42077/36056
|
|
A new Pull Request was created by @smuzaffar (Malik Shahzad Muzaffar) for master. It involves the following packages:
@epalencia, @aloeliger can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
|
please test for CMSSW_13_2_ASAN_X |
|
The use of regex for such a simple text replacement looks an overkill to me. |
|
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-3a1d9e/33371/summary.html Comparison SummarySummary:
|
|
+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 Failed Tests: RelVals RelVals
Expand to see more relval errors ... |
|
hold looks like this did not fix the ASAN runtime errors |
|
Pull request has been put on hold by @smuzaffar |
I agree, may be we just use std::string replace here. |
The failures are different from #42059 that would be better to be followed up in a separate issue. |
Agreed, the new failures are unrelated to the regex issue, this PR should not be kept on hold because of those new failures. The new ones come from cmssw/L1Trigger/Phase2L1ParticleFlow/src/taus/TauNNIdHW.cc Lines 91 to 104 in 546d4a7
where the test at line 92 should '>=', not '>'. I don't know why we have not encountered this before, but I've confirmed that's the problem and will make a new PR. |
|
Fix is in #42233 |
|
please test for CMSSW_13_2_ASAN_X with #42233 |
|
test parameters:
|
|
please test for CMSSW_13_2_ASAN_X |
|
@smuzaffar together with #42233 the runtime errors in ASAN are gone, as supposed by @dan131riley : I think this can be unheld and merged, then |
|
unhold |
|
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 |
This fixes #42059 ASAN runtime issue. This looks like a GCC bug as reported in #40902 (comment) . Local tests shows that failing ASAN workflow runs after this change