There are few UBSAN errors about shift exponent too large for 32-bit type int [a]. Normally this indicates that there might be some logical error. @cms-sw/dqm-l2 , can you please check the code and see if we can avoid this errors.
One way to fix/avoid these errors is to use 1 << (variable&0x1F) instead of 1 << variable but I am not sure how portable this code will be.
@Dr15Jones, @antoniovilela, @makortel, @mandrenguyen, @rappoccio, @sextonkennedy, @smuzaffar can you please review it and eventually sign/assign? Thanks.
There are few UBSAN errors about shift exponent too large for 32-bit type int [a]. Normally this indicates that there might be some logical error. @cms-sw/dqm-l2 , can you please check the code and see if we can avoid this errors.
One way to fix/avoid these errors is to use
1 << (variable&0x1F)
instead of1 << variable
but I am not sure how portable this code will be.[a] https://cmssdt.cern.ch/SDT/jenkins-artifacts/ubsan_logs/CMSSW_14_2_X_2024-10-20-2300/ 27 DQM/GEM/plugins/GEMDAQStatusSource.cc:487:28: runtime error: shift exponent 32 is too large for 32-bit type 'int' 27 DQM/GEM/plugins/GEMDAQStatusSource.cc:559:58: runtime error: shift exponent 39 is too large for 32-bit type 'int' 27 [DQM/GEM/plugins/GEMDAQStatusSource.cc:560](https://github.com/cms-sw/cmssw/blob/master/DQM/GEM/plugins/GEMDAQStatusSource.cc#L560]:50: runtime error: shift exponent 39 is too large for 32-bit type 'int'