On Apr 22, 2014, at 6:38 PM, Varun Chandramohan <varun.chandramo...@wontok.com> 
wrote:

> However when I
> run the same code in older OS 10.7.x and run leaks there I noticed big
> dump of leaks and my daemon (runs without a UI) has numerous _NSCFString
> autoreleased with no pool in place - just leaking -

If you’re creating NSThreads, make sure the main/top-level method of each 
thread has an autorelease pool. I seem to recall some change in functionality 
there in recent OS versions.

> break on objc_autotreleaseNoPool() to debug

…but instead of listening to me speculate, you could set a breakpoint on that 
function and find out exactly where the leak is happening.

—Jens
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please 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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to