ijkplayer icon indicating copy to clipboard operation
ijkplayer copied to clipboard

iOS 在 shutdown 偶發 av_freep 的 Sigabrt abort crash

Open falll2000 opened this issue 1 year ago • 1 comments

當 player 反覆 new >> initialize >> Play >> stop >> shutdown 會偶發性的產生 SIGABRT ABORT crash

但該狀況非常難覆現 目前 ijkPlayer 版本是 ff4.0--ijk0.8.25--20200221--001

錯誤訊息是 malloc: *** error for object 0x280a48a80: pointer being freed was not allocated

在 firebase 收到的 stacktrace 是 ff_read SIGABRT crash

libsystem_kernel.dylib __pthread_kill + 8

libsystem_pthread.dylib pthread_kill + 268

libsystem_c.dylib abort + 180

libsystem_malloc.dylib malloc_vreport + 908

libsystem_malloc.dylib malloc_report + 64

libsystem_malloc.dylib find_zone_and_free + 308

av_freep + 20

SDL_RunThread + 40

libsystem_pthread.dylib _pthread_start + 148

libsystem_pthread.dylib thread_start + 8

麻煩請排查一下,謝謝

falll2000 avatar Sep 04 '23 03:09 falll2000

查下堆栈,是不是pthread_join引起的

alaiyeshi avatar Oct 09 '23 07:10 alaiyeshi