• 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
NSObject Foundation tool memory issue?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSObject Foundation tool memory issue?


  • Subject: NSObject Foundation tool memory issue?
  • From: Lee Cullens <email@hidden>
  • Date: Thu, 08 Dec 2005 03:17:42 -0500

I'm new to ObjC/Cocoa and have a dumb problem I can't seem to find. I'm using Terminal gcc to compile and link a small Foundation Tool I' m working on. I have not really got into Xcode yet.

Anyway, the short of it is that at the end of my test output I see the line "Bus error." I "assume" for the moment that it is an indication of a memory problem in my code, but I'm having problems tracking it down. I've read everything I could find about memory management (NSAutoreleasePool) and think I understand ownership, responsibilities, nested pools and the like.

My question is: What all (generally :-) might cause a Bus error and is my concentration on a memory management issue a potential candidate? If it is a memory management issue, what tools, methods, whatever might help me find the problem. I'm old-school (a retired SE dating back to the 60's) and have a trace option in my code, but have not yet been able to find something that might cause the issue. So I'm resorting to bothering you-all for possible pointers :-)

Thank you,
Lee C

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
  • Follow-Ups:
    • Re: NSObject Foundation tool memory issue?
      • From: Niko Matsakis <email@hidden>
  • Prev by Date: Re: Loading contents of URL in a string
  • Next by Date: creating an app w/o MainMenu.nib
  • Previous by thread: Re: Loading contents of URL in a string
  • Next by thread: Re: NSObject Foundation tool memory issue?
  • Index(es):
    • Date
    • Thread