[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

problem with root 5.18



Hi list,
	I have some problems with ROOT 5.18. I compiled this version using debian 
rules from Christian Holm Christensen debian repository (I'm using an amd64 
Debian OS).
In this version i have the same problem with 5.17 one.
In fact, I have to load some .root files, and i use this way

 		TChain *tree = new TChain("CollectionTree","")
                tree->Add("path's files ")
                tree->MakeClass("name")

then I compile with .L name.C.
When I run my program, with .Loop() command, my root does anything or returns 
errors.

I insert some debug lines in my code as i show

if (fChain == 0) return;

   Long64_t nentries = fChain->GetEntriesFast();

   Long64_t nbytes = 0, nb = 0;

  cout << "DEBUG::start::" << endl;

   for (Long64_t jentry=0; jentry<nentries;jentry++) {

        cout << "DEBUG::Load1::" << jentry << endl;

      Long64_t ientry = LoadTree(jentry);

        cout << "DEBUG::Load2::" << jentry << endl;

      if (ientry < 0) break;

        cout << "DEBUG::Load3::" << jentry << endl;

      nb = fChain->GetEntry(jentry);

        cout << "DEBUG::Load4::" << jentry << endl;

      nbytes += nb;

        cout << "DEBUG::Load5::" << jentry << endl;
        }

When I run the program there are 2 cases:

1) root returns only these lines
	DEBUB::Start::0
	DEBUG::Load1::1
	Warning in <TClass::TClass>: no dictionary for class AttributeListLayout is  
available
	Warning in <TClass::TClass>: no dictionary for class pair<string,string> is 
available

2) root returns these lines and stop with an error
	DEBUG::Start::
	DEBUG::Load1::0
	Warning in <TClass::TClass>: no dictionary for class AttributeListLayout is 
available
	Warning in <TClass::TClass>: no dictionary for class pair<string,string> is 
available
	DEBUG::Load2::0
	DEBUG::Load3::0

 *** Break *** segmentation violation
