diff options
| -rw-r--r-- | vm/gvisor/gvisor.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vm/gvisor/gvisor.go b/vm/gvisor/gvisor.go index eba72bda1..b65a16edc 100644 --- a/vm/gvisor/gvisor.go +++ b/vm/gvisor/gvisor.go @@ -338,7 +338,9 @@ func (inst *instance) Diagnose() ([]byte, bool) { func init() { if os.Getenv("SYZ_GVISOR_PROXY") != "" { fmt.Fprint(os.Stderr, initStartMsg) - select {} + // If we do select{}, we can get a deadlock panic. + for range time.NewTicker(time.Hour).C { + } } } |
