fresco icon indicating copy to clipboard operation
fresco copied to clipboard

java.lang.IllegalStateException: Byte-array currently in use

Open eboudrant opened this issue 11 years ago • 4 comments

Hi,

While using Facebook app v30.0.0.19.17 none of the picture displayed so I had a look in the logs and I see some Fresco error : java.lang.IllegalStateException: Byte-array currently in use

W/fb4a(:<default>):RequestLoggingListener( 2614): time 104750537: onRequestFailure: {requestId: 840, elapsedTime: -1 ms, throwable: java.lang.IllegalStateException: Byte-array currently in use}
W/fb4a(:<default>):RequestLoggingListener( 2614): time 104750609: onProducerFinishWithFailure: {requestId: 842, stage: DecodeProducer, elapsedTime: -1 ms, extraMap: null, throwable: java.lang.IllegalStateException: Byte-array currently in use}
W/fb4a(:<default>):RequestLoggingListener( 2614): time 104750609: onRequestFailure: {requestId: 842, elapsedTime: -1 ms, throwable: java.lang.IllegalStateException: Byte-array currently in use}
W/fb4a(:<default>):RequestLoggingListener( 2614): time 104750614: onProducerFinishWithFailure: {requestId: 843, stage: DecodeProducer, elapsedTime: -1 ms, extraMap: null, throwable: java.lang.IllegalStateException: Byte-array currently in use}
W/fb4a(:<default>):RequestLoggingListener( 2614): time 104750614: onRequestFailure: {requestId: 843, elapsedTime: -1 ms, throwable: java.lang.IllegalStateException: Byte-array currently in use}
W/fb4a(:<default>):RequestLoggingListener( 2614): time 104750616: onProducerFinishWithFailure: {requestId: 844, stage: DecodeProducer, elapsedTime: -1 ms, extraMap: null, throwable: java.lang.IllegalStateException: Byte-array currently in use}
W/fb4a(:<default>):RequestLoggingListener( 2614): time 104750616: onRequestFailure: {requestId: 844, elapsedTime: -1 ms, throwable: java.lang.IllegalStateException: Byte-array currently in use}
W/fb4a(:<default>):RequestLoggingListener( 2614): time 104750839: onProducerFinishWithFailure: {requestId: 845, stage: DecodeProducer, elapsedTime: -1 ms, extraMap: null, throwable: java.lang.IllegalStateException: Byte-array currently in use}
W/fb4a(:<default>):RequestLoggingListener( 2614): time 104750839: onRequestFailure: {requestId: 845, elapsedTime: -1 ms, throwable: java.lang.IllegalStateException: Byte-array currently in use}
W/fb4a(:<default>):RequestLoggingListener( 2614): time 104750890: onProducerFinishWithFailure: {requestId: 846, stage: DecodeProducer, elapsedTime: -1 ms, extraMap: null, throwable: java.lang.IllegalStateException: Byte-array currently in use}
W/fb4a(:<default>):RequestLoggingListener( 2614): time 104750890: onRequestFailure: {requestId: 846, elapsedTime: -1 ms, throwable: java.lang.IllegalStateException: Byte-array currently in use}
W/fb4a(:<default>):RequestLoggingListener( 2614): time 104751111: onProducerFinishWithFailure: {requestId: 848, stage: DecodeProducer, elapsedTime: -1 ms, extraMap: null, throwable: java.lang.IllegalStateException: Byte-array currently in use}
W/fb4a(:<default>):RequestLoggingListener( 2614): time 104751111: onRequestFailure: {requestId: 848, elapsedTime: -1 ms, throwable: java.lang.IllegalStateException: Byte-array currently in use}
W/fb4a(:<default>):RequestLoggingListener( 2614): time 104751235: onProducerFinishWithFailure: {requestId: 849, stage: DecodeProducer, elapsedTime: -1 ms, extraMap: null, throwable: java.lang.IllegalStateException: Byte-array currently in use}
W/fb4a(:<default>):RequestLoggingListener( 2614): time 104751235: onRequestFailure: {requestId: 849, elapsedTime: -1 ms, throwable: java.lang.IllegalStateException: Byte-array currently in use}
W/fb4a(:<default>):RequestLoggingListener( 2614): time 104751304: onProducerFinishWithFailure: {requestId: 847, stage: DecodeProducer, elapsedTime: -1 ms, extraMap: null, throwable: java.lang.IllegalStateException: Byte-array currently in use}
W/fb4a(:<default>):RequestLoggingListener( 2614): time 104751304: onRequestFailure: {requestId: 847, elapsedTime: -1 ms, throwable: java.lang.IllegalStateException: Byte-array currently in use}
W/fb4a(:<default>):RequestLoggingListener( 2614): time 104751360: onProducerFinishWithFailure: {requestId: 850, stage: DecodeProducer, elapsedTime: -1 ms, extraMap: null, throwable: java.lang.IllegalStateException: Byte-array currently in use}
W/fb4a(:<default>):RequestLoggingListener( 2614): time 104751360: onRequestFailure: {requestId: 850, elapsedTime: -1 ms, throwable: java.lang.IllegalStateException: Byte-array currently in use}
W/fb4a(:<default>):RequestLoggingListener( 2614): time 104751398: onProducerFinishWithFailure: {requestId: 851, stage: DecodeProducer, elapsedTime: -1 ms, extraMap: null, throwable: java.lang.IllegalStateException: Byte-array currently in use}
W/fb4a(:<default>):RequestLoggingListener( 2614): time 104751399: onRequestFailure: {requestId: 851, elapsedTime: -1 ms, throwable: java.lang.IllegalStateException: Byte-array currently in use}

Force stop / restart the app fix it. I was on an good WIFI connection using a Nexus 6.

Thanks

eboudrant avatar Apr 08 '15 21:04 eboudrant

Thanks ! Wow, we didn't see this happening :)

I will make sure it does not happen in next releases.

michalgr avatar Apr 08 '15 22:04 michalgr

I believe this has been fixed.

plamenko avatar Apr 17 '15 00:04 plamenko

Cool, which commit ?

eboudrant avatar Apr 17 '15 00:04 eboudrant

@michalgr would know for sure, but i believe it is https://github.com/facebook/fresco/commit/8665fbdbd181dac69d3be52379a01c80108fde1e

plamenko avatar Apr 17 '15 02:04 plamenko