Re: SIGBUS
Re: SIGBUS
- Subject: Re: SIGBUS
- From: Brendan Younger <email@hidden>
- Date: Sat, 2 Jun 2001 20:58:23 -0500
Whenever you get a sigbus error, it's usually because the object has
been released. I do not have the learning cocoa book, but it is most
likely the case that you forgot to retain an object or have autoreleased
one and are still using it.
And just where does this code go?
int itemCount;
itemCount = [myArray count];
"Where" is a bit nebulous as far as itemCount = [myArray count];. If
you mean that this code always crashes, then you are sending the count
message to an object that has been released.
Brendan
References: | |
| >SIGBUS (From: Brian Howard <email@hidden>) |