acts: Bug: Segmentation fault when calling GSF fitting from Athena
I’m currently doing refitting of ATLAS signle-electron tracks inside Athena (the ATLAS software environment) with the ACTS GSF, so calling the fit function of GSF.
Using a custom version of ACTS with Athena and doing several std::cout
s to see where the segmentation fault occurs, I have located the issue to this line: https://github.com/acts-project/acts/blob/v23.5.0/Core/include/Acts/TrackFitting/GaussianSumFitter.hpp#L288
Athena is currently using ACTS v23.5.0. I have also tried it with ACTS v23.5.0 + cherry-picking the following fixes I saw in v24:
- (#1927) (7f0429f)
- (#1933) (250ea03)
- (#1935) (0b9004f)
- (#1941) (58bb693)
- (#1963) (44eff4f)
- (#1970) (a6b3d6a)
The segmentation error still occurs, and at the same place.
[Bug]
Edit: typo
Created a MM channel here: https://mattermost.web.cern.ch/acts/channels/bug-gsf-segfault
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 65 (57 by maintainers)
Commits related to this issue
- fix: Dangling reference due to source link lifetime in fitters (#2095) Closes #2000 the source links in the GFS went out of scope and caused segfaults - this PR harmonizes the source link handl... — committed to acts-project/acts by andiwand a year ago
- fix: Dangling reference due to source link lifetime in fitters (#2095) Closes #2000 the source links in the GFS went out of scope and caused segfaults - this PR harmonizes the source link handling ... — committed to acts-project/acts by andiwand a year ago
- fix: Dangling reference due to source link lifetime in fitters [backport #2095 to develop/v25.x] (#2098) Backport 3918f38c6053e10202d43bea2dbfa281fa549f98 from #2095. --- Closes #2000 the source l... — committed to acts-project/acts by acts-project-service a year ago
🥳 @Maury98, you get issue number TWO THOUSAND! 🥇
Can you provide a recipe to reproduce this in Athena?