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

Add DQMStore::getElement whichs throws an exception instead of a nullptr (80x) #14407

Merged
merged 1 commit into from May 11, 2016

Conversation

dmitrijus
Copy link
Contributor

@dmitrijus dmitrijus commented May 9, 2016

Half of DQM software does not check for nullptrs when retrieving histograms.
This usually causes a segfault and a few minute wait for gdb to produce the stacktrace.

Crashing the framework with an out-of-bounds exception is better and
more clean.

Also fixes DQM/SiPixelMonitorClient which would segfault online on
every empty run. It still crashes, but in a 'nicer' way.

…ptr.

Half of DQM software does not check for nullptrs when retrieving histograms.
This usually causes a segfault and a few minute wait for gdb to produce the stacktrace.

Crashing the framework with an out-of-bounds exception is better and
more clean.

Also fixes DQM/SiPixelMonitorClient which would segfault online on
every  empty run. It still crashes, but in a 'nicer' way.
@cmsbuild
Copy link
Contributor

cmsbuild commented May 9, 2016

A new Pull Request was created by @dmitrijus (Dmitrijus) for CMSSW_8_0_X.

It involves the following packages:

DQM/SiPixelMonitorClient
DQMServices/Core

@cmsbuild, @dmitrijus, @vanbesien, @deguio, @davidlange6 can you please review it and eventually sign? Thanks.
@barvic, @threus this is something you requested to watch as well.
@slava77, @Degano, @smuzaffar you are the release manager for this.

cms-bot commands are list here #13028

@dmitrijus dmitrijus changed the title Add DQMStore::getElement whichs throws an exception instead of a null… Add DQMStore::getElement whichs throws an exception instead of a nullptr (80x) May 9, 2016
@vanbesien
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented May 9, 2016

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/12867/console

@cmsbuild
Copy link
Contributor

cmsbuild commented May 9, 2016

@cmsbuild
Copy link
Contributor

cmsbuild commented May 9, 2016

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

The workflows 1003.0 have different files in step1_dasquery.log than the ones found in the baseline. You may want to check and retrigger the tests if necessary. You can check it in the "files" directory in the results of the comparisons

@vanbesien
Copy link
Contributor

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented May 9, 2016

This pull request is fully signed and it will be integrated in one of the next CMSSW_8_0_X IBs (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @slava77, @davidlange6, @Degano, @smuzaffar

@davidlange6
Copy link
Contributor

+1

cmsbuild added a commit that referenced this pull request May 11, 2016
Add DQMStore::getElement whichs throws an exception instead of a nullptr (80x)
@cmsbuild cmsbuild merged commit 3c64e7b into cms-sw:CMSSW_8_0_X May 11, 2016
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