strange object corruption...
strange object corruption...
- Subject: strange object corruption...
- From: James Dessart <email@hidden>
- Date: Fri, 25 Jul 2003 19:02:27 -0400
I'm experiencing some strange object corruption, and I was wondering if
someone could help me with it. I've created a table view in Interface
Builder, and an instance of my data source object. The data source has
a mutable array that holds some of its items, that's created in the
object's init method.
When numberOfRowsInTableView is called, I call the count method on the
array. This works fine until a certain point, when the method call
causes an EXC_BAD_ACCESS to be triggered in objc_msgSend. I've checked
the variable values, and the address of self, along with the address of
the array, have not changed. However, the array's isa member changes
from 0xb0bb0 to some strange value, which is never the same. The last
time I ran it, it was 0x3ea0000, and previously it had given me 0x100.
The thing is, I never manipulate the array during that time. Not once.
In fact, the data source does very little up until that point, if
anything, because it crashes before it even contains data, but after it
has been created.
Any ideas?
Thanks,
James
_______________________________________________
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.