runtime: bad "deadlock" fatal error when there are pending finalizers #41362
This program usually succeeds, but sometimes it fails with "fatal error: all goroutines are asleep - deadlock!":
Adding an extra
I think the program should reliably succeed, even if all
I don't know of any real-world programs this affects, so maybe this isn't a high priority if it's difficult to address completely. But it would make writing robust compiler test cases somewhat easier (e.g., see golang.org/cl/254401).
The text was updated successfully, but these errors were encountered: