Skip to content

App crashes when using lots of animated styles #3858

@diogoquintas

Description

@diogoquintas

Description

When rendering a considerable amount of components that use reanimated, the app crashes with EXC_BAD_ACCESS on reanimated::RuntimeDecorator::decorateUIRuntime.

Reanimated error

report

The issue also happens with fewer elements but it's more difficult to reproduce.
This does not happen when using the last stable version (2.13.0), although the performance seems to be worse.

Steps to reproduce

Just opening the app, it consistently crashes even without interaction.

Snack or a link to a repository

https://github.com/diogoquintas/reanimated-example

Reanimated version

3.0.0-rc.8

React Native version

0.70.1

Platforms

iOS

JavaScript runtime

Hermes

Workflow

React Native (without Expo)

Architecture

Paper (Old Architecture)

Build type

Debug mode

Device

iOS simulator

Device model

iPhone 14

Acknowledgements

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs reviewIssue is ready to be reviewed by a maintainerPlatform: iOSThis issue is specific to iOSRepro providedA reproduction with a snippet of code, snack or repo is provided

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions