Skip to content

Crash during live transcription in Speech-to-Text demo app #791

@rizalibnu

Description

@rizalibnu

Description

A native crash occurs during live audio transcription in the speech-to-text demo app. The app terminates silently when run via the Expo CLI, but debugging through Xcode catch a crash EXC_BAD_ACCESS on a thread. And is also replicated in the production version of Private Mind v1.1.3 currently available on the App Store using speech to text functionality inside a chat.

Steps to reproduce

  1. Clone the fresh repository and checkout the main branch.
  2. Navigate to apps/speech
  3. Run the app on a real iOS device (yarn start and yarn:ios --device on different terminal).
  4. Select Speech to Text from the demo list.
  5. Tap Start Live Transcription.
  6. Observe the app closing itself after approximately 1–2 minutes of continuous recording.
  7. Alternative Debug Step: Run the speech demo app via Xcode. The debugger will catch a crash on thread RN_ET_Worker0: EXC_BAD_ACCESS (code=1, address=0x1220fa000) after approximately 1–2 minutes of continuous recording.
Image

Snack or a link to a repository

No response

React Native Executorch version

main

React Native version

0.81.5

Platforms

iOS

JavaScript runtime

Hermes

Workflow

React Native

Architecture

Fabric (New Architecture)

Build type

Debug mode

Device

Real device

Device model

iPhone 11 iOS 18.0.1

AI model

WHISPER_TINY_EN

Performance logs

No response

Acknowledgements

Yes

Metadata

Metadata

Assignees

Labels

modelIssues related to exporting, improving, fixing ML models

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions