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

"signal: 6, code: -6, hint: abort" on Android 7.1.1 #1936

Closed
starlightjy opened this issue Nov 1, 2021 · 1 comment
Closed

"signal: 6, code: -6, hint: abort" on Android 7.1.1 #1936

starlightjy opened this issue Nov 1, 2021 · 1 comment

Comments

@starlightjy
Copy link

I use lottie-android for app. On Android 7.1.1 mobile phone: (Oppo CPH1723,CPH1725,CPH1727):
implementation 'com.airbnb.android:lottie:3.5.0'

but it get an abort signal 6, how can I fix this? Could you help me

`
signal: 6, code: -6, hint: abort

#00 pc 000000000006dcb4 /system/lib64/libc.so (tgkill+8).. (.java)
#1 pc 000000000006b0d4 /system/lib64/libc.so (pthread_kill+64).. (.java)
#2 pc 0000000000024154 /system/lib64/libc.so (raise+24).. (.java)
#3 pc 000000000001c9bc /system/lib64/libc.so (abort+52).. (.java)
#4 pc 00000000004523f8 /data/app/pkgname/split_config.arm64_v8a.apk (offset 0x488000).. (.java)

android.graphics.Canvas.native_drawPath (Canvas.java)
android.graphics.Canvas.drawPath (Canvas.java:1262)
com.airbnb.lottie.animation.content.BaseStrokeContent.draw (BaseStrokeContent.java:174)
com.airbnb.lottie.animation.content.StrokeContent.draw (StrokeContent.java:47)
com.airbnb.lottie.animation.content.ContentGroup.draw (ContentGroup.java:185)
com.airbnb.lottie.animation.content.ContentGroup.draw (ContentGroup.java:185)
com.airbnb.lottie.model.layer.ShapeLayer.drawLayer (ShapeLayer.java:30)
com.airbnb.lottie.model.layer.BaseLayer.draw (BaseLayer.java:239)
com.airbnb.lottie.model.layer.CompositionLayer.drawLayer (CompositionLayer.java:120)
com.airbnb.lottie.model.layer.BaseLayer.draw (BaseLayer.java:239)
com.airbnb.lottie.LottieDrawable.drawWithOriginalAspectRatio (LottieDrawable.java:1255)
com.airbnb.lottie.LottieDrawable.drawInternal (LottieDrawable.java:401)
com.airbnb.lottie.LottieDrawable.draw (LottieDrawable.java:391)
android.widget.ImageView.onDraw (ImageView.java:1324)
android.view.View.buildDrawingCache (View.java:16700)
com.airbnb.lottie.LottieAnimationView.buildDrawingCache (LottieAnimationView.java:1046)
`

@gpeal
Copy link
Collaborator

gpeal commented Nov 1, 2021

You probably need to set the renderMode to software for affected devices.

@gpeal gpeal closed this as completed Nov 1, 2021
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

2 participants