• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Appending string to NSTextView crashing app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Appending string to NSTextView crashing app (From: Evan Moseman <email@hidden>)
 >Re: Appending string to NSTextView crashing app (From: Ryan Stevens <email@hidden>)
 >Re: Appending string to NSTextView crashing app (From: Evan Moseman <email@hidden>)

  • Prev by Date: Re: Simple Interface Connection Question
  • Next by Date: Re: NSTask prevents crashreporter from running when child process crashes?
  • Previous by thread: Re: Appending string to NSTextView crashing app
  • Next by thread: Using OpenSSL with the Security framework
  • Index(es):
    • Date
    • Thread