GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » crash in running macro/global/sim_theta.C
crash in running macro/global/sim_theta.C [message #10802] Tue, 15 June 2010 15:37 Go to next message
Anonymous Poster From: *cern.ch
Hi,

running global_sim_theta.C I get the following crash (seems to have to do with the field and happens in the macro line fRun->Init()):

root [0]
Processing sim_theta.C(1000,13,5.,3)...
- RTDB container factory FairBaseContFact
- RTDB container factory PndSensorNameContFact
- RTDB container factory PndFieldContFact
- RTDB container factory PndPassiveContFact

PSaid instance created... access via gSaid->f()

- RTDB container factory PndEmcContFact
- 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 PndLheContFact
- RTDB container factory PndRpcContFact
- RTDB container factory PndLumiContFact
- RTDB container factory PndPidContFact
-I- FairRun::SetMaterials() Media file used: /home/hoeppi/trunkNew/geometry/media_pnd.geo
Info in (PndGeoHandling::Instance): No Instance created, yet. Making a new one using the framework.
---> _new_ Forward End-Cap has been used: /home/hoeppi/trunkNew/geometry/emc_module3new.root

============== FairRunSim: Initialising simulation run ==============
Info in <TGeoManager::TGeoManager>: Geometry FAIRGeom, FAIR geometry created
-I- FairGeoMedia Read media

*************************************************************
initialisation for run id 857312283
*************************************************************
Error in <PndSensorNamePar::init()>: PndSensorNamePar not initialized
Error in <FairRuntimeDb::initContainers()>: Error occured during initialization
FairRunSim::Init() create visualisation manager
-I- PndFieldMap: Reading field map from ROOT file /home/hoeppi/trunkNew/input/TransMap.1500.root
-I- PndFieldMap: Reading field map from ROOT file /home/hoeppi/trunkNew/input/DipoleMap1.1500.root
-I- PndFieldMap: Reading field map from ROOT file /home/hoeppi/trunkNew/input/DipoleMap2.1500.root
-I- PndFieldMap: Reading field map from ROOT file /home/hoeppi/trunkNew/input/SolenoidMap1.root
-I- PndFieldMap: Reading field map from ROOT file /home/hoeppi/trunkNew/input/SolenoidMap2.root
-I- PndFieldMap: Reading field map from ROOT file /home/hoeppi/trunkNew/input/SolenoidMap3.root
-I- PndFieldMap: Reading field map from ROOT file /home/hoeppi/trunkNew/input/SolenoidMap4.root
create PndFieldPar container PndMultiFieldPar
create PndFieldPar container PndTransPar
create PndFieldPar container PndDipole1Par
create PndFieldPar container PndDipole2Par
create PndFieldPar container PndSolenoid1Par
create PndFieldPar container PndSolenoid2Par
create PndFieldPar container PndSolenoid3Par
create PndFieldPar container PndSolenoid4Par

*** Break *** segmentation violation



===========================================================
There was a crash (kSigSegmentationViolation).
This is the entire stack trace of all threads:
===========================================================
#0 0xb8069430 in __kernel_vsyscall ()
#1 0xb6d6e733 in waitpid () from /lib/tls/i686/cmov/libc.so.6
#2 0xb6d0b78b in ?? () from /lib/tls/i686/cmov/libc.so.6
#3 0xb6e3e50d in system () from /lib/tls/i686/cmov/libpthread.so.0
#4 0xb7ac58d7 in TUnixSystem::Exec (this=0x957d7b0,
shellcmd=0x9e925b0 "/home/hoeppi/fairsoftJan10/tools/root/etc/gdb-backtrace.sh 15378 1>&2")
at core/unix/src/TUnixSystem.cxx:1978
#5 0xb7ac4a62 in TUnixSystem::StackTrace (this=0x957d7b0) at core/unix/src/TUnixSystem.cxx:2188
#6 0xb7ac815c in TUnixSystem::DispatchSignals (this=0x957d7b0, sig=kSigSegmentationViolation)
at core/unix/src/TUnixSystem.cxx:1106
#7 0xb7ac8288 in SigHandler (sig=kSigSegmentationViolation) at core/unix/src/TUnixSystem.cxx:350
#8 0xb7abd65d in sighandler (sig=11) at core/unix/src/TUnixSystem.cxx:3428
#9 <signal handler called>
#10 0xb3caee60 in G__FieldDictLN_PndRegion () from /media/data/buildNew/lib/libField.so
#11 0xb3c8ddea in ?? () from /media/data/buildNew/lib/libField.so
#12 0xb3f70c48 in FairRunSim::SetFieldContainer (this=0x9d61dc0) at /home/hoeppi/trunkNew/base/FairRunSim.cxx:182
#13 0xb3f73969 in FairRunSim::Init (this=0x9d61dc0) at /home/hoeppi/trunkNew/base/FairRunSim.cxx:146
#14 0xb3fb174b in G__FairDict_681_0_4 (result7=0xbf852910, funcname=0x9d58590 "\001", libp=0xbf8482cc, hash=0)
at /media/data/buildNew/base/FairDict.cxx:10887
#15 0xb724bbd4 in Cint::G__ExceptionWrapper (funcp=0xb3fb1724 <G__FairDict_681_0_4>, result7=0xbf852910,
funcname=0x9d58590 "\001", libp=0xbf8482cc, hash=0) at cint/cint/src/Api.cxx:385
#16 0xb7333649 in G__execute_call (result7=0xbf852910, libp=0xbf8482cc, ifunc=0x9d58590, ifn=0)
at cint/cint/src/newlink.cxx:2332
#17 0xb733b49b in G__call_cppfunc (result7=0xbf852910, libp=0xbf8482cc, ifunc=0x9d58590, ifn=0)
at cint/cint/src/newlink.cxx:2518
#18 0xb72f4ef9 in G__interpret_func (result7=0xbf852910, funcname=0x95c79d8 "Init", libp=0xbf8482cc, hash=404,
p_ifunc=0x9d58590, funcmatch=1, memfunc_flag=1) at cint/cint/src/ifunc.cxx:5240
#19 0xb72df999 in G__getfunction (item=0x95c63ae "Init()", known3=0xbf855ed8, memfunc_flag=1)
at cint/cint/src/func.cxx:2423
#20 0xb73ee8aa in G__getstructmem (store_var_type=112, varname=0x95c71c8 "operator<<", membername=0x95c63ae "Init()",
tagname=0x95c6bb8 "fRun", known2=0xbf855ed8, varglobal=0xb74b9220, objptr=2) at cint/cint/src/var.cxx:6591
#21 0xb73deba9 in G__getvariable (item=0x95c63a8 "fRun->Init()", known=0xbf855ed8, varglobal=0xb74b9220,
varlocal=0xbf8584bc) at cint/cint/src/var.cxx:5222
#22 0xb72ad8f2 in G__getitem (item=0x95c63a8 "fRun->Init()") at cint/cint/src/expr.cxx:1882
#23 0xb72c1d1c in G__getexpr (expression=0x94d6598 "fRun->Init()") at cint/cint/src/expr.cxx:1464
#24 0xb734ddf1 in G__exec_function (statement=
0xbf857fb8, pc=0xbf85808c, piout=0xbf858084, plargestep=0xbf858074,
presult=0xbf857f70) at cint/cint/src/parse.cxx:643
#25 0xb73562e5 in G__exec_statement (mparen=0xbf8586d4) at cint/cint/src/parse.cxx:7083
#26 0xb72f8026 in G__interpret_func (result7=0xbf8632f0, funcname=0x94fe240 "sim_theta", libp=0xbf858cac, hash=958,
p_ifunc=0x9829d10, funcmatch=1, memfunc_flag=0) at cint/cint/src/ifunc.cxx:6079
#27 0xb72e06b2 in G__getfunction (item=0x94ddc10 "sim_theta(1000,13,5.,3)", known3=0xbf8634d8, memfunc_flag=0)
at cint/cint/src/func.cxx:2639
#28 0xb72ada3e in G__getitem (item=0x94ddc10 "sim_theta(1000,13,5.,3)") at cint/cint/src/expr.cxx:1894
#29 0xb72c1d1c in G__getexpr (expression=0x98479c8 "sim_theta(1000,13,5.,3)") at cint/cint/src/expr.cxx:1464
#30 0xb72c2c44 in G__calc_internal (exprwithspace=0x94d31e0 "sim_theta(1000,13,5.,3)") at cint/cint/src/expr.cxx:1066
#31 0xb7366996 in G__process_cmd (
line=0x95b1138 ".X /home/hoeppi/fairsoftJan10/tools/root/etc/plugins/TVirtualStreamerInfo/P 010_TStreamerInfo.C ",
prompt=0x95814ec "", more=0x95814e4, err=0xbf866950, rslt=0xbf86691c) at cint/cint/src/pause.cxx:2277
#32 0xb7aafdce in TCint::ProcessLine (this=0x95814c8,
line=0x95b1138 ".X /home/hoeppi/fairsoftJan10/tools/root/etc/plugins/TVirtualStreamerInfo/P 010_TStreamerInfo.C ",
error=0xbf8674dc) at core/meta/src/TCint.cxx:419
#33 0xb7aa6222 in TCint::ProcessLineSynch (this=0x95814c8,
line=0x95b1138 ".X /home/hoeppi/fairsoftJan10/tools/root/etc/plugins/TVirtualStreamerInfo/P 010_TStreamerInfo.C ",
error=0xbf8674dc) at core/meta/src/TCint.cxx:486
#34 0xb799ebb3 in TApplication::ExecuteFile (file=0xbf8674e9 "sim_theta.C(1000,13,5.,3)", error=0xbf8674dc, keep=false)
at core/base/src/TApplication.cxx:977
#35 0xb799edd2 in TApplication::ProcessFile (this=0x95ae6d0, file=0xbf8674e9 "sim_theta.C(1000,13,5.,3)",
error=0xbf8674dc, keep=false) at core/base/src/TApplication.cxx:853
#36 0xb79a1b1a in TApplication::ProcessLine (this=0x95ae6d0, line=0xbf8674e6 ".x sim_theta.C(1000,13,5.,3)",
sync=false, err=0xbf8674dc) at core/base/src/TApplication.cxx:826
#37 0xb6f94b96 in TRint::Run (this=0x95ae6d0, retrn=false) at core/rint/src/TRint.cxx:407
#38 0x08048f47 in main (argc=1, argv=0xbf869614) at main/src/rmain.cxx:29
===========================================================

