Skip to content
This repository was archived by the owner on Aug 24, 2019. It is now read-only.

[fix] crash while loading bad image#17

Open
k06a wants to merge 1 commit intosoffes:masterfrom
k06a:fix-bad-image-crash
Open

[fix] crash while loading bad image#17
k06a wants to merge 1 commit intosoffes:masterfrom
k06a:fix-bad-image-crash

Conversation

@k06a
Copy link

@k06a k06a commented Apr 23, 2015

Fixed crash for call-stack:

Thread : Fatal Exception: NSInvalidArgumentException
0  CoreFoundation                 0x2ac8ffef __exceptionPreprocess + 126
1  libobjc.A.dylib                0x39185c8b objc_exception_throw + 38
2  CoreFoundation                 0x2abe94a5 -[NSArray indexOfObjectIdenticalTo:]
3  CoreFoundation                 0x2abe9337 -[NSCache setObject:forKey:] + 42
4  Double                         0x0013427d -[SAMCache(UIImageAdditions) imageForKey:] (SAMCache.m:288)

. . .

-[NSCache setObject:forKey:cost:]: attempt to insert nil value (key: LKGameCenter_G:1283329383@2x.png)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments