aboutsummaryrefslogtreecommitdiffstats
path: root/pkg
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-12-13 16:36:15 +0100
committerDmitry Vyukov <dvyukov@google.com>2018-12-13 16:36:15 +0100
commite7cae6a7f260f99fcb45944234a77787ec15aad6 (patch)
treed18db8968efd9a5234f248a8a988fc474abf583c /pkg
parentecf8ceeef241d31b45545eb3e08edcb73c079151 (diff)
pkg/report: another gvisor OOM suppression
Diffstat (limited to 'pkg')
-rw-r--r--pkg/report/gvisor.go1
-rw-r--r--pkg/report/testdata/gvisor/report/2010
2 files changed, 11 insertions, 0 deletions
diff --git a/pkg/report/gvisor.go b/pkg/report/gvisor.go
index ec0a494ea..59199145a 100644
--- a/pkg/report/gvisor.go
+++ b/pkg/report/gvisor.go
@@ -25,6 +25,7 @@ func ctorGvisor(target *targets.Target, kernelSrc, kernelObj string,
"panic: ptrace sysemu failed: no such process", // OOM kill
`panic: ptrace set fpregs.* failed: no such process`, // OOM kill
`panic: ptrace set regs.* failed: no such process`, // OOM kill
+ "panic: error initializing first thread: resource temporarily unavailable",
"panic: failed to start executor binary",
"panic: executor failed: pthread_create failed",
"panic: error mapping run data: error mapping runData: cannot allocate memory",
diff --git a/pkg/report/testdata/gvisor/report/20 b/pkg/report/testdata/gvisor/report/20
new file mode 100644
index 000000000..0f66ebaba
--- /dev/null
+++ b/pkg/report/testdata/gvisor/report/20
@@ -0,0 +1,10 @@
+TITLE: panic: error initializing first thread: resource temporarily unavailable
+SUPPRESSED: Y
+
+panic: error initializing first thread: resource temporarily unavailable
+
+goroutine 3009138 [running]:
+gvisor.googlesource.com/gvisor/pkg/sentry/platform/ptrace.newSubprocess.func1(0xc00070ab80, 0xc001514900, 0xc001514960)
+ pkg/sentry/platform/ptrace/subprocess.go:166 +0x364
+created by gvisor.googlesource.com/gvisor/pkg/sentry/platform/ptrace.newSubprocess
+ pkg/sentry/platform/ptrace/subprocess.go:147 +0x213