ANARI-SDK v0.17.1 — Patch release
A bug-fix release for v0.17.0. There are no API changes.
🐛 Fixes
- helide and halcyon: crash when unloading the device library. When the last user of TBB in a process lets go, TBB shuts down its worker threads without waiting for them. Releasing the last helide or halcyon device and then unloading the library could crash in
private_worker::thread_routine, about once in 40 runs under load. Both devices now wait for TBB's workers when the device goes, through the newanari_embree::TaskingLifetime, which downstream devices built onanari_embreecan use too. It has no effect with Embree's internal tasking or with a oneTBB older than 2021.6. - helide frame callback test: use-after-free. One test unmapped a frame after it had signalled completion. By then the device was released and helide unloaded, so the late unmap touched freed memory and unloaded code. glibc usually hides this, but it fails as a bus error on FreeBSD (#435). The test now unmaps before it signals.
🐍 Python packages
- The
anari,helideandhelide-gpupackages now have their own PyPI READMEs, because the repository README's relative links are broken on PyPI.anarishows a page covering the Python bindings with absolute links.helideandhelide-gpushow a short page linking to the device's README on GitHub.
🧪 Tests and CI
- New
unit_test::helide::Unloadandhalcyon::unloadtests load a device, render, release and unload it ten times over, and require that no threads are left running afterwards. - Pushing a
v*tag now also runs the SDK CI. A newpublish-releasejob zips the Linux, Windows and macOS installs and attaches them to the tag's release, as was done by hand through v0.16.0.
What's Changed
- python: fix device wheel metadata and respin 0.17.0 as v0.17.0-1 by @jeffamstutz in #433
- updates for v0.17.1 release by @jeffamstutz in #436
Full Changelog: v0.17.0...v0.17.1