aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/report/linux.go
diff options
context:
space:
mode:
authorAndrey Konovalov <andreyknvl@google.com>2017-12-11 15:34:41 +0100
committerAndrey Konovalov <andreyknvl@gmail.com>2017-12-11 16:01:10 +0100
commit8d4ab426054a7bc7a3e16819155356bdb746e413 (patch)
tree1ddc46555062f66182a430f54cb8d6e202012ab0 /pkg/report/linux.go
parentc0020ec1977c811f8e7c888a5662cc2c7abd627d (diff)
pkg/report: bad unlock balance can be a WARNING
Diffstat (limited to 'pkg/report/linux.go')
-rw-r--r--pkg/report/linux.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/pkg/report/linux.go b/pkg/report/linux.go
index a37104c2d..5f966c8db 100644
--- a/pkg/report/linux.go
+++ b/pkg/report/linux.go
@@ -637,6 +637,17 @@ var linuxOopses = []*oops{
fmt: "WARNING: kernel stack frame pointer has bad value",
noStackTrace: true,
},
+ {
+ title: compile("WARNING: bad unlock balance detected!(?:.*\\n)+?.*{{PC}} +{{FUNC}}"),
+ report: compile("WARNING: bad unlock balance detected!(?:.*\\n){0,5}?.*is trying to release lock"),
+ fmt: "WARNING: bad unlock balance in %[1]v",
+ },
+ {
+ // If we failed to extract function name where the fault happened, the report is most likely truncated.
+ title: compile("WARNING: bad unlock balance detected!"),
+ fmt: "WARNING: bad unlock balance",
+ corrupted: true,
+ },
},
[]*regexp.Regexp{
compile("WARNING: /etc/ssh/moduli does not exist, using fixed modulus"), // printed by sshd