Skip to content

Conversation

@smuzaffar
Copy link

No description provided.

new of a char array might not have the correct alignment to hold a Transaction.
Allocate a Transaction itself directly, instead of in-place constructing it in
the character array.

Each Transaction in the pool is thus constructed through `new Transaction(S)`
and destructed through `delete T`, which is nicely symmetrical. The use of
`::operator new` and `::operator delete` isn't actually necessary.

While I'm at it, improve the assert message's wording.
@smuzaffar
Copy link
Author

please test with cms-sw/cmsdist#6778

@cmsbuild
Copy link

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

@smuzaffar, @mrodozov can you please review it and eventually sign? Thanks.
cms-bot commands are listed here

@cmsbuild
Copy link

-1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-56e843/13892/summary.html
COMMIT: 734f63c
CMSSW: CMSSW_11_3_ROOT6_X_2021-03-30-2300/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/root/152/13892/install.sh to create a dev area with all the needed externals and cmssw changes.

External Build

I found compilation error when building:

make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/BUILD/slc7_amd64_gcc900/external/dd4hep/v01-16x-789ded0f3abbae7c552fa6d7a7d9bd76/build'
make[1]: *** [DDCore/CMakeFiles/DDCore.dir/all] Error 2
make[1]: Leaving directory `/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/BUILD/slc7_amd64_gcc900/external/dd4hep/v01-16x-789ded0f3abbae7c552fa6d7a7d9bd76/build'
make: *** [all] Error 2
error: Bad exit status from /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/tmp/rpm-tmp.E0wJ12 (%build)


RPM build errors:
Macro %rpmbuild_libdir defined but not used within scope
Bad exit status from /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/tmp/rpm-tmp.E0wJ12 (%build)


@smuzaffar
Copy link
Author

please test with cms-sw/cmsdist#6778

This will allow Transaction remembering its RAII to not depend on Interpreter.
This will allow the Intrepreter to prevent unload() on
Transactions held by RAIIs.
When a Transaction is unloaded for which *also* a ScopedTransactionRAII
is waiting, the latter will potentially access a deleted Transaction.
It can be deleted due to the Pool being full. Even if it is not deleted
(as is the case in root-project#7657 )
it will get pushed into the Pool once by unload() and a second time by
the RAII!

The two options to track this case were full-blown ref counting or noting
that a Transaction is attached to an RAII scope. If that is the case,
freeing the Transaction must be skipped, as the RAII will take care of it.
@cmsbuild
Copy link

Pull request #152 was updated.

@smuzaffar
Copy link
Author

please test with cms-sw/cmsdist#6778

@cmsbuild
Copy link

cmsbuild commented Apr 1, 2021

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-56e843/13901/summary.html
COMMIT: b9fa1a4
CMSSW: CMSSW_11_3_ROOT6_X_2021-03-30-2300/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/root/152/13901/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: 15 differences found in the comparisons
  • DQMHistoTests: Total files compared: 37
  • DQMHistoTests: Total histograms compared: 2640841
  • DQMHistoTests: Total failures: 13
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2640806
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 36 files compared)
  • Checked 155 log files, 37 edm output root files, 37 DQM output files
  • TriggerResults: no differences found

@smuzaffar
Copy link
Author

please test with cms-sw/cmsdist#6778

@smuzaffar
Copy link
Author

test parameters:

  • disable_poison = true

@smuzaffar
Copy link
Author

please test with cms-sw/cmsdist#6778

@cmsbuild
Copy link

cmsbuild commented Apr 1, 2021

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-56e843/13916/summary.html
COMMIT: b9fa1a4
CMSSW: CMSSW_11_3_ROOT6_X_2021-03-31-2300/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/root/152/13916/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: 7 differences found in the comparisons
  • DQMHistoTests: Total files compared: 37
  • DQMHistoTests: Total histograms compared: 2640841
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2640818
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 36 files compared)
  • Checked 155 log files, 37 edm output root files, 37 DQM output files
  • TriggerResults: no differences found

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.

3 participants