-
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
Leak mutex to avoid a crashing issue #22607
Conversation
7d55b4e
to
b8e6613
Compare
Ping. Eliminating crash is really important. |
We've released out app with this patch and this crash gone away. |
Where is my manners. Thank you @chuganzy! |
@chuganzy |
Here's a quote from Oliver:
As I can see, that's not how RN works here (and everywhere else) with fonts and co. So, maybe this is the problem. |
Here's also a quote from @ocrickard. You can see the commit log here.
|
Yes, exactly. My point is that the fix in CK fixes different type of the crash, not the one that promised in this PR's description. |
Just chatted with Oliver and... I was a bit wrong. :) As Oliver pointed out, all TextKit-related crashes wich has something like '0x185dfc238 std::__1::mutex::try_lock() + 34' will be fixed with this fix. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@shergin is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
@shergin Thank you, but seems like the issue in its description also indicates that it's crashing when it tries to lock from its line so I am hoping that this solves the issue🤞 |
Summary: Try to solve facebook#13588 ref: facebook/componentkit#906 Pull Request resolved: facebook#22607 Differential Revision: D14084056 Pulled By: shergin fbshipit-source-id: 585aef758e1a215e825ae12914c5011d790a69b0
Summary: Try to solve facebook#13588 ref: facebook/componentkit#906 Pull Request resolved: facebook#22607 Differential Revision: D14084056 Pulled By: shergin fbshipit-source-id: 585aef758e1a215e825ae12914c5011d790a69b0
Summary: Try to solve facebook#13588 ref: facebook/componentkit#906 Pull Request resolved: facebook#22607 Differential Revision: D14084056 Pulled By: shergin fbshipit-source-id: 585aef758e1a215e825ae12914c5011d790a69b0
Summary: Try to solve facebook#13588 ref: facebook/componentkit#906 Pull Request resolved: facebook#22607 Differential Revision: D14084056 Pulled By: shergin fbshipit-source-id: 585aef758e1a215e825ae12914c5011d790a69b0
Try to solve #13588
ref: facebook/componentkit#906
Test Plan:
Regression / smoke tests should be enough.
Changelog:
[iOS] [Fixed] - Fix a crashing issue on RCTFont / mutex