diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2016-10-16 08:13:55 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2016-10-16 08:15:24 +0200 |
| commit | ae7eda212f38e24b4c68a0b65784fbb6d4716ea3 (patch) | |
| tree | 797a7975b85b9da78a42808da83d1865548a6941 /report | |
| parent | 8de62fb58df4fc19cfaa3e2791ea057e733dbbb2 (diff) | |
report: add another report format for hung tasks
Diffstat (limited to 'report')
| -rw-r--r-- | report/report.go | 4 | ||||
| -rw-r--r-- | report/report_test.go | 21 |
2 files changed, 25 insertions, 0 deletions
diff --git a/report/report.go b/report/report.go index df241ed24..241f806b5 100644 --- a/report/report.go +++ b/report/report.go @@ -111,6 +111,10 @@ var oopses = []*oops{ compile("INFO: suspicious RCU usage(?:.*\n.*)+(?: |\n|\t){{SRC}}"), "suspicious RCU usage at %[1]v", }, + { + compile("INFO: task .* blocked for more than [0-9]+ seconds"), + "INFO: task hung", + }, }, }, &oops{ diff --git a/report/report_test.go b/report/report_test.go index f7f3922b0..d11e8f313 100644 --- a/report/report_test.go +++ b/report/report_test.go @@ -409,6 +409,27 @@ BUG: spinlock lockup suspected on CPU#2, syz-executor/12636 `: `BUG: soft lockup`, ` +[ 843.240752] INFO: task getty:2986 blocked for more than 120 seconds. +[ 843.247365] Not tainted 3.18.0-13280-g93f6785-dirty #12 +[ 843.253777] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. +[ 843.261764] getty D ffffffff83e27d60 28152 2986 1 0x00000002 +[ 843.269316] ffff88005bb6f908 0000000000000046 ffff880050b6ab70 ffff880061e1c5d0 +[ 843.277435] fffffbfff07c4802 ffff880061e1cde8 ffffffff83e27d60 ffff88005cb71580 +[ 843.285515] ffff88005bb6f968 0000000000000000 1ffff1000b76df2b ffff88005cb71580 +[ 843.293802] Call Trace: +[ 843.296385] [<ffffffff835bdeb4>] schedule+0x64/0x160 +[ 843.301593] [<ffffffff835c9c1a>] schedule_timeout+0x2fa/0x5d0 +[ 843.307563] [<ffffffff835c9920>] ? console_conditional_schedule+0x30/0x30 +[ 843.314790] [<ffffffff811c1eb2>] ? pick_next_task_fair+0xeb2/0x1680 +[ 843.321296] [<ffffffff81d9b3ed>] ? check_preemption_disabled+0x3d/0x210 +[ 843.328311] [<ffffffff835cb4ec>] ldsem_down_write+0x1ac/0x357 +[ 843.334295] [<ffffffff835cb340>] ? ldsem_down_read+0x3a0/0x3a0 +[ 843.340437] [<ffffffff835bec62>] ? preempt_schedule+0x62/0xa0 +[ 843.346418] [<ffffffff835cbdd2>] tty_ldisc_lock_pair_timeout+0xb2/0x160 +[ 843.353363] [<ffffffff81f8b03f>] tty_ldisc_hangup+0x21f/0x720 +`: `INFO: task hung`, + + ` BUG UNIX (Not tainted): kasan: bad access detected `: "", } |
