{"action":"created","issue":{"url":"https://api.github.com/repos/Bilibili/ijkplayer/issues/34","labels_url":"https://api.github.com/repos/Bilibili/ijkplayer/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/Bilibili/ijkplayer/issues/34/comments","events_url":"https://api.github.com/repos/Bilibili/ijkplayer/issues/34/events","html_url":"https://github.com/Bilibili/ijkplayer/issues/34","id":36259561,"number":34,"title":"ijkplayer二次启动后anr问题","user":{"login":"jgfntu","id":1620200,"avatar_url":"https://avatars.githubusercontent.com/u/1620200?v=3","gravatar_id":"","url":"https://api.github.com/users/jgfntu","html_url":"https://github.com/jgfntu","followers_url":"https://api.github.com/users/jgfntu/followers","following_url":"https://api.github.com/users/jgfntu/following{/other_user}","gists_url":"https://api.github.com/users/jgfntu/gists{/gist_id}","starred_url":"https://api.github.com/users/jgfntu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgfntu/subscriptions","organizations_url":"https://api.github.com/users/jgfntu/orgs","repos_url":"https://api.github.com/users/jgfntu/repos","events_url":"https://api.github.com/users/jgfntu/events{/privacy}","received_events_url":"https://api.github.com/users/jgfntu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Bilibili/ijkplayer/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2014-06-23T03:11:28Z","updated_at":"2015-09-22T04:30:09Z","closed_at":null,"body":"从0.1.1之后的版本，原生的ijkplayer出现首次启动正常，关闭再次启动出现黑屏卡死anr的问题，很奇怪，后台也没抓到log，只是pull出anr的traces.txt，\r\n----- pid 2940 at 2014-06-23 11:04:45 -----\r\nCmd line: tv.danmaku.ijk.media.demo\r\n\r\nDALVIK THREADS:\r\n(mutexes: tll=0 tsl=0 tscl=0 ghl=0 hwl=0 hwll=0)\r\n\"main\" prio=5 tid=1 NATIVE\r\n  | group=\"main\" sCount=1 dsCount=0 obj=0x40027550 self=0xcfc0\r\n  | sysTid=2940 nice=0 sched=0/0 cgrp=bg_non_interactive handle=-1345006240\r\n  | schedstat=( 218383782 741882328 539 )\r\n  at tv.danmaku.ijk.media.player.IjkMediaPlayer._reset(Native Method)\r\n  at tv.danmaku.ijk.media.player.IjkMediaPlayer.reset(IjkMediaPlayer.java:353)\r\n  at tv.danmaku.ijk.media.widget.VideoView.release(VideoView.java:516)\r\n  at tv.danmaku.ijk.media.widget.VideoView.access$31(VideoView.java:514)\r\n  at tv.danmaku.ijk.media.widget.VideoView$8.surfaceDestroyed(VideoView.java:510)\r\n  at android.view.SurfaceView.reportSurfaceDestroyed(SurfaceView.java:600)\r\n  at android.view.SurfaceView.updateWindow(SurfaceView.java:486)\r\n  at android.view.SurfaceView.onWindowVisibilityChanged(SurfaceView.java:213)\r\n  at android.view.View.dispatchWindowVisibilityChanged(View.java:4074)\r\n  at android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:738)\r\n  at android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:738)\r\n  at android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:738)\r\n  at android.view.ViewRoot.performTraversals(ViewRoot.java:814)\r\n  at android.view.ViewRoot.handleMessage(ViewRoot.java:1939)\r\n  at android.os.Handler.dispatchMessage(Handler.java:99)\r\n  at android.os.Looper.loop(Looper.java:143)\r\n  at android.app.ActivityThread.main(ActivityThread.java:4196)\r\n  at java.lang.reflect.Method.invokeNative(Native Method)\r\n  at java.lang.reflect.Method.invoke(Method.java:507)\r\n  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)\r\n  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)\r\n  at dalvik.system.NativeStart.main(Native Method)\r\n\r\n\"AudioTrackThread\" prio=10 tid=12 NATIVE\r\n  | group=\"main\" sCount=1 dsCount=0 obj=0x4052f9c0 self=0x3c60c0\r\n  | sysTid=2953 nice=-16 sched=0/0 cgrp=bg_non_interactive handle=4009440\r\n  | schedstat=( 625091550 1243041976 10123 )\r\n  at dalvik.system.NativeStart.run(Native Method)\r\n\r\n\"Binder Thread #2\" prio=5 tid=8 NATIVE\r\n  | group=\"main\" sCount=1 dsCount=0 obj=0x4051be48 self=0x2cc780\r\n  | sysTid=2947 nice=0 sched=0/0 cgrp=bg_non_interactive handle=2164192\r\n  | schedstat=( 5493165 115173338 30 )\r\n  at dalvik.system.NativeStart.run(Native Method)\r\n\r\n\"Binder Thread #1\" prio=5 tid=7 NATIVE\r\n  | group=\"main\" sCount=1 dsCount=0 obj=0x4051a5b8 self=0x182bd0\r\n  | sysTid=2946 nice=0 sched=0/0 cgrp=bg_non_interactive handle=1195176\r\n  | schedstat=( 4852294 290588377 30 )\r\n  at dalvik.system.NativeStart.run(Native Method)\r\n\r\n\"Compiler\" daemon prio=5 tid=6 VMWAIT\r\n  | group=\"system\" sCount=1 dsCount=0 obj=0x40517a30 self=0x182a98\r\n  | sysTid=2945 nice=0 sched=0/0 cgrp=bg_non_interactive handle=1198456\r\n  | schedstat=( 16693113 45532229 160 )\r\n  at dalvik.system.NativeStart.run(Native Method)\r\n\r\n\"JDWP\" daemon prio=5 tid=5 VMWAIT\r\n  | group=\"system\" sCount=1 dsCount=0 obj=0x40517980 self=0x2cbca0\r\n  | sysTid=2944 nice=0 sched=0/0 cgrp=bg_non_interactive handle=2162424\r\n  | schedstat=( 2105712 976562 19 )\r\n  at dalvik.system.NativeStart.run(Native Method)\r\n\r\n\"Signal Catcher\" daemon prio=5 tid=4 RUNNABLE\r\n  | group=\"system\" sCount=0 dsCount=0 obj=0x405178c0 self=0x1247b8\r\n  | sysTid=2943 nice=0 sched=0/0 cgrp=bg_non_interactive handle=1580424\r\n  | schedstat=( 1647949 701905 6 )\r\n  at dalvik.system.NativeStart.run(Native Method)\r\n\r\n\"GC\" daemon prio=5 tid=3 VMWAIT\r\n  | group=\"system\" sCount=1 dsCount=0 obj=0x40517818 self=0x20fd08\r\n  | sysTid=2942 nice=0 sched=0/0 cgrp=bg_non_interactive handle=1585304\r\n  | schedstat=( 335694 3265382 3 )\r\n  at dalvik.system.NativeStart.run(Native Method)\r\n\r\n\"HeapWorker\" daemon prio=5 tid=2 VMWAIT\r\n  | group=\"system\" sCount=1 dsCount=0 obj=0x40517760 self=0x210958\r\n  | sysTid=2941 nice=0 sched=0/0 cgrp=bg_non_interactive handle=1585240\r\n  | schedstat=( 28411865 3631592 18 )\r\n  at dalvik.system.NativeStart.run(Native Method)\r\n\r\n----- end 2940 -----"},"comment":{"url":"https://api.github.com/repos/Bilibili/ijkplayer/issues/comments/142179470","html_url":"https://github.com/Bilibili/ijkplayer/issues/34#issuecomment-142179470","issue_url":"https://api.github.com/repos/Bilibili/ijkplayer/issues/34","id":142179470,"user":{"login":"bbcallen","id":835728,"avatar_url":"https://avatars.githubusercontent.com/u/835728?v=3","gravatar_id":"","url":"https://api.github.com/users/bbcallen","html_url":"https://github.com/bbcallen","followers_url":"https://api.github.com/users/bbcallen/followers","following_url":"https://api.github.com/users/bbcallen/following{/other_user}","gists_url":"https://api.github.com/users/bbcallen/gists{/gist_id}","starred_url":"https://api.github.com/users/bbcallen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbcallen/subscriptions","organizations_url":"https://api.github.com/users/bbcallen/orgs","repos_url":"https://api.github.com/users/bbcallen/repos","events_url":"https://api.github.com/users/bbcallen/events{/privacy}","received_events_url":"https://api.github.com/users/bbcallen/received_events","type":"User","site_admin":false},"created_at":"2015-09-22T04:30:09Z","updated_at":"2015-09-22T04:30:09Z","body":"I mean, can you get call stack information in other threads?"}}