Bug #11705
memory access error in larana/CosmicRemoval/BeamFlashTrackMatchTaggerAlg.cxx
Start date:
02/11/2016
Due date:
% Done:
0%
Estimated time:
Occurs In:
Experiment:
-
Co-Assignees:
Description
The problem appears as a result of investigating memory problem while running uboone reco_stage_2.
In line 465 in larana/CosmicRemoval/BeamFlashTrackMatchTaggerAlg.cxx, there was an error of "couldn't access memory".
The code is: PEbyOpDet[o] += flashPointer->PE;
When the code fails, the size of PEbyOpDet[] is 32, and o=32, i.e. it tries to increment a value at index 32, which obviously is incorrect.
Why the value of o is greater than the last index of PEbyOpDet? It needs to be investigated.
History
#1 Updated by Katherine Lato over 4 years ago
- Status changed from New to Assigned
- Assignee set to Wesley Ketchum