On Jul 20, 2013, at 1:04 AM, Jerry Krinock <je...@ieee.org> wrote:

> 
>> Have you tried running under the Allocations instrument?
> 
> No, I'll study that.  I'd thought that Leaks would be better because it 
> filters allocations to show only leaked allocations, whereas Allocations 
> shows the whole fire-hose.

Allocations is more flexible than leaks. You can filter to just include objects 
that are live at process termination.


> 
> You see two leaks, a __NSCFString whose value is 
> "file://localhost/Applications/Safari.app/", and an NSURL.  In the 64 bytes 
> of that NSURL, the 0x051bac30 in line 2 column 3 of those NSURL bytes looks 
> like part of a pointer to that string, at 0x1051bac30, and presumably it's an 
> instance variable.  But when I break on the designated initializer (thanks 
> Kyle) -[NSURL initWithString:relativeToURL:] and log the two parameters, I 
> never see anything like "file://localhost/Applications/Safari.app/".  Not so 
> smart, after all :(

This might not even be a leak at all, but just a string that never gets 
released before your app gets terminated.

--Kyle Sluder

_______________________________________________

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