{"action":"created","issue":{"url":"https://api.github.com/repos/Bilibili/ijkplayer/issues/732","labels_url":"https://api.github.com/repos/Bilibili/ijkplayer/issues/732/labels{/name}","comments_url":"https://api.github.com/repos/Bilibili/ijkplayer/issues/732/comments","events_url":"https://api.github.com/repos/Bilibili/ijkplayer/issues/732/events","html_url":"https://github.com/Bilibili/ijkplayer/issues/732","id":122427135,"number":732,"title":"ijkplayer demo，播放一段视频，退出再播放，重复几次，手机卡住！","user":{"login":"xiaoyaomeng","id":4986534,"avatar_url":"https://avatars.githubusercontent.com/u/4986534?v=3","gravatar_id":"","url":"https://api.github.com/users/xiaoyaomeng","html_url":"https://github.com/xiaoyaomeng","followers_url":"https://api.github.com/users/xiaoyaomeng/followers","following_url":"https://api.github.com/users/xiaoyaomeng/following{/other_user}","gists_url":"https://api.github.com/users/xiaoyaomeng/gists{/gist_id}","starred_url":"https://api.github.com/users/xiaoyaomeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiaoyaomeng/subscriptions","organizations_url":"https://api.github.com/users/xiaoyaomeng/orgs","repos_url":"https://api.github.com/users/xiaoyaomeng/repos","events_url":"https://api.github.com/users/xiaoyaomeng/events{/privacy}","received_events_url":"https://api.github.com/users/xiaoyaomeng/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Bilibili/ijkplayer/labels/no-enough-information","name":"no-enough-information","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-12-16T04:35:41Z","updated_at":"2015-12-16T06:48:53Z","closed_at":null,"body":"ijkplayer demo，播放一段视频，退出再播放，重复几次，退到demo的选择列表后，手机卡住！\r\n这时候只有HOME键能按，其他的键都失灵。不明白是什么问题导致的。MTK6795"},"comment":{"url":"https://api.github.com/repos/Bilibili/ijkplayer/issues/comments/165016170","html_url":"https://github.com/Bilibili/ijkplayer/issues/732#issuecomment-165016170","issue_url":"https://api.github.com/repos/Bilibili/ijkplayer/issues/732","id":165016170,"user":{"login":"NikmanSergey","id":8132498,"avatar_url":"https://avatars.githubusercontent.com/u/8132498?v=3","gravatar_id":"","url":"https://api.github.com/users/NikmanSergey","html_url":"https://github.com/NikmanSergey","followers_url":"https://api.github.com/users/NikmanSergey/followers","following_url":"https://api.github.com/users/NikmanSergey/following{/other_user}","gists_url":"https://api.github.com/users/NikmanSergey/gists{/gist_id}","starred_url":"https://api.github.com/users/NikmanSergey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NikmanSergey/subscriptions","organizations_url":"https://api.github.com/users/NikmanSergey/orgs","repos_url":"https://api.github.com/users/NikmanSergey/repos","events_url":"https://api.github.com/users/NikmanSergey/events{/privacy}","received_events_url":"https://api.github.com/users/NikmanSergey/received_events","type":"User","site_admin":false},"created_at":"2015-12-16T06:48:53Z","updated_at":"2015-12-16T06:48:53Z","body":"@bbcallen,\r\nI can confirm that with k0.4.4.1 after several playback starts app freezes very often with this log:\r\n```\r\nI/OMXClient? Using client-side OMX mux.\r\nD/IJKMEDIA? SDL_AMediaCodecJava_init\r\nD/IJKMEDIA? SDL_AMediaCodecJava_configure_surface\r\nE/IJKMEDIA? configure acodec:0x200c06 format:0xc02: surface:0x0\r\nD/MediaCodec? MediaCodec[kWhatConfigure]: video-output-protection: 00000000, audio-output-protection: 00000000\r\nI/ExtendedCodec? Decoder will be in frame by frame mode\r\nD/ACodec? Found video-output-protection flags set to 00000000\r\nD/IJKMEDIA? SDL_AMediaCodecJava_start\r\nI/IJKMEDIA? reconfigure_codec_l:new acodec: 0xaeedeab0\r\nI/IJKMEDIA? MediaCodec: enqueue_thread_func: exit: 0\r\nI/IJKMEDIA? SDL_JNI_DetachThreadEnv: [20442]\r\nI/art? Thread[5,tid=25985,WaitingInMainSignalCatcherLoop,Thread*=0xb4829400,peer=0x32c070a0,\"Signal Catcher\"]: reacting to signal 3\r\nI/art? [ 12-15 12:37:36.693   863:  884 I/Process  ]\r\n    Sending signal. PID: 863 SIG: 3\r\nI/art? Wrote stack traces to '/data/anr/traces.txt'\r\n```\r\n\r\nAlso, I have seen this crash logs:\r\n```\r\nD/IJKMEDIA? FFP_MSG_VIDEO_SIZE_CHANGED: 1920, 1080\r\nD/IJKMEDIA? SDL_VoutAMediaCodec_CreateOverlay(w=1920, h=1080, fmt=_AMC(0x434d415f, vout=0x95164ac0)\r\nI/PlayerIjk? Detected video size 1920 x 1080\r\nW/art? Suspending all threads took: 6.800ms\r\nI/IJKMEDIA? SDL_AMediaCodecJava_dequeueOutputBuffer: INFO_OUTPUT_BUFFERS_CHANGED\r\nI/IJKMEDIA? SDL_AMediaCodecJava_dequeueOutputBuffer: INFO_OUTPUT_FORMAT_CHANGED\r\nI/IJKMEDIA? AMEDIACODEC__INFO_OUTPUT_FORMAT_CHANGED\r\nD/IJKMEDIA? SDL_AMediaFormatJava_init\r\nE/art? JNI ERROR (app bug): accessed deleted global reference 0x200b36\r\n...\r\nart/runtime/check_jni.cc:65] JNI DETECTED ERROR IN APPLICATION: native code passing in reference to invalid global reference: 0x200b36\r\nA/art? art/runtime/check_jni.cc:65]     in call to DeleteGlobalRef\r\nA/art? art/runtime/check_jni.cc:65] \"Thread-2036\" prio=5 tid=28 Runnable\r\n...\r\nart/runtime/check_jni.cc:65]   native: #07 pc 000b4c25  /system/lib/libart.so (art::CheckJNI::DeleteGlobalRef(_JNIEnv*, _jobject*)+68)\r\nart/runtime/check_jni.cc:65]   native: #08 pc 0000d30f  /data/app/../lib/arm/libijksdl.so (SDL_JNI_DeleteGlobalRefP+14)\r\nA/art? art/runtime/check_jni.cc:65]   native: #09 pc 0000e773  /data/app/.../lib/arm/libijksdl.so (???)\r\nA/art? art/runtime/check_jni.cc:65]   native: #10 pc 0000f041  /data/app/.../lib/arm/libijksdl.so (SDL_AMediaCodec_getInputBuffer+4)\r\nA/art? art/runtime/check_jni.cc:65]   native: #11 pc 000159f7  /data/app/.../lib/arm/libijkplayer.so (???)\r\nA/art? art/runtime/check_jni.cc:65]   native: #12 pc 0000bbbf  /data/app/.../lib/arm/libijksdl.so (???)\r\nA/art? art/runtime/check_jni.cc:65]   native: #13 pc 0001402b  /system/lib/libc.so (__pthread_start(void*)+30)\r\nA/art? art/runtime/check_jni.cc:65]   native: #14 pc 00011f73  /system/lib/libc.so (__start_thread+6)\r\n```\r\n```\r\nD/IJKMEDIA? SDL_AMediaFormatJava_init\r\nI/IJKMEDIA? AMEDIACODEC__INFO_OUTPUT_FORMAT_CHANGED\r\n    width-height: (1920 x 1088)\r\n    color-format: (QCOM_FORMATYUV420PackedSemiPlanar32m: 0x7fa30c04)\r\n    stride:       (1920)\r\n    slice-height: (1088)\r\n    crop:         (0, 0, 1919, 1079)\r\nW/art? Suspending all threads took: 8.271ms\r\nA/art? art/runtime/check_jni.cc:65] JNI DETECTED ERROR IN APPLICATION: jarray was NULL\r\nA/art? art/runtime/check_jni.cc:65]     in call to GetObjectArrayElement\r\nA/art? art/runtime/check_jni.cc:65] \"Thread-2182\" prio=5 tid=26 Runnable\r\n...\r\nA/art? art/runtime/check_jni.cc:65]   native: #07 pc 000bbb81  /system/lib/libart.so (art::CheckJNI::GetObjectArrayElement(_JNIEnv*, _jobjectArray*, int)+40)\r\nA/art? art/runtime/check_jni.cc:65]   native: #08 pc 0000e7af  /data/app/.../lib/arm/libijksdl.so (???)\r\nA/art? art/runtime/check_jni.cc:65]   native: #09 pc 0000f041  /data/app/.../lib/arm/libijksdl.so (SDL_AMediaCodec_getInputBuffer+4)\r\nA/art? art/runtime/check_jni.cc:65]   native: #10 pc 000159f7  /data/app/.../lib/arm/libijkplayer.so (???)\r\nA/art? art/runtime/check_jni.cc:65]   native: #11 pc 0000bbbf  /data/app/.../lib/arm/libijksdl.so (???)\r\nA/art? art/runtime/check_jni.cc:65]   native: #12 pc 0001402b  /system/lib/libc.so (__pthread_start(void*)+30)\r\nA/art? art/runtime/check_jni.cc:65]   native: #13 pc 00011f73  /system/lib/libc.so (__start_thread+6)\r\nA/art? art/runtime/check_jni.cc:65]   (no managed stack frames)\r\nA/art? art/runtime/check_jni.cc:65]\r\nA/art? art/runtime/runtime.cc:295] Runtime aborting...\r\n```\r\n\r\nPlease, help!"}}