Skip to content

Fix memory allocation issue when UT rawbank is empty

Jiahui Zhuo requested to merge jzhuo_FixMemoryIssue into 2024-patches

This MR should fix the memory allocation issue: https://lblogbook.cern.ch/HLT/1581

The problem was resolved by adding extra protection in the forward algorithm for empty UT rawbanks (bug identified by @dtou, many thanks!). This merge request adds additional protection to prevent similar issues from occurring in other algorithms.

I tested this with bu_307339_LHCb_ECEB01_BU_0.mep, but can't reproduce exactly same issue, would be good to test it with a test-stack in data-taking.

FIY: @cagapopo @decianm @rmatev @mfontana @tmombach

Edited by Jiahui Zhuo

Merge request reports