Skip to content

Conversation

NikitaDudin
Copy link
Contributor

Fix crashes when info->view == nullptr on size request. Avoid negative size values, bringing values to 0.

#3315

@wcandillon
Copy link
Contributor

I like it, do you have some instructions on how to reproduce the crash for testing?

@wcandillon wcandillon merged commit d2aa3b3 into Shopify:main Sep 9, 2025
16 of 17 checks passed
Copy link
Contributor

github-actions bot commented Sep 9, 2025

🎉 This PR is included in version 2.2.13 🎉

The release is available on:

Your semantic-release bot 📦🚀

@NikitaDudin
Copy link
Contributor Author

idk what is main reason of crashes.

FYI,

  1. Create canvas with onSize value.
  2. Build via xcode@16.4.
  3. Sometimes app crashed with error:
image

Env: iOS, rn@0.81.1, rn-skia@2.2.12, rn-reanimated@4.1.0, rn-worklets@0.5.0, New Arch enabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants