GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » Crash in FairTSBufferFunctional
Crash in FairTSBufferFunctional [message #12161] Wed, 29 June 2011 12:04 Go to next message
Susanna Costanza is currently offline  Susanna Costanza
Messages: 33
Registered: January 2008
Location: Pavia
continuous participant
From: *pv.infn.it
Dear all,
after updating the code, when running the run_digi_sttcombi.C macro in macro/pid, I have the following error message:
-E- FairTSBufferFunctional::FairTSBufferFunctional Branch MVDPixelDigis does not exist!

 *** Break *** segmentation violation



===========================================================
There was a crash (kSigSegmentationViolation).
This is the entire stack trace of all threads:
===========================================================
#0  0x009317a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0x04c70533 in __waitpid_nocancel () from /lib/tls/libc.so.6
#2  0x04c19869 in do_system () from /lib/tls/libc.so.6
#3  0x008dab8d in system () from /lib/tls/libpthread.so.0
#4  0x003d20cc in TUnixSystem::Exec (this=0x88c0400, 
    shellcmd=0x9091c90 "/home/susanna/fairsoft_may11/tools/root/etc/gdb-backtrace.sh 21923 1>&2")
    at /home/susanna/fairsoft_may11/tools/root/core/unix/src/TUnixSystem.cxx:2036
#5  0x003d28bd in TUnixSystem::StackTrace (this=0x88c0400)
    at /home/susanna/fairsoft_may11/tools/root/core/unix/src/TUnixSystem.cxx:2265
#6  0x003d0316 in TUnixSystem::DispatchSignals (this=0x88c0400, 
    sig=kSigSegmentationViolation)
    at /home/susanna/fairsoft_may11/tools/root/core/unix/src/TUnixSystem.cxx:1162
#7  0x003ce111 in SigHandler (sig=kSigSegmentationViolation)
    at /home/susanna/fairsoft_may11/tools/root/core/unix/src/TUnixSystem.cxx:362
#8  0x003d5aec in sighandler (sig=11)
    at /home/susanna/fairsoft_may11/tools/root/core/unix/src/TUnixSystem.cxx:3552
#9  <signal handler called>
#10 0x0618424e in TBranch::GetEntries (this=0x0) at include/TBranch.h:175
#11 0x05e72a5f in FairTSBufferFunctional::ReadInNextEntry (this=0x908cfb8)
    at /home/susanna/pandaroot_july11/trunk/base/FairTSBufferFunctional.cxx:119
#12 0x05e7225a in FairTSBufferFunctional::GetData (this=0x908cfb8, parameter=0)
    at /home/susanna/pandaroot_july11/trunk/base/FairTSBufferFunctional.cxx:37
#13 0x05e47b18 in FairRootManager::GetData (this=0x88db598, branchName=
      {_vptr.TString = 0x828b88, fRep = {{fLong = {fCap = 17, fSize = 13, fData = 0xd996430 "MVDPixelDigis"}, fShort = {fSize = 17 '\021', fData = "\000\000\000\r\000\000\0000d\231\r"}, fRaw = {fWords = {17, 13, 228156464}}}}, static fgIsA = 0x917b9a0}, function=0x0, parameter=0)
    at /home/susanna/pandaroot_july11/trunk/base/FairRootManager.cxx:732
#14 0x06bf06ee in PndSdsPixelClusterTask::Exec (this=0x92d9d78, 
    opt=0x5ef2069 "")
    at /home/susanna/pandaroot_july11/trunk/sds/SdsReco/PndSdsPixelClusterTask.cxx:147
#15 0x0033b04a in TTask::ExecuteTasks (this=0x92d9ca8, option=0x5ef2069 "")
    at /home/susanna/fairsoft_may11/tools/root/core/base/src/TTask.cxx:312
#16 0x0033b06b in TTask::ExecuteTasks (this=0x88db500, option=0x5ef2069 "")
    at /home/susanna/fairsoft_may11/tools/root/core/base/src/TTask.cxx:314
#17 0x0033ae45 in TTask::ExecuteTask (this=0x88db500, option=0x5ef2069 "")
    at /home/susanna/fairsoft_may11/tools/root/core/base/src/TTask.cxx:275
#18 0x05e5eed8 in FairRunAna::Run (this=0x88db430, Ev_start=0, Ev_end=1000)
    at /home/susanna/pandaroot_july11/trunk/base/FairRunAna.cxx:353
#19 0x05eb512a in G__FairDict_900_0_5 (result7=0xbff16210, 
    funcname=0x88d90c8 "", libp=0xbff0bba0, hash=0)
    at /home/susanna/pandaroot_july11/trunk/buildPanda/base/FairDict.cxx:13767
#20 0x009ba29b in Cint::G__ExceptionWrapper (
    funcp=0x5eb5076 <G__FairDict_900_0_5>, result7=0xbff16210, 
    funcname=0x88d90c8 "", libp=0xbff0bba0, hash=0)
    at cint/cint/src/Api.cxx:393
#21 0x00a716ae in G__execute_call (result7=0xbff16210, libp=0xbff0bba0, 
    ifunc=0x88d90c8, ifn=0) at cint/cint/src/newlink.cxx:2406
#22 0x00a71e28 in G__call_cppfunc (result7=0xbff16210, libp=0xbff0bba0, 
    ifunc=0x88d90c8, ifn=0) at cint/cint/src/newlink.cxx:2610
#23 0x00a4f4e2 in G__interpret_func (result7=0xbff16210, 
    funcname=0x88ceb78 "Run", libp=0xbff0bba0, hash=309, p_ifunc=0x88d90c8, 
    funcmatch=1, memfunc_flag=1) at cint/cint/src/ifunc.cxx:5795
#24 0x00a339ac in G__getfunction (item=0x88cbde6 "Run(0,nEvents)", 
    known3=0xbff1948c, memfunc_flag=1) at cint/cint/src/func.cxx:2665
#25 0x00b3df4e in G__getstructmem (store_var_type=112, varname=
0xbff164a0, 
    membername=0x88cbde6 "Run(0,nEvents)", memnamesize=2147483647, 
    tagname=0x88cc5f0 "fRun", known2=0xbff1948c, varglobal=0xbe9540, objptr=2)
    at cint/cint/src/var.cxx:6804
#26 0x00b31a54 in G__getvariable (item=0x88cbde0 "fRun->Run(0,nEvents)", 
    known=0xbff1948c, varglobal=0xbe9540, varlocal=0x0)
    at cint/cint/src/var.cxx:5390
#27 0x00a2671c in G__getitem (item=0x88cbde0 "fRun->Run(0,nEvents)")
    at cint/cint/src/expr.cxx:1906
#28 0x00a24ae4 in G__getexpr (expression=0x88e9c20 "fRun->Run(0,nEvents)")
    at cint/cint/src/expr.cxx:1488
#29 0x00a9c956 in G__exec_function (statement=
0xbff1b770, pc=0xbff1b7ac, 
    piout=0xbff1b7a4, plargestep=0xbff1b794, presult=0xbff1b740)
    at cint/cint/src/parse.cxx:645
#30 0x00aaaa4e in G__exec_statement (mparen=0xbff1b820)
    at cint/cint/src/parse.cxx:7372
#31 0x009fdfd9 in G__exec_tempfile_core (
    file=0x88e9418 "/home/susanna/pandaroot_july11/trunk/macro/pid/./run_digi_sttcombi.C", fp=0x0) at cint/cint/src/debug.cxx:265
#32 0x009ff6f4 in G__exec_tempfile (
    file=0x88e9418 "/home/susanna/pandaroot_july11/trunk/macro/pid/./run_digi_sttcombi.C") at cint/cint/src/debug.cxx:813
#33 0x00ab82e5 in G__process_cmd (
    line=0x8c58880 ".x /home/susanna/pandaroot_july11/trunk/macro/pid/./run_digi_sttcombi.C", prompt=0x88c341c "", more=0x88c3414, err=0xbff1c9fc, 
    rslt=0xbff1ca00) at cint/cint/src/pause.cxx:3170
#34 0x0037ed52 in TCint::ProcessLine (this=0x88c33e8, 
    line=0x8c58880 ".x /home/susanna/pandaroot_july11/trunk/macro/pid/./run_digi_sttcombi.C", error=0xbff1f644)
    at /home/susanna/fairsoft_may11/tools/root/core/meta/src/TCint.cxx:522
#35 0x0037f1e7 in TCint::ProcessLineSynch (this=0x88c33e8, 
    line=0x8c58880 ".x /home/susanna/pandaroot_july11/trunk/macro/pid/./run_digi_sttcombi.C", error=0xbff1f644)
    at /home/susanna/fairsoft_may11/tools/root/core/meta/src/TCint.cxx:601
#36 0x002ad8dd in TApplication::ExecuteFile (
    file=0xbff1d5e3 "run_digi_sttcombi.C", error=0xbff1f644, keep=false)
    at /home/susanna/fairsoft_may11/tools/root/core/base/src/TApplication.cxx:1035
#37 0x002ad068 in TApplication::ProcessFile (this=0x8988b18, 
    file=0xbff1d5e3 "run_digi_sttcombi.C", error=0xbff1f644, keep=false)
    at /home/susanna/fairsoft_may11/tools/root/core/base/src/TApplication.cxx:911
#38 0x002acf88 in TApplication::ProcessLine (this=0x8988b18, 
    line=0xbff1d5e0 ".x run_digi_sttcombi.C", sync=false, err=0xbff1f644)
    at /home/susanna/fairsoft_may11/tools/root/core/base/src/TApplication.cxx:884
#39 0x001206b4 in TRint::Run (this=0x8988b18, retrn=false)
    at /home/susanna/fairsoft_may11/tools/root/core/rint/src/TRint.cxx:402
#40 0x08048ebb in main (argc=1, argv=0xbff1f724)
    at /home/susanna/fairsoft_may11/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 0x0618424e in TBranch::GetEntries (this=0x0) at include/TBranch.h:175
#11 0x05e72a5f in FairTSBufferFunctional::ReadInNextEntry (this=0x908cfb8)
    at /home/susanna/pandaroot_july11/trunk/base/FairTSBufferFunctional.cxx:119
#12 0x05e7225a in FairTSBufferFunctional::GetData (this=0x908cfb8, parameter=0)
    at /home/susanna/pandaroot_july11/trunk/base/FairTSBufferFunctional.cxx:37
#13 0x05e47b18 in FairRootManager::GetData (this=0x88db598, branchName=
      {_vptr.TString = 0x828b88, fRep = {{fLong = {fCap = 17, fSize = 13, fData = 0xd996430 "MVDPixelDigis"}, fShort = {fSize = 17 '021', fData = "000000000r0000000000d231r"}, fRaw = {fWords = {17, 13, 228156464}}}}, static fgIsA = 0x917b9a0}, function=0x0, parameter=0)
    at /home/susanna/pandaroot_july11/trunk/base/FairRootManager.cxx:732
#14 0x06bf06ee in PndSdsPixelClusterTask::Exec (this=0x92d9d78, 
    opt=0x5ef2069 "")
    at /home/susanna/pandaroot_july11/trunk/sds/SdsReco/PndSdsPixelClusterTask.cxx:147
#15 0x0033b04a in TTask::ExecuteTasks (this=0x92d9ca8, option=0x5ef2069 "")
    at /home/susanna/fairsoft_may11/tools/root/core/base/src/TTask.cxx:312
#16 0x0033b06b in TTask::ExecuteTasks (this=0x88db500, option=0x5ef2069 "")
    at /home/susanna/fairsoft_may11/tools/root/core/base/src/TTask.cxx:314
#17 0x0033ae45 in TTask::ExecuteTask (this=0x88db500, option=0x5ef2069 "")
    at /home/susanna/fairsoft_may11/tools/root/core/base/src/TTask.cxx:275
#18 0x05e5eed8 in FairRunAna::Run (this=0x88db430, Ev_start=0, Ev_end=1000)
    at /home/susanna/pandaroot_july11/trunk/base/FairRunAna.cxx:353
===========================================================


Does anyone have any idea?
Thank you,
Susanna
Re: Crash in FairTSBufferFunctional [message #12162 is a reply to message #12161] Wed, 29 June 2011 12:28 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
I have just tried with the latest trunk, 200 dpm events, and I can see the error message:

-E- FairTSBufferFunctional::FairTSBufferFunctional Branch MVDPixelDigis does not exist!
-E- FairTSBufferFunctional::FairTSBufferFunctional Branch MVDStripDigis does not exist!


but at least it does not crash in my computer.
Re: Crash in FairTSBufferFunctional [message #12163 is a reply to message #12162] Wed, 29 June 2011 12:44 Go to previous messageGo to next message
Tobias Stockmanns is currently offline  Tobias Stockmanns
Messages: 489
Registered: May 2007
first-grade participant
From: *ikp.kfa-juelich.de
Hi Stefano,

which macros have you used?

Cheers,

Tobias
Re: Crash in FairTSBufferFunctional [message #12164 is a reply to message #12161] Wed, 29 June 2011 12:58 Go to previous messageGo to next message
Tobias Stockmanns is currently offline  Tobias Stockmanns
Messages: 489
Registered: May 2007
first-grade participant
From: *ikp.kfa-juelich.de
Problem is fixed in release 12511.

Cheers,

Tobias
Re: Crash in FairTSBufferFunctional [message #12174 is a reply to message #12161] Wed, 29 June 2011 18:55 Go to previous messageGo to next message
Susanna Costanza is currently offline  Susanna Costanza
Messages: 33
Registered: January 2008
Location: Pavia
continuous participant
From: *pv.infn.it
Hi Tobias,
with the rev r12516 I don't have the crash anymore, but now I don't have any MVD track...!
Do you have any suggestion?

Thank you,
Susanna
Re: Crash in FairTSBufferFunctional [message #12175 is a reply to message #12174] Wed, 29 June 2011 21:01 Go to previous messageGo to next message
Tobias Stockmanns is currently offline  Tobias Stockmanns
Messages: 489
Registered: May 2007
first-grade participant
From: *netcologne.de
Hi Susanna,

do you have any reconstructed hits from the MVD? If yes, are they at the right position? You can check this easily with the eventDisplay.

Cheers,

Tobias
Re: Crash in FairTSBufferFunctional [message #12176 is a reply to message #12161] Thu, 30 June 2011 10:01 Go to previous messageGo to next message
Susanna Costanza is currently offline  Susanna Costanza
Messages: 33
Registered: January 2008
Location: Pavia
continuous participant
From: *pv.infn.it
Hi Tobias,
I have pixel and strip hits only for the first track.
Their position is the following:
- PIXEL hits (trk number, hit number, X, Y, Z)
0 * 0 * -2.257589 * 1.5035667 * 1.9800000 *
0 * 1 * -3.979701 * 2.6121165 * 3.4686405 *
0 * 2 * -3.105000 * 3.7149999 * 15.220000 *
0 * 3 * -4.746740 * -0.503832 * -3.474999 *
0 * 4 * 2.3050000 * -2.805000 * 6.9800000 *
0 * 5 * 2.6449999 * -2.964999 * 22.219999 *
0 * 6 * -5.295000 * -1.664999 * 7.4200000 *
0 * 7 * 4.0050001 * -0.335000 * 21.780000 *
0 * 8 * -1.904999 * -0.904999 * 6.9800000 *
- STRIP hits
0 * 0 * -7.724247 * 4.8897495 * 6.6544752 *
0 * 1 * -10.51684 * 6.4908652 * 8.9866571 *

Ciao,
Susanna
Re: Crash in FairTSBufferFunctional [message #12179 is a reply to message #12176] Thu, 30 June 2011 13:50 Go to previous message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *to.infn.it
Hi Tobias,
I run 100 pipi events.
I have seen that in the simulation I have 883 MVDPpints, but after digitizatio I have 23 Pixed Digis and 20 Strip Digis, 14 Pixel Hits and 5 Strip Hits, we are missing a lot.

Meanwhile, the code produces a lot of messages in the init:

Toggle Spoiler


And at each event I have the following message:

EventTime: 0
EventTime: 0
-I- PndSdsStripClusterTask:: fDigiArray->Size(): 0
EMC header: fired crystals= 99, digi= 57, Total energy= 1.70795 [GeV], Reconstructed clusters= 21, Total energy in clusters= 1.63535 [GeV]
PndFtsHitProducer Exec ########
 EventTime: 0
EventTime: 0
-I- PndSdsStripClusterTask:: fDigiArray->Size(): 0
EMC header: fired crystals= 83, digi= 58, Total energy= 2.24424 [GeV], Reconstructed clusters= 28, Total energy in clusters= 2.21341 [GeV]
PndFtsHitProducer Exec ########
 EventTime: 0
EventTime: 0
-I- PndSdsStripClusterTask:: fDigiArray->Size(): 0
EMC header: fired crystals= 45, digi= 32, Total energy= 1.42629 [GeV], Reconstructed clusters= 16, Total energy in clusters= 1.40166 [GeV]
PndFtsHitProducer Exec ########
 EventTime: 0
EventTime: 0
-I- PndSdsStripClusterTask:: fDigiArray->Size(): 0
EMC header: fired crystals= 62, digi= 43, Total energy= 2.07544 [GeV], Reconstructed clusters= 13, Total energy in clusters= 2.05008 [GeV]
PndFtsHitProducer Exec ########
 EventTime: 0
EventTime: 0
-I- PndSdsStripClusterTask:: fDigiArray->Size(): 0


The digiarray size 0 sounds very suspicious.
Previous Topic: crash in TrackConverter / FairLink
Next Topic: Bug in DIRC with geant4
Goto Forum:
  


Current Time: Tue Nov 29 22:42:58 CET 2022

Total time taken to generate the page: 0.00901 seconds