From da505f84d3e8fc3bb7c54fea76eb5574987ee01a Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Wed, 6 Nov 2019 11:39:02 +0100 Subject: pkg/report: detect syzkaller panics in lost connection bugs Some syzkaller panics happen due to memory corruptions, but it still would be useful at least to get some visibility into these crashes. On some OSes we actualy already detect them as they have "panic:" oops pattern, but not e.g. on linux. Fixes #318 --- pkg/report/linux.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkg/report/linux.go') diff --git a/pkg/report/linux.go b/pkg/report/linux.go index 5a7bb79d1..f57011fed 100644 --- a/pkg/report/linux.go +++ b/pkg/report/linux.go @@ -853,7 +853,7 @@ func warningStackFmt(skip ...string) *stackFmt { } } -var linuxOopses = []*oops{ +var linuxOopses = append([]*oops{ { []byte("BUG:"), []oopsFormat{ @@ -1584,4 +1584,4 @@ var linuxOopses = []*oops{ }, []*regexp.Regexp{}, }, -} +}, commonOopses...) -- cgit mrf-deployment