From cb93a59bbf1d3db1aa49e2cfb1bbabdca2f63e94 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Fri, 22 Jun 2018 20:01:10 +0200 Subject: pkg/report: fix gvisor segv reports --- pkg/report/gvisor.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'pkg/report/gvisor.go') diff --git a/pkg/report/gvisor.go b/pkg/report/gvisor.go index f690db285..488a40dad 100644 --- a/pkg/report/gvisor.go +++ b/pkg/report/gvisor.go @@ -150,22 +150,22 @@ var gvisorOopses = []*oops{ []*regexp.Regexp{}, }, &oops{ - []byte("signal SIGSEGV"), + []byte("SIGSEGV:"), []oopsFormat{ { - title: compile("signal SIGSEGV(.*)"), - fmt: "signal SIGSEGV%[1]v", + title: compile("SIGSEGV:(.*)"), + fmt: "SIGSEGV:%[1]v", noStackTrace: true, }, }, []*regexp.Regexp{}, }, &oops{ - []byte("signal SIGBUS"), + []byte("SIGBUS:"), []oopsFormat{ { - title: compile("signal SIGBUS(.*)"), - fmt: "signal SIGBUS%[1]v", + title: compile("SIGBUS:(.*)"), + fmt: "SIGBUS:%[1]v", noStackTrace: true, }, }, -- cgit mrf-deployment