-
Notifications
You must be signed in to change notification settings - Fork 1
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
Possible flakiness in miri
CI job.
#82
Comments
Another occurrence of this here. Seems to be the same problem: deallocation of an item while it is protected. It's occurring at the load split in the schedule stage logic. When the load splits, we send a pointer to the world on both threads. The pointer is then turned into a I need to revisit the code here to figure out if there's a better solution. |
Had another occurrence of this in a push on #88 here. But I also found that this isn't just isolated to this library. This |
Oddly, I can't seem to reproduce this at all locally. It just seems to occur randomly on CI. I'd hate to have to disable |
Will keep a watch out for this occurring again. If I don't see any further issues in a few weeks, I'll close this. |
Upon further investigation, it seems the last failure was on the I'm not positive, but it seems like this might be related to this change in Miri. The issue that was being hit deals specifically with protection of stacked borrows, and that PR changes how protection of stacked borrows works, adding "weak protection". I can't pretend to know the details, but it seems like it may have resolved the issue. Looking at the changed files, I see that the I'm not sure how releases of Miri on |
Seems like I was wrong. The For reference, this is the rustc version used in that run:
|
Looks like this was fixed on This means that |
Happened on #81.
miri
failed, but succeeded on a rerun. It's worth investigating, as it means there could be some edge case undefined behavior being hit thatmiri
can't catch all the time. From the logs, it seems to be originating in theScheduler
logic.The text was updated successfully, but these errors were encountered: