Re: SIGBUS and SIGSEGV
Re: SIGBUS and SIGSEGV
- Subject: Re: SIGBUS and SIGSEGV
- From: Matt Neuburg <email@hidden>
- Date: Thu, 7 Feb 2002 08:50:30 -0800
On Thu, 7 Feb 2002 20:02:21 +0700, Nick <email@hidden> said:
>
Recently, my application has been crashing (after closing a sheet,
>
although I'm not sure that 's the real cause of the problem) during
>
runtime because of signal 10 (SIGBUS) and signal 11 (SIGSEGV)
Almost certainly this is because you are trying to send a message to an
object that has been released already. When I say "you" I might mean "the
framework"; that is, you can surprise Cocoa itself by releasing an object
that it expects to be still there. It helps a lot to read the basic
articles on memory management (such as Hold Me Use Me Free Me), but you
still have to pay attention to the docs, and sometimes you just have to
experiment. m.
--
matt neuburg, phd = email@hidden,
http://www.tidbits.com/matt
pantes gar anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart.
http://www.tidbits.com/
_______________________________________________
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.