Does anyone know how to fix this? I have a new checkout of this afternoon.

Cheers, Christian
Re: crash in running macro/global/sim_theta.C [message #10803 is a reply to message #10802] Tue, 15 June 2010 16:48 Go to previous messageGo to next message
Radoslaw Karabowicz is currently offline  Radoslaw Karabowicz
Messages: 108
Registered: June 2004
Location: GSI
continuous participant
From: *88.210.66.addr.tdcsong.se
Did you check your other sim macros?
By me the global/sim_theta.C macro runs on Linux (from where I committed to SVN), and on the MAC, where I just freshly checked-out the pandaroot.

yours
radek
Re: crash in running macro/global/sim_theta.C [message #10804 is a reply to message #10803] Tue, 15 June 2010 18:01 Go to previous messageGo to next message
Anonymous Poster From: *cern.ch
Hi,

it is an Ubuntu 8.10 amchine. The same error occurs for sim_all.C for example.

Cheers, Christian
Re: crash in running macro/global/sim_theta.C [message #10806 is a reply to message #10803] Wed, 16 June 2010 10:41 Go to previous message
Anonymous Poster From: *cern.ch
Hi,

I got it running on my MAC. We will maybe come back to the crash on Linux soon.... Anyway, it's working for now.

Thanks, Christian
Previous Topic: Geant4 library problem
Next Topic: TPC digitization blocks everything for too many cluster events
Goto Forum:
  


Current Time: Mon Nov 25 17:29:54 CET 2024

Total time taken to generate the page: 0.01378 seconds