diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-01-18 10:28:07 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-01-18 10:28:07 +0100 |
| commit | dcf3aa89fe0f287b9934ebab3136d3cc98f1b5f3 (patch) | |
| tree | a99760a243c602217fe98e5b2dc8b89f4e38aedc /pkg/report/linux.go | |
| parent | 2666e00902033fd61964c24f3444b94cf25cb6de (diff) | |
pkg/report: allow up to 15 lines from "Call Trace" to first frame
Fixes a bunch of reports incorrectly marked as corrupted.
Diffstat (limited to 'pkg/report/linux.go')
| -rw-r--r-- | pkg/report/linux.go | 2 |
1 files changed, 1 insertions, 1 deletions
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]) { |
