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

RuntimeError: memory access out of bounds #328

Closed
glucka opened this issue Aug 19, 2024 · 6 comments
Closed

RuntimeError: memory access out of bounds #328

glucka opened this issue Aug 19, 2024 · 6 comments
Assignees
Labels
bug Something isn't working thorvg web

Comments

@glucka
Copy link

glucka commented Aug 19, 2024

On Chrome 127.0.6533.99 Ubuntu 22.04
"@lottiefiles/dotlottie-web": "^0.30.3"
hero.lottie.txt

with all another files works fine

@theashraf theashraf added web question Further information is requested labels Aug 20, 2024
@theashraf
Copy link
Member

Hi @glucka,

The .lottie file you provided contains an issue with the image assets. There are two PNG images included, but they are not valid PNG files.

Both images start with the following binary data:

75 AB 5A 8A

This does not match the expected PNG header:

89 50 4E 47

Here’s the content of the provided .lottie file:
image

Could you please share how you created the .lottie file? If possible, providing the original Lottie JSON that you used for the conversion would be very helpful.

@theashraf theashraf self-assigned this Aug 20, 2024
@glucka
Copy link
Author

glucka commented Aug 20, 2024

hi @theashraf, thanks for the quick answer! here the original json, convertet here: https://lottiefiles.com/tools/lottie-to-dotlottie
animation.zip

@theashraf
Copy link
Member

@glucka seems a bug from the lottie-to-dotlottie converter, we're investigating and will let you know

@theashraf
Copy link
Member

@glucka The file conversion works well now on LottieFiles; I've tested it. However, the issue still persists, so it’s clear that it originates from the dotLottie player side. I will investigate further and keep you updated.

Here is the converted file for reference: optimized_m04rq00w.lottie.zip

@theashraf theashraf added bug Something isn't working and removed question Further information is requested labels Aug 22, 2024
@ruoduan-hub
Copy link

ruoduan-hub commented Sep 3, 2024

I have the same problem. file 👇

dotlottie-player.wasm:0x1ef3 Uncaught RuntimeError: memory access out of bounds

coin.json

coinTwo.json

@theashraf
Copy link
Member

@glucka @ruoduan-hub fixed in dotlottie-web v0.35.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working thorvg web
Projects
None yet
Development

No branches or pull requests

3 participants