[ROOT] TChain::Add with wildcarding

From: Jiri Masik (masik@pc203b.fzu.cz)
Date: Wed Feb 06 2002 - 16:19:42 MET


Hi,

I'm running the current CVS version on linuxdeb2ppc. I cannot
chain files via wildcarding in TChain::Add
TChain ch("T");
ch.Add("_root/xs_gpym6143wc0eeqq_e199.5_c99_1l_e1/dst.*.root")

After this statement Root quits. The files are there - adding just one
file works. It is not ppc specific it doesn't work on x86 either. 

I tried to debug it a bit but I could not find why it happens, I'm
attaching the backtrace. Maybe the problem is within the Class macro.
Hopefully somebody can find what's wrong.
cheers
        Jiri


Program received signal SIGSEGV, Segmentation fault.
0x0fb32ce8 in TDirectory::Save() (this=0x10760870)
    at base/src/TDirectory.cxx:1193
1193             if (idcur->InheritsFrom(TDirectory::Class())) {
#1  0x0fb303e4 in TDirectory::Close(char const*) (this=0x10760870)
    at base/src/TDirectory.cxx:535
#2  0x0fb3a844 in TFile::Close(char const*) (this=0x10760870)
    at base/src/TFile.cxx:480
#3  0x0fb39a00 in TFile::~TFile() (this=0x10760870) at
base/src/TFile.cxx:308
#4  0x0f109e34 in TChain::AddFile(char const*, int) (this=0x1075b5f8, 
    name=0xff97535
"_root/xs_gpym6143wc0eeqq_e199.5_c99_1l_e1/dst.1.root", 
    nentries=18946) at tree/src/TChain.cxx:322
#5  0x0f10992c in TChain::Add(char const*, int) (this=0x1075b5f8, 
    name=0x1074e4f0
"_root/xs_gpym6143wc0eeqq_e199.5_c99_1l_e1/dst.*.root", 
    nentries=1234567890) at tree/src/TChain.cxx:230



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:41 MET