You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the package !
I have multiple crashes from my live app affecting my Android users.
Here is the StackTrace :
Fatal Exception: java.lang.IllegalStateException: Reply already submitted
at io.flutter.embedding.engine.dart.DartMessenger$Reply.reply(DartMessenger.java:431)
at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler$1.error(MethodChannel.java:277)
at com.simform.audio_waveforms.WaveformExtractor$startDecode$1$1.onError(WaveformExtractor.kt:109)
at android.media.MediaCodec$EventHandler.handleCallback(MediaCodec.java:1950)
at android.media.MediaCodec$EventHandler.handleMessage(MediaCodec.java:1841)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:230)
at android.os.Looper.loop(Looper.java:319)
at android.app.ActivityThread.main(ActivityThread.java:8893)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:608)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1103)
To Reproduce
Unfortunately it never happened during the debug neither of the internal testing of the app so i have no clue on how to reproduce it...
Expected behavior
I would like the app to not crash.
Smartphone (please complete the following information):
Now i wonder if the error is to not await the controller.setFinishMode(finishMode: FinishMode.pause); call before startPlayer and / or the order of disposing objects ?
Hi both of you, i have got a new crash today that is on the preparePlayer. This is a variant of this bug probably :
Fatal Exception: java.lang.IllegalStateException: Reply already submitted
at io.flutter.embedding.engine.dart.DartMessenger$Reply.reply(DartMessenger.java:431)
at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler$1.error(MethodChannel.java:277)
at com.simform.audio_waveforms.AudioPlayer$preparePlayer$2.onPlayerError(AudioPlayer.kt:48)
at com.google.android.exoplayer2.ExoPlayerImpl.lambda$updatePlaybackInfo$16(ExoPlayerImpl.java:1878)
at com.google.android.exoplayer2.util.ListenerSet$ListenerHolder.invoke(ListenerSet.java:281)
at com.google.android.exoplayer2.util.ListenerSet.lambda$queueEvent$0(ListenerSet.java:190)
at com.google.android.exoplayer2.util.ListenerSet.flushEvents(ListenerSet.java:211)
at com.google.android.exoplayer2.ExoPlayerImpl.updatePlaybackInfo(ExoPlayerImpl.java:1947)
at com.google.android.exoplayer2.ExoPlayerImpl.handlePlaybackInfo(ExoPlayerImpl.java:1774)
at com.google.android.exoplayer2.ExoPlayerImpl.lambda$new$1(ExoPlayerImpl.java:306)
at android.os.Handler.handleCallback(Handler.java:958)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:230)
at android.os.Looper.loop(Looper.java:319)
at android.app.ActivityThread.main(ActivityThread.java:8919)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:578)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1103)
24 crashes for com.simform.audio_waveforms.WaveformExtractor$startDecode$1$1.onError(WaveformExtractor.kt:109)
8 crashes for com.simform.audio_waveforms.AudioPlayer$preparePlayer$2.onPlayerError(AudioPlayer.kt:48)
And so far no other methods are revealing this issue 🙏 and no crashes at all on iOS !
Note : i don't add the new impacted phones since it's probably not device-specific / android-version-specific, but if i will provide all the info i can give if you need it of course
Crashes are growing, i know this was a holiday time recently and i wish you all a happy new year !
Do you have any ETA for a fix of that investigation ?
It is still the case using flutter: 3.27.1 and the first crash i have received is using 3.24.x
From the latest release of Flutter 3.27.3 it seems the crash is simply gone, but other people here may correct me if i am wrong !
I am still having a lot of #376 however
Activity
jay-simformsolutions commentedon Dec 8, 2024
Hi @Tom3652, Thanks for filling the issue.
Can you please send me reproducible steps or audio files? Also, please share your flutter—v console output.
Tom3652 commentedon Dec 8, 2024
Hey @jay-simformsolutions
Thanks for the quick reply, however as i said it happens on my live app and on Android devices, i have no ways to reproduce it unfortunately 😐
I was hoping you would know what is the "reply already submitted" error...
Tom3652 commentedon Dec 8, 2024
I am adding the
Redmi Note 12 5Gunder Android 12 as a new phone crashing today.jay-simformsolutions commentedon Dec 9, 2024
@Tom3652, We will investigate this issue and try to solve it as soon as possible.
himanshuGandhiSimform commentedon Dec 9, 2024
Hello @Tom3652, I just want to know if you are using the stopAllPlayer method in your app to stop all active players together.
Tom3652 commentedon Dec 9, 2024
Hello both of you, thank you very much for your interest and answers.
I am actually not using
stopAllPlayers, please see all the different methods i am calling together :In Another class :
Now i wonder if the error is to not
awaitthecontroller.setFinishMode(finishMode: FinishMode.pause);call beforestartPlayerand / or the order of disposing objects ?Thanks a lot for your help
Tom3652 commentedon Dec 9, 2024
Hi both of you, i have got a new crash today that is on the
preparePlayer. This is a variant of this bug probably :jay-simformsolutions commentedon Dec 10, 2024
@Tom3652, Thanks for providing the information. We are working on this issue and will update you once we find a solution.
Tom3652 commentedon Dec 10, 2024
Hi @jay-simformsolutions thank you very much i really apreciate it.
Tom3652 commentedon Dec 12, 2024
I simply add the proportion here :
com.simform.audio_waveforms.WaveformExtractor$startDecode$1$1.onError(WaveformExtractor.kt:109)com.simform.audio_waveforms.AudioPlayer$preparePlayer$2.onPlayerError(AudioPlayer.kt:48)And so far no other methods are revealing this issue 🙏 and no crashes at all on iOS !
Note : i don't add the new impacted phones since it's probably not device-specific / android-version-specific, but if i will provide all the info i can give if you need it of course
Tom3652 commentedon Jan 7, 2025
Crashes are growing, i know this was a holiday time recently and i wish you all a happy new year !
Do you have any ETA for a fix of that investigation ?
It is still the case using
flutter: 3.27.1and the first crash i have received is using3.24.xIllia-Dulebov commentedon Jan 13, 2025
Are there any updates on this issue?
durgesh-jamme commentedon Jan 18, 2025
Facing the same issue, any update on this issue ?
Tom3652 commentedon Feb 4, 2025
From the latest release of Flutter
3.27.3it seems the crash is simply gone, but other people here may correct me if i am wrong !I am still having a lot of #376 however
durgesh-jamme commentedon Feb 4, 2025
Thanks for the info. Will try upgrading my Flutter to 3.27.3
Tom3652 commentedon Feb 13, 2025
I will release an app version with flutter
3.29.0next week will see if this crash is happening again.So far so good with
3.27.3Tom3652 commentedon Feb 28, 2025
I have spoken a bit too fast unfortunately, it drastically lowered the crash rate but they are still present unfortunately in
3.27.3Tom3652 commentedon May 20, 2025
I have no more this crash using
3.29.3version of flutter