-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
CPU spikes to 100% in an infinite While loop #2237
Comments
I believe this is a known bug :( |
Thanks for the tip @ide . I found some similar issues:
Its of interest to note that each of the issues reports 100% pegging in |
Interesting. Unfortunately I can't tell you when this will be fixed or whether this is a priority for Facebook but it does seem important and more data points are helpful. Thanks for your report. |
A 100% CPU bug in css-layout has been patched in 0.10 and 0.11-rc. |
@ide close since it's fixed. |
I'm seeing a problem where the app locks and the CPU throttles to 100% infinitely.
Sample App
Here is a sample repo that you can download. The app is only 140 lines long, but reproduces the issue 100%: https://github.com/sghiassy/react-bug
Cause
I'm not 100% sure what the issue is, but I've tracked it down to file
Layout.c
'swhile
loop on line 455.The text was updated successfully, but these errors were encountered: