{
  "id": "python/pytest-xdist-worker-crash",
  "signature": "WorkerCrash: Worker 0 crashed with exit code -6 (SIGABRT)",
  "signature_zh": "WorkerCrash: 工作进程 0 崩溃，退出码 -6 (SIGABRT)",
  "regex": "WorkerCrash:\\ Worker\\ 0\\ crashed\\ with\\ exit\\ code\\ \\-6\\ \\(SIGABRT\\)",
  "domain": "python",
  "category": "system_error",
  "subcategory": null,
  "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.",
  "root_cause_type": "generic",
  "root_cause_zh": "pytest-xdist 中的一个工作进程因段错误或中止而崩溃，通常由 C 扩展错误或内存损坏引起。",
  "versions": [
    {
      "version": "3.8",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "3.9",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "3.10",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "3.11",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "3.12",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "More workers may increase memory pressure and exacerbate the crash, not fix the underlying issue.",
      "fail_rate": 0.8,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "The crash is likely reproducible and indicates a serious bug; ignoring it leads to unreliable test results.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.9,
      "how": "Run tests with a single worker to isolate the issue: `pytest -p no:xdist` or `pytest -n 0`",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.7,
      "how": "Use `pytest --timeout` to detect hanging tests and reduce memory usage, or debug with gdb to find the crash location.",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": null,
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.85,
  "fix_success_rate": 0.8,
  "resolvable": "partial",
  "first_seen": "2024-10-05",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}