-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
reference to first element of a vector of size 0 in VirtualJetProducer #44998
Comments
cms-bot internal usage |
A new Issue was created by @VinInn. @Dr15Jones, @smuzaffar, @sextonkennedy, @antoniovilela, @makortel, @rappoccio can you please review it and eventually sign/assign? Thanks. cms-bot commands are listed here |
most probably Anyhow low priority, will never cause a crash nor even a valgrind error. |
assign RecoJets/JetProducers |
New categories assigned: reconstruction @jfernan2,@mandrenguyen you have been requested to review this Pull request/Issue and eventually sign? Thanks |
Please @laurenhay @michaelwassmer as JetMET RECO contacts, try to apply a fix. Thanks |
type jetmet |
Latest UBSAN IBs shows [a]. As @VinInn mentioned above for
|
@cms-sw/reconstruction-l2 , does this https://github.com/cms-sw/cmssw/blob/master/RecoJets/JetProducers/plugins/VirtualJetProducer.cc#L685-L784 blockof code makes any sense for
OR to avoid divide by 2
this will make sure that |
@laurenhay as Jet RECO contact, can you please comment? |
I have opened #46581 which should create a vector of size 1 for |
+1 |
This issue is fully signed and ready to be closed. |
running UBSAN on HLT I observed this message
looking to the code
it seems to me that if
fjJets_.size() == 1
the vector at line 688 will be empty ....
btw why a vector and not just a trivial VLA as in line 696?
The text was updated successfully, but these errors were encountered: