Home » PANDA » PandaRoot » Bugs, Fixes, Releases » crash in TrackConverter / FairLink
crash in TrackConverter / FairLink [message #12158] |
Wed, 29 June 2011 11:49 |
Felix Boehmer
Messages: 149 Registered: May 2007 Location: Munich
|
first-grade participant |
From: *natpool.mwn.de
|
|
Hi all,
when trying to run Dima's reconstruction macro I get the following reproducible crash after several events:
#9 <signal handler called>
#10 0xb7245a23 in TObject::TObject(TObject const&) ()
from /nfs/hicran/project/panda/SIM/FAIRRoot/fairsoft_release_may11/tools/root_5.28d_qt_custom_TH2Poly/lib/libCore.so
#11 0xb370adc8 in FairLink (this=0x181b3fd0)
at /nfs/hicran/project/panda/SIM/fboehmer/clean/base/FairLink.h:18
#12 0xb370bae8 in __gnu_cxx::new_allocator<FairLink>::construct (
this=0xbffc57fb, __p=0x181b3fd0, __val=...)
at /usr/include/c++/4.4/ext/new_allocator.h:105
#13 0xb370b9b1 in std::_Rb_tree<FairLink, FairLink, std::_Identity<FairLink>, std::less<FairLink>, std::allocator<FairLink> >::_M_create_node (
this=0xbffc59b0, __x=...) at /usr/include/c++/4.4/bits/stl_tree.h:371
#14 0xb370ed8b in std::_Rb_tree<FairLink, FairLink, std::_Identity<FairLink>, std::less<FairLink>, std::allocator<FairLink> >::_M_clone_node (this=0xbffc59b0,
__x=0x5ac23814) at /usr/include/c++/4.4/bits/stl_tree.h:416
#15 0xb370e96e in std::_Rb_tree<FairLink, FairLink, std::_Identity<FairLink>, std::less<FairLink>, std::allocator<FairLink> >::_M_copy (this=0xbffc59b0,
__x=0x5ac23814, __p=0xbffc59b4) at /usr/include/c++/4.4/bits/stl_tree.h:932
#16 0xb370e27d in _Rb_tree (this=0xbffc59b0, __x=...)
at /usr/include/c++/4.4/bits/stl_tree.h:602
#17 0xb370de16 in set (this=0xbffc59b0, __x=...)
at /usr/include/c++/4.4/bits/stl_set.h:189
#18 0xb370d55c in FairMultiLinkedData (this=0xbffc59a0)
at /nfs/hicran/project/panda/SIM/fboehmer/clean/base/FairMultiLinkedData.h:18
#19 0xb370dcef in FairMultiLinkedData::AddLink (this=0xb272c18, link=...,
bypass=true, mult=1)
at /nfs/hicran/project/panda/SIM/fboehmer/clean/base/FairMultiLinkedData.cxx:136
#20 0xb2e56b0a in PndTrackCand::AddHit (this=0xb272c18, detId=24, hitId=10,
rho=0)
at /nfs/hicran/project/panda/SIM/fboehmer/clean/pnddata/TrackData/PndTrackCand.cxx:37
#21 0xb4832dce in GenfitTrackCand2PndTrackCand (cand=0xbffc6864)
at /nfs/hicran/project/panda/SIM/fboehmer/clean/GenfitTools/adapters/PndGenfitAdapters.cxx:23
#22 0xb4833cf5 in GenfitTrack2PndTrack (tr=0x13b5f990)
at /nfs/hicran/project/panda/SIM/fboehmer/clean/GenfitTools/adapters/PndGenfitAdapters.cxx:92
#23 0xb0096be6 in PndGFTrackToPndTrackConvertorTask::Exec (this=0x95582f8,
opt=0xb37f4fd8 "")
at /nfs/hicran/project/panda/SIM/fboehmer/clean/GenfitTools/recotasks/PndGFTrackToPndTrackConvertorTask.cxx:85
#24 0xb728be78 in TTask::ExecuteTasks(char const*) ()
from /nfs/hicran/project/panda/SIM/FAIRRoot/fairsoft_release_may11/tools/root_5.28d_qt_custom_TH2Poly/lib/libCore.so
#25 0xb728b15e in TTask::ExecuteTask(char const*) ()
from /nfs/hicran/project/panda/SIM/FAIRRoot/fairsoft_release_may11/tools/root_5.28d_qt_custom_TH2Poly/lib/libCore.so
#26 0xb373e8ac in FairRunAna::Run (this=0x8e9a120, Ev_start=0, Ev_end=101)
at /nfs/hicran/project/panda/SIM/fboehmer/clean/base/FairRunAna.cxx:353
#27 0xb3799e42 in G__FairDict_894_0_5 (result7=0xbffd2ac8,
funcname=0x926b7c0 "", libp=0xbffc8484, hash=0)
at /nfs/hicran/project/panda/SIM/fboehmer/clean/build/base/FairDict.cxx:13767
Is anyone aware of what's going wrong there? I can see this is connected to the FairLinks somehow, but for the tpc code we disabled all usage of the links due to persistent problems in the past...
Thanks in advance
Felix
|
|
|
|
|
Re: crash in TrackConverter / FairLink [message #12165 is a reply to message #12160] |
Wed, 29 June 2011 13:29 |
StefanoSpataro
Messages: 2736 Registered: June 2005 Location: Torino
|
first-grade participant |
From: *to.infn.it
|
|
In reality I have just tried with the latest trunk and it seems to work, in my case.
However, maybe I have understood the problem.
In PndTrackCand, links are set in the AddHit functions:
AddLink(FairLink(detId, hitId));
The problem I can see here is that you are using the old detId definition, based on the PndDetectorList enum, and not the current one:
UInt_t detId = ioman->GetBranchId(branchName);
Maybe in FairLink the code is trying to find a branch defined by a "mispaced" detId -> crash.
In your local case, you could comment out the lines with AddLink of PndTrackCand.cxx.
I repeat, if you want I can spend some time on your tracking tasks to be compatible with the branch id definition. Just tell me, so that you can work on other tracking points.
|
|
|
|
|
Goto Forum:
Current Time: Fri Oct 04 19:28:36 CEST 2024
Total time taken to generate the page: 0.00845 seconds
|