Lines Matching refs:crash
72 reporting, bugReporting, crash, crashKey, _, _, _, err := needReport(c, typ, state, bug)
76 rep, err := createBugReport(c, bug, crash, crashKey, bugReporting, reporting.Config)
85 reporting *Reporting, bugReporting *BugReporting, crash *Crash,
122 crash, crashKey, err = findCrashForBug(c, bug)
128 if reporting.Config.NeedMaintainers() && len(crash.Maintainers) == 0 {
193 func createBugReport(c context.Context, bug *Bug, crash *Crash, crashKey *datastore.Key,
199 crashLog, _, err := getText(c, textCrashLog, crash.Log)
206 report, _, err := getText(c, textCrashReport, crash.Report)
213 reproC, _, err := getText(c, textReproC, crash.ReproC)
217 reproSyz, _, err := getText(c, textReproSyz, crash.ReproSyz)
224 if len(crash.ReproOpts) != 0 {
225 fmt.Fprintf(buf, "#%s\n", crash.ReproOpts)
230 build, err := loadBuild(c, bug.Namespace, crash.BuildID)
247 LogLink: externalLink(c, textCrashLog, crash.Log),
249 ReportLink: externalLink(c, textCrashReport, crash.Report),
250 Maintainers: crash.Maintainers,
264 ReproCLink: externalLink(c, textReproC, crash.ReproC),
266 ReproSyzLink: externalLink(c, textReproSyz, crash.ReproSyz),
456 crash := new(Crash)
458 if err := datastore.Get(c, crashKey, crash); err != nil {
462 crash.Reported = now
463 if _, err := datastore.Put(c, crashKey, crash); err != nil {
662 crash, key := crashes[0], keys[0]
664 if crash.ReproC == 0 {
668 if crash.ReproSyz == 0 {
672 if crash.Report == 0 {
676 return crash, key, nil