Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix python SDK's shutdown unsafely dropping cross-FFI resources #8038

Merged
merged 1 commit into from
Nov 7, 2024

Conversation

teh-cmc
Copy link
Member

@teh-cmc teh-cmc commented Nov 7, 2024

Checklist

  • I have read and agree to Contributor Guide and the Code of Conduct
  • I've included a screenshot or gif (if applicable)
  • I have tested the web demo (if applicable):
  • The PR title and labels are set such as to maximize their usefulness for the next release's CHANGELOG
  • If applicable, add a new check to the release checklist!
  • If have noted any breaking changes to the log API in CHANGELOG.md and the migration guide

To run all checks from main, comment on the PR with @rerun-bot full-check.

@teh-cmc teh-cmc added 🪳 bug Something isn't working 🐍 Python API Python logging API 💣 crash crash, deadlock/freeze, do-no-start include in changelog 🚢 CI labels Nov 7, 2024
@teh-cmc
Copy link
Member Author

teh-cmc commented Nov 7, 2024

This one should turn green: https://github.com/rerun-io/rerun/actions/runs/11724715409?pr=7968

@teh-cmc
Copy link
Member Author

teh-cmc commented Nov 7, 2024

@rerun-bot full-check

Copy link

github-actions bot commented Nov 7, 2024

Started a full build: https://github.com/rerun-io/rerun/actions/runs/11724820546

for (_, recording) in all_recordings().drain() {
// NOTE: Do **NOT** try and drain() `all_recordings` here.
//
// Doing so would drop the last remaining reference to these recordings, and therefore
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for nicely clarifying, this is indeed nuanced

@teh-cmc teh-cmc merged commit b68176d into main Nov 7, 2024
79 checks passed
@teh-cmc teh-cmc deleted the cmc/fix_python_shutdown branch November 7, 2024 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🪳 bug Something isn't working 💣 crash crash, deadlock/freeze, do-no-start include in changelog 🐍 Python API Python logging API 🚢 CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CI failing: "terminate called without an active exception"
2 participants