Re: _NSAutoreleaseNoPool missing in Snow Leopard
Re: _NSAutoreleaseNoPool missing in Snow Leopard
- Subject: Re: _NSAutoreleaseNoPool missing in Snow Leopard
- From: Klaus Backert <email@hidden>
- Date: Mon, 31 Aug 2009 02:33:25 +0200
On 30 Aug 2009, at 23:00, Seth Willits wrote:
In Snow Leopard I started seeing this:
*** __NSAutoreleaseNoPool(): Object 0x100a49ec0 of class NSCFString
autoreleased with no pool in place - just leaking
I have no idea where this is happening so I tried to break in
_NSAutoreleaseNoPool just like the Apple documentation at http://developer.apple.com/mac/library/documentation/Performance/Conceptual/ManagingMemory/Articles/FindingLeaks.html
says to. However, it's not resolving. GDB claims there is no
_NSAutoreleaseNoPool defined. I used nm on Foundation in Snow
Leopard and there is no function. On 10.5, though, there is. So it
seems it's gone and I can't find anything similarly named.
Does anyone know what I *should* be breaking on? I'd obviously like
to track this down.
For me such a message, e.g.
*** _NSAutoreleaseNoPool(): Object 0xa0c13290 of class NSCFString
autoreleased with no pool in place - just leaking
appeared in Mac OS X 10.5.8 already, and has not been there in 10.5.7.
The function name has only one underscore at the beginning.
The stack is as follows:
#0 0x942f0900 in NSLog
#1 0x94350dc4 in _NSAutoreleaseNoPool
#2 0x9427de14 in -[NSObject(NSObject) autorelease]
#3 0x9134ca24 in +[NSView initialize]
#4 0x940bcab4 in _class_initialize
#5 0x940bc934 in _class_initialize
#6 0x940bb010 in _class_lookupMethodAndLoadCache
#7 0x96df69d8 in +[QTMovieContentView load]
#8 0x940c49b0 in call_load_methods
#9 0x940bd4ec in load_images
#10 0x8fe02d7c in
__dyld__ZN4dyld12notifySingleE17dyld_image_statesPK11mach_headerPKcl
#11 0x8fe0f220 in
__dyld__ZN11ImageLoader23recursiveInitializationERKNS_11LinkContextEj
#12 0x8fe0f198 in
__dyld__ZN11ImageLoader23recursiveInitializationERKNS_11LinkContextEj
#13 0x8fe0f36c in
__dyld__ZN11ImageLoader15runInitializersERKNS_11LinkContextE
#14 0x8fe03848 in __dyld__ZN4dyld24initializeMainExecutableEv
#15 0x8fe08144 in __dyld__ZN4dyld5_mainEPK11mach_headermiPPKcS5_S5_
#16 0x8fe01774 in __dyld__ZN13dyldbootstrap5startEPK11mach_headeriPPKcl
#17 0x8fe01048 in __dyld__dyld_start
No Objective-C program code of my own has been executed up to this
point. I have not been able to manage this.
Klaus
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden