Skip to content
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

[ASAN] Fix duplicate definition of hjRandomEngine #34237

Merged
merged 1 commit into from Jun 24, 2021
Merged

[ASAN] Fix duplicate definition of hjRandomEngine #34237

merged 1 commit into from Jun 24, 2021

Conversation

smuzaffar
Copy link
Contributor

This should fix the One Defintion Rule issue reported by ASAN IBs [a]

[a] https://cmssdt.cern.ch/SDT/cgi-bin/buildlogs/slc7_amd64_gcc10/CMSSW_12_0_ASAN_X_2021-06-23-2300/GeneratorInterface/Hydjet2Interface

==24804==ERROR: AddressSanitizer: odr-violation (0x2b372a4d58a0):
  [1] size=8 'hjRandomEngine' CMSSW_12_0_ASAN_X_2021-06-23-2300/src/GeneratorInterface/Hydjet2Interface/interface/Hydjet2Hadronizer.h:55:25
  [2] size=8 'hjRandomEngine' CMSSW_12_0_ASAN_X_2021-06-23-2300/src/GeneratorInterface/Hydjet2Interface/interface/RandArrayFunction.h:8:32
These globals were registered at these points:
  [1]:
    #0 0x2b37228d3f70 in __asan_register_globals ../../../../libsanitizer/asan/asan_globals.cpp:341
    #1 0x2b37226889c2 in _dl_init_internal (/lib64/ld-linux-x86-64.so.2+0xf9c2)
    #2 0x7fff51a1eed3  (<unknown module>)

  [2]:
    #0 0x2b37228d3f70 in __asan_register_globals ../../../../libsanitizer/asan/asan_globals.cpp:341
    #1 0x2b37226889c2 in _dl_init_internal (/lib64/ld-linux-x86-64.so.2+0xf9c2)
    #2 0x7fff51a1eed3  (<unknown module>)

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-34237/23505

  • This PR adds an extra 28KB to repository

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @smuzaffar (Malik Shahzad Muzaffar) for master.

It involves the following packages:

GeneratorInterface/Hydjet2Interface

@SiewYan, @mkirsano, @cmsbuild, @GurpreetSinghChahal, @agrohsje, @alberto-sanchez can you please review it and eventually sign? Thanks.
@alberto-sanchez, @mkirsano this is something you requested to watch as well.
@silviodonato, @dpiparo, @qliphy you are the release manager for this.

cms-bot commands are listed here

@smuzaffar
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-2b1170/16223/summary.html
COMMIT: 67c2494
CMSSW: CMSSW_12_0_X_2021-06-23-2300/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/34237/16223/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 8 differences found in the comparisons
  • DQMHistoTests: Total files compared: 38
  • DQMHistoTests: Total histograms compared: 2785631
  • DQMHistoTests: Total failures: 13
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2785596
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 37 files compared)
  • Checked 160 log files, 37 edm output root files, 38 DQM output files
  • TriggerResults: no differences found

@agrohsje
Copy link

+generators

@cmsbuild
Copy link
Contributor

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)

@qliphy
Copy link
Contributor

qliphy commented Jun 24, 2021

+1

@cmsbuild cmsbuild merged commit 8c5589d into cms-sw:master Jun 24, 2021
@smuzaffar smuzaffar deleted the asan-fix-hjRandomEngine branch July 1, 2021 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants