| Summary: | G4IStore::GetImportance() crashes with null G4VPhysicalVolume | ||
|---|---|---|---|
| Product: | Geant4 | Reporter: | mstoeckl |
| Component: | geometry/biasing | Assignee: | alexander.howard |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | P4 | ||
| Version: | 10.3 | ||
| Hardware: | All | ||
| OS: | All | ||
|
Description
mstoeckl
2017-07-11 23:42:16 CEST
https://geant4-forum.web.cern.ch/t/g4istore-getimportance-crashes-with-null-g4vphysicalvolume/11132 Finds this problem manifested if a volume is placed outside of the world volume. Giving an anonymous segmentation fault is equally unhelpful, therefore a check should be introduced to throw a more controlled G4Exception instead. Will be added to the fix. I couldn't reproduce a crash for this, however, I can see the hazard of accessing the pointer to the PostStep volume, therefore I have returned no change if the next volume is null. Will be included in release v11.2. |