From 016bad281df95fbcc9fb1f4781b53f89a749b4e1 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Mon, 10 Oct 2016 18:08:07 +0200 Subject: report: support more error messages --- report/report.go | 16 ++++++++++++++++ report/report_test.go | 16 ++++++++++++++++ 2 files changed, 32 insertions(+) (limited to 'report') 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 @@ -148,6 +148,22 @@ net/core/filter.c:1917 suspicious rcu_dereference_protected() usage! 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: [] 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 -- cgit mrf-deployment