python / python/cpython

Mac M1: ctypes crashes Blender application when I load and run my dylib.

未關閉
#121,142 6 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

OS-mac topic-ctypes type-crash
主要語言
Python
星號
77.2k
分支
36k
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

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

從附加的 Mac-M1-Crash.txt 記錄開始,在 macOS arm64 上使用 Python 3.10 和 3.11,透過 ctypes 重現載入和執行 openvdb dylib。比較這兩個環境以找出崩潰原因;當回歸問題已獲得理解且 Blender 應用程式不再崩潰時,即視為完成。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
python
領域
operating-systems
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
需要釐清
新手友好度
25/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。