aboutsummaryrefslogtreecommitdiffstats
path: root/pkg
diff options
context:
space:
mode:
authorMark Johnston <markjdb@gmail.com>2019-03-20 12:41:14 -0400
committerDmitry Vyukov <dvyukov@google.com>2019-03-20 17:46:29 +0100
commit427ea48700e7ca23f29a418f8d1998b55170c0aa (patch)
tree77c51eb892232d664d5e6a3659292b0cfae82af0 /pkg
parenta664c187e4fdbafa6255068a4a8496b8a3d7ba41 (diff)
pkg/report: deduplicate sctp "no chunks on the queues" reports
Diffstat (limited to 'pkg')
-rw-r--r--pkg/report/freebsd.go4
-rw-r--r--pkg/report/testdata/freebsd/report/920
2 files changed, 24 insertions, 0 deletions
diff --git a/pkg/report/freebsd.go b/pkg/report/freebsd.go
index 7205147cf..b07e942db 100644
--- a/pkg/report/freebsd.go
+++ b/pkg/report/freebsd.go
@@ -115,6 +115,10 @@ var freebsdOopses = []*oops{
"/.*/(sys/.*:[0-9]+)"),
fmt: "panic: %[1]v of destroyed %[2]v at %[3]v",
},
+ {
+ title: compile("panic: No chunks on the queues for sid [0-9]+\\.\\r?\\n"),
+ fmt: "panic: sctp: no chunks on the queues",
+ },
},
[]*regexp.Regexp{},
},
diff --git a/pkg/report/testdata/freebsd/report/9 b/pkg/report/testdata/freebsd/report/9
new file mode 100644
index 000000000..fdae1bab4
--- /dev/null
+++ b/pkg/report/testdata/freebsd/report/9
@@ -0,0 +1,20 @@
+TITLE: panic: sctp: no chunks on the queues
+
+panic: No chunks on the queues for sid 5.
+cpuid = 0
+time = 382
+KDB: stack backtrace:
+db_trace_self_wrapper() at db_trace_self_wrapper+0x47/frame 0xfffffe0016ad96f0
+vpanic() at vpanic+0x1e0/frame 0xfffffe0016ad9750
+panic() at panic+0x43/frame 0xfffffe0016ad97b0
+sctp_free_assoc() at sctp_free_assoc+0x32b3/frame 0xfffffe0016ad9850
+sctp_timeout_handler() at sctp_timeout_handler+0x167f/frame 0xfffffe0016ad98e0
+softclock_call_cc() at softclock_call_cc+0x1dd/frame 0xfffffe0016ad99b0
+softclock() at softclock+0xa3/frame 0xfffffe0016ad99f0
+ithread_loop() at ithread_loop+0x2f2/frame 0xfffffe0016ad9a60
+fork_exit() at fork_exit+0xb0/frame 0xfffffe0016ad9ab0
+fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe0016ad9ab0
+--- trap 0, rip = 0, rsp = 0, rbp = 0 ---
+KDB: enter: panic
+[ thread pid 12 tid 100018 ]
+Stopped at kdb_enter+0x6a: movq $0,kdb_why