[ROOT] TChain problem

From: William Love (love@bnl.gov)
Date: Fri Dec 07 2001 - 20:22:11 MET


Roottalk
   I am running on LINUX nodes.  A large set of root files work fine
individually but
 give trouble when I try TChain.  Does this debug dump help?  The first
Draw( below
 works fine.  The second crashes - tried 3.02/00 and 3.02/01 - no different.
                   Bill Love

Starting program:
/afs/rhic/star/ROOT/3.02.00//.i386_redhat61/root/bin/root.exe
  *******************************************
  *                                         *
  *        W E L C O M E  to  R O O T       *
  *                                         *
  *   Version   3.02/00    4 October 2001   *
  *                                         *
  *  You are welcome to visit our Web site  *
  *          http://root.cern.ch            *
  *                                         *
  *******************************************

CINT/ROOT C/C++ Interpreter version 5.15.10, Aug 12 2001
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.

Welcome to the ROOT tutorials


Type ".x demos.C" to get a toolbar from which to execute the demos

Type ".x demoshelp.C" to see the help window

 *** Start at Date : Fri Dec  7 13:56:35 2001
QAInfo:You are using STAR_LEVEL : dev, ROOT_LEVEL : 3.02.00 and node :
rcas6006.rcf.bnl.gov
root.exe [0] TChain l("laser")
root.exe [1]
l->Add("/star/data17/reco/laser/DEV/2001/264/st_physics_2264007_raw_0116.las
er.root")
Warning in <TClass::TClass>: no dictionary for class StLaserEvent is
available
Warning in <TClass::TClass>: no dictionary for class EventHeader is
available
Warning in <TClass::TClass>: no dictionary for class Track is available
Warning in <TClass::TClass>: no dictionary for class Hit is available
Warning in <TClass::TClass>: no dictionary for class Pixel is available
(Int_t)1
root.exe [2] gSystem->Load("StLaserEvent")
(int)0
root.exe [3] laser->Draw("fTracks.fzl","abs(fTracks.fzl)<200")
<TCanvas::MakeDefCanvas>: created default TCanvas with name c1
(Int_t)32061
root.exe [4]
l->Add("/star/data17/reco/laser/DEV/2001/264/st_physics_2264007_raw_0124.las
er.root")
(Int_t)1
root.exe [5] laser->Draw("fTracks.fzl","abs(fTracks.fzl)<200")

Program received signal SIGSEGV, Segmentation fault.
0x403b1d69 in TClass virtual table ()
Current language:  auto; currently c
(gdb) bt
#0  0x403b1d69 in TClass virtual table ()
#1  0x403619a9 in TStreamerInfo::ReadBuffer (this=0x879c790, b=@0x886fc48,
pointer=0x891b8c8 "", first=8)
    at .i386_redhat61/root/obj/meta/src/TStreamerInfo.cxx:1740
#2  0x40bdbb58 in TBranchElement::ReadLeaves (this=0x8943630, b=@0x886fc48)
    at .i386_redhat61/root/obj/tree/src/TBranchElement.cxx:866
#3  0x40bd3d3f in TBranch::GetEntry (this=0x8943630, entry=0, getall=0) at
.i386_redhat61/root/obj/tree/src/TBranch
#4  0x40bda801 in TBranchElement::GetEntry (this=0x8943630, entry=0,
getall=0)
    at .i386_redhat61/root/obj/tree/src/TBranchElement.cxx:557
#5  0x414b2f36 in TTreeFormula::GetNdata (this=0x8c63f90) at
.i386_redhat61/root/obj/treeplayer/src/TTreeFormula.cx
#6  0x414bc6c3 in TTreePlayer::EntryLoop (this=0x886f560,
action=@0xbffdc31c, obj=0x89a4868, nentries=78, firstentr
    option=0x40c4d133 "") at
