# WorkerCrash: Worker 0 crashed with exit code -6 (SIGABRT)

- **ID:** `python/pytest-xdist-worker-crash`
- **Domain:** python
- **Category:** system_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

A worker process in pytest-xdist crashed due to a segmentation fault or abort, often caused by a C extension bug or memory corruption.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| 3.8 | active | — | — |
| 3.9 | active | — | — |
| 3.10 | active | — | — |
| 3.11 | active | — | — |
| 3.12 | active | — | — |

## Workarounds

1. **** (90% success)
   ```
   Run tests with a single worker to isolate the issue: `pytest -p no:xdist` or `pytest -n 0`
   ```
2. **** (70% success)
   ```
   Use `pytest --timeout` to detect hanging tests and reduce memory usage, or debug with gdb to find the crash location.
   ```

## Dead Ends

- **** — More workers may increase memory pressure and exacerbate the crash, not fix the underlying issue. (80% fail)
- **** — The crash is likely reproducible and indicates a serious bug; ignoring it leads to unreliable test results. (90% fail)
