aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/report/linux.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-07-13 10:31:26 +0200
committerDmitry Vyukov <dvyukov@google.com>2018-07-13 10:31:26 +0200
commit3d741171f29921671c3c8da59f00911b4ee3bb23 (patch)
treeed19cd186064fe82a2cdd15e45b0c64e3c874b8b /pkg/report/linux.go
parent06c33b3af0ff4072fb002879f83077c9d162a224 (diff)
pkg/report: add "lock held when returning to user space" format for older kernels
Diffstat (limited to 'pkg/report/linux.go')
-rw-r--r--pkg/report/linux.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/pkg/report/linux.go b/pkg/report/linux.go
index c8e8dc523..30f2770b1 100644
--- a/pkg/report/linux.go
+++ b/pkg/report/linux.go
@@ -694,6 +694,12 @@ var linuxOopses = []*oops{
fmt: "BUG: still has locks held in %[1]v",
},
{
+ title: compile("BUG: lock held when returning to user space"),
+ report: compile("BUG: lock held when returning to user space(?:.*\\n)+?.*leaving the kernel with locks still held(?:.*\\n)+?.*at: (?:{{PC}} +)?{{FUNC}}"),
+ fmt: "BUG: lock held when returning to user space in %[1]v",
+ noStackTrace: true,
+ },
+ {
title: compile("BUG: bad unlock balance detected!"),
report: compile("BUG: bad unlock balance detected!(?:.*\\n){0,15}?.*is trying to release lock(?:.*\\n){0,15}?.*{{PC}} +{{FUNC}}"),
fmt: "BUG: bad unlock balance in %[1]v",
@@ -819,7 +825,6 @@ var linuxOopses = []*oops{
fmt: "WARNING: locking bug in %[1]v",
stack: warningStackFmt(),
},
-
{
title: compile("WARNING: lock held when returning to user space"),
report: compile("WARNING: lock held when returning to user space(?:.*\\n)+?.*leaving the kernel with locks still held(?:.*\\n)+?.*at: (?:{{PC}} +)?{{FUNC}}"),