Open lovelycheep opened 8 years ago
Are there any steps to reproduce this problem?
非常抱歉 @bbcallen 这个是用户使用中崩溃比较多的一个,目前也没有找到复现方法;有没有可能是这个位置的子线程异常退出导致的
是崩溃,不是ANR?@lovelycheep
有道理,这种情况的确有可能发生;我想办法跟踪一下吧;非常感谢
播放器看正在推的流,如果流非正常退出了,然后播放器调用了shutdown的方法,那么就会挂在这里。。。
遇到相同的Crash。目前这个问题有进展吗? 这个库还有维护吗?
大家好,请问: 最近做项目时,发布的版本偶尔停止播放时SDL_WaitThread 有很多崩溃,其中崩溃的位置就是函数中对应的 pthread_join(thread->id, NULL);这一行;我的理解是子线程异常退出后线程id失效了,调用该函数就会崩溃,不知道这样理解对不对;或者是还有其他情况会导致崩溃,请高手指点
崩溃堆栈如下: Thread 15 (crashed) 0 libc.so + 0x131d4 r0 = 0x00000000 r1 = 0x00000000 r2 = 0x624f8324 r3 = 0x400a73a4 r4 = 0xdfb9dfbb r5 = 0x00000000 r6 = 0x611d9720 r7 = 0x61286510 r8 = 0x00000001 r9 = 0x611f5e50 r10 = 0x611d6558 r12 = 0x6126fed4 fp = 0x61aecb24 sp = 0x61aeca98 lr = 0x4006b1bf pc = 0x4006b1d4 Found by: given as instruction pointer in context 1 libijksdl.so!SDL_WaitThread [ijksdl_thread.c : 92 + 0x7] sp = 0x61aecab0 pc = 0x6124e993 Found by: stack scanning 2 libijkplayer.so!stream_close [ff_ffplay.c : 911 + 0x7] r3 = 0x61aecabc r4 = 0x633b3c68 r5 = 0x634b3f50 sp = 0x61aecac0 pc = 0x624e27a9 Found by: call frame info 3 libijkplayer.so!ffp_wait_stop_l [ff_ffplay.c : 3918 + 0x5] r4 = 0x61286510 r5 = 0xe5800001 r6 = 0x624fe5d0 r7 = 0x626b5a38 r8 = 0x61aecb10 sp = 0x61aecad8 pc = 0x624e6b09 Found by: call frame info 4 libijkplayer.so!ijkmp_shutdown_l [ijkplayer.c : 283 + 0x5] r4 = 0x626b5a38 r5 = 0xe5800001 r6 = 0x624fe5d0 r7 = 0x626b5a38 r8 = 0x61aecb10 sp = 0x61aecae0 pc = 0x624eb2b3 Found by: call frame info 5 libijkplayer.so!ijkmp_shutdown [ijkplayer.c : 290 + 0x3] r4 = 0x611d6c58 r5 = 0xe5800001 r6 = 0x624fe5d0 r7 = 0x626b5a38 r8 = 0x61aecb10 sp = 0x61aecae8 pc = 0x624eb2db Found by: call frame info 6 libijkplayer.so!IjkMediaPlayer_release [ijkplayer_jni.c : 368 + 0x5] r3 = 0x84dfe379 r4 = 0x611d6c58 r5 = 0xe5800001 r6 = 0x624fe5d0 r7 = 0x626b5a38 r8 = 0x61aecb10 sp = 0x61aecaf0 pc = 0x624ee169 Found by: call frame info