GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » [FIXED] crash in run/digi_complete.C
[FIXED] crash in run/digi_complete.C [message #15777] Tue, 14 January 2014 09:25 Go to previous message
Maria Patsyuk is currently offline  Maria Patsyuk
Messages: 58
Registered: April 2010
continuous participant
From: *gsi.de
Dear all,

I've updated the svn up to version 23427 and I get the following crash during the digitizaion with digi_complete.C. I've simulated 100 single kaon events with a box generator with Geant3 as a data sample. In the simulation I don't have the following detectors:
magnet, GEM, EMC, SciTil, MDT, FTS, FTOF, RICH. My simulation macro is attached. The digi-macro is the default one. The error looks like this:

#########################################################
PndFtsHitProducerRealFast: Init()#######
#########################################################
[INFO ] Branch: FTSPoint not found in Tree
[INFO ] Branch: FTSPoint not found in Tree
-W- PndFtsHitProducerRealFast::Init: No FTSPoint array!
[INFO ] Branch: FtofPoint not found in Tree
[INFO ] Branch: FtofPoint not found in Tree
-W- PndFtofHitProducerIdeal::Init: No FtofPoint array!
[INFO ] The number of entries in chain is 100
ProcessBar start...
-I- HitProducerReal: bar center = -20.8956, 43.8086
-I- HitProducerReal: hit is added!!!
Number of Photon MC Points in Photon Detector Plane : 0
-I- SetPhotonTransportEff: reflection coef(l = 0.53, ang = 0.95) = 0.999594

*** Break *** segmentation violation



===========================================================
There was a crash (kSigSegmentationViolation).
This is the entire stack trace of all threads:
===========================================================
#0 0x00007fcd5ba0883e in __libc_waitpid (pid=<optimized out>, stat_loc=0x7fffd0c6fa9c, options=<optimized out>) at ../sysdeps/unix/sysv/linux/waitpid.c:32
#1 0x00007fcd5b9a62c9 in do_system (line=<optimized out>) at ../sysdeps/posix/system.c:149
#2 0x00007fcd5c99bf06 in TUnixSystem::Exec (this=0x224a430, shellcmd=0xab1c960 "/d/panda01/mpatsyuk/apr13/apr13/etc/gdb-backtrace.sh 30299 1>&2") at /d/panda01/mpatsyuk/apr13/tools/root/core/unix/src/TUnixSystem.cxx:2088
#3 0x00007fcd5c99c7d4 in TUnixSystem::StackTrace (this=0x224a430) at /d/panda01/mpatsyuk/apr13/tools/root/core/unix/src/TUnixSystem.cxx:2336
#4 0x00007fcd5c99a125 in TUnixSystem::DispatchSignals (this=0x224a430, sig=kSigSegmentationViolation) at /d/panda01/mpatsyuk/apr13/tools/root/core/unix/src/TUnixSystem.cxx:1212
#5 0x00007fcd5c9980ad in SigHandler (sig=kSigSegmentationViolation) at /d/panda01/mpatsyuk/apr13/tools/root/core/unix/src/TUnixSystem.cxx:368
#6 0x00007fcd5c9a004e in sighandler (sig=11) at /d/panda01/mpatsyuk/apr13/tools/root/core/unix/src/TUnixSystem.cxx:3650
#7 0x00007fcd5c9d5604 in textinput::TerminalConfigUnix::HandleSignal (this=0x7fcd5d190f00, signum=11) at /d/panda01/mpatsyuk/apr13/tools/root/core/textinput/src/textinput/Termin alConfigUnix.cpp:96
#8 0x00007fcd5c9d514d in (anonymous namespace)::TerminalConfigUnix__handleSignal (signum=11) at /d/panda01/mpatsyuk/apr13/tools/root/core/textinput/src/textinput/Termin alConfigUnix.cpp:36
#9 <signal handler called>
#10 0x00007fcd5c93341e in TObjArray::GetAbsLast (this=0x0) at /d/panda01/mpatsyuk/apr13/tools/root/core/cont/src/TObjArray.cxx:488
#11 0x00007fcd5c8ad29c in TObjArray::GetEntriesFast (this=0x0) at include/TObjArray.h:67
#12 0x00007fcd4caa30d6 in PndGemDigitize::DigitizeEvent (this=0x327e800) at /u/mpatsyuk/PANDA/new_trunk/gem/PndGemDigitize.cxx:185
#13 0x00007fcd4caa2e61 in PndGemDigitize::Exec (this=0x327e800, opt=0x7fcd51a3c540 "") at /u/mpatsyuk/PANDA/new_trunk/gem/PndGemDigitize.cxx:152
#14 0x00007fcd5c8fcb44 in TTask::ExecuteTasks (this=0x2dc34d0, option=0x7fcd51a3c540 "") at /d/panda01/mpatsyuk/apr13/tools/root/core/base/src/TTask.cxx:312
#15 0x00007fcd5c8fc922 in TTask::ExecuteTask (this=0x2dc34d0, option=0x7fcd51a3c540 "") at /d/panda01/mpatsyuk/apr13/tools/root/core/base/src/TTask.cxx:275
#16 0x00007fcd5192a194 in FairRunAna::Run (this=0x2dc32d0, Ev_start=0, Ev_end=100) at /u/mpatsyuk/PANDA/new_trunk/base/steer/FairRunAna.cxx:461
#17 0x00007fcd519935e3 in G__G__BaseDict_618_0_6 (result7=0x7fffd0c7e120, funcname=0x2dbc320 "", libp=0x7fffd0c73710, hash=0) at /u/mpatsyuk/PANDA/build_Squeeze64_Apr2013/base/G__BaseDict.cxx:8427
#18 0x00007fcd5ad9becc in Cint::G__ExceptionWrapper (funcp=0x7fcd5199342d <G__G__BaseDict_618_0_6(G__value*, char const*, G__param*, int)>, result7=0x7fffd0c7e120, funcname=0x2dbc320 "", libp=0x7fffd0c73710, hash=0) at cint/cint/src/Api.cxx:393
#19 0x00007fcd5ae786e5 in G__execute_call (result7=0x7fffd0c7e120, libp=0x7fffd0c73710, ifunc=0x2dbc320, ifn=0) at cint/cint/src/newlink.cxx:2408
#20 0x00007fcd5ae79098 in G__call_cppfunc (result7=0x7fffd0c7e120, libp=0x7fffd0c73710, ifunc=0x2dbc320, ifn=0) at cint/cint/src/newlink.cxx:2612
#21 0x00007fcd5ae51a6b in G__interpret_func (result7=0x7fffd0c7e120, funcname=0x2995e80 "Run", libp=0x7fffd0c73710, hash=309, p_ifunc=0x2dbc320, funcmatch=1, memfunc_flag=1) at cint/cint/src/ifunc.cxx:5791
#22 0x00007fcd5ae2aa79 in G__getfunction (item=0x226aac6 "Run()", known3=0x7fffd0c7f3c8, memfunc_flag=1) at cint/cint/src/func.cxx:2660
#23 0x00007fcd5af698fd in G__getstructmem (store_var_type=112, varname=..., membername=0x226aac6 "Run()", memnamesize=2147483647, tagname=0x2995250 "fRun", known2=0x7fffd0c7f3c8, varglobal=0x7fcd5b234160, objptr=2) at cint/cint/src/var.cxx:6818
#24 0x00007fcd5af591db in G__getvariable (item=0x226aac0 "fRun->Run()", known=0x7fffd0c7f3c8, varglobal=0x7fcd5b234160, varlocal=0x7fffd0c82660) at cint/cint/src/var.cxx:5404
#25 0x00007fcd5ae19788 in G__getitem (item=0x226aac0 "fRun->Run()") at cint/cint/src/expr.cxx:1906
#26 0x00007fcd5ae16f37 in G__getexpr (expression=0x22859f0 "fRun->Run()") at cint/cint/src/expr.cxx:1488
#27 0x00007fcd5aeac2ab in G__exec_function (statement=..., pc=0x7fffd0c81d3c, piout=0x7fffd0c81d38, plargestep=0x7fffd0c81d30, presult=0x7fffd0c81c60) at cint/cint/src/parse.cxx:645
#28 0x00007fcd5aebd28c in G__exec_statement (mparen=0x7fffd0c8296c) at cint/cint/src/parse.cxx:7371
#29 0x00007fcd5ae5511d in G__interpret_func (result7=0x7fffd0c8d750, funcname=0x225d050 "digi_complete", libp=0x7fffd0c82d40, hash=1365, p_ifunc=0x2968d50, funcmatch=1, memfunc_flag=0) at cint/cint/src/ifunc.cxx:6710
#30 0x00007fcd5ae2b83d in G__getfunction (item=0x225c830 "digi_complete()", known3=0x7fffd0c8da18, memfunc_flag=0) at cint/cint/src/func.cxx:2901
#31 0x00007fcd5ae198a8 in G__getitem (item=0x225c830 "digi_complete()") at cint/cint/src/expr.cxx:1918
#32 0x00007fcd5ae16f37 in G__getexpr (expression=0x2a4ee30 "digi_complete()") at cint/cint/src/expr.cxx:1488
#33 0x00007fcd5ae0373b in G__calc_internal (exprwithspace=0x225e8a0 "digi_complete()") at cint/cint/src/expr.cxx:1071
#34 0x00007fcd5aec82a9 in G__process_cmd (line=0x2a4e6c0 ".X /SAT/lustre/panda/mpatsyuk/pandaroot/trunk/macro/run1/./digi_complete.C", prompt=0x224e0b8 "", more=0x224e0b0, err=0x7fffd0c9142c, rslt=0x7fffd0c913c0) at cint/cint/src/pause.cxx:2333
#35 0x00007fcd5c9433f2 in TCint::ProcessLine (this=0x224e070, line=0x2a4e6c0 ".X /SAT/lustre/panda/mpatsyuk/pandaroot/trunk/macro/run1/./digi_complete.C", error=0x7fffd0c94254) at /d/panda01/mpatsyuk/apr13/tools/root/core/meta/src/TCint.cxx:545
#36 0x00007fcd5c943a84 in TCint::ProcessLineSynch (this=0x224e070, line=0x2a4e6c0 ".X /SAT/lustre/panda/mpatsyuk/pandaroot/trunk/macro/run1/./digi_complete.C", error=0x7fffd0c94254) at /d/panda01/mpatsyuk/apr13/tools/root/core/meta/src/TCint.cxx:624
#37 0x00007fcd5c867fe1 in TApplication::ExecuteFile (file=0x7fffd0c921f3 "digi_complete.C", error=0x7fffd0c94254, keep=false) at /d/panda01/mpatsyuk/apr13/tools/root/core/base/src/TApplication.cxx:1028
#38 0x00007fcd5c867856 in TApplication::ProcessFile (this=0x2396580, file=0x7fffd0c921f3 "digi_complete.C", error=0x7fffd0c94254, keep=false) at /d/panda01/mpatsyuk/apr13/tools/root/core/base/src/TApplication.cxx:904
#39 0x00007fcd5c867773 in TApplication::ProcessLine (this=0x2396580, line=0x7fffd0c921f0 ".x digi_complete.C", sync=false, err=0x7fffd0c94254) at /d/panda01/mpatsyuk/apr13/tools/root/core/base/src/TApplication.cxx:877
#40 0x00007fcd5c42548c in TRint::Run (this=0x2396580, retrn=false) at /d/panda01/mpatsyuk/apr13/tools/root/core/rint/src/TRint.cxx:418
#41 0x0000000000401322 in main (argc=1, argv=0x7fffd0c94408) at /d/panda01/mpatsyuk/apr13/tools/root/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 0x00007fcd5c93341e in TObjArray::GetAbsLast (this=0x0) at /d/panda01/mpatsyuk/apr13/tools/root/core/cont/src/TObjArray.cxx:488
#11 0x00007fcd5c8ad29c in TObjArray::GetEntriesFast (this=0x0) at include/TObjArray.h:67
#12 0x00007fcd4caa30d6 in PndGemDigitize::DigitizeEvent (this=0x327e800) at /u/mpatsyuk/PANDA/new_trunk/gem/PndGemDigitize.cxx:185
#13 0x00007fcd4caa2e61 in PndGemDigitize::Exec (this=0x327e800, opt=0x7fcd51a3c540 "") at /u/mpatsyuk/PANDA/new_trunk/gem/PndGemDigitize.cxx:152
#14 0x00007fcd5c8fcb44 in TTask::ExecuteTasks (this=0x2dc34d0, option=0x7fcd51a3c540 "") at /d/panda01/mpatsyuk/apr13/tools/root/core/base/src/TTask.cxx:312
#15 0x00007fcd5c8fc922 in TTask::ExecuteTask (this=0x2dc34d0, option=0x7fcd51a3c540 "") at /d/panda01/mpatsyuk/apr13/tools/root/core/base/src/TTask.cxx:275
#16 0x00007fcd5192a194 in FairRunAna::Run (this=0x2dc32d0, Ev_start=0, Ev_end=100) at /u/mpatsyuk/PANDA/new_trunk/base/steer/FairRunAna.cxx:461
===========================================================


Root > Function digi_complete() busy flag cleared


Could you please help me to run these macros properly?

Best regards,
Maria

[Updated on: Tue, 14 January 2014 15:41] by Moderator

Report message to a moderator

 
Read Message
Read Message
Read Message
Previous Topic: [FIXED] crash in run/sim_complete.C with Geant4
Next Topic: A bug in FairRootManager
Goto Forum:
  


Current Time: Tue May 28 00:11:07 CEST 2024

Total time taken to generate the page: 0.00989 seconds