{"action":"created","issue":{"url":"https://api.github.com/repos/frostwire/frostwire/issues/188","repository_url":"https://api.github.com/repos/frostwire/frostwire","labels_url":"https://api.github.com/repos/frostwire/frostwire/issues/188/labels{/name}","comments_url":"https://api.github.com/repos/frostwire/frostwire/issues/188/comments","events_url":"https://api.github.com/repos/frostwire/frostwire/issues/188/events","html_url":"https://github.com/frostwire/frostwire/issues/188","id":176065173,"number":188,"title":"[android/critical] App acting like a zombie","user":{"login":"gubatron","id":163977,"avatar_url":"https://avatars.githubusercontent.com/u/163977?v=3","gravatar_id":"","url":"https://api.github.com/users/gubatron","html_url":"https://github.com/gubatron","followers_url":"https://api.github.com/users/gubatron/followers","following_url":"https://api.github.com/users/gubatron/following{/other_user}","gists_url":"https://api.github.com/users/gubatron/gists{/gist_id}","starred_url":"https://api.github.com/users/gubatron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gubatron/subscriptions","organizations_url":"https://api.github.com/users/gubatron/orgs","repos_url":"https://api.github.com/users/gubatron/repos","events_url":"https://api.github.com/users/gubatron/events{/privacy}","received_events_url":"https://api.github.com/users/gubatron/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/frostwire/frostwire/labels/android","name":"android","color":"bfe5bf"},{"url":"https://api.github.com/repos/frostwire/frostwire/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/frostwire/frostwire/labels/help%20wanted","name":"help wanted","color":"159818"},{"url":"https://api.github.com/repos/frostwire/frostwire/labels/help%20wanted%20(bitcoin%20bounty)","name":"help wanted (bitcoin bounty)","color":"009800"}],"state":"open","locked":false,"assignee":{"login":"gubatron","id":163977,"avatar_url":"https://avatars.githubusercontent.com/u/163977?v=3","gravatar_id":"","url":"https://api.github.com/users/gubatron","html_url":"https://github.com/gubatron","followers_url":"https://api.github.com/users/gubatron/followers","following_url":"https://api.github.com/users/gubatron/following{/other_user}","gists_url":"https://api.github.com/users/gubatron/gists{/gist_id}","starred_url":"https://api.github.com/users/gubatron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gubatron/subscriptions","organizations_url":"https://api.github.com/users/gubatron/orgs","repos_url":"https://api.github.com/users/gubatron/repos","events_url":"https://api.github.com/users/gubatron/events{/privacy}","received_events_url":"https://api.github.com/users/gubatron/received_events","type":"User","site_admin":false},"assignees":[{"login":"gubatron","id":163977,"avatar_url":"https://avatars.githubusercontent.com/u/163977?v=3","gravatar_id":"","url":"https://api.github.com/users/gubatron","html_url":"https://github.com/gubatron","followers_url":"https://api.github.com/users/gubatron/followers","following_url":"https://api.github.com/users/gubatron/following{/other_user}","gists_url":"https://api.github.com/users/gubatron/gists{/gist_id}","starred_url":"https://api.github.com/users/gubatron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gubatron/subscriptions","organizations_url":"https://api.github.com/users/gubatron/orgs","repos_url":"https://api.github.com/users/gubatron/repos","events_url":"https://api.github.com/users/gubatron/events{/privacy}","received_events_url":"https://api.github.com/users/gubatron/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2016-09-09T17:35:00Z","updated_at":"2016-09-09T19:51:54Z","closed_at":null,"body":"The app is coming back to life after the last 2 releases.\r\n\r\nThings that have been tried without success:\r\n- Disabling all ads.\r\n- Disabling PlayStore.\r\n- Removed MobFox.\r\n- Interrupting all threads.\r\n\r\nThings that have changed:\r\n- AppLovin library update, gotta try reverting to previous version to see if this is culprit.\r\n\r\nWhen I wrote the routine to interrupt all threads, I managed to get a list of over 60 active threads at the last line of `MainActivity.onDestroy()`\r\n\r\n```\r\nI/MainActivity: interruptAllThreads(): threadGroup 'main'\r\nI/MainActivity: interruptAllThreads(): 61 active threads.\r\nI/MainActivity: interruptAllThreads(): 0 active thread groups.\r\nI/MainActivity: interruptAllThreads(): Thread (#505) 'SystemTasksHandlerThread'\r\nI/MainActivity: interruptAllThreads(): Thread (#504) 'OkHttp torrasave.download'\r\nI/MainActivity: interruptAllThreads(): Thread (#501) 'OkHttp torrasave.download'\r\nI/MainActivity: interruptAllThreads(): Thread (#4a0) 'hwuiTask2'\r\nI/MainActivity: interruptAllThreads(): Thread (#43f) 'SearchManager-thread-idle'\r\nI/MainActivity: interruptAllThreads(): Thread (#43d) 'SearchManager-thread-idle'\r\nI/MainActivity: interruptAllThreads(): Thread (#43b) 'SearchManager-thread-idle'\r\nI/MainActivity: interruptAllThreads(): Thread (#439) 'SearchManager-thread-idle'\r\nI/MainActivity: interruptAllThreads(): Thread (#437) 'SearchManager-thread-idle'\r\nI/MainActivity: interruptAllThreads(): Thread (#435) 'SearchManager-thread-idle'\r\nI/MainActivity: interruptAllThreads(): Thread (#433) 'OkHttp FramedConnection'\r\nI/MainActivity: interruptAllThreads(): Thread (#431) 'OkHttp FramedConnection'\r\nI/MainActivity: interruptAllThreads(): Thread (#42e) 'hwuiTask1'\r\nI/MainActivity: interruptAllThreads(): Thread (#425) 'OkHttp ConnectionPool'\r\nI/MainActivity: interruptAllThreads(): Thread (#424) 'AppLovinSdk:postbacks:GT8R'\r\nI/MainActivity: interruptAllThreads(): Thread (#422) 'Thread-1058'\r\nI/MainActivity: interruptAllThreads(): Thread (#420) 'MusicPlayerHandler'\r\nI/MainActivity: interruptAllThreads(): Thread (#41f) 'AsyncTask #9'\r\nI/MainActivity: interruptAllThreads(): Thread (#41e) 'AsyncTask #8'\r\nI/MainActivity: interruptAllThreads(): Thread (#41d) 'AsyncTask #7'\r\nI/MainActivity: interruptAllThreads(): Thread (#41b) 'RenderThread'\r\nI/MainActivity: interruptAllThreads(): Thread (#41a) 'AsyncQueryWorker'\r\nI/MainActivity: interruptAllThreads(): Thread (#419) 'AsyncTask #6'\r\nI/MainActivity: interruptAllThreads(): Thread (#417) 'Okio Watchdog'\r\nI/MainActivity: interruptAllThreads(): Thread (#416) 'AsyncTask #5'\r\nI/MainActivity: interruptAllThreads(): Thread (#414) 'TcmReceiver'\r\nI/MainActivity: interruptAllThreads(): Thread (#413) 'ApplicationFocusChangeObserverHandler'\r\nI/MainActivity: interruptAllThreads(): Thread (#410) 'SystemTasksHandlerThread'\r\nI/MainActivity: interruptAllThreads(): Thread (#40d) 'Okio Watchdog'\r\nI/MainActivity: interruptAllThreads(): Thread (#40c) 'ActivityRecognitionSampler'\r\nI/MainActivity: interruptAllThreads(): Thread (#40b) 'DataCollectionHandler'\r\nI/MainActivity: interruptAllThreads(): Thread (#40a) 'telemetry'\r\nI/MainActivity: interruptAllThreads(): Thread (#407) 'ConfigBootstrapHandler'\r\nI/MainActivity: interruptAllThreads(): Thread (#402) 'ConnectivityManager'\r\nI/MainActivity: interruptAllThreads(): Thread (#401) 'cr.CleanupReference'\r\nI/MainActivity: interruptAllThreads(): Thread (#400) 'AsyncTask #4'\r\nI/MainActivity: interruptAllThreads(): Thread (#3ff) 'AsyncTask #3'\r\nI/MainActivity: interruptAllThreads(): Thread (#3fe) 'Thread-1022'\r\nI/MainActivity: interruptAllThreads(): Thread (#3fd) 'Chrome_DBThread'\r\nI/MainActivity: interruptAllThreads(): Thread (#3fc) 'Chrome_ProcessLauncherThread'\r\nI/MainActivity: interruptAllThreads(): Thread (#3fb) 'Chrome_CacheThread'\r\nI/MainActivity: interruptAllThreads(): Thread (#3fa) 'Chrome_FileThread'\r\nI/MainActivity: interruptAllThreads(): Thread (#3f9) 'Chrome_IOThread'\r\nI/MainActivity: interruptAllThreads(): Thread (#3f8) 'Chrome_FileUserBlockingThread'\r\nI/MainActivity: interruptAllThreads(): Thread (#3f7) 'AppLovinSdk:back:GT8R'\r\nI/MainActivity: interruptAllThreads(): Thread (#3f6) 'OkHttp ConnectionPool'\r\nI/MainActivity: interruptAllThreads(): Thread (#3f5) 'WifiManager'\r\nI/MainActivity: interruptAllThreads(): Thread (#3f4) 'AppLovinSdk:main:GT8R'\r\nI/MainActivity: interruptAllThreads(): Thread (#3f1) 'pool-1-thread-1'\r\nI/MainActivity: interruptAllThreads(): Thread (#3f0) 'AsyncTask #2'\r\nI/MainActivity: interruptAllThreads(): Thread (#3ee) 'Offers-thread-idle'\r\nI/MainActivity: interruptAllThreads(): Thread (#3ed) 'AsyncTask #1'\r\nI/MainActivity: interruptAllThreads(): Thread (#3eb) 'Picasso-refQueue'\r\nI/MainActivity: interruptAllThreads(): Thread (#3ea) 'Picasso-Dispatcher'\r\nI/MainActivity: interruptAllThreads(): Thread (#3e9) 'Picasso-Stats'\r\nI/MainActivity: interruptAllThreads(): Thread (#3e7) 'Session-alertsLoop'\r\nI/MainActivity: interruptAllThreads(): Thread (#3e5) 'Thread-997'\r\nI/MainActivity: interruptAllThreads(): Thread (#3e3) 'Binder_3'\r\nI/MainActivity: interruptAllThreads(): Thread (#3e2) 'Binder_2'\r\nI/MainActivity: interruptAllThreads(): Thread (#3e1) 'Binder_1'\r\nI/MainActivity: interruptAllThreads(): Thread (#1) 'main'\r\n```"},"comment":{"url":"https://api.github.com/repos/frostwire/frostwire/issues/comments/246020943","html_url":"https://github.com/frostwire/frostwire/issues/188#issuecomment-246020943","issue_url":"https://api.github.com/repos/frostwire/frostwire/issues/188","id":246020943,"user":{"login":"gubatron","id":163977,"avatar_url":"https://avatars.githubusercontent.com/u/163977?v=3","gravatar_id":"","url":"https://api.github.com/users/gubatron","html_url":"https://github.com/gubatron","followers_url":"https://api.github.com/users/gubatron/followers","following_url":"https://api.github.com/users/gubatron/following{/other_user}","gists_url":"https://api.github.com/users/gubatron/gists{/gist_id}","starred_url":"https://api.github.com/users/gubatron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gubatron/subscriptions","organizations_url":"https://api.github.com/users/gubatron/orgs","repos_url":"https://api.github.com/users/gubatron/repos","events_url":"https://api.github.com/users/gubatron/events{/privacy}","received_events_url":"https://api.github.com/users/gubatron/received_events","type":"User","site_admin":false},"created_at":"2016-09-09T19:51:54Z","updated_at":"2016-09-09T19:51:54Z","body":"Fixed it, the issue was `MusicPlaybackService`'s shutdown logic."}}
{"actor":{"display_login":"gubatron"}}