Skip to content

Conversation

@jmcarcell
Copy link
Member

BEGINRELEASENOTES

  • Fix crash when running with IOSvc and DataHandles of types that are not collections.

ENDRELEASENOTES

An example is GenAlg: https://github.com/HEP-FCC/k4Gen/blob/main/k4Gen/src/components/GenAlg.h#L45 that will put a DataWrapper<HepMC3::GenEvent> in the store. This will crash because collectionBase() returns a nullptr when the type is not a collection: https://github.com/key4hep/k4FWCore/blob/fix-readhandle/k4FWCore/include/k4FWCore/DataWrapper.h#L86

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants