Skip to content

BiquadFilterNode.getFrequencyResponse crashing intermittently #944

@tamlyn

Description

@tamlyn

Description

I'm having some issues with getFrequencyResponse method causing an intermittent Hermes fatal error (SIGABRT) when called during React re-renders. Am I doing anything wrong?

Crash signature:

Thread: com.facebook.react.runtime.JavaScript
Signal: SIGABRT
hermes::hermes_fatal -> llvh::report_fatal_error

Steps to reproduce

See linked repo which you can clone and run.

Snack or a link to a repository

https://github.com/tamlyn/rn-audio-api-bug-repros/blob/master/BiquadCrashRepro.tsx

React Native Audio API version

0.11.2

React Native version

0.81.5

Platforms

iOS

JavaScript runtime

Hermes

Workflow

Expo Dev Client

Architecture

Fabric (New Architecture)

Build type

Debug app & dev bundle

Device

iOS simulator

Device model

No response

Acknowledgements

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions