Mac M1: ctypes crashes Blender application when I load and run my dylib.
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 35.9k
- PR merge metrics
- PR metrics pending
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the attached Mac-M1-Crash.txt log and reproduce loading and running the openvdb dylib through ctypes on macOS arm64 under Python 3.10 and 3.11. Compare the two environments to identify the crash cause; done when the regression is understood and the Blender application no longer crashes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100