Re: [ROOT] arbitrary length limit on TFile filenames?

From: Matthew D. Langston (langston@SLAC.stanford.edu)
Date: Thu Oct 05 2000 - 20:35:51 MEST


Hi Suyong,

I'm not sure I understood your email.  Were you suggesting that you have
created ROOT TFiles with filenames which are over 32 characters long?  Or,
did you create them with shorter file names and then rename them with
filenames greater than 32 characters.  Thank you for any help.

Regards, Matt

----- Original Message -----
From: "Suyong Choi" <suyong@fnal.gov>
To: "Matthew D. Langston" <langston@SLAC.Stanford.EDU>
Cc: "roottalk" <roottalk@pcroot.cern.ch>
Sent: Thursday, October 05, 2000 11:19 AM
Subject: Re: [ROOT] arbitrary length limit on TFile filenames?


> "Matthew D. Langston" wrote:
>
> > I believe I have found a bug somewhere in ROOT that restricts the length
of
> > TFile filenames to 31 characters or less.  Has anyone else experienced
this,
> > or could anyone else confirm this?
> >
> > We are filling and writing a single TTree to a single TFile.  When the
> > filename (basename + "." + extension) is more than 31 characters, then
ROOT
> > segvios with a core dump.
> >
> > For example, when we use the filename "Selected_WAB_Events_TTree_.root"
for
> > our output TFile (which is 26 + 1 + 4 = 31 characters), then ROOT exits
> > normally.  However, when we use the file name
> > "Selected_WAB_Events_TTree_1.root", which is 27 + 1 + 4 = 32 characters
in
> > length, then ROOT segvios with a core dump with the following error
message:
> >
> >  *** Break *** segmentation violation
> > Aborted (core dumped)
> >
> > Regards, Matt
> >
> > --
> > Matthew D. Langston
> > SLD, Stanford Linear Accelerator Center
> > langston@SLAC.Stanford.EDU
>
> All the file names of the ROOT files are way over 32 characters long and
> I haven't come across any such problems both in v2.23 and v2.25.
>
> Regards,
> Suyong Choi
>



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:34 MET