Geometry problem

Hi all,
I create a geometry and I draw it (buildGeom.C in attachment) and export it (Slim5Geom.root in attachment). When I re-open it and try to plot it (importGeom.C) I got a crash.

Does anyone have an idea of what is wrong here?

Many thanks in advance,
Marco
importGeom.C (675 Bytes)
Slim5Geom.root (7.27 KB)
buildGeom.C (3.53 KB)

root.cern.ch/root/html/TGeoManag … ger:Import

in your case simple:TGeoManager *aGeoM = TGeoManager::Import("Slim5Geom.root");
Jan