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

SimpleDraweeView always load image fialure #1528

Closed
maplesnow-zsm opened this issue Nov 3, 2016 · 3 comments
Closed

SimpleDraweeView always load image fialure #1528

maplesnow-zsm opened this issue Nov 3, 2016 · 3 comments
Labels
needs-details This issue or PR is currently not actionable as it misses details (e.g. for reproducing the problem)

Comments

@maplesnow-zsm
Copy link

when we user simpledraweeview, we allow load image failure, here is zhe log:

com.facebook.imagepipeline.platform.DalvikPurgeableDecoder.android.graphics.Bitmap decodeByteArrayAsPurgeable(com.facebook.common.references.CloseableReference,android.graphics.BitmapFactory$Options)(DalvikPurgeableDecoder.java:162)
##parent##2##parent##
##child## android.graphics.Bitmap decodeJPEGByteArrayAsPurgeable(com.facebook.common.references.CloseableReference,int,android.graphics.BitmapFactory$Options)##child##
##child## com.facebook.common.references.CloseableReference pinBitmap(android.graphics.Bitmap)##child##
com.facebook.imagepipeline.platform.KitKatPurgeableDecoder.com.facebook.common.references.CloseableReference pinBitmap(android.graphics.Bitmap)(KitKatPurgeableDecoder.java:32)
##parent##2##parent##
##child## com.facebook.common.references.CloseableReference decodeJPEGFromEncodedImage(com.facebook.imagepipeline.image.EncodedImage,android.graphics.Bitmap$Config,int)##child##
##child## com.facebook.common.references.CloseableReference decodeFromEncodedImage(com.facebook.imagepipeline.image.EncodedImage,android.graphics.Bitmap$Config)##child##
com.facebook.imagepipeline.platform.DalvikPurgeableDecoder.com.facebook.common.references.CloseableReference decodeJPEGFromEncodedImage(com.facebook.imagepipeline.image.EncodedImage,android.graphics.Bitmap$Config,int)(DalvikPurgeableDecoder.java:90)
##parent##2##parent##
##child## android.graphics.Bitmap decodeByteArrayAsPurgeable(com.facebook.common.references.CloseableReference,android.graphics.BitmapFactory$Options)##child##
##child## android.graphics.Bitmap decodeJPEGByteArrayAsPurgeable(com.facebook.common.references.CloseableReference,int,android.graphics.BitmapFactory$Options)##child##
com.facebook.imagepipeline.platform.KitKatPurgeableDecoder.com.facebook.common.references.CloseableReference pinBitmap(android.graphics.Bitmap)(KitKatPurgeableDecoder.java:32)
##parent##2##parent##
##child## com.facebook.common.references.CloseableReference decodeJPEGFromEncodedImage(com.facebook.imagepipeline.image.EncodedImage,android.graphics.Bitmap$Config,int)##child##
##child## com.facebook.common.references.CloseableReference decodeFromEncodedImage(com.facebook.imagepipeline.image.EncodedImage,android.graphics.Bitmap$Config)##child##
com.facebook.imagepipeline.decoder.ImageDecoder.com.facebook.imagepipeline.image.CloseableStaticBitmap decodeJpeg(com.facebook.imagepipeline.image.EncodedImage,int,com.facebook.imagepipeline.image.QualityInfo)(ImageDecoder.java:152)
com.facebook.imagepipeline.decoder.ImageDecoder.com.facebook.imagepipeline.image.CloseableImage decodeImage(com.facebook.imagepipeline.image.EncodedImage,int,com.facebook.imagepipeline.image.QualityInfo,com.facebook.imagepipeline.common.ImageDecodeOptions)(ImageDecoder.java:85)
com.facebook.imagepipeline.producers.DecodeProducer$ProgressiveDecoder.void doDecode(com.facebook.imagepipeline.image.EncodedImage,boolean)(DecodeProducer.java:189)
##parent##1##parent##
##child## com.facebook.imagepipeline.image.QualityInfo getQualityInfo()##child##
com.facebook.imagepipeline.producers.DecodeProducer$ProgressiveDecoder.int getIntermediateImageEndOffset(com.facebook.imagepipeline.image.EncodedImage)(DecodeProducer.java:97)
##parent##3##parent##
##child## void onNewResultImpl(java.lang.Object,boolean)##child##
##child## void access$200(com.facebook.imagepipeline.producers.DecodeProducer$ProgressiveDecoder,com.facebook.imagepipeline.image.EncodedImage,boolean)##child##
##child## com.facebook.imagepipeline.producers.ProducerContext access$400(com.facebook.imagepipeline.producers.DecodeProducer$ProgressiveDecoder)##child##
com.facebook.imagepipeline.producers.DecodeProducer$ProgressiveDecoder$1.void run(com.facebook.imagepipeline.image.EncodedImage,boolean)(DecodeProducer.java:129)
com.facebook.imagepipeline.producers.JobScheduler.void doJob()(JobScheduler.java:207)
com.facebook.imagepipeline.producers.JobScheduler.void access$000(com.facebook.imagepipeline.producers.JobScheduler)(JobScheduler.java:27)
com.facebook.imagepipeline.producers.JobScheduler$1.void run()(JobScheduler.java:78)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
com.facebook.imagepipeline.core.PriorityThreadFactory$1.void run()(PriorityThreadFactory.java:43)
java.lang.Thread.run(Thread.java:841)

thank you for the code again

@massimocarli
Copy link
Contributor

Hi @maplesnow-zsm
can you provide more info please? What's the problem?

Thanks

@massimocarli massimocarli added question needs-details This issue or PR is currently not actionable as it misses details (e.g. for reproducing the problem) and removed question labels Nov 4, 2016
@maplesnow-zsm
Copy link
Author

@massimocarli here's the problem, we get lots of customs load image failure with the simpledraweeview, but it not happens 100 percent ,all of they are useing android below 4.4.4, the log above is all info we catch, what else do you need? we try to get it

thank you

@maplesnow-zsm maplesnow-zsm changed the title SimpleDraweeView allow load image fialure SimpleDraweeView always load image fialure Nov 9, 2016
@oprisnik
Copy link
Contributor

It's still not clear to me what the issue is here. Please provide us with a minimal example how to reproduce the issue. I'm closing this for now but can re-open once we know what the issue is and how to reproduce it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-details This issue or PR is currently not actionable as it misses details (e.g. for reproducing the problem)
Projects
None yet
Development

No branches or pull requests

3 participants