(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
Attaching to program: /proc/9467/exe, process 9467
(no debugging symbols found)...done.
[Thread debugging using libthread_db enabled]
[New Thread 0x2b0b6de8fa70 (LWP 23050)]
(no debugging symbols found)...done.
(no debugging symbols found)...done.
(no debugging symbols found)...done.
(no debugging symbols found)...done.
(no debugging symbols found)...done.
(no debugging symbols found)...done.
(no debugging symbols found)...done.
(no debugging symbols found)
0x00002b0b6d557465 in waitpid () from /lib/libc.so.6
#1  0x00002b0b6d4f8401 in ?? () from /lib/libc.so.6
#2  0x00002b0b6b86f889 in TUnixSystem::StackTrace () 
from /usr/lib/root/libCore.so.5.18
#3  0x00002b0b6b86e9e7 in TUnixSystem::DispatchSignals () 
from /usr/lib/root/libCore.so.5.18
#4  <signal handler called>
#5  0x00002b0b6f4e2ac0 in ?? () from /usr/lib/root/5.18/libvectorDict.so
#6  0x00002b0b6b848a2a in TClass::Destructor () 
from /usr/lib/root/libCore.so.5.18
#7  0x00002b0b6e714d89 in TEmulatedCollectionProxy::Shrink () 
from /usr/lib/root/5.18/libRIO.so
#8  0x00002b0b6e71441e in TEmulatedCollectionProxy::Streamer () 
from /usr/lib/root/5.18/libRIO.so
#9  0x00002b0b6e70b89f in TCollectionStreamer::Streamer () 
from /usr/lib/root/5.18/libRIO.so
#10 0x00002b0b6b849d97 in TClass::Streamer () 
from /usr/lib/root/libCore.so.5.18
#11 0x00002b0b6b849de6 in TClass::Streamer () 
from /usr/lib/root/libCore.so.5.18
#12 0x00002b0b6e7044e4 in TBufferFile::ReadFastArray () 
from /usr/lib/root/5.18/libRIO.so
#13 0x00002b0b6e771e52 in TStreamerInfo::ReadBuffer<char**> () 
from /usr/lib/root/5.18/libRIO.so
#14 0x00002b0b6eda477c in TBranchElement::ReadLeaves () 
from /usr/lib/root/5.18/libTree.so
#15 0x00002b0b6ed9e24f in TBranch::GetEntry () 
from /usr/lib/root/5.18/libTree.so
#16 0x00002b0b6eda176b in TBranchElement::GetEntry () 
from /usr/lib/root/5.18/libTree.so
#17 0x00002b0b6ede1105 in TTree::GetEntry () 
from /usr/lib/root/5.18/libTree.so
#18 0x00002b0b6ee4d8ab in ?? () from /usr/lib/root/5.18/libTree.so
#19 0x00002b0b6c0f0e81 in G__call_cppfunc () 
from /usr/lib/root/libCint.so.5.18
#20 0x00002b0b6c0cd3d9 in G__interpret_func () 
from /usr/lib/root/libCint.so.5.18
#21 0x00002b0b6c0be6e2 in G__getfunction () from /usr/lib/root/libCint.so.5.18
#22 0x00002b0b6c181738 in G__getstructmem () 
from /usr/lib/root/libCint.so.5.18
#23 0x00002b0b6c178532 in G__getvariable () from /usr/lib/root/libCint.so.5.18
#24 0x00002b0b6c092d7f in G__getitem () from /usr/lib/root/libCint.so.5.18
#25 0x00002b0b6c09a656 in G__getexpr () from /usr/lib/root/libCint.so.5.18
#26 0x00002b0b6c09ff3d in G__getexpr () from /usr/lib/root/libCint.so.5.18
#27 0x00002b0b6c110c95 in G__exec_statement () 
from /usr/lib/root/libCint.so.5.18
#28 0x00002b0b6c11c407 in ?? () from /usr/lib/root/libCint.so.5.18
#29 0x00002b0b6c117958 in G__exec_statement () 
from /usr/lib/root/libCint.so.5.18
#30 0x00002b0b6c0cf61e in G__interpret_func () 
from /usr/lib/root/libCint.so.5.18
#31 0x00002b0b6c0be6e2 in G__getfunction () from /usr/lib/root/libCint.so.5.18
#32 0x00002b0b6c181738 in G__getstructmem () 
from /usr/lib/root/libCint.so.5.18
#33 0x00002b0b6c17843b in G__getvariable () from /usr/lib/root/libCint.so.5.18
#34 0x00002b0b6c092d7f in G__getitem () from /usr/lib/root/libCint.so.5.18
#35 0x00002b0b6c09a656 in G__getexpr () from /usr/lib/root/libCint.so.5.18
#36 0x00002b0b6c11ac0f in G__exec_statement () 
from /usr/lib/root/libCint.so.5.18
#37 0x00002b0b6c080446 in ?? () from /usr/lib/root/libCint.so.5.18
#38 0x00002b0b6c0806ee in G__exec_tempfile_fp () 
from /usr/lib/root/libCint.so.5.18
#39 0x00002b0b6c120748 in G__process_cmd () from /usr/lib/root/libCint.so.5.18
#40 0x00002b0b6b845ddf in TCint::ProcessLine () 
from /usr/lib/root/libCore.so.5.18
#41 0x00002b0b6b7b4907 in TApplication::ProcessLine () 
from /usr/lib/root/libCore.so.5.18
#42 0x00002b0b6c6d8f8f in TRint::HandleTermInput () 
from /usr/lib/root/libRint.so.5.18
#43 0x00002b0b6c6d7897 in TTermInputHandler::Notify () 
from /usr/lib/root/libRint.so.5.18
#44 0x00002b0b6c6d975d in TTermInputHandler::ReadNotify () 
from /usr/lib/root/libRint.so.5.18
#45 0x00002b0b6b86e713 in TUnixSystem::CheckDescriptors () 
from /usr/lib/root/libCore.so.5.18
#46 0x00002b0b6b86f0c6 in TUnixSystem::DispatchOneEvent () 
from /usr/lib/root/libCore.so.5.18
#47 0x00002b0b6b805dd6 in TSystem::InnerLoop () 
from /usr/lib/root/libCore.so.5.18
#48 0x00002b0b6b808c17 in TSystem::Run () from /usr/lib/root/libCore.so.5.18
#49 0x00002b0b6b7b339f in TApplication::Run () 
from /usr/lib/root/libCore.so.5.18
#50 0x00002b0b6c6d938d in TRint::Run () from /usr/lib/root/libRint.so.5.18
#51 0x000000000040113d in main ()
The program is running.  Quit anyway (and detach it)? (y or n) [answered Y; 
input not from terminal]
Detaching from program: /proc/23050/exe, process 23050
Root > Function Loop() busy flag cleared


Can you help me?? do you have this problem too???

Cheers,
Antonio

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: