-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Description
Hi Square team!
We are having an issue in an app, when in a listview, images on some rows load but some of them are blank. I tried to trace it and collect as much information as I can.
Exception
Picasso:Error:ImageLoadFailed:Uri http://store.indemand.com/shared/ovs/prodimages/movies/t/troublewiththecurve_ID0360906/troublewiththecurveBM_ID0360906.jpg
Picasso:Error:ImageLoadFailed:Exception java.io.IOException: Cannot reset
Picasso:Error:ImageLoadFailed:StackTrace
[
com.squareup.picasso.MarkableInputStream.reset(MarkableInputStream.java:94),
com.squareup.picasso.NetworkBitmapHunter.decodeStream(NetworkBitmapHunter.java:91),
com.squareup.picasso.NetworkBitmapHunter.decode(NetworkBitmapHunter.java:60),
com.squareup.picasso.BitmapHunter.hunt(BitmapHunter.java:111),
com.squareup.picasso.BitmapHunter.run(BitmapHunter.java:82),
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:390),
java.util.concurrent.FutureTask.run(FutureTask.java:234),
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080),
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573),
java.lang.Thread.run(Thread.java:856),
com.squareup.picasso.Utils$PicassoThread.run(Utils.java:218)
]
Responsible code (under getView())
pBuilder.build().load(URL).fit().into(ImageView);
By the way, I don't know if it matters but airplane mode is on, but wifi is connected. I added this because with every row loading, I am seeing this in logs:
W/Settings(4289): Setting airplane_mode_on has moved from android.provider.Settings.System to android.provider.Settings.Global, returning read-only value.
Also the app crashed with this, after scrolling through the list up and down many times;
A/Looper(4289): Could not create wake pipe. errno=24
A/libc(4289): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 5091 (Picasso-Dispatc)
A/libc(4289): Unable to open connection to debuggerd: Too many open files
The app doesn't seem to crash and I also didn't see the W/Settings airplane message if I switch to
Picasso.with(_context).load(URL).fit().into(imageView);
style instead of Picasso.Builder.
Metadata
Metadata
Assignees
Labels
No labels