Uh oh!
There was an error while loading. Please reload this page.
Leak mutex to avoid a crashing issue - #22607
Conversation
7d55b4e to
b8e6613CompareDimitryDushkin
commented
Jan 16, 2019
Ping. Eliminating crash is really important. |
DimitryDushkin
commented
Jan 29, 2019
We've released out app with this patch and this crash gone away. |
chuganzy
commented
Jan 29, 2019
DimitryDushkin
commented
Jan 29, 2019
Where is my manners. Thank you @chuganzy! |
@chuganzy |
shergin
commented
Feb 14, 2019
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. |
shergin
commented
Feb 14, 2019
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. |
facebook-github-bot
left a comment
There was a problem hiding this comment.
@shergin is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
chuganzy
commented
Feb 14, 2019
@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🤞 |

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