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

DQM/SiStripMonitorDigi: remove unsued subdetswitchtotdigiproflson #5455

Merged
merged 1 commit into from Sep 23, 2014

Conversation

davidlt
Copy link
Contributor

@davidlt davidlt commented Sep 21, 2014

According to UBSan

DQM/SiStripMonitorDigi/src/SiStripMonitorDigi.cc:275:3

triggers undefined behavior 193 times on full matrix run.

Example workflows:

  • 4.68 / step2
  • 1309.0 / step3
  • 140.52 / step2

This happens before the first even is executed.

After looking into the code the problem is triggered by uninitialized
(?) bool member variable subdetswitchtotdigiproflson used in if
statement. The if statement had an empty body! I cleaned up the source
code by removing all references of subdetswitchtotdigiproflson.
According GIT it's not used anywhere in CMSSW (apart that empty if
statement).

Signed-off-by: David Abdurachmanov David.Abdurachmanov@cern.ch

According to UBSan

    DQM/SiStripMonitorDigi/src/SiStripMonitorDigi.cc:275:3

triggers undefined behavior 193 times on full matrix run.

Example workflows:
- 4.68 / step2
- 1309.0 / step3
- 140.52 / step2

This happens before the first even is executed.

After looking into the code the problem is triggered by uninitialized
(?) bool member variable subdetswitchtotdigiproflson used in if
statement. The if statement had an empty body! I cleaned up the source
code by removing all references of subdetswitchtotdigiproflson.
According GIT it's not used anywhere in CMSSW (apart that empty if
statement).

Signed-off-by: David Abdurachmanov <David.Abdurachmanov@cern.ch>
@cmsbuild
Copy link
Contributor

A new Pull Request was created by @davidlt for CMSSW_7_2_X.

DQM/SiStripMonitorDigi: remove unsued subdetswitchtotdigiproflson

It involves the following packages:

DQM/SiStripMonitorDigi

@nclopezo, @danduggan, @rovere, @cmsbuild, @deguio, @ojeda can you please review it and eventually sign? Thanks.
@threus, @venturia 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.
@nclopezo you are the release manager for this.
You can merge this pull request by typing 'merge' in the first line of your comment.

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

@deguio
Copy link
Contributor

deguio commented Sep 22, 2014

+1
I have submitted this for 73 as well

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_7_2_X IBs unless changes (tests are also fine). @nclopezo can you please take care of it?

davidlange6 added a commit that referenced this pull request Sep 23, 2014
DQM/SiStripMonitorDigi: remove unsued subdetswitchtotdigiproflson
@davidlange6 davidlange6 merged commit 2d8f988 into cms-sw:CMSSW_7_2_X Sep 23, 2014
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