Re: How to link with GEANT part of ROOT (2)

From: Witold Przygoda (Witold.Przygoda@Physik.Tu-Muenchen.DE)
Date: Mon Jul 06 1998 - 23:02:44 MEST


On Mon, 6 Jul 1998, Rene Brun wrote:

Hallo everybody,
Dear Rene,


> Where is the crash happening? after file->Close ?

No, it crashes exactly at any direct attempt of calling
	hfile->Write();
within one of my functions (filltree or closetree)
where hfile is pointer: 
	static TFile *hfile;
(see source in previous email)

I have run i.e. 10000 events (filling with dummy data)
and 7 Baskest were filled. But once I finish, and Write() is invoked,
it crashes. I cannot recover any data from file.


TFile: name=rich.root, title=Simulation data, option=CREATE
******************************************************************************
*Tree    :TRich     : RICH tree
*
*Entries :    10000 : Total  Size =    223916 bytes  File  Size =
23375 *
*        :          : Tree compression factor =   9.58
*
******************************************************************************
*Branch  :cerenkov  : idevt/I:ncer/I:xcer/F:ycer:ecer:parentcer
*
*Entries :    10000 : Total  Size =    223916 bytes  File Size  =
23375 *
*Baskets :        7 : Basket Size =     32000 bytes  Compression=   9.58
*
*............................................................................*


And at the end:
---------------

TFile Writing Name=rich.root Title=Simulation data
CustomReAlloc2: oldsize != size
Fatal in <CustomReAlloc2>: unreasonable size (-1056)
aborting
forrtl: error (76): IOT trap signal
Resources lost


(this CustomReAlloc2 is somewhere in NEW_NewDelete.cxx in root
source code)



> In the LHC ALICE collaboration, we have developped recently
> an interface between Geant3 and Root.

This would be good enhancement of GEANT3!




Best regards,
Witold P.


p.s. system: dec unix 4.0b; root 2.08; g++ ver. 2.7.2.2; native f77



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:34 MET