Skip to content
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

Error reading a jpg #146

Open
gmarizy opened this issue Mar 6, 2024 · 0 comments
Open

Error reading a jpg #146

gmarizy opened this issue Mar 6, 2024 · 0 comments

Comments

@gmarizy
Copy link

gmarizy commented Mar 6, 2024

Version used: 1.0.2.

Fatal Exception: io.flutter.plugins.firebase.crashlytics.FlutterError: RangeError (length): Invalid value: Not in inclusive range 0..713869: 713870
#00 pc 0x86f43b party.mojito (Uint8List.[] [typed_data_patch.dart]) (BuildId: b866ace13755a42af7dae5b73aa7df6f)
#1 pc 0x3e5017 party.mojito (JpegScan.decode [input_buffer.dart:44]) (BuildId: b866ace13755a42af7dae5b73aa7df6f)
#2 pc 0x3e49fb party.mojito (JpegData._readSOS [jpeg_data.dart:505]) (BuildId: b866ace13755a42af7dae5b73aa7df6f)
#3 pc 0x3e1da7 party.mojito (JpegData._read [jpeg_data.dart:241]) (BuildId: b866ace13755a42af7dae5b73aa7df6f)
#4 pc 0x3e0867 party.mojito (JpegData.read [jpeg_data.dart:154]) (BuildId: b866ace13755a42af7dae5b73aa7df6f)
#5 pc 0x3de607 party.mojito (JpegDecoder.decode [jpeg_decoder.dart:44]) (BuildId: b866ace13755a42af7dae5b73aa7df6f)
#6 pc 0x4b24b7 party.mojito (decodeImage [formats.dart:179]) (BuildId: b866ace13755a42af7dae5b73aa7df6f)
#7 pc 0x8e22fb party.mojito (_decodeWith [image_image_parser.dart:45]) (BuildId: b866ace13755a42af7dae5b73aa7df6f)
#8 pc 0x6aba33 party.mojito (imageImageParser. [image_image_parser.dart:15]) (BuildId: b866ace13755a42af7dae5b73aa7df6f)
#9 pc 0x670183 party.mojito (_parseFunc [crop.dart:751]) (BuildId: b866ace13755a42af7dae5b73aa7df6f)
#10 pc 0x67002b party.mojito (_parseFunc [crop.dart:748]) (BuildId: b866ace13755a42af7dae5b73aa7df6f)
#11 pc 0x50b563 party.mojito (compute. [_isolates_io.dart:19]) (BuildId: b866ace13755a42af7dae5b73aa7df6f)
#12 pc 0x8b0503 party.mojito (_RemoteRunner._run [isolate.dart:1090]) (BuildId: b866ace13755a42af7dae5b73aa7df6f)
#13 pc 0x4ac357 party.mojito (_RemoteRunner._remoteExecute [isolate.dart:1084]) (BuildId: b866ace13755a42af7dae5b73aa7df6f)
#14 pc 0x90a71b party.mojito (_Closure.call [function.dart:1]) (BuildId: b866ace13755a42af7dae5b73aa7df6f)
#15 pc 0x8765e3 party.mojito (_delayEntrypointInvocation. [isolate_patch.dart:300]) (BuildId: b866ace13755a42af7dae5b73aa7df6f)
#16 pc 0x90a71b party.mojito (_Closure.call [function.dart:1]) (BuildId: b866ace13755a42af7dae5b73aa7df6f)
#17 pc 0x2a8d5f party.mojito (_RawReceivePort._handleMessage [isolate_patch.dart:184]) (BuildId: b866ace13755a42af7dae5b73aa7df6f)

I use the same same code as the one given in #144, and I have no mean to optain original image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant