douyin-ios-objectc icon indicating copy to clipboard operation
douyin-ios-objectc copied to clipboard

为什么刷几个视频就崩溃了,是不是内存泄露啊

Open SunLin1997 opened this issue 6 years ago • 10 comments

SunLin1997 avatar Oct 12 '18 07:10 SunLin1997

你好,请提供崩溃信息、iOS系统版本,如果认为是内存泄漏可以自行使用instruments定位问题。

sshiqiao avatar Oct 12 '18 07:10 sshiqiao

我是用模拟器跑的11.4系统,刚点进入视频再点右边的评论按钮就崩溃了,而且内存都是600多MB就崩溃

SunLin1997 avatar Oct 12 '18 07:10 SunLin1997

模拟器上是没有内存限制的,然后我这里使用11.4.1的真机测试未重现上诉问题哎,请贴一下崩溃信息好吗,谢谢~

sshiqiao avatar Oct 12 '18 08:10 sshiqiao

objc[11941]: Class VCWeakObjectHolder is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/AVConference.framework/Frameworks/ViceroyTrace.framework/ViceroyTrace (0x120d344d0) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/AVConference.framework/AVConference (0x11fe60e38). One of the two will be used. Which one is undefined. (lldb)

SunLin1997 avatar Oct 12 '18 08:10 SunLin1997

objc[12977]: Class VCWeakObjectHolder is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/AVConference.framework/Frameworks/ViceroyTrace.framework/ViceroyTrace (0x12118e4d0) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/AVConference.framework/AVConference (0x1202bae38). One of the two will be used. Which one is undefined. (lldb)

SunLin1997 avatar Oct 12 '18 08:10 SunLin1997

真机 11.4.1 5s 存在内存泄漏,重复下拉快速操作时候内存增长一定时候泄漏了

WiitterSimithYU avatar Oct 12 '18 09:10 WiitterSimithYU

播放视频是存在内存泄漏问题....

YuFengChen77 avatar Oct 15 '18 07:10 YuFengChen77

内存好高,真机

986138497 avatar Nov 19 '18 10:11 986138497

2019-01-21 15:03:36.735506+0800 Douyin[2072:594554] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'An instance 0x17787440 of class AVPlayerItem was deallocated while key value observers were still registered with it. Current observation info: <NSKeyValueObservationInfo 0x177e29e0> ( <NSKeyValueObservance 0x18854e40: Observer: 0x1776d590, Key path: status, Options: <New: YES, Old: NO, Prior: NO> Context: 0x0, Property: 0x17795b30> )' *** First throw call stack: (0x1c3bfb3d 0x1b647067 0x1c3bfa85 0x1cc7e729 0x1b661259 0x1c3b265b 0x1b661259 0x22c54fc9 0x1b661259 0x22c346a3 0x1bad7bb9 0x48f66f 0x486a39 0x48fb31 0x49176b 0x491471 0x1bc4287d 0x1bc4245c) libc++abi.dylib: terminating with uncaught exception of type NSException (lldb)

10.3.3 iPhone5 多刷几个视频就闪退

chengzj456 avatar Jan 21 '19 07:01 chengzj456

2019-02-26 18:07:43.679 OutsideWorld[59977:16100164] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'An instance 0x61000000b610 of class AVPlayerItem was deallocated while key value observers were still registered with it. Current observation info: <NSKeyValueObservationInfo 0x61800022a120> ( <NSKeyValueObservance 0x610000057310: Observer: 0x7fc9bd77f240, Key path: status, Options: <New: YES, Old: NO, Prior: NO> Context: 0x0, Property: 0x61000005aa60> )' 同上的问题

cengjiahao avatar Feb 26 '19 10:02 cengjiahao