bilibili / ijkplayer

Android/iOS video player based on FFmpeg n3.4, with MediaCodec, VideoToolbox support.
GNU General Public License v2.0
32.42k stars 8.11k forks source link

IJKFFMoviePlayerController dealloc iOS出现崩溃 #4788

Open RickyMayzZZ opened 5 years ago

RickyMayzZZ commented 5 years ago

-[UIView(UIKitManual) release] + 196

1 UIKitCore | -[UIView(UIKitManual) release] + 88 2 libobjc.A.dylib | object_cxxDestructFromClass(objc_object, objc_class) + 148 3 libobjc.A.dylib | objc_destructInstance + 68 4 libobjc.A.dylib | object_dispose + 16 5XXXXXXXXX | -[IJKFFMoviePlayerController dealloc] (IJKFFMoviePlayerController.m:369) 6 Foundation | NSFinalizeThreadData + 1296 7 CoreFoundation | CFTSDFinalize + 120 8 libsystem_pthread.dylib | pthread_tsd_cleanup + 588 9 libsystem_pthread.dylib | __pthread_exit + 80 10 libsystem_pthread.dylib | pthread_exit + 40 11 Foundation | +[NSNotificationCenter defaultCenterWithoutCreating] 12 Foundation | NSThreadstart + 1060 13 libsystem_pthread.dylib | __pthread_body + 128 14 libsystem_pthread.dylib | _pthread_start + 48

暂时这个崩溃只在iOS12 的设备上面有崩溃现象,请问是iOS12的适配问题还是因为什么?

zting8023 commented 4 years ago

请问问题解决了么?遇到了同样的问题

tigerAndBull commented 2 years ago

set _view and _glView to nil after shutdown player: -[IJKFFMoviePlayerController shutdownClose:]: insert code: _view = nil; _glView = nil; before line: [self didShutdown]