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

asyncupdate have a crash #2511

Open
FeanCheng opened this issue Jun 14, 2024 · 9 comments
Open

asyncupdate have a crash #2511

FeanCheng opened this issue Jun 14, 2024 · 9 comments

Comments

@FeanCheng
Copy link

java.lang.IllegalStateException: The specified message queue synchronization barrier token has not been posted or has already been removed.

CleanShot 2024-06-14 at 16 14 52

@FeanCheng
Copy link
Author

FeanCheng commented Jun 14, 2024

I quickly switched between multiple Lotties, and this problem was triggered.
Lottie version : last version

@gpeal
Copy link
Collaborator

gpeal commented Jun 14, 2024

This stack trace doesn't flow through any Lottie code so it may be either unrelated to Lottie or something out of Lottie's control on your phone or version of Android.

Is this reliably reproducible? If so, can you create a project that reproduces this?

@FeanCheng
Copy link
Author

Okay, perhaps I need some time to try to reproduce it as much as possible.

@Fylan0
Copy link

Fylan0 commented Jul 16, 2024

Okay, perhaps I need some time to try to reproduce it as much as possible.

Hello, I encountered the same exception after using two Lottie animations in my project. However, I tried to reproduce it but couldn’t, so I’m not sure what caused it. Did you manage to locate the issue?

v6.4.1

@Fylan0
Copy link

Fylan0 commented Jul 29, 2024

I used the code from the sample。
app:lottie_asyncUpdates="enabled"

It can cause an ANR or the exception.

Xnip2024-07-29_16-32-43

@gpeal
Copy link
Collaborator

gpeal commented Jul 29, 2024

@Fylan0 Can you be more specific with your repro steps?

@gpeal
Copy link
Collaborator

gpeal commented Aug 2, 2024

@Fylan0 ANRs and exceptions are also two different things. Which one are you encountering? Can you include a bugreport/stacktrace for either?

@rluick15
Copy link

rluick15 commented Sep 19, 2024

Don't have much data to add, but we are also seeing this crash happen occasionally on 6.5.0. Only occurs with async updates enabled. QA team was occasionally able to reproduce and we saw in prod as well, had a remote toggle to disable the async updates and that resolved the issue for us.

@gpeal
Copy link
Collaborator

gpeal commented Sep 29, 2024

@rluick15 Are there any trends? Android versions, etc? I've tried to reproduce this but I'm unable to.

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

No branches or pull requests

4 participants