Skip to content

iOS [RCTShadowText buildTextStorageForWidth: widthMode:] will cause app infinite-loop and memory-blast in a very small probability  #11412

@ywz2010

Description

@ywz2010

We use react-native 0.33.0. And we find that in some situation, the memory will non-stop increase and cause the app crashed. At the meaning time the react-native page is just empty. This often happen after we upgrade the app from appStore.

It happen by chance when I run app in Xcode , and I recored the thread and find that [RCTShadowText buildTextStorageForWidth:width widthMode:widthMode] cause app infinite-loop and memory-blast.

I find it like #7851, but I can't reproduce it.
14814384939130

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions