YYCache icon indicating copy to clipboard operation
YYCache copied to clipboard

SIGSEGV crash [YYMemoryCache setObject:forKey:withCost:] (YYMemoryCache.m:)

Open kobe1941 opened this issue 6 years ago • 0 comments

image

看堆栈,有字典和数组的dealloc函数调用,目测是这里的崩溃: if (!object) { [self removeObjectForKey:key]; return; }

不过不太明白为什么会有野指针访问?

kobe1941 avatar Oct 26 '18 03:10 kobe1941