RE: newbie question: unsigned index
RE: newbie question: unsigned index
- Subject: RE: newbie question: unsigned index
- From: "Jonathan E. Jackel" <email@hidden>
- Date: Fri, 24 Oct 2003 10:09:32 -0400
>
On 23/10/03 12:04 PM, "Eivind Andersen" <email@hidden> wrote:
>
>
> But the applications quits due to signal 10 (SIGBUS). (What does that
>
> mean?)
>
>
It means that you should use the debugger (gdb) to find out exactly which
>
line that SIGBUS is coming from. Just run under the debugger and it will
>
stop there.
man signal has a lot of information, but basically you are having some sort
of a memory management problem. IIRC SIGBUS is the one where you are
referencing an object that has already been deallocated.
In any event, the debugger will be much more useful if you set a breakpoint
at -[NSException raise]. Otherwise your program will simply crash and exit.
Jonathan
_______________________________________________
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.