GSI Helmholtzzentrum für Schwerionenforschung
Problems with PandaRootCharmoniumTutorial
Hi, After PandaRoot installation I tried as a first step to run the PandaRootCharmoniumTutorial. I am getting the following error messages both with the trunk and the stable version. After root run_sim_tpccombi.C I immediately get: dlopen error: /home/kph446/fairroot/build_stable/lib/libRho.so: undefined symbol: _ZN19VAbsVertexAlgorithm15theDefaultAlgIdE Load Error: Failed to load Dynamic link library /home/kph446/fairroot/build_stable/lib/libRho.so (int)(-1) *** Interpreter error recovered *** Then, after a work-around by Tobias (modification of rho/Rho_LinkDef.h and rho/CMakeLists.txt): and after root run_sim_tpccombi.C root run_digi_tpccombi.C root run_reco_tpccombi.C root run_pid_tpccombi.C root run_ana_tpccombi.C crashes with: TRho::GetPDG: Instantiating TDatabasePDG from /home/kph446/fairroot/pandaroot_stable/rho/RhoParameters/PDT/evt.pdl Error in <TTree::SetBranchStatus>: unknown branch -> PidChargedProbability Error in <TTree::SetBranchStatus>: unknown branch -> PidNeutralProbability Error in <TTree::SetBranchStatus>: unknown branch -> PndMcTracks Error in <TTree::SetBranchStatus>: unknown branch -> PndEventSummary *** Break *** segmentation violation =========================================================== There was a crash. This is the entire stack trace of all threads: =========================================================== #0 0x00007f1cb879c5e5 in waitpid () from /lib64/libc.so.6 #1 0x00007f1cb8738861 in ?? () from /lib64/libc.so.6 #2 0x00007f1cba7fd1a2 in TUnixSystem::StackTrace() () from /private/fairsoft/tools/root/lib/libCore.so.5.27 #3 0x00007f1cba7fdc6c in TUnixSystem::DispatchSignals(ESignals) () from /private/fairsoft/tools/root/lib/libCore.so.5.27 #4 <signal handler called> #5 0x00007f1cb9183b78 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string() () from /usr/lib64/libstdc++.so.6 #6 0x00007f1cba9be5f0 in G__G__Base2_53_0_80(G__value*, char const*, G__param*, int) () from /private/fairsoft/tools/root/lib/libCore.so.5.27 #7 0x00007f1cb9c4bdc4 in Cint::G__ExceptionWrapper(int (*)(G__value*, char const*, G__param*, int), G__value*, char*, G__param*, int) () from /private/fairsoft/tools/root/lib/libCint.so.5.27 #8 0x00007f1cb9c6f22d in G__exec_asm () from /private/fairsoft/tools/root/lib/libCint.so.5.27 #9 0x00007f1cb9d3940b in G__exec_loop(char const*, char*, std::list<G__FastAllocString, std::allocator<G__FastAllocString> > const&) () from /private/fairsoft/tools/root/lib/libCint.so.5.27 #10 0x00007f1cb9d2e323 in G__exec_statement () from /private/fairsoft/tools/root/lib/libCint.so.5.27 #11 0x00007f1cb9ce4267 in G__interpret_func () from /private/fairsoft/tools/root/lib/libCint.so.5.27 #12 0x00007f1cb9cd08ae in G__getfunction () from /private/fairsoft/tools/root/lib/libCint.so.5.27 #13 0x00007f1cb9ca3c0a in G__getitem () from /private/fairsoft/tools/root/lib/libCint.so.5.27 #14 0x00007f1cb9ca7f84 in G__getexpr () from /private/fairsoft/tools/root/lib/libCint.so.5.27 #15 0x00007f1cb9cb5c84 in G__calc_internal () from /private/fairsoft/tools/root/lib/libCint.so.5.27 #16 0x00007f1cb9d4047e in G__process_cmd () from /private/fairsoft/tools/root/lib/libCint.so.5.27 #17 0x00007f1cba7bf1a5 in TCint::ProcessLine(char const*, TInterpreter::EErrorCode*) () from /private/fairsoft/tools/root/lib/libCore.so.5.27 #18 0x00007f1cba7bbaf3 in TCint::ProcessLineSynch(char const*, TInterpreter::EErrorCode*) () from /private/fairsoft/tools/root/lib/libCore.so.5.27 #19 0x00007f1cba71b479 in TApplication::ExecuteFile(char const*, int*, bool) () from /private/fairsoft/tools/root/lib/libCore.so.5.27 #20 0x00007f1cba7191b3 in TApplication::ProcessLine(char const*, bool, int*) () from /private/fairsoft/tools/root/lib/libCore.so.5.27 #21 0x00007f1cb9601ec3 in TRint::Run(bool) () from /private/fairsoft/tools/root/lib/libRint.so.5.27 #22 0x00000000004011ed 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. =========================================================== #5 0x00007f1cb9183b78 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string() () from /usr/lib64/libstdc++.so.6 =========================================================== Root > Function run_ana_tpccombi() busy flag cleared --- Can someone help?
Re: Problems with PandaRootCharmoniumTutorial
Hi Albrecht, I just tried with a freshly compiled /trunk (rev. 10205) and it works fine (at least on SL5). By the way, this error can be ignored. Error in <TTree::SetBranchStatus>: unknown branch -> PidChargedProbability Error in <TTree::SetBranchStatus>: unknown branch -> PidNeutralProbability Error in <TTree::SetBranchStatus>: unknown branch -> PndMcTracks Error in <TTree::SetBranchStatus>: unknown branch -> PndEventSummary It comes from the PndEventReader, i.e. it checks which branches are there and which are not, and as far as I understand from Klaus there is no easy way to do this without generating an error. But if the branches are not found, it is no problem (in other words, the macro is not trying to access these branches). Anyway, which system are using? (maybe the PndEventReader has a problem with 64 bit) cheers, Soeren
Hi, I have tried to run 500 events at GSI, using lenny 64bit machines, and I had no problems. Probably your crash is connected to the "trunk" external packages that you are using, and not the standard "jan10" ones (or at least this seems to us after a discussion on your problem at the EVO meeting of this morning).
another check. fresh op system, fresh external packages, fresh pandaroot trunk. trunk rev. 10249 on suse 11.2 with jan10 external packages (just re-compiled from the tar file distribution) so root 5.26 (AMD64, but only 32 bit installation this time). -> also fine!! this means: with one scientific linux, debian and suse positive report, it probably seems the best option for a tutorial (at least no urgent indication to flag it "infunctional" in the wiki).
Thanks. After installing & using the jan10 external packages the problem is gone.