# fatal error: all goroutines are asleep - deadlock! (goroutine 1 [chan receive])

- **ID:** `go/goroutine-leak-no-sender`
- **Domain:** go
- **Category:** runtime_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

A goroutine is blocked receiving from a channel that never receives data, with no active sender.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| 1.20 | active | — | — |
| 1.21 | active | — | — |

## Workarounds

1. **** (95% success)
   ```
   ch := make(chan int); go func() { ch <- 42 }(); val := <-ch
   ```
2. **** (85% success)
   ```
   select { case val := <-ch: case <-time.After(time.Second): }
   ```

## Dead Ends

- **** — Receive from closed channel returns zero value immediately, not blocking, but may not be desired. (70% fail)
- **** — Sleep doesn't create a sender; still blocks forever. (90% fail)
