From dcf3aa89fe0f287b9934ebab3136d3cc98f1b5f3 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Thu, 18 Jan 2018 10:28:07 +0100 Subject: pkg/report: allow up to 15 lines from "Call Trace" to first frame Fixes a bunch of reports incorrectly marked as corrupted. --- pkg/report/linux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/report/linux.go') diff --git a/pkg/report/linux.go b/pkg/report/linux.go index 4c9649d7d..8461acd30 100644 --- a/pkg/report/linux.go +++ b/pkg/report/linux.go @@ -413,7 +413,7 @@ func (ctx *linux) isCorrupted(title string, report []byte, format oopsFormat) bo corrupted := true // Check that at least one of the next 10 lines contains a frame. outer: - for i := 0; i < 10 && i < len(frames); i++ { + for i := 0; i < 15 && i < len(frames); i++ { for _, key1 := range linuxStackKeywords { // Next stack trace starts. if key1.Match(frames[i]) { -- cgit mrf-deployment