Open
Description
Environment
**Operating System: FreeBSD 14.2
**Version / Commit SHA: 12.0.1
**Other: nanobind-2.4.0
Describe the bug
The first example from this page prints nanobind messages:
$ python3.11 x.py
nanobind: leaked 1 instances!
- leaked instance 0x10dc3cf17e90 of type "openvdb.Transform"
nanobind: leaked 1 keep_alive records!
nanobind: leaked 2 types!
- leaked type "Axis"
- leaked type "openvdb.Transform"
nanobind: leaked 23 functions!
- leaked function "postTranslate"
- leaked function "preRotate"
- leaked function "preTranslate"
- leaked function "worldToIndex"
- leaked function "__init__"
- leaked function "postShear"
- leaked function "__getstate__"
- leaked function "voxelSize"
- leaked function ""
- leaked function "__ne__"
- leaked function "preShear"
- ... skipped remainder
nanobind: this is likely caused by a reference counting issue in the binding code.
To Reproduce
- Build
- Run example
Expected behavior
(A clear and concise description of what you expected to happen.)
Additional context
(Add any other context about the problem here.)