Skip to content

IOS app crashes on rendering rive - EXC_BAD_ACCESS #308

@anatoleblanc

Description

@anatoleblanc

Description

<-- A clear and concise description of what the problem is. -->
We are rendering a rive file in our app that makes it crash c. 3% of the time. We only have the bug on IOS. We are on an expo managed project.
Here is more info on the crash, captured through Sentry:

EXC_BAD_ACCESS
contents >
KERN_INVALID_ADDRESS at 0x18.

rive::gpu::RenderContextMetalImpl::makeRenderPassForDraws

Stack trace:
-[RiveRendererView drawRect:]
-[RiveRendererView drawInRect:withCompletion:]
-[RiveRendererContext endFrame:withCompletion:]
-rive::gpu::RenderContext::flush
rive::gpu::RenderContextMetalImpl::flush
rive::gpu::RenderContextMetalImpl::makeRenderPassForDraws

Source .riv/.rev file

https://unlearn-test.s3.eu-west-3.amazonaws.com/app-assets/rive-animations/rive_home_screen.riv

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions