NSCFData isResizable crash?
I am currently getting this crash log in the console:
2011-08-23 19:18:40.064 App[1697:707] -[__NSCFData _isResizable]: unrecognized selector sent to instance 0x11f1c0
2011-08-23 19:18:40.075 App[1697:707] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFData _isResizable]: unrecognized selector sent to instance 0x11f1c0'
Does anyone know what this means? What开发者_开发百科 could be the cause of it?
Thanks!
More likely than not, you've over-released some random object and, quite coincidentally, an instance of NSData (or CFData) has been allocated at the location of the now-gone object.
Run the Zombie detection instrument and see if that catches anything (search SO for NSZombie).
Alternatively, set a breakpoint on objc_exception_throw and that should show you where the message is being sent. That may not provide enough context, though.
You seem to be sending an invalid selector (isResizable) to an object, perhaps an NSData object? Do you have a stack trace to provide more information about where the crash is happening?
精彩评论