diff options
Diffstat (limited to 'pkg/manager/diff.go')
| -rw-r--r-- | pkg/manager/diff.go | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/pkg/manager/diff.go b/pkg/manager/diff.go index 792b1e46e..54c8dc822 100644 --- a/pkg/manager/diff.go +++ b/pkg/manager/diff.go @@ -167,7 +167,14 @@ loop: dc.store.BaseCrashed(rep.Title, rep.Report) case ret := <-runner.done: // We have run the reproducer on the base instance. - if ret.crashReport == nil { + + // A sanity check: the base kernel might have crashed with the same title + // since the moment we have stared the reproduction / running on the repro base. + crashesOnBase := dc.store.EverCrashedBase(ret.origReport.Title) + if ret.crashReport == nil && crashesOnBase { + // Report it as error so that we could at least find it in the logs. + log.Errorf("repro didn't crash base, but base itself crashed: %s", ret.origReport.Title) + } else if ret.crashReport == nil { dc.store.BaseNotCrashed(ret.origReport.Title) dc.patchedOnly <- &UniqueBug{ Report: ret.origReport, |
