ibireme/YYCache

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

kobe1941 opened this issue · 0 comments

image

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

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