Project

General

Profile

Bug #11705

memory access error in larana/CosmicRemoval/BeamFlashTrackMatchTaggerAlg.cxx

Added by Saba Sehrish over 3 years ago. Updated almost 3 years ago.

Status:
Assigned
Priority:
Normal
Category:
-
Target version:
-
Start date:
02/11/2016
Due date:
% Done:

0%

Estimated time:
Occurs In:
Experiment:
-
Co-Assignees:
Duration:

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 almost 3 years ago

  • Status changed from New to Assigned
  • Assignee set to Wesley Ketchum


Also available in: Atom PDF