Mac M1: ctypes crashes Blender application when I load and run my dylib.
オープン
まだ誰も着手していません。
OS-mac
topic-ctypes
type-crash
- 主要言語
- Python
- スター
- 77.2k
- フォーク
- 35.9k
- PR マージ指標
- PR 指標を取得中
説明
Crash report
What happened?
Ctypes crashes Blender application when I load and run my dylib. My dylib is called "openvdb" and looking at my log it seems it's on Python's side.
Working version: Blender 4.0, Python 3.10
Broken version: Blender 4.1, Python 3.11
Blender 4.0 has Python 3.10 and all works fine. But Blender 4.1 has Python 3.11 and it crashes.
Here is my log:
Mac-M1-Crash.txt
MacOS architecture is arm64.
CPython versions tested on:
3.10, 3.11
Operating systems tested on:
macOS
Output from running 'python -VV' on the command line:
No response
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
添付された Mac-M1-Crash.txt ログから始め、macOS arm64 上の Python 3.10 および 3.11 で、ctypes を介して openvdb dylib をロードして実行する処理を再現します。2つの環境を比較してクラッシュの原因を特定します。回帰の原因が理解され、Blender アプリケーションがクラッシュしなくなった時点で完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- operating-systems
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100