diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2021-11-16 09:49:43 +0000 |
|---|---|---|
| committer | Aleksandr Nogikh <wp32pw@gmail.com> | 2021-11-16 11:38:25 +0100 |
| commit | 2bf81203b787b5477ee7fce277568b0f14294909 (patch) | |
| tree | 4013547ebc866f8957724c88d8fa2c95c2751ece /pkg/report/linux.go | |
| parent | 600426bd2469e93b9697e9f6c11674ab0ecd22b9 (diff) | |
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.
Diffstat (limited to 'pkg/report/linux.go')
| -rw-r--r-- | pkg/report/linux.go | 1 |
1 files changed, 1 insertions, 0 deletions
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. |
