-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
Fatal signal 11 crash on Android 7.0 #1453
Comments
@curtismartintransloc Does this happen on all devices? |
We've seen it happen on the two devices we have in house running 7.0, a Nexus 6 and an LG Aristo. |
Hello, maybe it can help, got same exception for the following lottie |
@disparate Are you sure your S8 is on 7.0? Did you flash it back to that/never upgrade it? |
It also happen to in Samsung S7(android 7.0) I updated Lottie 2.7.0 to 3.1.0. It is the same as the latest version of 3.3.0. |
@frogsm Can you try using software rendering? Part of the upgrade set the render mode to AUTO and it went from software to hardware rendering. |
@gpeal Yes, I checked it. Happens only on 7.0 definitely. Never upgraded. |
Has this issue been resolved? I am also facing crash issue in Android 7.0 devices. All devices. |
@pranishres |
Any updates on that? |
I removed hardware acceleration configuration from manifest. What hardware acceleration does is to smoothen the graphics rendering process. After disabling it, my lottie were little slower but it solved the crash issue |
I am also facing the same issue in all 7.0 version devices. Any solution? Using lottie:3.4.0 version. |
I removed hardware acceleration configuration from manifest. What hardware acceleration does is to smoothen the graphics rendering process. After disabling it, my lottie were little slower but it solved the crash issue |
In Manifest file it is already false Also programmatically when needed I put below code to enable it, still crashing in 7.0
|
@Mihir3646 No need to do that at a global level. You can tell Lottie to render with software with |
@gpeal Thank you, let me try with your mention solution. If working fine I will update here. |
@gpeal I had this problem in React Native, but this property is not actually exposed from the native side, I made an RP to expose this property, I tried it and it works 🎉 |
Still Happening full stacktrace #00 pc 0000000000065b7a /system/lib/libhwui.so |
Good question, I would like to know that too. I think this question
should be referred to https://github.com/gpeal. please let me know if you
find out anything.
cheers,
Orit
בתאריך יום ד׳, 19 באוג׳ 2020 ב-8:12 מאת JD Porterfield <
notifications@github.com>:
… @oritgurel <https://github.com/oritgurel> I noticed you had a merged PR
for this change. Was curious if there was a planned release/release date
for the next Lottie version?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1453 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGK75IPRA3QASIDPAUTNYOLSBNNM5ANCNFSM4JVOGIHQ>
.
|
@gpeal is there a planned release/release date for the next Lottie version? |
This appears to be released in v3.4.2, can anyone verify the fix and close this ticket if it is working? |
3.4.2 just changed the default but setting render mode to software has always been an option. I'm going to close this and using software rendering for problematic devices or sticking to the new default which is software for 7.0 is the recommended path forward. |
Hi @gpeal ! Did you mean that if we don't change the render mode manually in the code and just update to 3.4.2 it will solve the crashes on Android 7.0? |
@serhiipalash You should change RenderMode to Software for 7.0 on that animation |
@gpeal but we don't know what exact animation crashes the app. We have a few of them on different screens. |
Hi@gpeal I use lottie 6.0.0,and setSoftMode RenderMode.SOFTWARE.In android 6.0 device have same problem。 |
This has been happening for a little while for us apparently, but we don't get crash logs reported from it since the crash seems to be occurring in native code. It happens on the latest version of Lottie (3.3.0) and previous ones.
We have an an animation that causes our app to crash whenever we play it forward or backward. It only crashes on devices running 7.0 (pre-7.0 and post-7.0, including 7.x.x are fine). Here's what I'm seeing in the Logcat:
I've reproduced the issue by starting a new empty project that only has a LottieAnimationView.
Here's the layout:
And here's the Activity:
The animation will play briefly, then the app will freeze momentarily, and then it will crash. I've found that setting the render mode to SOFTWARE will work around the issue.
The text was updated successfully, but these errors were encountered: