-
Notifications
You must be signed in to change notification settings - Fork 46
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
1.9.0 may need to be yanked #103
Comments
Thanks. I yanked 1.9.0 now. |
Thank you. I'll try to figure out why this was failing, and incorporate the findings and fixes into #102, as it does seem to fix one of the problems introduced. |
FWIW, this version also breaks zbus. |
The problem seems to be coming from the use of thread-local AtomicWakers. Upon removing them, it seems to allow for the executor to properly work, albeit it's yielding to the OS for way too long. |
I've narrowed the problem down to the fact that the executor was storing wakers in two separate locations: the Sleepers and the thread-local AtomicWakers, if a thread was awoken by the thread-local wakers, the sleeping state of the corresponding ticker was not updated. These two different storage mechanisms for wakers likely needs to be consolidated and synchronized in some form. |
Maybe my instinct here was correct, as we need to keep track of the sleeper state in one central location. |
I got Bevy to work without deadlocking. We were removing the waker from |
At least all the zbus tests pass on both Linux and Windows with your branch. |
With release v1.9.1, we've reverted the thread-local queue changes. I intend to add these back; however we have to be very careful about corner cases that are also introduced by e.g. |
Unfortunate, but thanks for addressing this. |
bevyengine/bevy#12044 reports that the update to 1.9.0 is SemVer compatible with the prior 1.7.x and 1.8.x releases, and is currently causing all new fresh fetches and builds of Bevy to lock up on start. Likely due to a bug with #93. Still trying to root cause the issue.
The text was updated successfully, but these errors were encountered: