From 2bf81203b787b5477ee7fce277568b0f14294909 Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Tue, 16 Nov 2021 09:49:43 +0000 Subject: pkg/report: skip crc* frames Memory access errors inside the crc-calculating functions typically indicate an error in the calling function, rather than a bug in the CRC implementation. Skip them during stack frame parsing. Add a new report test that validates the new behavior. --- pkg/report/linux.go | 1 + 1 file changed, 1 insertion(+) (limited to 'pkg/report/linux.go') diff --git a/pkg/report/linux.go b/pkg/report/linux.go index 40c66261f..a6dd18d71 100644 --- a/pkg/report/linux.go +++ b/pkg/report/linux.go @@ -1163,6 +1163,7 @@ var linuxStackParams = &stackParams{ "writeq$", "logic_in", "logic_out", + "^crc\\d+", }, corruptedLines: []*regexp.Regexp{ // Fault injection stacks are frequently intermixed with crash reports. -- cgit mrf-deployment