GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » General » Errors for root points_tpccombi.root
Errors for root points_tpccombi.root [message #11537] Tue, 01 March 2011 11:58 Go to next message
J N Pandya is currently offline  J N Pandya
Messages: 11
Registered: February 2011
Location: Gujarat INDIA
occasional visitor
From: 117.254.188*
Dear Sir

I could successfully run 'root run_sim_tpccombi.C'. But now when I do 'root points_tpccombi.root' to see the points, I get the following error:


*******************************************
* *
* W E L C O M E to R O O T *
* *
* Version 5.28/00 14 December 2010 *
* *
* You are welcome to visit our Web site *
* http://root.cern.ch *
* *
*******************************************

ROOT 5.28/00 (tags/v5-28-00@37603, Feb 27 2011, 13:45:00 on linux)

CINT/ROOT C/C++ Interpreter version 5.18.00, July 2, 2010
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
root [0]
Attaching file points_tpccombi.root as _file0...
Warning in <TFile::Init>: file points_tpccombi.root probably not closed, trying to recover
Info in <TFile::Recover>: points_tpccombi.root, recovered key TFolder:cbmroot at address 236
Info in <TFile::Recover>: points_tpccombi.root, recovered key TList:BranchList at address 1048
Info in <TFile::Recover>: points_tpccombi.root, recovered key TTree:cbmsim at address 3955243
Warning in <TFile::Init>: successfully recovered 3 keys
root [1] cbmsim->Draw("PndTpcPoint.fY:PndTpcPoint.fX:PndTpcPoint.fZ")

*** Break *** segmentation violation



===========================================================
There was a crash (#7 0x009e22fd in SigHandler(ESignals) () from /home/jnpandya/fairsoft/tools/root/lib/libCore.so.5.28).
This is the entire stack trace of all threads:
===========================================================
#0 0x00805416 in __kernel_vsyscall ()
#1 0x0403eb63 in __waitpid_nocancel () from /lib/libc.so.6
#2 0x03fdcaa3 in do_system () from /lib/libc.so.6
#3 0x0025971d in system () from /lib/libpthread.so.0
#4 0x009dc05d in TUnixSystem::Exec(char const*) () from /home/jnpandya/fairsoft/tools/root/lib/libCore.so.5.28
#5 0x009dfe51 in TUnixSystem::StackTrace() () from /home/jnpandya/fairsoft/tools/root/lib/libCore.so.5.28
#6 0x009e21ef in TUnixSystem::DispatchSignals(ESignals) () from /home/jnpandya/fairsoft/tools/root/lib/libCore.so.5.28
#7 0x009e22fd in SigHandler(ESignals) () from /home/jnpandya/fairsoft/tools/root/lib/libCore.so.5.28
#8 0x009da412 in sighandler(int) () from /home/jnpandya/fairsoft/tools/root/lib/libCore.so.5.28
#9 <signal handler called>
#10 0x05b2475b in TBranchElement::FindBranch(char const*) () from /home/jnpandya/fairsoft/tools/root/lib/libTree.so
#11 0x05b05778 in TTree::FindBranch(char const*) () from /home/jnpandya/fairsoft/tools/root/lib/libTree.so
#12 0x088ab245 in TTreeFormula::FindLeafForExpression(char const*, TLeaf*&, TString&, bool&, unsigned int&, TObjArray&, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&, bool&, char const*) () from /home/jnpandya/fairsoft/tools/root/lib/libTreePlayer.so
#13 0x088acced in TTreeFormula::DefinedVariable(TString&, int&) () from /home/jnpandya/fairsoft/tools/root/lib/libTreePlayer.so
#14 0x04a8871b in TFormula::Analyze(char const*, int&, int) () from /home/jnpandya/fairsoft/tools/root/lib/libHist.so
#15 0x04a8fc7e in TFormula::Compile(char const*) () from /home/jnpandya/fairsoft/tools/root/lib/libHist.so
#16 0x0889bbc6 in TTreeFormula::Init(char const*, char const*) () from /home/jnpandya/fairsoft/tools/root/lib/libTreePlayer.so
#17 0x088a9d7a in TTreeFormula::TTreeFormula(char const*, char const*, TTree*) () from /home/jnpandya/fairsoft/tools/root/lib/libTreePlayer.so
#18 0x088e932e in TSelectorDraw::CompileVariables(char const*, char const*) () from /home/jnpandya/fairsoft/tools/root/lib/libTreePlayer.so
#19 0x088e5661 in TSelectorDraw::Begin(TTree*) () from /home/jnpandya/fairsoft/tools/root/lib/libTreePlayer.so
#20 0x088cbc4e in TTreePlayer::Process(TSelector*, char const*, long long, long long) () from /home/jnpandya/fairsoft/tools/root/lib/libTreePlayer.so
#21 0x088cadc9 in TTreePlayer::DrawSelect(char const*, char const*, char const*, long long, long long) () from /home/jnpandya/fairsoft/tools/root/lib/libTreePlayer.so
#22 0x05b04b5d in TTree::Draw(char const*, char const*, char const*, long long, long long) () from /home/jnpandya/fairsoft/tools/root/lib/libTree.so
#23 0x05b05ba5 in TTree::Draw(char const*) () from /home/jnpandya/fairsoft/tools/root/lib/libTree.so
#24 0x00b4c896 in G__G__Base2_10_0_15(G__value*, char const*, G__param*, int) () from /home/jnpandya/fairsoft/tools/root/lib/libCore.so.5.28
#25 0x01046497 in Cint::G__ExceptionWrapper(int (*)(G__value*, char const*, G__param*, int), G__value*, char*, G__param*, int) () from /home/jnpandya/fairsoft/tools/root/lib/libCint.so.5.28
#26 0x00faaddf in G__execute_call () from /home/jnpandya/fairsoft/tools/root/lib/libCint.so.5.28
#27 0x00fab1c2 in G__call_cppfunc () from /home/jnpandya/fairsoft/tools/root/lib/libCint.so.5.28
#28 0x00fe0da7 in G__interpret_func () from /home/jnpandya/fairsoft/tools/root/lib/libCint.so.5.28
#29 0x010ab0ca in G__getfunction () from /home/jnpandya/fairsoft/tools/root/lib/libCint.so.5.28
#30 0x010235ec in G__getstructmem(int, G__FastAllocString&, char*, int, char*, int*, G__var_array*, int) () from /home/jnpandya/fairsoft/tools/root/lib/libCint.so.5.28
#31 0x0101b08c in G__getvariable () from /home/jnpandya/fairsoft/tools/root/lib/libCint.so.5.28
#32 0x010b3958 in G__getitem () from /home/jnpandya/fairsoft/tools/root/lib/libCint.so.5.28
#33 0x010b4166 in G__getitem () from /home/jnpandya/fairsoft/tools/root/lib/libCint.so.5.28
#34 0x010bac17 in G__getexpr () from /home/jnpandya/fairsoft/tools/root/lib/libCint.so.5.28
#35 0x01063768 in G__exec_statement () from /home/jnpandya/fairsoft/tools/root/lib/libCint.so.5.28
#36 0x01087cf9 in G__exec_tempfile_core () from /home/jnpandya/fairsoft/tools/root/lib/libCint.so.5.28
#37 0x010893f9 in G__exec_tempfile_fp () from /home/jnpandya/fairsoft/tools/root/lib/libCint.so.5.28
#38 0x00f982c6 in G__process_cmd () from /home/jnpandya/fairsoft/tools/root/lib/libCint.so.5.28
#39 0x009b00c3 in TCint::ProcessLine(char const*, TInterpreter::EErrorCode*) () from /home/jnpandya/fairsoft/tools/root/lib/libCore.so.5.28
#40 0x0097ef71 in TApplication::ProcessLine(char const*, bool, int*) () from /home/jnpandya/fairsoft/tools/root/lib/libCore.so.5.28
#41 0x0075bbe1 in TRint::HandleTermInput() () from /home/jnpandya/fairsoft/tools/root/lib/libRint.so.5.28
#42 0x0075b6f5 in TTermInputHandler::Notify() () from /home/jnpandya/fairsoft/tools/root/lib/libRint.so.5.28
#43 0x0075d984 in TTermInputHandler::ReadNotify() () from /home/jnpandya/fairsoft/tools/root/lib/libRint.so.5.28
#44 0x009e142b in TUnixSystem::CheckDescriptors() () from /home/jnpandya/fairsoft/tools/root/lib/libCore.so.5.28
#45 0x009e2b07 in TUnixSystem::DispatchOneEvent(bool) () from /home/jnpandya/fairsoft/tools/root/lib/libCore.so.5.28
#46 0x00919291 in TSystem::InnerLoop() () from /home/jnpandya/fairsoft/tools/root/lib/libCore.so.5.28
#47 0x0091bcc9 in TSystem::Run() () from /home/jnpandya/fairsoft/tools/root/lib/libCore.so.5.28
#48 0x0097d077 in TApplication::Run(bool) () from /home/jnpandya/fairsoft/tools/root/lib/libCore.so.5.28
#49 0x0075c5d3 in TRint::Run(bool) () from /home/jnpandya/fairsoft/tools/root/lib/libRint.so.5.28
#50 0x08048d6f in main ()
===========================================================


The lines below might hint at the cause of the crash.
If they do not help you then please submit a bug report at
http://root.cern.ch/bugs. Please post the ENTIRE stack trace
from above as an attachment in addition to anything else
that might help us fixing this issue.
===========================================================
#10 0x05b2475b in TBranchElement::FindBranch(char const*) () from /home/jnpandya/fairsoft/tools/root/lib/libTree.so
#11 0x05b05778 in TTree::FindBranch(char const*) () from /home/jnpandya/fairsoft/tools/root/lib/libTree.so
#12 0x088ab245 in TTreeFormula::FindLeafForExpression(char const*, TLeaf*&, TString&, bool&, unsigned int&, TObjArray&, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&, bool&, char const*) () from /home/jnpandya/fairsoft/tools/root/lib/libTreePlayer.so
#13 0x088acced in TTreeFormula::DefinedVariable(TString&, int&) () from /home/jnpandya/fairsoft/tools/root/lib/libTreePlayer.so
#14 0x04a8871b in TFormula::Analyze(char const*, int&, int) () from /home/jnpandya/fairsoft/tools/root/lib/libHist.so
#15 0x04a8fc7e in TFormula::Compile(char const*) () from /home/jnpandya/fairsoft/tools/root/lib/libHist.so
#16 0x0889bbc6 in TTreeFormula::Init(char const*, char const*) () from /home/jnpandya/fairsoft/tools/root/lib/libTreePlayer.so
#17 0x088a9d7a in TTreeFormula::TTreeFormula(char const*, char const*, TTree*) () from /home/jnpandya/fairsoft/tools/root/lib/libTreePlayer.so
#18 0x088e932e in TSelectorDraw::CompileVariables(char const*, char const*) () from /home/jnpandya/fairsoft/tools/root/lib/libTreePlayer.so
#19 0x088e5661 in TSelectorDraw::Begin(TTree*) () from /home/jnpandya/fairsoft/tools/root/lib/libTreePlayer.so
#20 0x088cbc4e in TTreePlayer::Process(TSelector*, char const*, long long, long long) () from /home/jnpandya/fairsoft/tools/root/lib/libTreePlayer.so
#21 0x088cadc9 in TTreePlayer::DrawSelect(char const*, char const*, char const*, long long, long long) () from /home/jnpandya/fairsoft/tools/root/lib/libTreePlayer.so
#22 0x05b04b5d in TTree::Draw(char const*, char const*, char const*, long long, long long) () from /home/jnpandya/fairsoft/tools/root/lib/libTree.so
#23 0x05b05ba5 in TTree::Draw(char const*) () from /home/jnpandya/fairsoft/tools/root/lib/libTree.so
===========================================================



Please help to sort out the problem.

Thanks.
Re: Errors for root points_tpccombi.root [message #11538 is a reply to message #11537] Tue, 01 March 2011 12:09 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *to.infn.it
This means that your run_sim macro has crashed somehow, or has not properly closed the output file. Have you seen strange messages at the end of your simulation?
I would suggest to run it again.
Re: Errors for root points_tpccombi.root [message #11540 is a reply to message #11538] Tue, 01 March 2011 13:08 Go to previous messageGo to next message
J N Pandya is currently offline  J N Pandya
Messages: 11
Registered: February 2011
Location: Gujarat INDIA
occasional visitor
From: 117.254.188*
Hello Sir

Probably these are the lines you are asking for...


*************************************************************
initialisation for run id 429434632
*************************************************************
Error in <PndEmcGeoPar::init()>: PndEmcGeoPar not initialized
Error in <PndSensorNamePar::init()>: PndSensorNamePar not initialized
PndEmcDigiPar initialized from Ascii file
Error in <PndEmcDigiNonuniformityPar::init()>: PndEmcDigiNonuniformityPar not initialized
Error in <FairRuntimeDb::initContainers()>: Error occured during initialization
FairRunSim::Init() create visualisation manager

Thanks.
Re: Errors for root points_tpccombi.root [message #11541 is a reply to message #11540] Tue, 01 March 2011 13:12 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *to.infn.it
No,
I mean when you close root.
Have you tried to run again the simulation?
Re: Errors for root points_tpccombi.root [message #11542 is a reply to message #11541] Tue, 01 March 2011 13:28 Go to previous messageGo to next message
J N Pandya is currently offline  J N Pandya
Messages: 11
Registered: February 2011
Location: Gujarat INDIA
occasional visitor
From: 117.254.188*
When the "root run_sim_tbccombi.C" is finished, I am left with the following final lines:


**** GTRIGI: IEVENT= 10 IDEVT= 10 Random Seeds = 4357 0
-W FairPrimaryGenerator: PDG code 30443 not found in database. This warning can be savely ignored.
Warning in <TParticle::SetPdgCode>: PDG code 30443 unknown from TDatabasePDG
-I FairPrimaryGenerator: 6 primary tracks from vertex (0, 0, 0)Event Time = 0(ns)
-I- PndStack: Filling MCTrack array...
-I- PndStack: Number of primaries = 6
Total number of particles = 2259
Number of tracks in output = 931
-I- PndStack: Updating track indizes......stack and 13 collections updated.
DIGI EXECUTION *********************
RealTime=33.149602 seconds, CpuTime=32.970000 seconds
(int)54
root [1]

After that I close the root manually by pressing Ctrl+Z.

There is no other error message...
Re: Errors for root points_tpccombi.root [message #11543 is a reply to message #11542] Tue, 01 March 2011 13:35 Go to previous messageGo to next message
Florian Uhlig is currently offline  Florian Uhlig
Messages: 424
Registered: May 2007
first-grade participant
From: *gsi.de
Hi

Pressing CTRL+Z kills root. That's why you end up with a corrupted output file.
Please leave root by typing

.q

when the macro has finished.

Ciao

Florian
Re: Errors for root points_tpccombi.root [message #11544 is a reply to message #11542] Tue, 01 March 2011 13:36 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *to.infn.it
Hi,
CTRL+Z is not closing root, it is only breaking it and the output file is not closed.
In order to quit root, you have only to type ".q" in the root shell and press enter.
Re: Errors for root points_tpccombi.root [message #11545 is a reply to message #11543] Tue, 01 March 2011 13:40 Go to previous messageGo to next message
J N Pandya is currently offline  J N Pandya
Messages: 11
Registered: February 2011
Location: Gujarat INDIA
occasional visitor
From: 117.254.188*
YES.

It worked.

Thank You.
Re: Errors for root points_tpccombi.root [message #11546 is a reply to message #11544] Tue, 01 March 2011 13:41 Go to previous messageGo to next message
J N Pandya is currently offline  J N Pandya
Messages: 11
Registered: February 2011
Location: Gujarat INDIA
occasional visitor
From: 117.254.188*
Sure Sir

It worked.

Thanks for prompt help.
Re: Errors for root points_tpccombi.root [message #11547 is a reply to message #11546] Tue, 01 March 2011 13:47 Go to previous messageGo to next message
J N Pandya is currently offline  J N Pandya
Messages: 11
Registered: February 2011
Location: Gujarat INDIA
occasional visitor
From: 117.254.188*
Now, there is another crash when I run 'root eventDisplay.C' Following is the log:


root eventDisplay.C
*******************************************
* *
* W E L C O M E to R O O T *
* *
* Version 5.28/00 14 December 2010 *
* *
* You are welcome to visit our Web site *
* http://root.cern.ch *
* *
*******************************************

ROOT 5.28/00 (tags/v5-28-00@37603, Feb 27 2011, 13:45:00 on linux)

CINT/ROOT C/C++ Interpreter version 5.18.00, July 2, 2010
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
root [0]
Processing eventDisplay.C...
- RTDB container factory FairBaseContFact
- RTDB container factory PndSensorNameContFact
- RTDB container factory PndFieldContFact
- RTDB container factory PndPassiveContFact
*********************************************************
* The Pluto event generator
* Developed by HADES and all contributing AUTHORS
* www-hades.gsi.de/computing/pluto/html/PlutoIndex.html
* Version: 5.37
* Compiled on 27 February 2011
*********************************************************
- RTDB container factory PndEmcContFact
Warning in <TClassTable::Add>: class PndTpcSample already in TClassTable
Warning in <TClassTable::Add>: class PndTpcSignal already in TClassTable
Warning in <TClassTable::Add>: class PndTpcDigi already in TClassTable
Warning in <TClassTable::Add>: class McId already in TClassTable
Warning in <TClassTable::Add>: class McIdCollection already in TClassTable
Warning in <TClassTable::Add>: class PndTpcCluster already in TClassTable
- RTDB container factory PndTpcContFact
- RTDB container factory PndSttContFact
- RTDB container factory PndMvdContFact
- RTDB container factory PndGemContFact
- RTDB container factory PndTofContFact
- RTDB container factory PndDrcContFact
- RTDB container factory PndMdtContFact
- RTDB container factory PndDchContFact
- RTDB container factory PndRpcContFact
- RTDB container factory PndLumiContFact
- RTDB container factory PndPidContFact
-I- FairRunAna: Opening Input file: points_tpccombi.root
-I- FairRunAna Input file: points_tpccombi.root is connected to friend: digi_tpccombi.root
-I- FairRunAna Input file: points_tpccombi.root is connected to friend: reco_tpccombi.root

-I- FairRunAna::Init :
Error in <TFile::TFile>: file digi_tpccombi.root does not exist
points_tpccombi.root is connected with: digi_tpccombi.root-E- FairRootManager: Error opening friend file

What to do now?

Please pardon me if I am bothering you for probably very primary problems.
Re: Errors for root points_tpccombi.root [message #11548 is a reply to message #11547] Tue, 01 March 2011 14:43 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *to.infn.it
That version of the event display should run after run_digi and run_reco.
If you want only to check the output from simulation, you should comment out from that macro all the parts calling for digi and reco.
Re: Errors for root points_tpccombi.root [message #11549 is a reply to message #11548] Tue, 01 March 2011 14:54 Go to previous message
J N Pandya is currently offline  J N Pandya
Messages: 11
Registered: February 2011
Location: Gujarat INDIA
occasional visitor
From: 117.254.188*
Ok.

I will try the same.

Thanks again.
Previous Topic: Error with Installation of external packages
Next Topic: New externals for FairRoot are now available (feb11)
Goto Forum:
  


Current Time: Wed Dec 04 11:45:40 CET 2024

Total time taken to generate the page: 0.00862 seconds