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
Native Crash on Android P #2266
Comments
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as "bug" or "enhancement" and I will leave it open. Thank you for your contributions. |
Hi. Please fill out the issue template since posting just the stack trace is not enough information to know what's going on. |
Hi,oprisnik. It is just a SIGSEGV(SEGV_MAPERR) crash, happen at first image render in huawei android P devices. |
@emile2013 Is there a way to repro? |
@emile2013 Hi,Do you have any solutions? |
similar issue, Android 9 ,Huawei P20, Fresco 1.10 com.facebook.imagepipeline.j.a.a is com.facebook.imagepipeline.platform.ArtDecoder . |
same here |
I also meet this question |
When are you going to solve this problem? HUAWEI and android P are more and more popular in China.😹 |
@conncui Do you have solutions about this crash ? I met the same problem and was strugling getting native stacktrace. 大佬有找到原因和解决方法吗 |
I find two ways to solve this issue. |
@fw1088 大佬给个邮箱? |
Do you have scene to reproduce this bug?@fw1088 |
same issue,any solution? We can modify the system framework. |
No,you can refer to this issue https://bugs.chromium.org/p/webp/issues/detail?id=419#c1 |
|
Thx! But I didn't use |
Hi, we're seeing this issue as well. This is with Fresco 2.2.0. If this is device specific, should we switch to the Java only Fresco version? |
Here are some devices where we're seeing this crash:
|
met same crash in Glide |
Although it is from Glide, also useful for fresco #00 lr 004bb284 /system/lib/libhwui.so (WebPRescalerImport+132) [armeabi-v8]2 java: |
Hi, we found some native crash on android P with fresco 1.9.0 . crash stack show below:
#00 lr 00411fb4 /system/lib/libhwui.so [armeabi-v7a]
java:
android.graphics.BitmapFactory.nativeDecodeStream(Native Method) android.graphics.BitmapFactory.decodeStreamInternal(BitmapFactory.java:961) android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:908)
com.facebook.imagepipeline.platform.ArtDecoder.com.facebook.common.references.CloseableReference decodeStaticImageFromStream(java.io.InputStream,android.graphics.BitmapFactory$Options,android.graphics.Rect)(SourceFile:175)
com.facebook.imagepipeline.platform.ArtDecoder.com.facebook.common.references.CloseableReference decodeFromEncodedImage(com.facebook.imagepipeline.image.EncodedImage,android.graphics.Bitmap$Config,android.graphics.Rect)(SourceFile:85)
com.facebook.imagepipeline.decoder.DefaultImageDecoder.com.facebook.imagepipeline.image.CloseableStaticBitmap decodeStaticImage(com.facebook.imagepipeline.image.EncodedImage,com.facebook.imagepipeline.common.ImageDecodeOptions)(SourceFile:147)
com.facebook.imagepipeline.decoder.DefaultImageDecoder$1.com.facebook.imagepipeline.image.CloseableImage decode(com.facebook.imagepipeline.image.EncodedImage,int,com.facebook.imagepipeline.image.QualityInfo,com.facebook.imagepipeline.common.ImageDecodeOptions)(SourceFile:64)
com.facebook.imagepipeline.decoder.DefaultImageDecoder.com.facebook.imagepipeline.image.CloseableImage decode(com.facebook.imagepipeline.image.EncodedImage,int,com.facebook.imagepipeline.image.QualityInfo,com.facebook.imagepipeline.common.ImageDecodeOptions)(SourceFile:119)
com.facebook.imagepipeline.producers.DecodeProducer$ProgressiveDecoder.void doDecode(com.facebook.imagepipeline.image.EncodedImage,int)(SourceFile:254)
com.facebook.imagepipeline.producers.DecodeProducer$ProgressiveDecoder.access$300(SourceFile:113)
com.facebook.imagepipeline.producers.DecodeProducer$ProgressiveDecoder$1.void run(com.facebook.imagepipeline.image.EncodedImage,int)(SourceFile:152)
com.facebook.imagepipeline.producers.JobScheduler.void doJob()(SourceFile:202)
com.facebook.imagepipeline.producers.JobScheduler.access$000(SourceFile:22)
com.facebook.imagepipeline.producers.JobScheduler$1.void run()(SourceFile:73)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
java.lang.Thread.run(Thread.java:784)
The text was updated successfully, but these errors were encountered: