Segmentation Fault (core dumped) for Python 3.10 and 3.11 on Ubuntu
- 主要語言
- Python
- 星號
- 93.9k
- 分支
- 7.7k
- 平均合併
- 2 天 13 小時
- 30 天內合併 PR
- 4
描述
### Describe the bug
When using `manim-render` (`v1.6.1`) in a GitHub action, it issues a Segmentation Fault when using Python versions `3.10` and `3.11`. For versions `3.7`, `3.8`, and `3.9`, everything works fine.
I am aware of #1387 and #1406, but nothing seemed to make it work.
**Code**:
The faulty line of code is:
```
xvfb-run -a -s "-screen 0 1400x900x24" manim-render -l example.py Example ThreeDExample
```
However, it is to mention that it works just fine for earlier versions of Python, or working on MacOS.
Full information is to be found in the [jobs run](https://github.com/jeertmans/manim-slides/actions/runs/3567363468/jobs/5994969607) and in the [workflow file](https://github.com/jeertmans/manim-slides/blob/release-4.6.1-py311/.github/workflows/test_examples.yml#L109-L111).
**Wrong display or Error traceback**:

(some lines skipped)

### Additional context
I created a Manim plugin, and I use GitHub actions to validate my code. This makes my CI tests fail.
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
此問題是在 Ubuntu 上使用 Python 3.10/3.11 時發生的 manim-render segmentation fault。先重現環境:Ubuntu、xvfb-run,以及特定的 Python 版本。檢查相關連結的 GitHub Actions 日誌以查看精確的當機脈絡。查看 manim codebase 的渲染路徑以及與更新的 Python 或 cairo/pango 等依賴項相關的已知問題。檢查是否有在 xvfb 下的 CLI 渲染現有測試。
由索引模型根據 Issue 內容生成。
評估
- 領域
- cli, testing-qa
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100