aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/report/fuchsia.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2019-11-06 11:39:02 +0100
committerDmitry Vyukov <dvyukov@google.com>2019-11-06 11:41:05 +0100
commitda505f84d3e8fc3bb7c54fea76eb5574987ee01a (patch)
tree1744e28afcc5c1ee6ab874000bac35c53bc598dd /pkg/report/fuchsia.go
parent424cf6e8a12577719dc310bce2cce2a91723cf54 (diff)
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
Diffstat (limited to 'pkg/report/fuchsia.go')
-rw-r--r--pkg/report/fuchsia.go17
1 files changed, 2 insertions, 15 deletions
diff --git a/pkg/report/fuchsia.go b/pkg/report/fuchsia.go
index 25facf658..df64055e4 100644
--- a/pkg/report/fuchsia.go
+++ b/pkg/report/fuchsia.go
@@ -185,7 +185,7 @@ var zirconStackParams = &stackParams{
},
}
-var zirconOopses = []*oops{
+var zirconOopses = append([]*oops{
{
[]byte("ZIRCON KERNEL PANIC"),
[]oopsFormat{
@@ -316,17 +316,4 @@ var zirconOopses = []*oops{
compile("<== fatal exception: process .+?syz.+?\\["),
},
},
- {
- // Panics in Go services.
- []byte("panic: "),
- []oopsFormat{
- {
- title: compile("panic: .*"),
- report: compile("panic: (.*)(?:.*\\n)+?.* goroutine"),
- fmt: "panic: %[1]v",
- noStackTrace: true,
- },
- },
- []*regexp.Regexp{},
- },
-}
+}, commonOopses...)