ibireme / YYCache

High performance cache framework for iOS.
MIT License
2.37k stars 505 forks source link

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

Open kobe1941 opened 5 years ago

kobe1941 commented 5 years ago

image

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

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