• 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
Problems with Cocoa (only in Carbon)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problems with Cocoa (only in Carbon)


  • Subject: Problems with Cocoa (only in Carbon)
  • From: Chilton Webb <email@hidden>
  • Date: Sat, 31 Jan 2004 19:08:49 -0600

Hi,

When I run the example 'Cocoa in Carbon' application here...
http://developer.apple.com/samplecode/Sample_Code/Cocoa/ SpellingChecker.htm

... I get the following errors in the Console ...

2004-01-30 19:43:09.409 SpellingChecker[1577] *** _NSAutoreleaseNoPool(): Object 0x3366f0 of class NSEvent autoreleased with no pool in place - just leaking
2004-01-30 19:43:11.069 SpellingChecker[1577] *** _NSAutoreleaseNoPool(): Object 0x37f400 of class NSCarbonWindowContentView autoreleased with no pool in place - just leaking
2004-01-30 19:43:11.352 SpellingChecker[1577] *** _NSAutoreleaseNoPool(): Object 0x3a2d00 of class NSCarbonWindow autoreleased with no pool in place - just leaking
...

I get hundreds of these if I use the built app for a few minutes. What exactly should I do? Are these errors something I should be concerned about? They do not appear to change the memory allocation to the app, and don't appear to affect stability.

For those not acquainted with this piece of sample code, it is doing this already...
NSAutoreleasePool* pool = [[NSAutoreleasePool alloc] init];
... my code here
[pool release];

Is there something else I need to be doing to prevent the aforementioned errors?

And is this a new bug in Panther? I don't remember having this problem in Jaguar.

Thanks,
-Chilton
_______________________________________________
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.

  • Prev by Date: Re: Disabling FontPanel UI elements that we don't support
  • Next by Date: Re: Removing a compiler warning
  • Previous by thread: Re: Duplicating the cosmetics of the System Preferences Panel
  • Next by thread: Re: Removing a compiler warning
  • Index(es):
    • Date
    • Thread