g2root crash

Piergiorgio Cerello (cerello@to.infn.it)
Mon, 18 May 1998 10:42:57 +0200 (MET DST)


Dear Rooters,

when trying to use g2root, I get a segmentation fault.
My output macro (.C) is correct up to the list of volumes,
and the crash comes at the creation of the (long) list
of TNode objects.

I had a look at the previous messages concerning g2root,
and I'm afraid I'm creating more than 50000 objects.
To check this, I created a new GEANT geometry file
skipping the majority of calls to GSPOS, but I got
the same crash.

The g2root output is:

Reading struct: 0
Reading struct: 0
Reading struct: 0
Reading struct: 0
Reading struct: 0
Reading struct: 0
Reading struct: 0
Reading struct: 0
nvolum= 66 jvolum= 879532
Segmentation fault (core dumped)

Should I write the TNode part of the macro by hand?

Thanks in advance!

Piergiorgio

PS: the GEANT file is produced under OSF, while g2root
is run under Linux