From 3986ce95fde3d4b5bccef19b537da090021046fc Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Thu, 12 Jul 2018 12:38:52 +0200 Subject: pkg/report: add report format for "lock held when returning to user space" This report does not have stack trace, so we always detected it as corrupted. --- pkg/report/linux.go | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'pkg/report/linux.go') diff --git a/pkg/report/linux.go b/pkg/report/linux.go index f29235b69..c8e8dc523 100644 --- a/pkg/report/linux.go +++ b/pkg/report/linux.go @@ -819,6 +819,13 @@ 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}}"), + fmt: "WARNING: lock held when returning to user space in %[1]v", + noStackTrace: true, + }, { title: compile("WARNING: .*mm/.*\\.c.* k?.?malloc"), fmt: "WARNING: kmalloc bug in %[1]v", -- cgit mrf-deployment