Re: [ROOT] Problem using h2root with ROOT 3.0

From: Rene Brun (Rene.Brun@cern.ch)
Date: Fri Apr 27 2001 - 10:49:19 MEST


Hi Tony,

Thanks for reporting this problem with h2root. This was a non set variable
showing up since we do not link with libnew.so anymore.
It was affecting ntuples with columns being arrays of chars.

The fix is now in CVS sources and binary distributions for 3.01

Rene Brun

Johnson, Tony S. wrote:
> 
> Hi Rene and Fons, I am trying to use h2root from ROOT 3.0 to convert the classic pawdemo.hbook file. This worked fine with older ROOT version, but now I get a core dump (see below). I have tried various linux and solaris machines, always with the same result. I am using ROOT from /afs/cern.ch/na49/library.4/ROOT/new/sun4x_56/root/.
> 
> Incidentally when I try to use h2root under windows (2000) I get a different error (see attachment).
> 
> Tony
> 
> [lcddata01] ~ > h2root pawdemo.hbook
>  Converting directory //example
>  Converting CWN with ID= 30, nentries = 10000
> Creating branch:X, block:BLOCK1, fullname:X/F, nsub=0, itype=1, isize=4, ielem=1
> Creating branch:Y, block:BLOCK1, fullname:Y/F, nsub=0, itype=1, isize=4, ielem=1
> Creating branch:Z, block:BLOCK1, fullname:Z/F, nsub=0, itype=1, isize=4, ielem=1
> ******************************************************************************
> *Tree    :h30       : TEST                                                   *
> *Entries :    10000 : Total =          119985 bytes  File  Size =     108816 *
> *        :          : Tree compression factor =   1.10                       *
> ******************************************************************************
> *Br    0 :X         : X/F                                                    *
> *Entries :    10000 : Total  Size=      39995 bytes  File Size  =      36466 *
> *Baskets :        5 : Basket Size=       8000 bytes  Compression=   1.10     *
> *............................................................................*
> *Br    1 :Y         : Y/F                                                    *
> *Entries :    10000 : Total  Size=      39995 bytes  File Size  =      36461 *
> *Baskets :        5 : Basket Size=       8000 bytes  Compression=   1.10     *
> *............................................................................*
> *Br    2 :Z         : Z/F                                                    *
> *Entries :    10000 : Total  Size=      39995 bytes  File Size  =      35889 *
> *Baskets :        5 : Basket Size=       8000 bytes  Compression=   1.11     *
> *............................................................................*
>  Converting directory BS
>  Converting directory CHARM
>  Converting directory ETAF2
>  Converting directory ETAMUMU
>  Converting directory ETAPFV1
>  Converting directory KAON
>  Converting directory MM_MMG
>  Converting directory OMEGAF
>  Converting directory PHI
>  Converting directory PION
>  Converting directory RO
>  Converting directory STAFF
>  Converting CWN with ID= 10, nentries = 3354
> Creating branch:Category, block:CERN, fullname:Category/I, nsub=0, itype=2, isiz
> e=4, ielem=1
> Creating branch:Flag, block:CERN, fullname:Flag/i, nsub=0, itype=3, isize=4, iel
> em=1
> Creating branch:Age, block:CERN, fullname:Age/I, nsub=0, itype=2, isize=4, ielem
> =1
> Creating branch:Service, block:CERN, fullname:Service/I, nsub=0, itype=2, isize=
> 4, ielem=1
> Creating branch:Children, block:CERN, fullname:Children/I, nsub=0, itype=2, isiz
> e=4, ielem=1
> Creating branch:Grade, block:CERN, fullname:Grade/I, nsub=0, itype=2, isize=4, i
> elem=1
> Creating branch:Step, block:CERN, fullname:Step/I, nsub=0, itype=2, isize=4, iel
> em=1
> Creating branch:Hrweek, block:CERN, fullname:Hrweek/I, nsub=0, itype=2, isize=4,
>  ielem=1
> Creating branch:Cost, block:CERN, fullname:Cost/I, nsub=0, itype=2, isize=4, iel
> em=1
> Creating branch:Division, block:CERN, fullname:Division/C, nsub=0, itype=5, isiz
> e=4, ielem=1
> Creating branch:Nation, block:CERN, fullname:Nation/C, nsub=0, itype=5, isize=4,
>  ielem=1
> 
>  *** Break *** segmentation violation
> Abort (core dumped)
>  <<RootError.gif>>
> 
>   --------------------------------------------------------------------------------
> 
>                        Name: RootError.gif
>    RootError.gif       Type: GIF Image (image/gif)
>                    Encoding: BASE64



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:43 MET