FROM : Charilaos Skiadas
DATE : Fri Apr 15 20:38:18 2005
On Apr 15, 2005, at 12:20 PM, Ofri Wolfus wrote:
> Hi,
> I'm trying to create a document based app and i can't figure why i'm
> getting a crash on launch in [NSDocumentController
> makeUntitledDocumentOfType:] with EXC_BAD_ACCESS. I did nothing
> unusual and i can't find what causes this.
> Any ideas?
This error usually is caused because you refer to something that has
already been deallocated. Is can often happen if you forget to retain
an object that was autoreleased when it was created, and you try to
access it too late, i.e. after the pool has cleaned stuff up. It can
also happen if you release something more than you should, i.e. you
release an object that you did not own. This is a good read to start
from:
http://www.stepwise.com/Articles/Technical/HoldMe.html
> Thanks,
> Ofri
>
HTH,
Haris
DATE : Fri Apr 15 20:38:18 2005
On Apr 15, 2005, at 12:20 PM, Ofri Wolfus wrote:
> Hi,
> I'm trying to create a document based app and i can't figure why i'm
> getting a crash on launch in [NSDocumentController
> makeUntitledDocumentOfType:] with EXC_BAD_ACCESS. I did nothing
> unusual and i can't find what causes this.
> Any ideas?
This error usually is caused because you refer to something that has
already been deallocated. Is can often happen if you forget to retain
an object that was autoreleased when it was created, and you try to
access it too late, i.e. after the pool has cleaned stuff up. It can
also happen if you release something more than you should, i.e. you
release an object that you did not own. This is a good read to start
from:
http://www.stepwise.com/Articles/Technical/HoldMe.html
> Thanks,
> Ofri
>
HTH,
Haris
| Related mails | Author | Date |
|---|---|---|
| Ofri Wolfus | Apr 15, 19:20 | |
| Charilaos Skiadas | Apr 15, 20:38 | |
| Ofri Wolfus | Apr 16, 11:43 |






Cocoa mail archive

