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

Bug in L1TStage2EMTF #46182

Open
Dr15Jones opened this issue Oct 1, 2024 · 7 comments
Open

Bug in L1TStage2EMTF #46182

Dr15Jones opened this issue Oct 1, 2024 · 7 comments

Comments

@Dr15Jones
Copy link
Contributor

UBSAN reported

114 DQM/L1TMonitor/src/L1TStage2EMTF.cc:1009:59: runtime error: index 2 out of bounds for type 'MonitorElement *[2]'

which corresponds to

gemVFATBXPerChamber[chamber - 1][hist_index][layer]->Fill(Hit->BX(), vfat);

and the member data is defined here

MonitorElement* gemVFATBXPerChamber[36][2][2];

where the variable layer is defined here

int layer = Hit->Layer();

and comes from the member data of the hit here

int layer; ///< 0 - 1. For GEMs only, superchamber detector layer (1 or 2).

NOTE that the comment above says layer can be value 2.

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 1, 2024

cms-bot internal usage

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 1, 2024

A new Issue was created by @Dr15Jones.

@Dr15Jones, @antoniovilela, @makortel, @mandrenguyen, @rappoccio, @sextonkennedy, @smuzaffar can you please review it and eventually sign/assign? Thanks.

cms-bot commands are listed here

@Dr15Jones
Copy link
Contributor Author

assign DQM/L1TMonitor

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 1, 2024

New categories assigned: dqm

@antoniovagnerini,@nothingface0,@rvenditti,@syuvivida,@tjavaid you have been requested to review this Pull request/Issue and eventually sign? Thanks

@makortel
Copy link
Contributor

makortel commented Oct 1, 2024

@cms-sw/l1-l2

@aloeliger
Copy link
Contributor

@eyigitba

@eyigitba
Copy link
Contributor

eyigitba commented Oct 4, 2024

I just got back from vacation. I'll have a look at this soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants