-
-
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
vivo 8.1,lottie 5.2.0,SIGSEGV(SEGV_MAPERR) libskia.so #2123
Comments
More information signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x10 backtrace: |
Is this crash only on Vivo 8.1 or does it happen on any other devices? Does it happen 100% of the time or only sometimes? |
Yes, it only happens on vivo 8.1, it happens sometimes, not always. thanks. |
I would add a condition to use render mode software specifically for these devices for this animation. It sounds like a vendor bug that I'll unlikely be able to work around. |
Same here. Vivo 8.1 only |
If you can attach your animation and a specific model, I can try and repro but my recommendation will remain to be changing the render mode to software for those specific devices. |
I'm going to close this with the recommendation to use software rendering for animations/devices that are affected here. |
lottie version :5.2.0
device model:vivo
api level:27(8.1)
#00 pc 00000000002687f0 /system/lib64/libskia.so (SkTHashTable<SkTHashMap<sk_sp, sk_sp, SkGoodHash>::Pair, sk_sp, SkTHashMap<sk_sp, sk_sp, SkGoodHash>::Pair>::resize(int)+172) (BuildId: 4052163cb64a0718b4eac7fddd756a65)
#1 pc 0000000000268638 /system/lib64/libskia.so (SkTHashMap<sk_sp, sk_sp, SkGoodHash>::set(sk_sp, sk_sp)+100) (BuildId: 4052163cb64a0718b4eac7fddd756a65)
#2 pc 0000000000267474 /system/lib64/libskia.so (sk_sp SkColorSpaceXformer::cachedApply(SkImage const*, SkTHashMap<sk_sp, sk_sp, SkGoodHash>, sk_sp ()(SkImage const*, SkColorSpaceXformer*))+288) (BuildId: 4052163cb64a0718b4eac7fddd756a65)
#3 pc 00000000002672d0 /system/lib64/libskia.so (SkColorSpaceXformer::apply(SkImage const*)+40) (BuildId: 4052163cb64a0718b4eac7fddd756a65)
#4 pc 0000000000263d10 /system/lib64/libskia.so (SkColorSpaceXformCanvas::onDrawImageRect(SkImage const*, SkRect const*, SkRect const&, SkPaint const*, SkCanvas::SrcRectConstraint)+80) (BuildId: 4052163cb64a0718b4eac7fddd756a65)
#5 pc 00000000000b2d30 /system/lib64/libhwui.so (android::SkiaCanvas::drawBitmap(android::Bitmap&, float, float, float, float, float, float, float, float, SkPaint const*)+92) (BuildId: 37d3667bcb4c4ec7c519c49b044afde5)
#6 pc 00000000001273f0 /system/lib64/libandroid_runtime.so (android::CanvasJNI::drawBitmapRect(_JNIEnv*, _jobject*, long, _jobject*, float, float, float, float, float, float, float, float, long, int, int)+284) (BuildId: a68d109aefdd1df629a8ca7e52280fae)
#7 pc 0000000000b59b2c /system/framework/arm64/boot-framework.oat (android.graphics.BaseCanvas.nDrawBitmap+268) (BuildId: 741c776e0c6c1ed368aad52a8c4210e4)
#8 pc 0000000000b5bd3c /system/framework/arm64/boot-framework.oat (android.graphics.BaseCanvas.drawBitmap+524) (BuildId: 741c776e0c6c1ed368aad52a8c4210e4)
#9 pc 0000000000113940 /dev/ashmem/dalvik-jit-code-cache (deleted)
at android.graphics.BaseCanvas.nDrawBitmap(Native method)
at android.graphics.BaseCanvas.drawBitmap(BaseCanvas.java:136)
at android.graphics.Canvas.drawBitmap(Canvas.java:1434)
at com.airbnb.lottie.model.layer.c.b(ImageLayer.java:57)
at com.airbnb.lottie.model.layer.a.a(BaseLayer.java:250)
at com.airbnb.lottie.model.layer.b.b(CompositionLayer.java:128)
at com.airbnb.lottie.model.layer.a.a(BaseLayer.java:250)
at com.airbnb.lottie.model.layer.b.b(CompositionLayer.java:128)
at com.airbnb.lottie.model.layer.a.a(BaseLayer.java:250)
at com.airbnb.lottie.LottieDrawable.a(LottieDrawable.java:1418)
at com.airbnb.lottie.LottieDrawable.draw(LottieDrawable.java:506)
at android.widget.ImageView.onDraw(ImageView.java:1370)
setRenderMode(RenderMode.SOFTWARE) has been called,
also called setSafeMode(true)
Thanks.
The text was updated successfully, but these errors were encountered: