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

tvg_load_data Panics with Segmentation Fault When Loading Empty Lottie #2283

Closed
theashraf opened this issue May 15, 2024 · 0 comments
Closed
Assignees
Labels
bug Something isn't working lottie Lottie animation showstopper Regression bugs / Critical errors
Milestone

Comments

@theashraf
Copy link
Member

I'm encountering an issue when trying to load an empty Lottie file in the dotLottie-rs player. The function tvg_load_data is panicking and resulting in a segmentation fault error.

Here is the empty Lottie:

{
  "nm": "Untitled file",
  "ddd": 0,
  "h": 500,
  "w": 500,
  "meta": { "g": "@lottiefiles/creator 1.12.0" },
  "layers": [],
  "v": "5.7.0",
  "fr": 30,
  "op": 150,
  "ip": 0,
  "assets": []
}
@hermet hermet added bug Something isn't working lottie Lottie animation showstopper Regression bugs / Critical errors labels May 15, 2024
@hermet hermet added this to the 0.14 milestone May 15, 2024
mgrudzinska added a commit to mgrudzinska/thorvg that referenced this issue May 15, 2024
Fix access issue when iterating over children
in case of an empty container.

@issue: thorvg#2283
mgrudzinska added a commit to mgrudzinska/thorvg that referenced this issue May 15, 2024
Fix access issue when iterating over children
in case of an empty container.

@issue: thorvg#2283
hermet pushed a commit that referenced this issue May 16, 2024
Fix access issue when iterating over children
in case of an empty container.

@issue: #2283
@hermet hermet closed this as completed May 16, 2024
hermet pushed a commit that referenced this issue May 17, 2024
Fix access issue when iterating over children
in case of an empty container.

@issue: #2283
hermet pushed a commit that referenced this issue May 17, 2024
Fix access issue when iterating over children
in case of an empty container.

@issue: #2283
hermet pushed a commit that referenced this issue Jun 24, 2024
Fix access issue when iterating over children
in case of an empty container.

@issue: #2283
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working lottie Lottie animation showstopper Regression bugs / Critical errors
Projects
Status: Done 0.14
Development

No branches or pull requests

3 participants