Thanks Bill,  here's the tail of the same output:

Call stack: [thread 0xa00e5720]: | start | main | NSApplicationMain | -[NSApplication run] | -[NSApplication sendEvent:] | -[NSApplication _handleKeyEquivalent:] | -[NSMenu performKeyEquivalent:] | - [NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] | - [NSMenu performActionForItemAtIndex:] | -[NSApplication sendAction:to:from:] | -[NSButtonCell performClick:] | -[NSControl drawCell:] | -[NSWindow displayIfNeeded] | -[NSView displayIfNeeded] | -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] | -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView :] | -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView :] | -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView :] | -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView :] | -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView :] | -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView :] | -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] | - [NSView _drawRect:clip:] | -[KRMiniGridStarChartView drawRect:] | - [KRStarChartMO drawPortentsInRect:circleStyle:] | +[NSFont fontWithName:size:] | __NSFontFactoryWithName | +[__NSFontTypefaceInfo typefaceInfoForPostscriptName:] | TDescriptor::CreateMatchingDescriptorInternal(__CFSet const*) const | TDescriptorSourceImp::CopyFontDescriptorPerPostscriptName(__CFString const*, unsigned int) const | ATSFontFindFromPostScriptName | _eATSFontFindFromPostScriptName | _eATSSendFontQuery | CFStringCreateWithCString | __CFStringCreateImmutableFunnel3 | _CFRuntimeCreateInstance | malloc_zone_malloc Leak: 0x15fb82d0 size=32 instance of 'NSCFString', type ObjC, implemented in CoreFoundation
        0xa00664a0 0x0100078c 0x5354410e 0x65755120     .d.......ATS Que
        0x50207972 0x0074726f 0x00000000 0x00000000     ry Port.........
Call stack: [thread 0xa00e5720]: | start | main | NSApplicationMain | -[NSApplication run] | -[NSApplication sendEvent:] | -[NSApplication _handleKeyEquivalent:] | -[NSMenu performKeyEquivalent:] | - [NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] | - [NSMenu performActionForItemAtIndex:] | -[NSApplication sendAction:to:from:] | -[NSButtonCell performClick:] | -[NSControl drawCell:] | -[NSWindow displayIfNeeded] | -[NSView displayIfNeeded] | -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] | -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView :] | -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView :] | -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView :] | -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView :] | -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView :] | -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView :] | -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] | - [NSView _drawRect:clip:] | -[KRMiniGridStarChartView drawRect:] | - [KRStarChartMO drawPortentsInRect:circleStyle:] | +[NSFont fontWithName:size:] | __NSFontFactoryWithName | +[__NSFontTypefaceInfo typefaceInfoForPostscriptName:] | TDescriptor::CreateMatchingDescriptor(__CFSet const*) const | TDescriptor::GetBaseFont() const | TDescriptor::InitBaseFont() | TDescriptor::CreateMatchingDescriptorInternal(__CFSet const*) const | TDescriptorSourceImp::CopyFontDescriptorPerPostscriptName(__CFString const*, unsigned int) const | ATSFontFindFromPostScriptName | _eATSFontFindFromPostScriptName | _eATSSendFontQuery | CFStringCreateWithCString | __CFStringCreateImmutableFunnel3 | _CFRuntimeCreateInstance | malloc_zone_malloc Leak: 0x15fb8320 size=32 instance of 'NSCFString', type ObjC, implemented in CoreFoundation
        0xa00664a0 0x0100078c 0x5354410e 0x65755120     .d.......ATS Que
        0x50207972 0x0074726f 0x00000000 0x00000000     ry Port.........
Call stack: [thread 0xa00e5720]: | start | main | NSApplicationMain | -[NSApplication run] | -[NSApplication sendEvent:] | -[NSApplication _handleKeyEquivalent:] | -[NSMenu performKeyEquivalent:] | - [NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] | - [NSMenu performActionForItemAtIndex:] | -[NSApplication sendAction:to:from:] | -[NSButtonCell performClick:] | -[NSControl drawCell:] | -[NSWindow displayIfNeeded] | -[NSView displayIfNeeded] | -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] | -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView :] | -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView :] | -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView :] | -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView :] | -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView :] | -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView :] | -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] | - [NSView _drawRect:clip:] | -[KRMiniGridStarChartView drawRect:] | - [KRStarChartMO drawPortentsInRect:circleStyle:] | +[NSFont fontWithName:size:] | __NSFontFactoryWithName | +[__NSFontTypefaceInfo typefaceInfoForPostscriptName:] | TDescriptor::CreateMatchingDescriptorInternal(__CFSet const*) const | TDescriptorSourceImp::CopyFontDescriptorPerPostscriptName(__CFString const*, unsigned int) const | ATSFontFindFromPostScriptName | _eATSFontFindFromPostScriptName | _eATSSendFontQuery | CFStringCreateWithCString | __CFStringCreateImmutableFunnel3 | _CFRuntimeCreateInstance | malloc_zone_malloc Leak: 0x15fb84f0 size=32 instance of 'NSCFString', type ObjC, implemented in CoreFoundation
        0xa00664a0 0x0100078c 0x5354410e 0x65755120     .d.......ATS Que
        0x50207972 0x0074726f 0x00000000 0x00000000     ry Port.........






On Mar 21, 2009, at 5:02 PM, Bill Bumgarner wrote:

On Mar 21, 2009, at 4:56 PM, Kevin Ross wrote:
Leak: 0x15fd4ac0 size=32 instance of 'NSCFString', type ObjC, implemented in CoreFoundation
        0xa00664a0 0x0100078c 0x5354410e 0x65755120     .d.......ATS Que
        0x50207972 0x0074726f 0x00000000 0x00000000     ry Port.........


Is that what you are asking about?

Almost. Now, set the MallocStackLoggingNoCompact environment variable in the process you are testing (you can do so via the Executables inspector in Xcode or 'set env MallocStackLoggingNoCompact=1' in gdb) and use 'leaks' again.

b.bum



_______________________________________________

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

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

Reply via email to