• 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: NSSound and _NSAutoreleaseNoPool() - just leaking
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSSound and _NSAutoreleaseNoPool() - just leaking


  • Subject: Re: NSSound and _NSAutoreleaseNoPool() - just leaking
  • From: "M. Uli Kusterer" <email@hidden>
  • Date: Fri, 7 Jan 2005 19:32:22 +0100

At 13:14 Uhr +0100 07.01.2005, wuffwuffware wrote:
Dear list,

I am adding the following line of code to my project:

_endSound =  [[NSSound soundNamed: @"timerAlong"] retain];

and when I terminate my application I end up with the messages below in the console. The number of sounds I load does not matter. Removing this one line and the messages dont show up when I call [NSApp terminate: nil].
Wrapping the _endSound into a NSAutoreleasePool did not help.


Any pointer how to tackle the problem is greatly welcome.

Set a breakpoint on "fprintf" or "_NSAutoreleasePool", then you'll enter the debugger whenever it happens.


To set a breakpoint on a system API, set a breakpoint in main(). Once you're there, bring up the debugger console (where it says "(gdb)") and enter e.g. "fb fprintf".
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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: NSSound and _NSAutoreleaseNoPool() - just leaking
      • From: Charlton Wilbur <email@hidden>
References: 
 >NSSound and _NSAutoreleaseNoPool() - just leaking (From: wuffwuffware <email@hidden>)

  • Prev by Date: Re: Document Saved
  • Next by Date: Re: stringWithContentsOfURL bug? (gzip issue)
  • Previous by thread: Re: NSSound and _NSAutoreleaseNoPool() - just leaking
  • Next by thread: Re: NSSound and _NSAutoreleaseNoPool() - just leaking
  • Index(es):
    • Date
    • Thread