aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/repro
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/repro')
-rw-r--r--pkg/repro/repro.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/repro/repro.go b/pkg/repro/repro.go
index d2076ffbf..67171a368 100644
--- a/pkg/repro/repro.go
+++ b/pkg/repro/repro.go
@@ -262,6 +262,8 @@ func (ctx *reproContext) extractProg(entries []*prog.LogEntry) (*Result, error)
var toTest []*prog.LogEntry
if ctx.crashExecutor != nil {
for _, entry := range entries {
+ // Note: we don't check ProcID b/c hanged programs are assigned fake unique proc IDs
+ // that don't match "Comm" in the kernel panic message.
if entry.ID == ctx.crashExecutor.ExecID {
toTest = append(toTest, entry)
ctx.reproLogf(3, "first checking the prog from the crash report")