Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seg fault caused by invalid track state at calo access #15

Closed
rete opened this issue Oct 17, 2017 · 2 comments · Fixed by #16
Closed

Seg fault caused by invalid track state at calo access #15

rete opened this issue Oct 17, 2017 · 2 comments · Fixed by #16

Comments

@rete
Copy link
Contributor

rete commented Oct 17, 2017

  • OS version: SLC6
  • Compiler version: GCC 4.9
  • Package version: afs ILCSoft version HEAD-2017-10-12, DDMarlinPandora commit 2da2612
  • Reproduced by: Running the ILDConfig chain on bbuds 3 events
  • Goal: Fix a seg fault related to track state at calorimeter

By running the ILDConfig example with the 3 event example, simulation runs well but reconstruction fails on first event. ROOt gives this stack :

===========================================================
#5  0x00007feb6523dbd3 in MarlinTrk::MarlinDDKalTestTrack::findIntersection(DDVMeasLayer const&, TKalTrackSite const&, dd4hep::rec::Vector3D&, double&, int&, int) () at /afs/desy.de/project/ilcsoft/sw/x86_64_gcc49_sl6/HEAD-2017-10-12/MarlinTrk/HEAD/src/MarlinDDKalTestTrack.cc:1498
#6  0x00007feb6523dedd in MarlinTrk::MarlinDDKalTestTrack::findIntersection(std::vector<DDVMeasLayer const*, std::allocator<DDVMeasLayer const*> >&, TKalTrackSite const&, dd4hep::rec::Vector3D&, int&, DDVMeasLayer const*&, int) () at /afs/desy.de/project/ilcsoft/sw/x86_64_gcc49_sl6/HEAD-2017-10-12/MarlinTrk/HEAD/src/MarlinDDKalTestTrack.cc:1558
#7  0x00007feb6523d8b3 in MarlinTrk::MarlinDDKalTestTrack::intersectionWithLayer(int, TKalTrackSite const&, dd4hep::rec::Vector3D&, int&, DDVMeasLayer const*&, int) () at /afs/desy.de/project/ilcsoft/sw/x86_64_gcc49_sl6/HEAD-2017-10-12/MarlinTrk/HEAD/src/MarlinDDKalTestTrack.cc:1463
#8  0x00007feb6523ce67 in MarlinTrk::MarlinDDKalTestTrack::propagateToLayer(int, TKalTrackSite const&, IMPL::TrackStateImpl&, double&, int&, int&, int) () at /afs/desy.de/project/ilcsoft/sw/x86_64_gcc49_sl6/HEAD-2017-10-12/MarlinTrk/HEAD/src/MarlinDDKalTestTrack.cc:1313
#9  0x00007feb6523cd3d in MarlinTrk::MarlinDDKalTestTrack::propagateToLayer(int, IMPL::TrackStateImpl&, double&, int&, int&, int) () at /afs/desy.de/project/ilcsoft/sw/x86_64_gcc49_sl6/HEAD-2017-10-12/MarlinTrk/HEAD/src/MarlinDDKalTestTrack.cc:1288
#10 0x00007feb667e22ef in DDTrackCreatorBase::GetTrackStatesAtCalo(EVENT::Track*, lc_content::LCTrackParameters&) () at /afs/desy.de/project/ilcsoft/sw/x86_64_gcc49_sl6/HEAD-2017-10-12/DDMarlinPandora/HEAD/src/DDTrackCreatorBase.cc:447
#11 0x00007feb667f4440 in DDTrackCreatorILD::CreateTracks(EVENT::LCEvent*) () at /afs/desy.de/project/ilcsoft/sw/x86_64_gcc49_sl6/HEAD-2017-10-12/DDMarlinPandora/HEAD/src/DDTrackCreatorILD.cc:254
#12 0x00007feb667ca7a7 in DDPandoraPFANewProcessor::processEvent(EVENT::LCEvent*) () at /afs/desy.de/project/ilcsoft/sw/x86_64_gcc49_sl6/HEAD-2017-10-12/DDMarlinPandora/HEAD/src/DDPandoraPFANewProcessor.cc:213
#13 0x00007feb70c67424 in marlin::ProcessorMgr::processEvent(EVENT::LCEvent*) () at /afs/desy.de/project/ilcsoft/sw/x86_64_gcc49_sl6/HEAD-2017-10-12/Marlin/HEAD/source/src/ProcessorMgr.cc:470
#14 0x00007feb706c766c in SIO::SIOReader::readStream(int) () at /afs/desy.de/project/ilcsoft/sw/x86_64_gcc49_sl6/HEAD-2017-10-12/lcio/HEAD/src/cpp/src/SIO/SIOReader.cc:732
#15 0x00007feb706c73b7 in SIO::SIOReader::readStream() () at /afs/desy.de/project/ilcsoft/sw/x86_64_gcc49_sl6/HEAD-2017-10-12/lcio/HEAD/src/cpp/src/SIO/SIOReader.cc:660
#16 0x000000000041a34b in main () at /afs/desy.de/project/ilcsoft/sw/x86_64_gcc49_sl6/HEAD-2017-10-12/Marlin/HEAD/source/src/Marlin.cc:509
===========================================================
@andresailer
Copy link
Contributor

Since when is this happening?
Maybe you could make an automatic test like it has been proposed here: iLCSoft/ILDConfig#2

@rete
Copy link
Contributor Author

rete commented Oct 17, 2017

The problem couldn't have been reproduced with the version v01-19-05-pre01 installed in afs and with the head version of ILDConfig. Something went wrong with my steering files maybe. I close the issue ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants