{"action":"created","issue":{"url":"https://api.github.com/repos/JakeWharton/Telecine/issues/49","labels_url":"https://api.github.com/repos/JakeWharton/Telecine/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/JakeWharton/Telecine/issues/49/comments","events_url":"https://api.github.com/repos/JakeWharton/Telecine/issues/49/events","html_url":"https://github.com/JakeWharton/Telecine/issues/49","id":79731901,"number":49,"title":"Many DeadObjectExceptions showing up in LogCat","user":{"login":"techehcet","id":10905334,"avatar_url":"https://avatars.githubusercontent.com/u/10905334?v=3","gravatar_id":"","url":"https://api.github.com/users/techehcet","html_url":"https://github.com/techehcet","followers_url":"https://api.github.com/users/techehcet/followers","following_url":"https://api.github.com/users/techehcet/following{/other_user}","gists_url":"https://api.github.com/users/techehcet/gists{/gist_id}","starred_url":"https://api.github.com/users/techehcet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/techehcet/subscriptions","organizations_url":"https://api.github.com/users/techehcet/orgs","repos_url":"https://api.github.com/users/techehcet/repos","events_url":"https://api.github.com/users/techehcet/events{/privacy}","received_events_url":"https://api.github.com/users/techehcet/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-23T04:58:56Z","updated_at":"2015-05-23T05:09:21Z","closed_at":"2015-05-23T05:09:21Z","body":"Every time a recording is stopped, a number of DeadObjectExceptions are written to logcat. The number of these is ever-increasing (until next reboot). It increments each time Telecine (or any other app using MediaProjection) is launched (killed?).  Now, maybe this can simply be ignored. But, having, sometimes, hundreds of these messages written each time the recording is stopped, is rather annoying at least.\r\n\r\nSee here: https://code.google.com/p/android/issues/detail?id=81152\r\n\r\nConfirmed on 5.1.1 (Nexus 5)\r\n\r\nAny ideas on how to work around this?\r\n\r\n05-23 12:46:16.623      725-725/? W/MediaProjectionManagerService﹕ Failed to notify media projection has stopped\r\n    android.os.DeadObjectException\r\n            at android.os.BinderProxy.transactNative(Native Method)\r\n            at android.os.BinderProxy.transact(Binder.java:496)\r\n            at android.media.projection.IMediaProjectionCallback$Stub$Proxy.onStop(IMediaProjectionCallback.java:75)\r\n            at com.android.server.media.projection.MediaProjectionManagerService$ClientStopCallback.run(MediaProjectionManagerService.java:614)\r\n            at android.os.Handler.handleCallback(Handler.java:739)\r\n            at android.os.Handler.dispatchMessage(Handler.java:95)\r\n            at android.os.Looper.loop(Looper.java:135)\r\n            at com.android.server.SystemServer.run(SystemServer.java:269)\r\n            at com.android.server.SystemServer.main(SystemServer.java:170)\r\n            at java.lang.reflect.Method.invoke(Native Method)\r\n            at java.lang.reflect.Method.invoke(Method.java:372)\r\n            at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)\r\n            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)"},"comment":{"url":"https://api.github.com/repos/JakeWharton/Telecine/issues/comments/104845984","html_url":"https://github.com/JakeWharton/Telecine/issues/49#issuecomment-104845984","issue_url":"https://api.github.com/repos/JakeWharton/Telecine/issues/49","id":104845984,"user":{"login":"JakeWharton","id":66577,"avatar_url":"https://avatars.githubusercontent.com/u/66577?v=3","gravatar_id":"","url":"https://api.github.com/users/JakeWharton","html_url":"https://github.com/JakeWharton","followers_url":"https://api.github.com/users/JakeWharton/followers","following_url":"https://api.github.com/users/JakeWharton/following{/other_user}","gists_url":"https://api.github.com/users/JakeWharton/gists{/gist_id}","starred_url":"https://api.github.com/users/JakeWharton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JakeWharton/subscriptions","organizations_url":"https://api.github.com/users/JakeWharton/orgs","repos_url":"https://api.github.com/users/JakeWharton/repos","events_url":"https://api.github.com/users/JakeWharton/events{/privacy}","received_events_url":"https://api.github.com/users/JakeWharton/received_events","type":"User","site_admin":false},"created_at":"2015-05-23T05:09:21Z","updated_at":"2015-05-23T05:09:21Z","body":"I can't see how there would be anything to fix this that an application could do. The problem is entirely in the OS from what I gather on that issue and the stack trace. The issue itself says that _any_ use of the recording APIs causes this.\r\n\r\nIt wouldn't be the first time there was platform bugs around recording: http://b.android.com/159196\r\n\r\nGoing to close since there's nothing I can do. I'll keep an eye on that issue, though, in case any news of updates or workarounds comes about."}}