-
-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Crash when opening .m4a files #434
Comments
that waveform bug is already fixed, but i dont think that was the problem. |
I thought of waveform bug because of this WaveformController in the stack trace. |
decoder issue doesnt mean its always unable to play it, maybe its miscommunication between system and decoders idk, but for sure this issue happened since ffmpeg was added as a fallback decoder. before that videos wouldn't even play |
Fallback decoder? I thought it was the one and only. Which is the main one then? |
the default is system decoders (hardware), or whatever exoplayer uses. this can be equivalent to "hw" in mxplayer for example (not hw+ nor sw) |
So this exoplayer does the actual decoding? |
might or might not. im not so experienced with this |
Regularly when I tap a file in .m4a format encoded with ALAC codec...
Expected Behavior
...File gets played.
Current Behavior
...App crashes. On re-opening the same file is played successfully.
Steps to Reproduce
Above.
Screenshots
No.
Logs
Some device data in that log, so no.
But after the device part I see many repeats of this pattern:
│ RangeError (length): Invalid value: Not in inclusive range 0..3722: 3723
├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
│ #0 _Array.[] (dart:core-patch/array.dart)
│ #1 _CastListBase.[] (dart:_internal/cast.dart:99)
│ #2 DEListieSizie.changeListSize (package:dart_extensions/src/list_extensions.dart:394)
│ #3 WaveformController._downscaledWaveformLists. (package:namida/controller/waveform_controller.dart:98)
│ #4 DEListieExt.loop (package:dart_extensions/src/list_extensions.dart:20)
│ #5 WaveformController._downscaledWaveformLists (package:namida/controller/waveform_controller.dart:97)
│ #6 compute. (package:flutter/src/foundation/_isolates_io.dart:19)
│ #7 _RemoteRunner._run (dart:isolate:1090)
│ #8 _RemoteRunner._remoteExecute (dart:isolate:1084)
│ #9 _delayEntrypointInvocation. (dart:isolate-patch/isolate_patch.dart:300)
│ #10 _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:184)
├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
│ ⛔ RangeError
I guess it's related to waveform bug we've discussed recently.
Possible Solution
?
The text was updated successfully, but these errors were encountered: