GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » [FIXED] crash in run/reco_complete.C
[FIXED] crash in run/reco_complete.C [message #15788] Wed, 15 January 2014 09:47 Go to next message
Maria Patsyuk is currently offline  Maria Patsyuk
Messages: 58
Registered: April 2010
continuous participant
From: *gsi.de
Dear all,

after successful run of sim_complete.C with Geant3, and digi_complete.C with commented out GEM task I'm getting a crash with reco_complete.C. To remind you, I don't use all the detectors, there are no magnet, GEM, EMC, SciTil, MDT, FTS, FTOF, RICH in my simulation. The error looks like this:

root -l reco_complete.C
root [0]
Processing reco_complete.C...
FairRootManager::OpenOutFile("reco_complete_new.root")
Info in (PndGeoHandling::Instance): Making a new instance using the framework.
fRun->Init()
[INFO ] The input consists out of the following trees and files:
[INFO ] - cbmsim
[INFO ] - sim_complete_new.root
[INFO ] - FriendTree_1
[INFO ] - digi_complete_new.root
[INFO ] Parameter and input file are available, Assure that basic info is there for the run!
[INFO ] The number of entries in chain is 100000

*************************************************************
initialisation for run id 1389607814
*************************************************************
-I- FairRunTimeDB::InitContainer() FairBaseParSet
[ERROR ] init() FairBaseParSet not initialized
Error in <FairRuntimeDb::initContainers()>: Error occured during initialization
-I container name PndGeoSttPar
Fatal in <PndGeoHandling::PndGeoHandling>: No gGeoManager found.
aborting
#0 0x00007fb8625b583e in __libc_waitpid (pid=<optimized out>, stat_loc=0x7fff5b07941c, options=<optimized out>) at ../sysdeps/unix/sysv/linux/waitpid.c:32
#1 0x00007fb8625532c9 in do_system (line=<optimized out>) at ../sysdeps/posix/system.c:149
#2 0x00007fb863548f06 in TUnixSystem::Exec (this=0x23c7430, shellcmd=0xa9696d0 "/d/panda01/mpatsyuk/apr13/apr13/etc/gdb-backtrace.sh 14212 1>&2") at /d/panda01/mpatsyuk/apr13/tools/root/core/unix/src/TUnixSystem.cxx:2088
#3 0x00007fb8635497d4 in TUnixSystem::StackTrace (this=0x23c7430) at /d/panda01/mpatsyuk/apr13/tools/root/core/unix/src/TUnixSystem.cxx:2336
#4 0x00007fb86343951e in DefaultErrorHandler (level=6000, abort_bool=true, location=0x7fb863d18216 "PndGeoHandling::PndGeoHandling", msg=0xa967ca0 "No gGeoManager found.") at /d/panda01/mpatsyuk/apr13/tools/root/core/base/src/TError.cxx:188
#5 0x00007fb86343982a in ErrorHandler(Int_t, const char *, const char *, typedef __va_list_tag __va_list_tag *) (level=6000, location=0x7fb863d18216 "PndGeoHandling::PndGeoHandling", fmt=0x7fb85788abce "No gGeoManager found.", ap=0x7fff5b07b8c0) at /d/panda01/mpatsyuk/apr13/tools/root/core/base/src/TError.cxx:244
#6 0x00007fb863453e03 in TObject::DoError (this=0x34a11c0, level=6000, location=0x7fb85788ab17 "PndGeoHandling", fmt=0x7fb85788abce "No gGeoManager found.", va=0x7fff5b07b8c0) at /d/panda01/mpatsyuk/apr13/tools/root/core/base/src/TObject.cxx:861
#7 0x00007fb863454317 in TObject::Fatal (this=0x34a11c0, location=0x7fb85788ab17 "PndGeoHandling", fmt=0x7fb85788abce "No gGeoManager found.") at /d/panda01/mpatsyuk/apr13/tools/root/core/base/src/TObject.cxx:926
#8 0x00007fb857858865 in PndGeoHandling::SetParContainers (this=0x34a11c0) at /u/mpatsyuk/PANDA/new_trunk/PndTools/generalTools/PndGeoHandling.cxx:74
#9 0x00007fb8584dfcf2 in FairTask::SetParTask (this=0x34a11c0) at /u/mpatsyuk/PANDA/new_trunk/base/steer/FairTask.cxx:78
#10 0x00007fb8584dfffc in FairTask::SetParTasks (this=0x2f3f900) at /u/mpatsyuk/PANDA/new_trunk/base/steer/FairTask.cxx:142
#11 0x00007fb8584dfcfe in FairTask::SetParTask (this=0x2f3f900) at /u/mpatsyuk/PANDA/new_trunk/base/steer/FairTask.cxx:79
#12 0x00007fb8584d6279 in FairRunAna::Init (this=0x2f3f700) at /u/mpatsyuk/PANDA/new_trunk/base/steer/FairRunAna.cxx:230
#13 0x00007fb85854041a in G__G__BaseDict_618_0_5 (result7=0x7fff5b087660, funcname=0x2f1a210 "", libp=0x7fff5b07cc50, hash=0) at /u/mpatsyuk/PANDA/build_Squeeze64_Apr2013/base/G__BaseDict.cxx:8410
#14 0x00007fb861948ecc in Cint::G__ExceptionWrapper (funcp=0x7fb8585403ec <G__G__BaseDict_618_0_5(G__value*, char const*, G__param*, int)>, result7=0x7fff5b087660, funcname=0x2f1a210 "", libp=0x7fff5b07cc50, hash=0) at cint/cint/src/Api.cxx:393
#15 0x00007fb861a256e5 in G__execute_call (result7=0x7fff5b087660, libp=0x7fff5b07cc50, ifunc=0x2f1a210, ifn=0) at cint/cint/src/newlink.cxx:2408
#16 0x00007fb861a26098 in G__call_cppfunc (result7=0x7fff5b087660, libp=0x7fff5b07cc50, ifunc=0x2f1a210, ifn=0) at cint/cint/src/newlink.cxx:2612
#17 0x00007fb8619fea6b in G__interpret_func (result7=0x7fff5b087660, funcname=0x2b12e80 "Init", libp=0x7fff5b07cc50, hash=404, p_ifunc=0x2f1a210, funcmatch=1, memfunc_flag=1) at cint/cint/src/ifunc.cxx:5791
#18 0x00007fb8619d7a79 in G__getfunction (item=0x23e7ac6 "Init()", known3=0x7fff5b088908, memfunc_flag=1) at cint/cint/src/func.cxx:2660
#19 0x00007fb861b168fd in G__getstructmem (store_var_type=112, varname=..., membername=0x23e7ac6 "Init()", memnamesize=2147483647, tagname=0x2b12250 "fRun", known2=0x7fff5b088908, varglobal=0x7fb861de1160, objptr=2) at cint/cint/src/var.cxx:6818
#20 0x00007fb861b061db in G__getvariable (item=0x23e7ac0 "fRun->Init()", known=0x7fff5b088908, varglobal=0x7fb861de1160, varlocal=0x7fff5b08bba0) at cint/cint/src/var.cxx:5404
#21 0x00007fb8619c6788 in G__getitem (item=0x23e7ac0 "fRun->Init()") at cint/cint/src/expr.cxx:1906
#22 0x00007fb8619c3f37 in G__getexpr (expression=0x24029f0 "fRun->Init()") at cint/cint/src/expr.cxx:1488
#23 0x00007fb861a592ab in G__exec_function (statement=..., pc=0x7fff5b08b27c, piout=0x7fff5b08b278, plargestep=0x7fff5b08b270, presult=0x7fff5b08b1a0) at cint/cint/src/parse.cxx:645
#24 0x00007fb861a6a28c in G__exec_statement (mparen=0x7fff5b08beac) at cint/cint/src/parse.cxx:7371
#25 0x00007fb861a0211d in G__interpret_func (result7=0x7fff5b096c90, funcname=0x23da050 "reco_complete", libp=0x7fff5b08c280, hash=1377, p_ifunc=0x2ae5d50, funcmatch=1, memfunc_flag=0) at cint/cint/src/ifunc.cxx:6710
#26 0x00007fb8619d883d in G__getfunction (item=0x23d9830 "reco_complete()", known3=0x7fff5b096f58, memfunc_flag=0) at cint/cint/src/func.cxx:2901
#27 0x00007fb8619c68a8 in G__getitem (item=0x23d9830 "reco_complete()") at cint/cint/src/expr.cxx:1918
#28 0x00007fb8619c3f37 in G__getexpr (expression=0x2bcc340 "reco_complete()") at cint/cint/src/expr.cxx:1488
#29 0x00007fb8619b073b in G__calc_internal (exprwithspace=0x23db8a0 "reco_complete()") at cint/cint/src/expr.cxx:1071
#30 0x00007fb861a752a9 in G__process_cmd (line=0x2bcb710 ".X /SAT/lustre/panda/mpatsyuk/pandaroot/trunk/macro/run1/./reco_complete.C", prompt=0x23cb0b8 "", more=0x23cb0b0, err=0x7fff5b09a96c, rslt=0x7fff5b09a900) at cint/cint/src/pause.cxx:2333
#31 0x00007fb8634f03f2 in TCint::ProcessLine (this=0x23cb070, line=0x2bcb710 ".X /SAT/lustre/panda/mpatsyuk/pandaroot/trunk/macro/run1/./reco_complete.C", error=0x7fff5b09d794) at /d/panda01/mpatsyuk/apr13/tools/root/core/meta/src/TCint.cxx:545
#32 0x00007fb8634f0a84 in TCint::ProcessLineSynch (this=0x23cb070, line=0x2bcb710 ".X /SAT/lustre/panda/mpatsyuk/pandaroot/trunk/macro/run1/./reco_complete.C", error=0x7fff5b09d794) at /d/panda01/mpatsyuk/apr13/tools/root/core/meta/src/TCint.cxx:624
#33 0x00007fb863414fe1 in TApplication::ExecuteFile (file=0x7fff5b09b733 "reco_complete.C", error=0x7fff5b09d794, keep=false) at /d/panda01/mpatsyuk/apr13/tools/root/core/base/src/TApplication.cxx:1028
#34 0x00007fb863414856 in TApplication::ProcessFile (this=0x2513580, file=0x7fff5b09b733 "reco_complete.C", error=0x7fff5b09d794, keep=false) at /d/panda01/mpatsyuk/apr13/tools/root/core/base/src/TApplication.cxx:904
#35 0x00007fb863414773 in TApplication::ProcessLine (this=0x2513580, line=0x7fff5b09b730 ".x reco_complete.C", sync=false, err=0x7fff5b09d794) at /d/panda01/mpatsyuk/apr13/tools/root/core/base/src/TApplication.cxx:877
#36 0x00007fb862fd248c in TRint::Run (this=0x2513580, retrn=false) at /d/panda01/mpatsyuk/apr13/tools/root/core/rint/src/TRint.cxx:418
#37 0x0000000000401322 in main (argc=1, argv=0x7fff5b09d948) at /d/panda01/mpatsyuk/apr13/tools/root/main/src/rmain.cxx:29

Could you please help me about it?

Best regards,
Maria

[Updated on: Fri, 07 February 2014 19:52] by Moderator

Report message to a moderator

Re: crash in run/reco_complete.C [message #15790 is a reply to message #15788] Thu, 16 January 2014 10:29 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
Strange that the gGeoManager is not found, have you properly set the parameter root file? It should be stored there.
Can you upload your sim/digi/reco macros?

Re: crash in run/reco_complete.C [message #15791 is a reply to message #15788] Thu, 16 January 2014 11:40 Go to previous messageGo to next message
Jifeng Hu is currently offline  Jifeng Hu
Messages: 31
Registered: October 2012
continuous participant
From: *wlan.uni-giessen.de
no crash for me.

So please report your sub-version of panda root, and more related information in your testing.
Re: crash in run/reco_complete.C [message #15792 is a reply to message #15788] Thu, 16 January 2014 14:21 Go to previous message
Stefan Pflueger is currently offline  Stefan Pflueger
Messages: 99
Registered: February 2012
continuous participant
From: *kph.uni-mainz.de
Hi,

Same here. Worked fine. Maybe rerun everything from scratch and check that nothing additional is changed.

Stefan

[Updated on: Thu, 16 January 2014 14:21]

Report message to a moderator

Previous Topic: A bug in FairRootManager
Next Topic: [FIXED] TGeant4 Error with pbarpSystem
Goto Forum:
  


Current Time: Fri Nov 08 13:42:10 CET 2024

Total time taken to generate the page: 0.00891 seconds