Skip to content

ndi-python 6.3.2.1 macOS arm64 wheel crashes on Python finalization #44

@koolcandy

Description

@koolcandy

Environment

  • OS: macOS 26.3.1 (a), build 25D771280a
  • Kernel: Darwin 25.3.0, arm64
  • Machine: Apple Silicon / arm64
  • Python: 3.12.12
  • Python build: 3.12.12 (main, Feb 12 2026, 00:42:34) [Clang 21.1.4 ]
  • Package manager: uv
  • ndi-python: 6.3.2.1
  • numpy: 2.4.6

Reproduction

Install from PyPI:

uv pip install --force-reinstall ndi-python==6.3.2.1

Run:

python - <<'PY'
import NDIlib as ndi
print("imported")
PY

Actual Result

The process aborts during Python shutdown:

Fatal Python error: PyInterpreterState_Get: the function must be called with the GIL held, after Python initialization and before Python finalization, but the GIL is released (the current Python thread state is NULL)
Python runtime state: unknown

Turn to local build, and it work fine.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions