fresco icon indicating copy to clipboard operation
fresco copied to clipboard

Samsung: NativePooledByteBuffer cannot be cast to PooledByteBuffer

Open gold-duo opened this issue 11 years ago • 5 comments

com.facebook.imagepipeline.memory.NativePooledByteBuffer cannot be cast to com.facebook.imagepipeline.memory.PooledByteBuffer
       at com.facebook.imagepipeline.cache.BufferedDiskCache$2.run(BufferedDiskCache.java:158)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
       at java.lang.Thread.run(Thread.java:856)

gold-duo avatar Jul 15 '15 07:07 gold-duo

Is this art specific ? Is this vendor specific ? NativePooledByteBuffer implements PooledByteBuffer interface: https://github.com/facebook/fresco/blob/96d74f385b297f364db1f719dd6ee61fc380d0d4/imagepipeline/src/main/java/com/facebook/imagepipeline/memory/NativePooledByteBuffer.java which indicates that the issue is not within the Fresco library. I don't think we can help with this one. Don't you see similar exceptions for other classes ?

michalgr avatar Jul 15 '15 17:07 michalgr

This smells like a Samsung issue. @droidwolf, does this happen on several different devices?

plamenko avatar Aug 05 '15 12:08 plamenko

Yes, Samsung GT-S7898. Didn't find the other devices

gold-duo avatar Aug 06 '15 04:08 gold-duo

Yeah, on my SGS5, Uber, GTalk, Strava and some other apps are consistently insta crashing with similar stack traces. Unfortunately we do not yet know the root cause of this.

plamenko avatar Aug 07 '15 15:08 plamenko

Closing as this has not been updated for almost 2 years

erikandre avatar Jul 11 '17 16:07 erikandre