- changed status to resolved
Circular machines segfault in debug mode
Issue #148
resolved
BDSBeamline::AddSingleComponent takes a BDSTiltOffset pointer, which is nullptr by default. In debug mode this pointer is dereferenced (line 171):
G4cout << "tilt offsetX offsetY " << *tiltOffset << " rad mm mm " << G4endl;
This results in a crash when an element has no tiltOffset (e.g. terminator or teleporter). An example is the Teleporter-Component test.
Comments (1)
-
- Log in to comment
Fix issue
#148.→ <<cset 242699c4b475>>