My objects have bad checksums!
My objects have bad checksums!
- Subject: My objects have bad checksums!
- From: Oliver Donald <email@hidden>
- Date: Mon, 23 Jun 2003 09:56:27 +0100
Hello list,
In my current application, an error occurs sometime during execution, though
at seemingly random times. The area of code where it happens is the same,
but sometimes it happens after the third execution, sometimes the fiftieth,
whenever, even though the data is the same each time. The error in the log
comes from Malloc(), and says that an objects checksum is bad, probably
because it has been modified after being freed. Occasionally the app will
quit with Signal 10 sometime later. Even less often, some kind of NSCF
object complains that it doesn't respond to a certain method, but one that I
have not called.
The message doesn't seem to occur during debugging, and stack traces from my
app's rare crashes do not mention any of my code, so I resorted to using
lots of NSLog's to pin it down. I've got it down to a single NSString call,
but this call uses only one object argument, alloced and released by the
calling method, but untouched by this method. I have been very careful about
autoreleased objects and have eliminated them from my app as much as
possible.
Is there any way to find out what object it is that is being modified?
(i am posting this from work and my project is at home, so apologies for the
lack of detail regarding the precise methods)
Thanks,
Oli
DISCLAIMER: The information contained in this e-mail is confidential and may
be privileged. It is intended for the addressee only. If you are not the
intended recipient, please delete this e-mail immediately.
The contents of this email must not be disclosed or copied without the
sender's consent. We cannot accept any responsibility for viruses, so please
scan all attachments.
The statements and opinions expressed in this message are those of the
author and do not necessarily reflect those of the company. The company does
not take any responsibility for the views of the author.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.