Skip to content

tracked-structs: access to field whilst the value is being initialized #785

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

Closed
MichaReiser opened this issue Apr 2, 2025 · 0 comments · Fixed by #788
Closed

tracked-structs: access to field whilst the value is being initialized #785

MichaReiser opened this issue Apr 2, 2025 · 0 comments · Fixed by #788
Labels
bug Something isn't working

Comments

@MichaReiser
Copy link
Contributor

MichaReiser commented Apr 2, 2025

We see more spurious panics in the read_lock function of TrackedStructs:

panicked at /home/runner/.cargo/git/checkouts/salsa-e6f3bb7c2a062968/d758691/src/tracked_struct.rs:824:21:
access to field whilst the value is being initialized

I haven't been able to create a minimal reproduction yet. We see it both in our tests (where we heavily relly on incrementality for faster tests) and in the playground (IDE like environment)

This might be solved by #741

I'm opening this issue to document the problem. I still hope to find some time to push #741 over the line but I'm not sure yet when this will be.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant