github KhronosGroup/ANARI-SDK v0.17.1

one hour ago

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 new anari_embree::TaskingLifetime, which downstream devices built on anari_embree can 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, helide and helide-gpu packages now have their own PyPI READMEs, because the repository README's relative links are broken on PyPI. anari shows a page covering the Python bindings with absolute links. helide and helide-gpu show a short page linking to the device's README on GitHub.

🧪 Tests and CI

  • New unit_test::helide::Unload and halcyon::unload tests 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 new publish-release job 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

Full Changelog: v0.17.0...v0.17.1

Don't miss a new ANARI-SDK release

NewReleases is sending notifications on new releases.