flutter_sound icon indicating copy to clipboard operation
flutter_sound copied to clipboard

[BUG]: Pause Recorder crashes app with EXC BAD ACCESS (code=1, address=0x0) error

Open RishiKar opened this issue 2 years ago • 1 comments

Flutter Sound Version :

9.2.10

  • FULL or LITE flavor ?

  • FULL

  • Important: Result of the command : flutter pub deps | grep flutter_sound |-- flutter_sound 9.2.10 | |-- flutter_sound_platform_interface 9.2.10 | |-- flutter_sound_web 9.2.10 | | |-- flutter_sound_platform_interface...


Severity

  • Crash ?
  • Yes, app crashes

Platforms you faced the error

  • iOS ?
  • iOS simulator and real device

Describe the bug I am recording to a file

await _createRecordingFile.startRecorder( toFile: filePath, codec: Codec.aacADTS);

when I try to pause the recorder by calling

void pauseRecordingFile() async { print('recording paused'); await _createRecordingFile.pauseRecorder(); }

the app crashes and I get the errors mentioned in the logs section.

Logs!!!!

Xcode image

AndroidStudio image


RishiKar avatar Jun 28 '22 15:06 RishiKar

@Larpoux I did some more testing but I believe the pause recorder has a bug. Logs below and in original issue. image

RishiKar avatar Aug 06 '22 17:08 RishiKar

This issue is stale because it has been open 90 days with no activity. Leave a comment or this will be closed in 7 days.

github-actions[bot] avatar Dec 02 '23 01:12 github-actions[bot]