{"action":"created","issue":{"url":"https://api.github.com/repos/square/picasso/issues/364","repository_url":"https://api.github.com/repos/square/picasso","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":"closed","locked":false,"assignee":null,"assignees":[],"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":3,"closed_issues":23,"state":"closed","created_at":"2015-03-20T16:34:42Z","updated_at":"2016-06-09T15:14:46Z","due_on":null,"closed_at":"2016-06-09T15:14:46Z"},"comments":59,"created_at":"2014-01-20T23:06:18Z","updated_at":"2016-10-28T18:01:12Z","closed_at":"2016-01-30T02:39:24Z","body":"Hi Square team!\n\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.\n#### Exception\n\n``` java\nPicasso:Error:ImageLoadFailed:Uri http://store.indemand.com/shared/ovs/prodimages/movies/t/troublewiththecurve_ID0360906/troublewiththecurveBM_ID0360906.jpg\n\nPicasso:Error:ImageLoadFailed:Exception java.io.IOException: Cannot reset\n\nPicasso:Error:ImageLoadFailed:StackTrace \n[\n    com.squareup.picasso.MarkableInputStream.reset(MarkableInputStream.java:94), \n    com.squareup.picasso.NetworkBitmapHunter.decodeStream(NetworkBitmapHunter.java:91), \n    com.squareup.picasso.NetworkBitmapHunter.decode(NetworkBitmapHunter.java:60), \n    com.squareup.picasso.BitmapHunter.hunt(BitmapHunter.java:111), \n    com.squareup.picasso.BitmapHunter.run(BitmapHunter.java:82), \n    java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:390),\n    java.util.concurrent.FutureTask.run(FutureTask.java:234), \n    java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080), \n    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573), \n    java.lang.Thread.run(Thread.java:856), \n    com.squareup.picasso.Utils$PicassoThread.run(Utils.java:218)\n]\n```\n#### Responsible code (under getView())\n\n``` java\npBuilder.build().load(URL).fit().into(ImageView);\n```\n\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:\n\n``` java\nW/Settings(4289): Setting airplane_mode_on has moved from android.provider.Settings.System to android.provider.Settings.Global, returning read-only value.\n```\n\nAlso the app crashed with this, after scrolling through the list up and down many times;\n\n``` java\nA/Looper(4289): Could not create wake pipe.  errno=24\nA/libc(4289): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 5091 (Picasso-Dispatc)\nA/libc(4289): Unable to open connection to debuggerd: Too many open files\n```\n\nThe app doesn't seem to crash and I also didn't see the W/Settings airplane message if I switch to              \n\n``` java\nPicasso.with(_context).load(URL).fit().into(imageView);\n```\n\nstyle instead of Picasso.Builder.\n"},"comment":{"url":"https://api.github.com/repos/square/picasso/issues/comments/256987502","html_url":"https://github.com/square/picasso/issues/364#issuecomment-256987502","issue_url":"https://api.github.com/repos/square/picasso/issues/364","id":256987502,"user":{"login":"martygeek","id":1483744,"avatar_url":"https://avatars.githubusercontent.com/u/1483744?v=3","gravatar_id":"","url":"https://api.github.com/users/martygeek","html_url":"https://github.com/martygeek","followers_url":"https://api.github.com/users/martygeek/followers","following_url":"https://api.github.com/users/martygeek/following{/other_user}","gists_url":"https://api.github.com/users/martygeek/gists{/gist_id}","starred_url":"https://api.github.com/users/martygeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martygeek/subscriptions","organizations_url":"https://api.github.com/users/martygeek/orgs","repos_url":"https://api.github.com/users/martygeek/repos","events_url":"https://api.github.com/users/martygeek/events{/privacy}","received_events_url":"https://api.github.com/users/martygeek/received_events","type":"User","site_admin":false},"created_at":"2016-10-28T18:01:12Z","updated_at":"2016-10-28T18:01:12Z","body":"I just upgraded to 2.5.3-SNAPSHOT as well.  Fixed!"}}
{"actor":{"display_login":"martygeek"}}