GSI Helmholtzzentrum für Schwerionenforschung
Problem in running Lumi macro in 32bit machine
Hi I am using the ssd code and macro's from https://subversion.gsi.de/fairroot/pandaroot/development/mitchel for the Lumi monitor and got following error in running the macro runLumi0SimBox.C in 32 bit machine. Can anybody help? thanking you, Dipanwita ------------------------------------ ============== FairRunSim: Initialising simulation run ============== Info in <TGeoManager::TGeoManager>: Geometry FAIRGeom, FAIR geometry created -I- FairGeoMedia Read media FairRunSim::Init() create visualisation manager -I- PndFieldMap: Reading field map from ROOT file /home/dipa/trunk_new/input/SolenoidMap1.root -I- PndFieldMap: Reading field map from ROOT file /home/dipa/trunk_new/input/SolenoidMap2.root -I- PndFieldMap: Reading field map from ROOT file /home/dipa/trunk_new/input/SolenoidMap3.root -I- PndFieldMap: Reading field map from ROOT file /home/dipa/trunk_new/input/SolenoidMap4.root create PndFieldPar container PndMultiFieldPar create PndFieldPar container PndSolenoid1Par create PndFieldPar container PndSolenoid2Par create PndFieldPar container PndSolenoid3Par create PndFieldPar container PndSolenoid4Par Loading Geant4 libraries ... Loading VGM libraries ... Loading G4root library ... Loading geant4vmc library ... *** Break *** segmentation violation =========================================================== There was a crash (kSigSegmentationViolation). This is the entire stack trace of all threads: =========================================================== #0 0x00b877a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #1 0x03328f13 in __waitpid_nocancel () from /lib/tls/libc.so.6 #2 0x032d27b9 in do_system () from /lib/tls/libc.so.6 #3 0x0036498d in system () from /lib/tls/libpthread.so.0 #4 0x00609aa0 in TUnixSystem::Exec (this=0x8994770, shellcmd=0x9755f20 "/home/dipa/fairsoft/tools/root/etc/gdb-backtrace.sh 8997 1>&2") at core/unix/src/TUnixSystem.cxx:1978 #5 0x0060a290 in TUnixSystem::StackTrace (this=0x8994770) at core/unix/src/TUnixSystem.cxx:2188 #6 0x00607d0f in TUnixSystem::DispatchSignals (this=0x8994770, sig=kSigSegmentationViolation) at core/unix/src/TUnixSystem.cxx:1106 #7 0x00605b25 in SigHandler (sig=kSigSegmentationViolation) at core/unix/src/TUnixSystem.cxx:350 #8 0x0060d29e in sighandler (sig=11) at core/unix/src/TUnixSystem.cxx:3428 #9 <signal handler called> #10 0x020aa81f in FairModule::ConstructRootGeometry (this=0x91c4dc0) at /home/dipa/trunk_new/base/FairModule.cxx:265 #11 0x05f68535 in PndMagnet::ConstructGeometry (this=0x91c4dc0) at /home/dipa/trunk_new/passive/PndMagnet.cxx:33 #12 0x020a4ecb in FairMCApplication::ConstructGeometry (this=0x92590f0) at /home/dipa/trunk_new/base/FairMCApplication.cxx:547 #13 0xb469090c in TG4RunManager::ConfigureRunManager (this=0x9459250) at run/src/TG4RunManager.cxx:207 #14 0xb46902c6 in TG4RunManager (this=0x9459250, runConfiguration=0x93fa4e0) at run/src/TG4RunManager.cxx:153 #15 0xb4694680 in TGeant4 (this=0x9417578, name=0x918f7fc "TGeant4", title=0x9364504 "The Geant4 Monte Carlo", configuration=0x93fa4e0) at run/src/TGeant4.cxx:148 #16 0xb46a3b7e in G__geant4Cint_199_0_2 (result7=0xbff6e140, funcname=0x9364ca0 "\001", libp=0xbff63ad0, hash=0) at /home/dipa/fairsoft/transport/geant4_vmc/source/../tmp/tgt_linux/geant4C int.cxx:493 #17 0x00c0f6a3 in Cint::G__ExceptionWrapper ( funcp=0xb46a3ac0 <G__geant4Cint_199_0_2>, result7=0xbff6e140, funcname=0x9364ca0 "\001", libp=0xbff63ad0, hash=0) at cint/cint/src/Api.cxx:385 #18 0x00cc31a8 in G__execute_call (result7=0xbff6e140, libp=0xbff63ad0, ifunc=0x9364ca0, ifn=0) at cint/cint/src/newlink.cxx:2332 #19 0x00cc38c8 in G__call_cppfunc (result7=0xbff6e140, libp=0xbff63ad0, ifunc=0x9364ca0, ifn=0) at cint/cint/src/newlink.cxx:2518 #20 0x00ca1957 in G__interpret_func (result7=0xbff6e140, funcname=0x8cc5ab0 "TGeant4", libp=0xbff63ad0, hash=631, p_ifunc=0x9364ca0, funcmatch=1, memfunc_flag=3) at cint/cint/src/ifunc.cxx:5240 #21 0x00c86a14 in G__getfunction ( item=0x8c2afe0 "TGeant4(\"TGeant4\",\"The Geant4 Monte Carlo\",runConfiguration)", known3=0xbff78910, memfunc_flag=3) at cint/cint/src/func.cxx:2423 #22 0x00cc0b3a in G__new_operator (expression=0x8c2a2bc "TGeant4") at cint/cint/src/new.cxx:410 #23 0x00c69bb0 in G__getexpr (expression=0x8c2a2b8 "new TGeant4") at cint/cint/src/expr.cxx:1189 #24 0x00c5b323 in G__define_var (tagnum=4589, typenum=-1) at cint/cint/src/decl.cxx:2555 #25 0x00cf39bc in G__defined_type (type_name= 0xbff7ae80, len=7) at cint/cint/src/parse.cxx:4487 #26 0x00cf92fd in G__exec_statement (mparen=0xbff7b38c) at cint/cint/src/parse.cxx:6480 #27 0x00ca45ef in G__interpret_func (result7=0xbff86070, funcname=0x8cb2130 "Config", libp=0xbff7ba00, hash=598, p_ifunc=0x933cfc0, funcmatch=1, memfunc_flag=0) at cint/cint/src/ifunc.cxx:6079 #28 0x00c874cc in G__getfunction (item=0x8cb1920 "Config()", known3=0xbff861ac, memfunc_flag=0) at cint/cint/src/func.cxx:2639 #29 0x00c7955f in G__getitem (item=0x8cb1920 "Config()") at cint/cint/src/expr.cxx:1894 #30 0x00c7785b in G__getexpr (expression=0x88f3fe8 "Config()") at cint/cint/src/expr.cxx:1464 #31 0x00cecf4a in G__exec_function (statement= 0xbff88490, pc=0xbff884cc, piout=0xbff884c4, plargestep=0xbff884b4, presult=0xbff88460) at cint/cint/src/parse.cxx:643 #32 0x00cfae06 in G__exec_statement (mparen=0xbff88530) at cint/cint/src/parse.cxx:7083 #33 0x00c5123c in G__exec_tempfile_core (file=0x0, fp=0x933d230) at cint/cint/src/debug.cxx:250 #34 0x00c528b6 in G__exec_tempfile_fp (fp=0x933d230) at cint/cint/src/debug.cxx:791 #35 0x00d088c9 in G__process_cmd (line=0x93f8078 "Config()", prompt=0x89978f4 "", more=0x89978ec, err=0xbff9074c, rslt=0xbff90750) at cint/cint/src/pause.cxx:3280 #36 0x005f3fd6 in TCint::ProcessLine (this=0x89978d0, line=0x93f8078 "Config()", error=0x0) at core/meta/src/TCint.cxx:419 #37 0x004f2e63 in TApplication::ProcessLine (this=0x89c5168, line=0x93f8078 "Config()", sync=false, err=0x0) at core/base/src/TApplication.cxx:845 #38 0x0054f3a0 in TROOT::ProcessLine (this=0xa55640, line=0x2118130 "Config()", error=0x0) at core/base/src/TROOT.cxx:1558 #39 0x020bd99d in FairRunSim::SetMCConfig (this=0x89f4568) at /home/dipa/trunk_new/base/FairRunSim.cxx:355 #40 0x020bb9a1 in FairRunSim::Init (this=0x89f4568) at /home/dipa/trunk_new/base/FairRunSim.cxx:165 #41 0x020f0c7c in G__FairDict_669_0_4 (result7=0xbff9bd60, funcname=0x89ee630 "\001", libp=0xbff916f0, hash=0) at /home/dipa/trunk_new/buildPanda/base/FairDict.cxx:9084 #42 0x00c0f6a3 in Cint::G__ExceptionWrapper ( funcp=0x20f0c4e <G__FairDict_669_0_4>, result7=0xbff9bd60, funcname=0x89ee630 "\001", libp=0xbff916f0, hash=0) at cint/cint/src/Api.cxx:385 #43 0x00cc31a8 in G__execute_call (result7=0xbff9bd60, libp=0xbff916f0, ifunc=0x89ee630, ifn=0) at cint/cint/src/newlink.cxx:2332 #44 0x00cc38c8 in G__call_cppfunc (result7=0xbff9bd60, libp=0xbff916f0, ifunc=0x89ee630, ifn=0) at cint/cint/src/newlink.cxx:2518 #45 0x00ca1957 in G__interpret_func (result7=0xbff9bd60, funcname=0x89eb4e0 "Init", libp=0xbff916f0, hash=404, p_ifunc=0x89ee630, funcmatch=1, memfunc_flag=1) at cint/cint/src/ifunc.cxx:5240 #46 0x00c86a14 in G__getfunction (item=0x89ea0be "Init()", known3=0xbff9efcc, memfunc_flag=1) at cint/cint/src/func.cxx:2423 #47 0x00d8a262 in G__getstructmem (store_var_type=112, varname=0x89eacd0 "operator<<", membername=0x89ea0be "Init()", tagname=0x89ea8c8 "fRun", known2=0xbff9efcc, varglobal=0xe40540, objptr=2) at cint/cint/src/var.cxx:6591 #48 0x00d7dece in G__getvariable (item=0x89ea0b8 "fRun->Init()", known=0xbff9efcc, varglobal=0xe40540, varlocal=0xbffa1c20) at cint/cint/src/var.cxx:5222 #49 0x00c794c8 in G__getitem (item=0x89ea0b8 "fRun->Init()") at cint/cint/src/expr.cxx:1882 #50 0x00c7785b in G__getexpr (expression=0x88ed590 "fRun->Init()") at cint/cint/src/expr.cxx:1464 #51 0x00cecf4a in G__exec_function (statement= 0xbffa12b0, pc=0xbffa12ec, piout=0xbffa12e4, plargestep=0xbffa12d4, presult=0xbffa1280) at cint/cint/src/parse.cxx:643 #52 0x00cfae06 in G__exec_statement (mparen=0xbffa17bc) at cint/cint/src/parse.cxx:7083 #53 0x00ca45ef in G__interpret_func (result7=0xbffac4a0, funcname=0x8915220 "runLumi0SimBox", libp=0xbffa1e30, hash=1390, p_ifunc=0x8c458e8, funcmatch=1, memfunc_flag=0) at cint/cint/src/ifunc.cxx:6079 #54 0x00c874cc in G__getfunction (item=0x88f4bf8 "runLumi0SimBox()", known3=0xbffac5dc, memfunc_flag=0) at cint/cint/src/func.cxx:2639 #55 0x00c7955f in G__getitem (item=0x88f4bf8 "runLumi0SimBox()") at cint/cint/src/expr.cxx:1894 #56 0x00c7785b in G__getexpr (expression=0x8c6a508 "runLumi0SimBox()") at cint/cint/src/expr.cxx:1464 #57 0x00c6964c in G__calc_internal (exprwithspace=0x88ea1d8 "runLumi0SimBox()") at cint/cint/src/expr.cxx:1066 #58 0x00d04280 in G__process_cmd ( line=0x89c7730 ".X /home/dipa/fairsoft/tools/root/etc/plugins/TVirtualStreamerInfo/P010_TSt reamerInfo.C ", prompt=0x89978f4 "", more=0x89978ec, err=0xbffaf80c, rslt=0xbffaf810) at cint/cint/src/pause.cxx:2277 #59 0x005f3fd6 in TCint::ProcessLine (this=0x89978d0, line=0x89c7730 ".X /home/dipa/fairsoft/tools/root/etc/plugins/TVirtualStreamerInfo/P010_TSt reamerInfo.C ", error=0xbffb2444) at core/meta/src/TCint.cxx:419 #60 0x005f43ab in TCint::ProcessLineSynch (this=0x89978d0, line=0x89c7730 ".X /home/dipa/fairsoft/tools/root/etc/plugins/TVirtualStreamerInfo/P010_TSt reamerInfo.C ", error=0xbffb2444) at core/meta/src/TCint.cxx:486 #61 0x004f37d9 in TApplication::ExecuteFile ( file=0xbffb03e3 "runLumi0SimBox.C", error=0xbffb2444, keep=false) at core/base/src/TApplication.cxx:977 #62 0x004f2ed0 in TApplication::ProcessFile (this=0x89c5168, file=0xbffb03e3 "runLumi0SimBox.C", error=0xbffb2444, keep=false) at core/base/src/TApplication.cxx:853 #63 0x004f2dc7 in TApplication::ProcessLine (this=0x89c5168, line=0xbffb03e0 ".x runLumi0SimBox.C", sync=false, err=0xbffb2444) at core/base/src/TApplication.cxx:826 #64 0x00309100 in TRint::Run (this=0x89c5168, retrn=false) at core/rint/src/TRint.cxx:407 #65 0x08048df7 in main (argc=1, argv=0xbffb2524) at main/src/rmain.cxx:29 =========================================================== 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 0x020aa81f in FairModule::ConstructRootGeometry (this=0x91c4dc0) at /home/dipa/trunk_new/base/FairModule.cxx:265 #11 0x05f68535 in PndMagnet::ConstructGeometry (this=0x91c4dc0) at /home/dipa/trunk_new/passive/PndMagnet.cxx:33 #12 0x020a4ecb in FairMCApplication::ConstructGeometry (this=0x92590f0) at /home/dipa/trunk_new/base/FairMCApplication.cxx:547 #13 0xb469090c in TG4RunManager::ConfigureRunManager (this=0x9459250) at run/src/TG4RunManager.cxx:207 #14 0xb46902c6 in TG4RunManager (this=0x9459250, runConfiguration=0x93fa4e0) at run/src/TG4RunManager.cxx:153 #15 0xb4694680 in TGeant4 (this=0x9417578, name=0x918f7fc "TGeant4", title=0x9364504 "The Geant4 Monte Carlo", configuration=0x93fa4e0) at run/src/TGeant4.cxx:148 =========================================================== Root > Function runLumi0SimBox() busy flag cleared Function Config() busy flag cleared
Re: Problem in running Lumi macro in 32bit machine
It seems the magnet is crashing. Maybe some overlap? Could you please try to comment out the magnet, and to see if it continues to crash or not? However, the magnet geometry you are using is obsolete.