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

rr.serve_web() deadlocks when logging before calling it #8417

Open
jleibs opened this issue Dec 11, 2024 · 1 comment
Open

rr.serve_web() deadlocks when logging before calling it #8417

jleibs opened this issue Dec 11, 2024 · 1 comment
Labels
🪳 bug Something isn't working 🐍 Python API Python logging API

Comments

@jleibs
Copy link
Member

jleibs commented Dec 11, 2024

Simple repro:

import rerun as rr

rr.init("stuck")

rr.log("entity", rr.Points3D([[0, 0, 0], [1, 1, 1]], radii=[0.5, 0.5, 0.5]))

rr.serve()

print("Exiting") # Never output

By comparison:

import rerun as rr

rr.init("stuck")

rr.serve()

rr.log("entity", rr.Points3D([[0, 0, 0], [1, 1, 1]], radii=[0.5, 0.5, 0.5]))

print("Exiting")

exits as expected.

@jleibs jleibs added 👀 needs triage This issue needs to be triaged by the Rerun team 🪳 bug Something isn't working 🐍 Python API Python logging API and removed 👀 needs triage This issue needs to be triaged by the Rerun team labels Dec 11, 2024
@jleibs
Copy link
Member Author

jleibs commented Dec 11, 2024

This appears to have been an issue since 0.17.

@teh-cmc teh-cmc changed the title rr.serve_web() deadlocks when logging before calling rr.serve() rr.serve_web() deadlocks when logging before calling rr.serve_web() Dec 12, 2024
@teh-cmc teh-cmc changed the title rr.serve_web() deadlocks when logging before calling rr.serve_web() rr.serve_web() deadlocks when logging before calling it Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🪳 bug Something isn't working 🐍 Python API Python logging API
Projects
None yet
Development

No branches or pull requests

1 participant