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/netbsd.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkg/report/netbsd.go') diff --git a/pkg/report/netbsd.go b/pkg/report/netbsd.go index 45c7c2717..5ebdc7524 100644 --- a/pkg/report/netbsd.go +++ b/pkg/report/netbsd.go @@ -145,7 +145,7 @@ func (ctx *netbsd) symbolizeLine(symbFunc func(bin string, pc uint64) ([]symboli } // nolint: lll -var netbsdOopses = []*oops{ +var netbsdOopses = append([]*oops{ { []byte("fault in supervisor mode"), []oopsFormat{ @@ -188,4 +188,4 @@ var netbsdOopses = []*oops{ }, []*regexp.Regexp{}, }, -} +}, commonOopses...) -- cgit mrf-deployment