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

Fix crash from exception handling #19631

Merged
merged 2 commits into from Jul 9, 2017

Conversation

Dr15Jones
Copy link
Contributor

The framework was giving the wrong order of operations to the OutputModules in the case of an exception. The OutputModules were told to close their output files before being told to write the LuminosityBlock.

This should fix the crashes seen in the IB RelVals.

The output module related functions were never actually called in the framework or testing.
The RunsInFileProcessor needs to be deleted before the FileResources so that endRun and endLuminosityBlock transitions happen before the OutputModules are told to close their files. With the wrong order, the OutputFiles close their files before they are told to write the LuminosityBlock. That was leading to a segmentation fault.
@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 8, 2017

A new Pull Request was created by @Dr15Jones (Chris Jones) for master.

It involves the following packages:

FWCore/Framework
IOPool/Output

@cmsbuild, @smuzaffar, @Dr15Jones, @davidlange6 can you please review it and eventually sign? Thanks.
@Martin-Grunewald, @wddgit this is something you requested to watch as well.
@davidlange6 you are the release manager for this.

cms-bot commands are listed here

@Dr15Jones
Copy link
Contributor Author

please test

@Dr15Jones
Copy link
Contributor Author

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 8, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/21281/console Started: 2017/07/08 22:53

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 8, 2017

This pull request is fully signed and it will be integrated in one of the next master IBs after it passes the integration tests. This pull request requires discussion in the ORP meeting before it's merged. @davidlange6, @smuzaffar

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 8, 2017

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 8, 2017

Comparison job queued.

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 9, 2017

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-19631/21281/summary.html

Comparison Summary:

  • You potentially added 5 lines to the logs
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 23
  • DQMHistoTests: Total histograms compared: 1884334
  • DQMHistoTests: Total failures: 15050
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 1869118
  • DQMHistoTests: Total skipped: 166
  • DQMHistoTests: Total Missing objects: 0
  • Checked 93 log files, 14 edm output root files, 23 DQM output files

@davidlange6
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit ac928b0 into cms-sw:master Jul 9, 2017
@Dr15Jones Dr15Jones deleted the fixCrashFromExceptionHandling branch July 12, 2017 23:00
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

3 participants