Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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!

like image 667
SimplyKiwi Avatar asked Aug 23 '11 23:08

SimplyKiwi


2 Answers

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.

like image 181
bbum Avatar answered Nov 15 '22 06:11

bbum


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?

like image 28
Tim Dean Avatar answered Nov 15 '22 05:11

Tim Dean