-
Notifications
You must be signed in to change notification settings - Fork 24.7k
RCTText.m drawRect #1302
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
Comments
@myusuf3 can you try cleaning the project? |
Looks like the same problem as #1207. |
Cc @a2 - I think we either need to introduce some thread locking around our NSTextLayout, or rethink the strategy of sharing it between main & shadow threads. |
So we have some code that can reproduce this bug fairly reliably and it does point to it being some sort of race condition when updating text on the screen. Let me know I think I can whip up something fairly quick. |
@nicklockwood I agree with the rethinking strategy of sharing main and shadow threads. This is currently breaking us and how to turn of code that does the text updating in order to continue app development. |
Closing this out since 0689c07 hopefully fixes the source of the text crashes. Please open another task if the master branch of React still causes RCTText crashes for you. |
My app keeps crashing randomly, I am not even interacting with the UI it just crashes inside
drawRect
forRCTText.m
The page will load up fine work well then bang.Here is the trace I get.
The text was updated successfully, but these errors were encountered: