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

A few fixes for Tracking stuffs: do not delete at endRun what is created in the constructor #1721

Merged
merged 2 commits into from Dec 9, 2013

Conversation

perrotta
Copy link
Contributor

@perrotta perrotta commented Dec 8, 2013

In the modifications meant to port to multi-threaded fwk a few tracking related classes in PR #1628 (later become #1634) the creation of some objects was moved from begin run to the class constructor.
I verified that there were a few cases in which those objects were still destructed at the endRun, thus resulting in a series of segmentation violations reported, e.g., by the first three workflows in https://cmssdt.cern.ch/SDT/cgi-bin//showMatrixTestLogs.py/slc6_amd64_gcc481/www/sat/7.0-sat-02/CMSSW_7_0_X_2013-12-07-0200/pyRelValMatrixLogs/run/
This Pull Request fixes those cases. The wkfs 4.34, 4.6 and 144.6, as well as all those in the short matrix run now without crashing
Please Reco guys: check that what is in this PR still satisfy your wishes (and sign it if so)

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 8, 2013

A new Pull Request was created by @perrotta for CMSSW_7_0_X.

A few fixes for Tracking stuffs: do not delete at endRun what is created in the constructor

It involves the following packages:

RecoPixelVertexing/PixelTrackFitting
RecoTracker/ConversionSeedGenerators
RecoTracker/TkSeedGenerator

@nclopezo, @cmsbuild, @thspeer, @slava77 can you please review it and eventually sign? Thanks.
@ghellwig, @cerati, @gpetruc, @GiacomoSguazzoni, @rovere this is something you requested to watch as well.
You can sign-off by replying to this message having '+1' in the first line of your reply.
You can reject by replying to this message having '-1' in the first line of your reply.
@ktf you are the release manager for this.

@perrotta perrotta mentioned this pull request Dec 8, 2013
@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 8, 2013

Pull request #1721 was updated. @nclopezo, @cmsbuild, @thspeer, @slava77 can you please check and sign again.

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 8, 2013

@@ -37,14 +37,17 @@
init();
}

PhotonConversionTrajectorySeedProducerFromQuadrupletsAlgo::~PhotonConversionTrajectorySeedProducerFromQuadrupletsAlgo() {
if(theRegionProducer!=NULL)
delete theRegionProducer;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

delete NULL is a valid no-op by C++ standard.

@thspeer
Copy link
Contributor

thspeer commented Dec 9, 2013

+1
Tested c9007a8 in CMSSW_7_0_X_2013-12-08-1400_1721
No difference in reco, based on RelMon and reco script

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 9, 2013

This pull request is fully signed and it will be integrated in one of the next IBs unless changes or unless it breaks tests. @ktf can you please take care of it?

ktf added a commit that referenced this pull request Dec 9, 2013
Reco fixes -- A few fixes for Tracking stuffs: do not delete at endRun what is created in the constructor
@ktf ktf merged commit 7364c0f into cms-sw:CMSSW_7_0_X Dec 9, 2013
@perrotta perrotta deleted the trackingRelatedFixes branch March 5, 2014 08:19
ggovi pushed a commit to ggovi/cmssw that referenced this pull request Jan 11, 2017
Advance RecoEgamma/ElectronIdentification data to V01-00-05.
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