# panic: sync: Cond.Broadcast called without lock held

- **ID:** `go/condition-broadcast-without-lock`
- **Domain:** go
- **Category:** runtime_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

sync.Cond.Broadcast() or Signal() is called without holding the associated Locker, violating the documented contract.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| 1.18 | active | — | — |
| 1.20 | active | — | — |
| 1.22 | active | — | — |

## Workarounds

1. **** (96% success)
   ```
   c.L.Lock()
// mutate predicate
c.Broadcast()
c.L.Unlock()
   ```
2. **** (85% success)
   ```
   close(done) // wakes all waiters without a Cond
   ```

## Dead Ends

- **** — Still not holding the lock when Broadcast executes; panic persists. (85% fail)
- **** — Burns CPU and reintroduces races on the shared predicate. (70% fail)
