aboutsummaryrefslogtreecommitdiffstats
path: root/report
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2016-10-10 18:08:07 +0200
committerDmitry Vyukov <dvyukov@google.com>2016-10-10 18:08:07 +0200
commit016bad281df95fbcc9fb1f4781b53f89a749b4e1 (patch)
tree3830d61cc9fd78cbd69842b4b4a9b1f4ea7885a0 /report
parentf5a15094af1f14b9e24ca091ca0b31966780b7fc (diff)
report: support more error messages
Diffstat (limited to 'report')
-rw-r--r--report/report.go16
-rw-r--r--report/report_test.go16
2 files changed, 32 insertions, 0 deletions
diff --git a/report/report.go b/report/report.go
index 8aa3be076..28159067a 100644
--- a/report/report.go
+++ b/report/report.go
@@ -57,6 +57,22 @@ var oopses = []*oops{
compile("BUG: soft lockup"),
"BUG: soft lockup",
},
+ {
+ compile("BUG: .*still has locks held!(?:.*\\n)+.*{{PC}} +{{FUNC}}"),
+ "BUG: still has locks held in %[1]v",
+ },
+ {
+ compile("BUG: Bad rss-counter state"),
+ "BUG: Bad rss-counter state",
+ },
+ {
+ compile("BUG: non-zero nr_ptes on freeing mm"),
+ "BUG: non-zero nr_ptes on freeing mm",
+ },
+ {
+ compile("BUG: non-zero nr_pmds on freeing mm"),
+ "BUG: non-zero nr_pmds on freeing mm",
+ },
},
},
&oops{
diff --git a/report/report_test.go b/report/report_test.go
index b04cfb38e..118afffd4 100644
--- a/report/report_test.go
+++ b/report/report_test.go
@@ -149,6 +149,22 @@ other info that might help us debug this:
`: `suspicious RCU usage at net/core/filter.c:1917`,
`
+[ 80.586804] =====================================
+[ 80.587241] [ BUG: syz-executor/13525 still has locks held! ]
+[ 80.587792] 4.8.0+ #29 Not tainted
+[ 80.588114] -------------------------------------
+[ 80.588585] 1 lock held by syz-executor/13525:
+[ 80.588975] #0: (&pipe->mutex/1){+.+.+.}, at: [<ffffffff81844c8b>] pipe_lock+0x5b/0x70
+[ 80.589809]
+[ 80.589809] stack backtrace:
+[ 80.590236] CPU: 2 PID: 13525 Comm: syz-executor Not tainted 4.8.0+ #29
+`: `BUG: still has locks held in pipe_lock`,
+
+ `
+[ 2569.618120] BUG: Bad rss-counter state mm:ffff88005fac4300 idx:0 val:15
+`: `BUG: Bad rss-counter state`,
+
+ `
[ 4.556968] ================================================================================
[ 4.556972] UBSAN: Undefined behaviour in drivers/usb/core/devio.c:1517:25
[ 4.556975] shift exponent -1 is negative