Re: Appending string to NSTextView crashing app
Re: Appending string to NSTextView crashing app
- Subject: Re: Appending string to NSTextView crashing app
- From: Uli Kusterer <email@hidden>
- Date: Wed, 25 Apr 2007 10:43:03 +0200
Am 25.04.2007 um 05:24 schrieb Evan Moseman:
But, it is still crashing at the same point. I'm trying to read
info. from the debugger, but something looks wrong there as well:
[Switching to process 3426 local thread 0xf03]
Running…
Pending breakpoint 1 - "-[NSException raise]" resolved
Program received signal: "EXC_BAD_ACCESS".
You're stomping memory somewhere, and this is the first time you're
using the particular piece of memory you damages lines, maybe even
hours ago, so it blows up in your face only now.
I'd recommend checking your releases/retains again and making sure
you allocate all memory that you use, and make sure that you're only
releasing objects you're supposed to release. It might also help to
listen to this Podcast on memory management:
http://latenightcocoa.com/node/57
where I go into more detail on all of that. Even if you don't listen
to it, there's info on various web sites and pieces of documentation
that talk about memory management and may help you find out what
you're doing wrong.
Cheers,
-- M. Uli Kusterer
http://www.zathras.de
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden