Skip to content

docs(tech-debt): record fknm nanobind leak on background-thread creation#552

Merged
petercorke merged 1 commit into
mainfrom
docs/nanobind-leak-tech-debt
Jul 6, 2026
Merged

docs(tech-debt): record fknm nanobind leak on background-thread creation#552
petercorke merged 1 commit into
mainfrom
docs/nanobind-leak-tech-debt

Conversation

@petercorke

Copy link
Copy Markdown
Owner

Summary

  • Records a reproducible nanobind refleak: _ETObj/_ETSObj created via fkine()/jacob0() from a background thread get flagged as leaked at interpreter shutdown; the same calls on the main thread do not. Relevant to swift-sim, whose stepping runs off-thread.
  • Docs-only change (tech-debt.md), no code changes.

Test plan

  • N/A — documentation only

Confirmed reproducible and independent of Swift/Ctrl+C: nanobind's leak
detector fires for _ETObj/_ETSObj created via fkine()/jacob0() on a
background thread, but not from thousands of the same calls on the main
thread. Relevant to swift-sim, whose stepping runs off-thread.
@petercorke petercorke merged commit c5b80b3 into main Jul 6, 2026
15 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant