# panic: runtime error: invalid memory address or nil pointer dereference [recovered]

- **ID:** `go/goroutine-panic-without-recover`
- **Domain:** go
- **Category:** runtime_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

A goroutine panics due to nil pointer dereference, and the panic is recovered but the goroutine may have corrupted state.

## Version Compatibility

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

## Workarounds

1. **** (95% success)
   ```
   if p != nil { p.Method() } else { handleError() }
   ```
2. **** (85% success)
   ```
   defer func() { if r := recover(); r != nil { log.Println(r) } }()
   ```

## Dead Ends

- **** — Recover doesn't fix root cause; nil pointer remains undetected. (80% fail)
- **** — Race condition not solved by timing. (90% fail)
