I've got a problem with my iphone app which results in the app crashing whenever a save is made to the database. This problem has only surfaced since I moved over from sdk 3.1.2 to sdk 4.0.1.
Here is the error I get when the crash occurs:
malloc: * * * error for object 0x7c0: Non-aligned pointer being freed (2)
* * * set a breakpoint in malloc_error_break to debug
Program received signal: “SIGABRT”.
kill
quit
Could someone please help me decrypt this message? What is it asking me to do?
Any help would be massively appreciated as I am at a total loss as to why this is happening.
There are several files of code - and I can't assess the origin of the problem since the error is so vague. Saving was working fine with previous version of the SDK so this is perculiar.
What is malloc_error_break? How do I set a breakpoint in it?