.i386_redhat61/root/obj/treeplayer/src/TTreePlayer.cxx:1237
#7  0x414b8413 in TTreePlayer::DrawSelect (this=0x886f560, varexp0=0x8734f80
"fTracks.fzl",
    selection=0x87fc700 "abs(fTracks.fzl)<200", option=0x40c4d133 "",
nentries=1000000000, firstentry=0)
    at .i386_redhat61/root/obj/treeplayer/src/TTreePlayer.cxx:924
#8  0x40bf1f07 in TTree::Draw (this=0x86d8678, varexp=0x8734f80
"fTracks.fzl", selection=0x87fc700 "abs(fTracks.fzl
    option=0x40c4d133 "", nentries=1000000000, firstentry=0) at
.i386_redhat61/root/obj/tree/src/TTree.cxx:1634
#9  0x40be024e in TChain::Draw (this=0x86d8678, varexp=0x8734f80
"fTracks.fzl", selection=0x87fc700 "abs(fTracks.fz
    option=0x40c4d133 "", nentries=1000000000, firstentry=0) at
.i386_redhat61/root/obj/tree/src/TChain.cxx:444
#10 0x40c1743c in G__TChain_Draw_2_1__FP8G__valuePCcP8G__parami
(result7=0xbffef414, funcname=0x0, libp=0xbffe4790,
    at .i386_redhat61/root/obj/tree/G__Tree.cxx:6189
#11 0x4054b345 in G__call_cppfunc (result7=0xbffef414, libp=0xbffe4790,
ifunc=0x86cdbf8, ifn=1)
    at .i386_redhat61/root/obj/cint/src/newlink.c:394
#12 0x40534575 in G__interpret_func (result7=0xbffef414, funcname=0xbffef014
"Draw", libp=0xbffe4790, hash=398, p_i
    funcmatch=1, memfunc_flag=1) at
.i386_redhat61/root/obj/cint/src/ifunc.c:5775
#13 0x4050bcac in G__getfunction (item=0xbffefeb8
"Draw(\"fTracks.fzl\",\"abs(fTracks.fzl)<200\")", known3=0xbfff31
    memfunc_flag=1) at .i386_redhat61/root/obj/cint/src/func.c:1495
#14 0x405f0447 in G__getstructmem (store_var_type=112, varname=0xbfff2be4
"§µ`@¥µ`@2",
    membername=0xbffefeb8 "Draw(\"fTracks.fzl\",\"abs(fTracks.fzl)<200\")",
tagname=0xbffefeb0 "$laser", known2=0xb
    varglobal=0x40660ae0, objptr=2) at
.i386_redhat61/root/obj/cint/src/var.c:4670
#15 0x405d881b in G__getvariable (item=0xbfff31f4
"$laser->Draw(\"fTracks.fzl\",\"abs(fTracks.fzl)<200\")", known2=
    varglobal=0x40660ae0, varlocal=0x0) at
.i386_redhat61/root/obj/cint/src/var.c:3385
---Type <return> to continue, or q <return> to quit---up
#16 0x40502e24 in G__getitem (item=0xbfff31f4
"$laser->Draw(\"fTracks.fzl\",\"abs(fTracks.fzl)<200\")")
    at .i386_redhat61/root/obj/cint/src/expr.c:1815
#17 0x40502fa9 in G__getitem (item=0xbfff3dd4
"laser->Draw(\"fTracks.fzl\",\"abs(fTracks.fzl)<200\")")
    at .i386_redhat61/root/obj/cint/src/expr.c:1854
#18 0x40500fb0 in G__getexpr (expression=0xbfff5a30
"laser->Draw(\"fTracks.fzl\",\"abs(fTracks.fzl)<200\")")
    at .i386_redhat61/root/obj/cint/src/expr.c:1292
#19 0x4056959d in G__exec_function (statement=0xbfff5a30
"laser->Draw(\"fTracks.fzl\",\"abs(fTracks.fzl)<200\")", p
    piout=0xbfff5620, plargestep=0xbfff5610, presult=0xbfff5e30) at
.i386_redhat61/root/obj/cint/src/parse.c:499
#20 0x40572035 in G__exec_statement () at
.i386_redhat61/root/obj/cint/src/parse.c:4095
#21 0x404e086a in G__exec_tempfile (file=0xbfffe0b8 "/tmp/file27YGxN_cint")
at .i386_redhat61/root/obj/cint/src/deb
#22 0x4057c6ff in G__process_cmd (line=0x40286b40
"laser->Draw(\"fTracks.fzl\",\"abs(fTracks.fzl)<200\")", prompt=0
    more=0x838211c, err=0xbfffd464, rslt=0x0) at
.i386_redhat61/root/obj/cint/src/pause.c:3463
#23 0x40344be5 in TCint::ProcessLine (this=0x8382100, line=0x40286b40
"laser->Draw(\"fTracks.fzl\",\"abs(fTracks.fz
    at .i386_redhat61/root/obj/meta/src/TCint.cxx:231
#24 0x400a7d7f in TApplication::ProcessLine (this=0x83b7270,
    line=0x40286b40 "laser->Draw(\"fTracks.fzl\",\"abs(fTracks.fzl)<200\")",
sync=0 '\000')
    at .i386_redhat61/root/obj/base/src/TApplication.cxx:608
#25 0x40023819 in TRint::HandleTermInput (this=0x83b7270) at
.i386_redhat61/root/obj/rint/src/TRint.cxx:355
#26 0x400225bd in TTermInputHandler::Notify (this=0x86bfe70) at
.i386_redhat61/root/obj/rint/src/TRint.cxx:100
#27 0x40023a35 in TTermInputHandler::ReadNotify (this=0x86bfe70) at
.i386_redhat61/root/obj/rint/src/TRint.cxx:94
#28 0x404378ab in TUnixSystem::CheckDescriptors (this=0x837d070) at
.i386_redhat61/root/obj/unix/src/TUnixSystem.cx
#29 0x4043703d in TUnixSystem::DispatchOneEvent (this=0x837d070,
pendingOnly=0 '\000')
    at .i386_redhat61/root/obj/unix/src/TUnixSystem.cxx:456
#30 0x400f3cd5 in TSystem::InnerLoop (this=0x837d070) at
.i386_redhat61/root/obj/base/src/TSystem.cxx:280
#31 0x400f3c47 in TSystem::Run (this=0x837d070) at
.i386_redhat61/root/obj/base/src/TSystem.cxx:248
#32 0x400a8818 in TApplication::Run (this=0x83b7270, retrn=0 '\000') at
.i386_redhat61/root/obj/base/src/TApplicati
#33 0x40023136 in TRint::Run (this=0x83b7270, retrn=0 '\000') at
.i386_redhat61/root/obj/rint/src/TRint.cxx:242
#34 0x8048ac4 in main (argc=1, argv=0xbfffee34) at
.i386_redhat61/root/obj/main/src/rmain.cxx:32
#35 0x40e441eb in __libc_start_main (main=0x8048a60 <main>, argc=1,
argv=0xbfffee34, init=0x80488f0 <_init>,
    fini=0x8048b9c <_fini>, rtld_fini=0x4000a610 <_dl_fini>,
stack_end=0xbfffee2c) at ../sysdeps/generic/libc-start
(gdb) up
#1  0x403619a9 in TStreamerInfo::ReadBuffer (this=0x879c790, b=@0x886fc48,
pointer=0x891b8c8 "", first=8)
    at .i386_redhat61/root/obj/meta/src/TStreamerInfo.cxx:1740
1740                              if (fgCanDelete) delete *obj;
Current language:  auto; currently c++
(gdb) p obj
$1 = (TObject **) 0x891b90c
(gdb) p obj->GetName()

Program received signal SIGSEGV, Segmentation fault.
0x0 in ?? ()



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