"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