2010/4/15 David Duncan <david.dun...@apple.com> > On Apr 14, 2010, at 10:41 PM, Tino Rachui wrote: > > in my app I'm accessing the photo library (in my opinion exactly as in > sample programs I have seen from Apple). When leak-testing the app on the > iPhone using Instrument the following leak is being reported (see stack > trace) and I don't know the root cause. Does anybody has seen this before > perhaps and knows the answer? > Stack trace excerpt (*): > > > Alas, probably not without the full stack. > > * How to get a textual representation of an Instrument stack trace? I can > take a screenshot but I'm not sure if it is allowed to post images on this > list. > > > You can copy from the Extended Detail pane where the stack trace is shown. > Well, yes but only one line at a time if I'm not wrong(?) which makes copying the whole stack a rather cumbersome task. But anyhow here we go:
Self % Self Bytes Total % # Leaks Bytes Parent % Source Path Library Symbol Name 100 1 36.00 KB iPuz start 100 1 36.00 KB iPuz main 100 1 36.00 KB UIKit UIApplicationMain 100 1 36.00 KB UIKit -[UIApplication _run] 100 1 36.00 KB GraphicsServices GSEventRunModal 100 1 36.00 KB CoreFoundation CFRunLoopRunInMode 100 1 36.00 KB CoreFoundation CFRunLoopRunSpecific 100 1 36.00 KB CoreFoundation __CFRunLoopDoObservers 100 1 36.00 KB QuartzCore CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) 100 1 36.00 KB QuartzCore CA::Transaction::commit() 100 1 36.00 KB QuartzCore CA::Context::commit_transaction(CA::Transaction*) 100 1 36.00 KB QuartzCore CALayerLayoutIfNeeded 100 1 36.00 KB QuartzCore -[CALayer layoutSublayers] 100 1 36.00 KB UIKit -[UIView(CALayerDelegate) _layoutSublayersOfLayer:] 100 1 36.00 KB UIKit -[UILayoutContainerView layoutSubviews] 100 1 36.00 KB UIKit -[UINavigationController viewWillLayoutSubviews] 100 1 36.00 KB UIKit -[UINavigationController _startDeferredTransitionIfNeeded] 100 1 36.00 KB UIKit -[UINavigationController _startTransition:fromViewController:toViewController:] 100 1 36.00 KB UIKit -[UINavigationController _layoutViewController:] 100 1 36.00 KB UIKit -[UINavigationController _computeAndApplyScrollContentInsetDeltaForViewController:] 100 1 36.00 KB 0x3198de8c 100 1 36.00 KB UIKit -[UIViewController view] 100 1 36.00 KB 0x319a5a88 100 1 36.00 KB 0x3198e260 100 1 36.00 KB 0x3198e348 100 1 36.00 KB 0x319802e4 100 1 36.00 KB MusicLibrary -[MLPhotoLibrary albums] 100 1 36.00 KB MusicLibrary -[MLPhotoLibrary _loadImageLibrary] 100 1 36.00 KB MusicLibrary ReadITImageDB 100 1 36.00 KB MusicLibrary MemNewPtrClear 100 1 36.00 KB libSystem.B.dylib calloc Thanks in advance, Tino _______________________________________________ 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