Re: problem with g2root

Rene Brun (Rene.Brun@cern.ch)
Thu, 26 Feb 1998 16:32:41 +0100


I am currently investigating this problem.
There is a peculiar pattern in Alexander's trivial geometry
that generates an infinite loop in the conversion program.

Rene Brun

Pasha Murat wrote:
>
> hello Alexander,
>
> try do write RZ file out to avoid diagnostics like
>
> *** GROUT *** Data structure SETS was not found
>
> otherwize (as it comes from what I've found) it seems that RZ file gets
> corrupted and couldn't be read back.
>
> Hope this will help, regards, Pasha.
> --------------------------------------------------------------------------------
> Alexander Zvyagin writes:
> > I have problem with g2root program:
> >
> > GEANT code:
> > ....
> > GGCLOS();
> > GPHYSI();
> > GRFILE(21,"phos_geometry.rz","ON");
> > ...
> >
> > GEANT program output:
> > --------------------------
> > RZMAKE. Unit 21 Initializing with LREC= 1024, OPT= ON X
> >
> > MZLINK. Initialize Link Area RZCL for Store 0 NL/NS= 11 0
> > RZMAKE. new RZ format selected.
> > This file will not be readable with versions of RZ prior to release
> > 94B
> > *** GROUT *** Data structure DRAW was not found
> > *** GROUT *** Data structure MATE version 1 saved to disk
> > *** GROUT *** Data structure PART version 1 saved to disk
> > *** GROUT *** Data structure ROTM version 1 saved to disk
> > *** GROUT *** Data structure RUNG version 1 saved to disk
> > *** GROUT *** Data structure SETS was not found
> > *** GROUT *** Data structure TMED version 1 saved to disk
> > *** GROUT *** Data structure VOLU version 1 saved to disk
> > *** GROUT *** Data structure SCAN was not found
> > RZEND. called for LUN21
> > ----------------------------
> $ g2root phos_geometry.rz phos_geometry.C
> Reading struct: 0
> Reading struct: 0
> Reading struct: 0
> Reading struct: 0
> Reading struct: 0
> Reading struct: 0
> nvolum= 7 jvolum= 989677
> Segmentation fault
>
> $ l phos_geometry.C
> -rw-r--r-- 1 zvyagin users 0 Feb 26 07:23 phos_geometry.C
>
> Why?!