-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Open
Labels
NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.RaceDetectorcompiler/runtimeIssues related to the Go compiler and/or runtime.Issues related to the Go compiler and/or runtime.
Milestone
Description
Go version: 1.8.3
OS: Mac
Program:
package main
func main() {
ch1 := make(chan int)
<-ch1
}
if run with go run deadlock.go
see: fatal error: all goroutines are asleep - deadlock!
if run with go run -race deadlock.go
program never finish
Is it expected behavior?
Does it make sense to improve deadlock detector to be aware about race detector?
Metadata
Metadata
Assignees
Labels
NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.RaceDetectorcompiler/runtimeIssues related to the Go compiler and/or runtime.Issues related to the Go compiler and/or runtime.