{"action":"created","issue":{"url":"https://api.github.com/repos/square/picasso/issues/364","labels_url":"https://api.github.com/repos/square/picasso/issues/364/labels{/name}","comments_url":"https://api.github.com/repos/square/picasso/issues/364/comments","events_url":"https://api.github.com/repos/square/picasso/issues/364/events","html_url":"https://github.com/square/picasso/issues/364","id":25953033,"number":364,"title":"Exception: java.io.IOException: Cannot reset","user":{"login":"madmed","id":476620,"avatar_url":"https://avatars.githubusercontent.com/u/476620?v=3","gravatar_id":"","url":"https://api.github.com/users/madmed","html_url":"https://github.com/madmed","followers_url":"https://api.github.com/users/madmed/followers","following_url":"https://api.github.com/users/madmed/following{/other_user}","gists_url":"https://api.github.com/users/madmed/gists{/gist_id}","starred_url":"https://api.github.com/users/madmed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madmed/subscriptions","organizations_url":"https://api.github.com/users/madmed/orgs","repos_url":"https://api.github.com/users/madmed/repos","events_url":"https://api.github.com/users/madmed/events{/privacy}","received_events_url":"https://api.github.com/users/madmed/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/square/picasso/milestones/12","html_url":"https://github.com/square/picasso/milestones/Picasso%202.5.3","labels_url":"https://api.github.com/repos/square/picasso/milestones/12/labels","id":1031319,"number":12,"title":"Picasso 2.5.3","description":"","creator":{"login":"dnkoutso","id":310370,"avatar_url":"https://avatars.githubusercontent.com/u/310370?v=3","gravatar_id":"","url":"https://api.github.com/users/dnkoutso","html_url":"https://github.com/dnkoutso","followers_url":"https://api.github.com/users/dnkoutso/followers","following_url":"https://api.github.com/users/dnkoutso/following{/other_user}","gists_url":"https://api.github.com/users/dnkoutso/gists{/gist_id}","starred_url":"https://api.github.com/users/dnkoutso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnkoutso/subscriptions","organizations_url":"https://api.github.com/users/dnkoutso/orgs","repos_url":"https://api.github.com/users/dnkoutso/repos","events_url":"https://api.github.com/users/dnkoutso/events{/privacy}","received_events_url":"https://api.github.com/users/dnkoutso/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":18,"state":"open","created_at":"2015-03-20T16:34:42Z","updated_at":"2015-06-10T13:49:26Z","due_on":null,"closed_at":null},"comments":40,"created_at":"2014-01-20T23:06:18Z","updated_at":"2015-10-05T12:19:22Z","closed_at":null,"body":"Hi Square team!\r\n\r\nWe 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.\r\n\r\n#### Exception\r\n```java\r\nPicasso:Error:ImageLoadFailed:Uri http://store.indemand.com/shared/ovs/prodimages/movies/t/troublewiththecurve_ID0360906/troublewiththecurveBM_ID0360906.jpg\r\n\r\nPicasso:Error:ImageLoadFailed:Exception java.io.IOException: Cannot reset\r\n\r\nPicasso:Error:ImageLoadFailed:StackTrace \r\n[\r\n\tcom.squareup.picasso.MarkableInputStream.reset(MarkableInputStream.java:94), \r\n\tcom.squareup.picasso.NetworkBitmapHunter.decodeStream(NetworkBitmapHunter.java:91), \r\n\tcom.squareup.picasso.NetworkBitmapHunter.decode(NetworkBitmapHunter.java:60), \r\n\tcom.squareup.picasso.BitmapHunter.hunt(BitmapHunter.java:111), \r\n\tcom.squareup.picasso.BitmapHunter.run(BitmapHunter.java:82), \r\n\tjava.util.concurrent.Executors$RunnableAdapter.call(Executors.java:390),\r\n\tjava.util.concurrent.FutureTask.run(FutureTask.java:234), \r\n\tjava.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080), \r\n\tjava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573), \r\n\tjava.lang.Thread.run(Thread.java:856), \r\n\tcom.squareup.picasso.Utils$PicassoThread.run(Utils.java:218)\r\n]\r\n```\r\n#### Responsible code (under getView())\r\n\r\n```java\r\npBuilder.build().load(URL).fit().into(ImageView);\r\n```\r\n\r\nBy 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:\r\n```java\r\nW/Settings(4289): Setting airplane_mode_on has moved from android.provider.Settings.System to android.provider.Settings.Global, returning read-only value.\r\n```\r\n\r\nAlso the app crashed with this, after scrolling through the list up and down many times;\r\n```java\r\nA/Looper(4289): Could not create wake pipe.  errno=24\r\nA/libc(4289): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 5091 (Picasso-Dispatc)\r\nA/libc(4289): Unable to open connection to debuggerd: Too many open files\r\n```\r\n\r\nThe app doesn't seem to crash and I also didn't see the W/Settings airplane message if I switch to \t\t\t\t\r\n```java\r\nPicasso.with(_context).load(URL).fit().into(imageView);\r\n``` \r\nstyle instead of Picasso.Builder."},"comment":{"url":"https://api.github.com/repos/square/picasso/issues/comments/145510112","html_url":"https://github.com/square/picasso/issues/364#issuecomment-145510112","issue_url":"https://api.github.com/repos/square/picasso/issues/364","id":145510112,"user":{"login":"sathvik87","id":1096342,"avatar_url":"https://avatars.githubusercontent.com/u/1096342?v=3","gravatar_id":"","url":"https://api.github.com/users/sathvik87","html_url":"https://github.com/sathvik87","followers_url":"https://api.github.com/users/sathvik87/followers","following_url":"https://api.github.com/users/sathvik87/following{/other_user}","gists_url":"https://api.github.com/users/sathvik87/gists{/gist_id}","starred_url":"https://api.github.com/users/sathvik87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sathvik87/subscriptions","organizations_url":"https://api.github.com/users/sathvik87/orgs","repos_url":"https://api.github.com/users/sathvik87/repos","events_url":"https://api.github.com/users/sathvik87/events{/privacy}","received_events_url":"https://api.github.com/users/sathvik87/received_events","type":"User","site_admin":false},"created_at":"2015-10-05T12:19:22Z","updated_at":"2015-10-05T12:19:22Z","body":"+1 Having same issue on Moto E, using 2.5.2 "}}