Re: Quartzcomposer-dev Digest, Vol 4, Issue 39
- Subject: Re: Quartzcomposer-dev Digest, Vol 4, Issue 39
- From: Matt Dixon <email@hidden>
- Date: Mon, 27 Jun 2005 18:26:36 -0500
- Delivered-to: email@hidden
- Delivered-to: email@hidden
- User-agent: Microsoft-Entourage/11.1.0.040913
On 6/27/05 6:20 PM, "email@hidden"
<email@hidden> wrote:
> Send Quartzcomposer-dev mailing list submissions to
> email@hidden
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.apple.com/mailman/listinfo/quartzcomposer-dev
> or, via email, send a message with subject or body 'help' to
> email@hidden
>
> You can reach the person managing the list at
> email@hidden
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Quartzcomposer-dev digest..."
>
>
> Today's Topics:
>
> 1. Re: Best way to produce smooth random motion (Dave Hayden)
> 2. Re: Quartz Composition Memory Leak Problem (Tim Clark)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 27 Jun 2005 12:04:54 -0700
> From: Dave Hayden <email@hidden>
> Subject: Re: Best way to produce smooth random motion
> To: email@hidden
> Message-ID: <email@hidden>
> Content-Type: text/plain; charset="utf-8"
>
> On Jun 27, 2005, at 10:54 AM, Pierre-Olivier Latour wrote:
>
>> I don't think there's anyway to can change the original sequence of
>> random numbers, however, you could post-process it with some
>> mathematical operations that use the current date / time like
>> multiply, modulo... this will ensure the final random sequence will
>> never be the same.
>
> For some reason, I can't get System Time to play well with Javascript
> in the screen saver environment. I'm feeding System Time into a
> Javascript block and doing
>
> if ( outputs[0] == null )
> outputs[0] = inputs[0] % 1.0;
>
> to get a "random" number. It works fine in QC, but comes up NaN in
> the screen saver.
>
> Here's a qtz showing this:
>
> 
> (or http://www.panic.com/~dave/systemtime.qtz if the attachment
> doesn't go through..)
>
> -D
> -------------- next part --------------
> Skipped content of type multipart/mixed
>
> ------------------------------
>
> Message: 2
> Date: Tue, 28 Jun 2005 08:47:45 +0930
> From: Tim Clark <email@hidden>
> Subject: Re: Quartz Composition Memory Leak Problem
> To: Pierre-Olivier Latour <email@hidden>
> Cc: email@hidden
> Message-ID: <email@hidden>
> Content-Type: text/plain; charset="us-ascii"
>
> I am mostly using the Animation+ codec, but I have also tried H.264
> and Video, and the memory leaks remain present, but their sizes change.
>
> I ran the attached QV file and it ran well: no memory leaks.
> However, I then published the Movie Path connector and ran leaks
> again. This output is attached.
>
> I also tried out the leaks technique on my original composition when
> it was being executed as an application rather than through Quartz
> Composer, and found that there were some leaks here too.
>
> Both traces are attached.
>
> Thanks for your help!
>
> Kind regards,
> Tim Clark
>
> -------------- next part --------------
> Process 1085: 15089 nodes malloced for 4838 KB
> Process 1085: 2 leaks for 48 total leaked bytes.
> Leak: 0x0058ba90 size=32 string ' rvt'
> Call stack: [thread 22eb]: | 0x0 | start | start | main | NSApplicationMain |
> +[NSBundle(NSNibLoading) loadNibNamed:owner:] | +[NSBundle(NSNibLoading)
> loadNibFile:externalNameTable:withZone:] | +[NSBundle(NSNibLoading)
> _loadNibFile:nameTable:withZone:ownerBundle:] | loadNib | -[NSIBObjectData
> nibInstantiateWithOwner:topLevelObjects:] | -[NSWindow
> _reallyDoOrderWindow:relativeTo:findKey:forCounter:force:isModal:] |
> -[NSWindow displayIfNeeded] | -[NSView displayIfNeeded] | -[NSView
> _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] |
> -[NSThemeFrame
> _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectFo
> rView:topView:] | -[NSView
> _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectFo
> rView:topView:] | -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] |
> CFArrayApplyFunction | _recursiveDisplayInRect2 | -[NSView
> _recursiveDisplayAllDirtyWithLockFocus:visRect:] | CFArrayApplyFunction |
> _recursiveDisplayInRect2
> | -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] | -[QCView
> lockFocus] | -[QCView startRendering] | -[QCView startRendering:] |
> -[QCPatch(Runtime) startRendering:options:] | -[QCPatch(Private)
> _setup:runtime:] | -[QCPatch(Private) _setup:runtime:] |
> dyld_stub_pthread_cond_init | dyld_stub_pthread_cond_init |
> QTOpenGLTextureContextCreate | QTVCInitializeOpenGLTextureContext |
> CallComponent | OpenGLTVC_ComponentDispatch | CallComponentFunctionCommon |
> OpenGLTVC_InitializeOpenGLTextureContext | CVOpenGLTextureCacheCreate |
> CVOpenGLTextureCache::initWithContext(_CGLContextObject*,
> _CGLPixelFormatObject*, __CFDictionary const*) |
> CVOpenGLContext::initWithContextAndPixelFormat(_CGLContextObject*,
> _CGLPixelFormatObject*) | CGLCreateContext | cglInitializeContext |
> gliCreateContext | gldCreateContext | gldUpdateDispatch |
> gldDestroyVertexArray | CFStringCreateWithCString |
> __CFStringCreateImmutableFunnel3 | _CFRuntimeCreateInstance |
> CFAllocatorAllocate
> Leak: 0x0058bb10 size=16
> 0x00000001 0x02871e00 0x020245b0 0x00100000 ..........E.....
> Call stack: [thread 22eb]: | 0x0 | start | start | main | NSApplicationMain |
> +[NSBundle(NSNibLoading) loadNibNamed:owner:] | +[NSBundle(NSNibLoading)
> loadNibFile:externalNameTable:withZone:] | +[NSBundle(NSNibLoading)
> _loadNibFile:nameTable:withZone:ownerBundle:] | loadNib | -[NSIBObjectData
> nibInstantiateWithOwner:topLevelObjects:] | -[NSWindow
> _reallyDoOrderWindow:relativeTo:findKey:forCounter:force:isModal:] |
> -[NSWindow displayIfNeeded] | -[NSView displayIfNeeded] | -[NSView
> _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] |
> -[NSThemeFrame
> _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectFo
> rView:topView:] | -[NSView
> _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectFo
> rView:topView:] | -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] |
> CFArrayApplyFunction | _recursiveDisplayInRect2 | -[NSView
> _recursiveDisplayAllDirtyWithLockFocus:visRect:] | CFArrayApplyFunction |
> _recursiveDisplayInRect2
> | -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] | -[QCView
> lockFocus] | -[QCView startRendering] | -[QCView startRendering:] |
> -[QCPatch(Runtime) startRendering:options:] | -[QCPatch(Private)
> _setup:runtime:] | -[QCPatch(Private) _setup:runtime:] |
> dyld_stub_pthread_cond_init | dyld_stub_pthread_cond_init |
> QTOpenGLTextureContextCreate | QTVCInitializeOpenGLTextureContext |
> CallComponent | OpenGLTVC_ComponentDispatch | CallComponentFunctionCommon |
> OpenGLTVC_InitializeOpenGLTextureContext | CVOpenGLTextureCacheCreate |
> CVOpenGLTextureCache::initWithContext(_CGLContextObject*,
> _CGLPixelFormatObject*, __CFDictionary const*) |
> CVOpenGLContext::initWithContextAndPixelFormat(_CGLContextObject*,
> _CGLPixelFormatObject*) | CGLCreateContext | cglInitializeContext |
> gliCreateContext | gldCreateContext | gldUpdateDispatch |
> gldDestroyVertexArray | CFNotificationCenterAddObserver | CFAllocatorAllocate
> -------------- next part --------------
> Process 1089: 44962 nodes malloced for 9085 KB
> Process 1089: 17 leaks for 272 total leaked bytes.
> Leak: 0x04005330 size=16
> 0x00000001 0x04007a80 0x909d59b4 0x0003c1d3 ......z...Y.....
> Call stack: [thread 23a7]: | 0x0 | 0xa744 | 0x23a8 | NSApplicationMain |
> 0x2cbc | -[NSApplication run] | -[NSApplication
> nextEventMatchingMask:untilDate:inMode:dequeue:] | _DPSNextEvent |
> _NSHandleCarbonMenuEvent | -[NSCarbonMenuImpl
> performActionWithHighlightingForItemAtIndex:] | -[NSMenu
> performActionForItemAtIndex:] | -[NSApplication sendAction:to:from:] |
> -[NSDocumentController(NSPrivate) _openRecentDocument:] | -[NSApplication
> openFile:ok:] | -[NSApplication _doOpenFile:ok:tryTemp:] |
> -[NSDocumentController(NSInternal) _openFile:] | -[NSDocumentController
> openDocumentWithContentsOfURL:display:error:] | 0x4dfc | -[NSWindowController
> window] | -[NSWindowController _windowDidLoad] | 0x570c | -[NSWindow
> setToolbar:] | -[NSWindow _showToolbar:animate:] | -[NSToolbarView
> _syncItemSetAndUpdateItemViewersWithSEL:setNeedsModeConfiguration:sizeToFit:se
> tNeedsDisplay:updateKeyLoop:] | -[NSToolbarView _syncItemSet] |
> -[NSToolbarItemViewer initWithItem:forToolbarView:] | -[NSNotifica
> tionCenter addObserver:selector:name:object:] | _nsnoteinfo_new | malloc
> Leak: 0x04007dc0 size=16
> 0x00000001 0x04008990 0x909d59b4 0x0003c1d3 ..........Y.....
> Call stack: [thread 23a7]: | 0x0 | 0xa744 | 0x23a8 | NSApplicationMain |
> 0x2cbc | -[NSApplication run] | -[NSApplication
> nextEventMatchingMask:untilDate:inMode:dequeue:] | _DPSNextEvent |
> _NSHandleCarbonMenuEvent | -[NSCarbonMenuImpl
> performActionWithHighlightingForItemAtIndex:] | -[NSMenu
> performActionForItemAtIndex:] | -[NSApplication sendAction:to:from:] |
> -[NSDocumentController(NSPrivate) _openRecentDocument:] | -[NSApplication
> openFile:ok:] | -[NSApplication _doOpenFile:ok:tryTemp:] |
> -[NSDocumentController(NSInternal) _openFile:] | -[NSDocumentController
> openDocumentWithContentsOfURL:display:error:] | 0x4dfc | -[NSWindowController
> window] | -[NSWindowController _windowDidLoad] | 0x570c | -[NSWindow
> setToolbar:] | -[NSWindow _showToolbar:animate:] | -[NSToolbarView
> _syncItemSetAndUpdateItemViewersWithSEL:setNeedsModeConfiguration:sizeToFit:se
> tNeedsDisplay:updateKeyLoop:] | -[NSToolbarView _syncItemSet] |
> -[NSToolbarItemViewer initWithItem:forToolbarView:] | -[NSNotifica
> tionCenter addObserver:selector:name:object:] | _nsnoteinfo_new | malloc
> Leak: 0x04008090 size=16
> 0x00000001 0x04007e00 0x909d59b4 0x00050004 ......~...Y.....
> Call stack: [thread 23a7]: | 0x0 | 0xa744 | 0x23a8 | NSApplicationMain |
> 0x2cbc | -[NSApplication run] | -[NSApplication
> nextEventMatchingMask:untilDate:inMode:dequeue:] | _DPSNextEvent |
> _NSHandleCarbonMenuEvent | -[NSCarbonMenuImpl
> performActionWithHighlightingForItemAtIndex:] | -[NSMenu
> performActionForItemAtIndex:] | -[NSApplication sendAction:to:from:] |
> -[NSDocumentController(NSPrivate) _openRecentDocument:] | -[NSApplication
> openFile:ok:] | -[NSApplication _doOpenFile:ok:tryTemp:] |
> -[NSDocumentController(NSInternal) _openFile:] | -[NSDocumentController
> openDocumentWithContentsOfURL:display:error:] | 0x4dfc | -[NSWindowController
> window] | -[NSWindowController _windowDidLoad] | 0x570c | -[NSWindow
> setToolbar:] | -[NSWindow _showToolbar:animate:] | -[NSToolbarView
> _syncItemSetAndUpdateItemViewersWithSEL:setNeedsModeConfiguration:sizeToFit:se
> tNeedsDisplay:updateKeyLoop:] | -[NSToolbarView _syncItemSet] |
> -[NSToolbarItemViewer initWithItem:forToolbarView:] | -[NSNotifica
> tionCenter addObserver:selector:name:object:] | _nsnoteinfo_new | malloc
> Leak: 0x040083d0 size=16
> 0x00000001 0x04008160 0x909d59b4 0x00080000 .......`..Y.....
> Call stack: [thread 23a7]: | 0x0 | 0xa744 | 0x23a8 | NSApplicationMain |
> 0x2cbc | -[NSApplication run] | -[NSApplication
> nextEventMatchingMask:untilDate:inMode:dequeue:] | _DPSNextEvent |
> _NSHandleCarbonMenuEvent | -[NSCarbonMenuImpl
> performActionWithHighlightingForItemAtIndex:] | -[NSMenu
> performActionForItemAtIndex:] | -[NSApplication sendAction:to:from:] |
> -[NSDocumentController(NSPrivate) _openRecentDocument:] | -[NSApplication
> openFile:ok:] | -[NSApplication _doOpenFile:ok:tryTemp:] |
> -[NSDocumentController(NSInternal) _openFile:] | -[NSDocumentController
> openDocumentWithContentsOfURL:display:error:] | 0x4dfc | -[NSWindowController
> window] | -[NSWindowController _windowDidLoad] | 0x570c | -[NSWindow
> setToolbar:] | -[NSWindow _showToolbar:animate:] | -[NSToolbarView
> _syncItemSetAndUpdateItemViewersWithSEL:setNeedsModeConfiguration:sizeToFit:se
> tNeedsDisplay:updateKeyLoop:] | -[NSToolbarView _syncItemSet] |
> -[NSToolbarItemViewer initWithItem:forToolbarView:] | -[NSNotifica
> tionCenter addObserver:selector:name:object:] | _nsnoteinfo_new | malloc
> Leak: 0x04008840 size=16
> 0x00000001 0x04008660 0x909d59b4 0x00050004 .......`..Y.....
> Call stack: [thread 23a7]: | 0x0 | 0xa744 | 0x23a8 | NSApplicationMain |
> 0x2cbc | -[NSApplication run] | -[NSApplication
> nextEventMatchingMask:untilDate:inMode:dequeue:] | _DPSNextEvent |
> _NSHandleCarbonMenuEvent | -[NSCarbonMenuImpl
> performActionWithHighlightingForItemAtIndex:] | -[NSMenu
> performActionForItemAtIndex:] | -[NSApplication sendAction:to:from:] |
> -[NSDocumentController(NSPrivate) _openRecentDocument:] | -[NSApplication
> openFile:ok:] | -[NSApplication _doOpenFile:ok:tryTemp:] |
> -[NSDocumentController(NSInternal) _openFile:] | -[NSDocumentController
> openDocumentWithContentsOfURL:display:error:] | 0x4dfc | -[NSWindowController
> window] | -[NSWindowController _windowDidLoad] | 0x570c | -[NSWindow
> setToolbar:] | -[NSWindow _showToolbar:animate:] | -[NSToolbarView
> _syncItemSetAndUpdateItemViewersWithSEL:setNeedsModeConfiguration:sizeToFit:se
> tNeedsDisplay:updateKeyLoop:] | -[NSToolbarView _syncItemSet] |
> -[NSToolbarItemViewer initWithItem:forToolbarView:] | -[NSNotifica
> tionCenter addObserver:selector:name:object:] | _nsnoteinfo_new | malloc
> Leak: 0x04008f50 size=16
> 0x00000001 0x04008cc0 0x909d59b4 0x00050004 ..........Y.....
> Call stack: [thread 23a7]: | 0x0 | 0xa744 | 0x23a8 | NSApplicationMain |
> 0x2cbc | -[NSApplication run] | -[NSApplication
> nextEventMatchingMask:untilDate:inMode:dequeue:] | _DPSNextEvent |
> _NSHandleCarbonMenuEvent | -[NSCarbonMenuImpl
> performActionWithHighlightingForItemAtIndex:] | -[NSMenu
> performActionForItemAtIndex:] | -[NSApplication sendAction:to:from:] |
> -[NSDocumentController(NSPrivate) _openRecentDocument:] | -[NSApplication
> openFile:ok:] | -[NSApplication _doOpenFile:ok:tryTemp:] |
> -[NSDocumentController(NSInternal) _openFile:] | -[NSDocumentController
> openDocumentWithContentsOfURL:display:error:] | 0x4dfc | -[NSWindowController
> window] | -[NSWindowController _windowDidLoad] | 0x570c | -[NSWindow
> setToolbar:] | -[NSWindow _showToolbar:animate:] | -[NSToolbarView
> _syncItemSetAndUpdateItemViewersWithSEL:setNeedsModeConfiguration:sizeToFit:se
> tNeedsDisplay:updateKeyLoop:] | -[NSToolbarView _syncItemSet] |
> -[NSToolbarItemViewer initWithItem:forToolbarView:] | -[NSNotifica
> tionCenter addObserver:selector:name:object:] | _nsnoteinfo_new | malloc
> Leak: 0x040092c0 size=16
> 0x00000001 0x04009020 0x909d59b4 0x00050004 ....... ..Y.....
> Call stack: [thread 23a7]: | 0x0 | 0xa744 | 0x23a8 | NSApplicationMain |
> 0x2cbc | -[NSApplication run] | -[NSApplication
> nextEventMatchingMask:untilDate:inMode:dequeue:] | _DPSNextEvent |
> _NSHandleCarbonMenuEvent | -[NSCarbonMenuImpl
> performActionWithHighlightingForItemAtIndex:] | -[NSMenu
> performActionForItemAtIndex:] | -[NSApplication sendAction:to:from:] |
> -[NSDocumentController(NSPrivate) _openRecentDocument:] | -[NSApplication
> openFile:ok:] | -[NSApplication _doOpenFile:ok:tryTemp:] |
> -[NSDocumentController(NSInternal) _openFile:] | -[NSDocumentController
> openDocumentWithContentsOfURL:display:error:] | 0x4dfc | -[NSWindowController
> window] | -[NSWindowController _windowDidLoad] | 0x570c | -[NSWindow
> setToolbar:] | -[NSWindow _showToolbar:animate:] | -[NSToolbarView
> _syncItemSetAndUpdateItemViewersWithSEL:setNeedsModeConfiguration:sizeToFit:se
> tNeedsDisplay:updateKeyLoop:] | -[NSToolbarView _syncItemSet] |
> -[NSToolbarItemViewer initWithItem:forToolbarView:] | -[NSNotifica
> tionCenter addObserver:selector:name:object:] | _nsnoteinfo_new | malloc
> Leak: 0x03a6caa0 size=16
> 0x00000001 0x03a66750 0x909d59b4 0x00010001 ......gP..Y.....
> Call stack: [thread 23a7]: | 0x0 | 0xa744 | 0x23a8 | NSApplicationMain |
> 0x2cbc | -[NSApplication run] | -[NSApplication
> nextEventMatchingMask:untilDate:inMode:dequeue:] | _DPSNextEvent |
> AEProcessAppleEvent | aeProcessAppleEvent | dispatchEventAndSendReply(AEDesc
> const*, AEDesc*) | aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned long,
> unsigned char*) | _NSAppleEventManagerGenericHandler | -[NSAppleEventManager
> dispatchRawAppleEvent:withRawReply:handlerRefCon:] |
> -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] |
> -[NSApplication(NSAppleEventHandling) _handleAEOpen:] | -[NSApplication
> _doOpenUntitled] | -[NSDocumentController(NSInternal) _openUntitled] |
> -[NSDocumentController openUntitledDocumentAndDisplay:error:] | 0x4dfc |
> -[NSWindowController window] | -[NSWindowController _windowDidLoad] | 0x570c |
> -[NSWindow setToolbar:] | -[NSWindow _showToolbar:animate:] | -[NSToolbarView
> _syncItemSetAndUpdateItemViewersWithSEL:setNeedsModeConfiguration:si
> zeToFit:setNeedsDisplay:updateKeyLoop:] | -[NSToolbarView _syncItemSet] |
> -[NSToolbarItemViewer initWithItem:forToolbarView:] | -[NSNotificationCenter
> addObserver:selector:name:object:] | _nsnoteinfo_new | malloc
> Leak: 0x03a79f80 size=16
> 0x00000001 0x03a6af20 0x909d59b4 0x00010001 ....... ..Y.....
> Call stack: [thread 23a7]: | 0x0 | 0xa744 | 0x23a8 | NSApplicationMain |
> 0x2cbc | -[NSApplication run] | -[NSApplication
> nextEventMatchingMask:untilDate:inMode:dequeue:] | _DPSNextEvent |
> AEProcessAppleEvent | aeProcessAppleEvent | dispatchEventAndSendReply(AEDesc
> const*, AEDesc*) | aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned long,
> unsigned char*) | _NSAppleEventManagerGenericHandler | -[NSAppleEventManager
> dispatchRawAppleEvent:withRawReply:handlerRefCon:] |
> -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] |
> -[NSApplication(NSAppleEventHandling) _handleAEOpen:] | -[NSApplication
> _doOpenUntitled] | -[NSDocumentController(NSInternal) _openUntitled] |
> -[NSDocumentController openUntitledDocumentAndDisplay:error:] | 0x4dfc |
> -[NSWindowController window] | -[NSWindowController _windowDidLoad] | 0x570c |
> -[NSWindow setToolbar:] | -[NSWindow _showToolbar:animate:] | -[NSToolbarView
> _syncItemSetAndUpdateItemViewersWithSEL:setNeedsModeConfiguration:si
> zeToFit:setNeedsDisplay:updateKeyLoop:] | -[NSToolbarView _syncItemSet] |
> -[NSToolbarItemViewer initWithItem:forToolbarView:] | -[NSNotificationCenter
> addObserver:selector:name:object:] | _nsnoteinfo_new | malloc
> Leak: 0x03a9c5c0 size=16
> 0x00000001 0x03a68380 0x909d59b4 0x00010001 ..........Y.....
> Call stack: [thread 23a7]: | 0x0 | 0xa744 | 0x23a8 | NSApplicationMain |
> 0x2cbc | -[NSApplication run] | -[NSApplication
> nextEventMatchingMask:untilDate:inMode:dequeue:] | _DPSNextEvent |
> AEProcessAppleEvent | aeProcessAppleEvent | dispatchEventAndSendReply(AEDesc
> const*, AEDesc*) | aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned long,
> unsigned char*) | _NSAppleEventManagerGenericHandler | -[NSAppleEventManager
> dispatchRawAppleEvent:withRawReply:handlerRefCon:] |
> -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] |
> -[NSApplication(NSAppleEventHandling) _handleAEOpen:] | -[NSApplication
> _doOpenUntitled] | -[NSDocumentController(NSInternal) _openUntitled] |
> -[NSDocumentController openUntitledDocumentAndDisplay:error:] | 0x4dfc |
> -[NSWindowController window] | -[NSWindowController _windowDidLoad] | 0x570c |
> -[NSWindow setToolbar:] | -[NSWindow _showToolbar:animate:] | -[NSToolbarView
> _syncItemSetAndUpdateItemViewersWithSEL:setNeedsModeConfiguration:si
> zeToFit:setNeedsDisplay:updateKeyLoop:] | -[NSToolbarView _syncItemSet] |
> -[NSToolbarItemViewer initWithItem:forToolbarView:] | -[NSNotificationCenter
> addObserver:selector:name:object:] | _nsnoteinfo_new | malloc
> Leak: 0x003be370 size=16
> 0x00000001 0x03a65c90 0x909d59b4 0x00010001 ......\...Y.....
> Call stack: [thread 23a7]: | 0x0 | 0xa744 | 0x23a8 | NSApplicationMain |
> 0x2cbc | -[NSApplication run] | -[NSApplication
> nextEventMatchingMask:untilDate:inMode:dequeue:] | _DPSNextEvent |
> AEProcessAppleEvent | aeProcessAppleEvent | dispatchEventAndSendReply(AEDesc
> const*, AEDesc*) | aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned long,
> unsigned char*) | _NSAppleEventManagerGenericHandler | -[NSAppleEventManager
> dispatchRawAppleEvent:withRawReply:handlerRefCon:] |
> -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] |
> -[NSApplication(NSAppleEventHandling) _handleAEOpen:] | -[NSApplication
> _doOpenUntitled] | -[NSDocumentController(NSInternal) _openUntitled] |
> -[NSDocumentController openUntitledDocumentAndDisplay:error:] | 0x4dfc |
> -[NSWindowController window] | -[NSWindowController _windowDidLoad] | 0x570c |
> -[NSWindow setToolbar:] | -[NSWindow _showToolbar:animate:] | -[NSToolbarView
> _syncItemSetAndUpdateItemViewersWithSEL:setNeedsModeConfiguration:si
> zeToFit:setNeedsDisplay:updateKeyLoop:] | -[NSToolbarView _syncItemSet] |
> -[NSToolbarItemViewer initWithItem:forToolbarView:] | -[NSNotificationCenter
> addObserver:selector:name:object:] | _nsnoteinfo_new | malloc
> Leak: 0x003bd440 size=16
> 0x00000001 0x003af8e0 0x00011288 0x00010001 .....:..........
> Call stack: [thread 23a7]: | 0x0 | 0xa744 | 0x23a8 | NSApplicationMain |
> 0x2cbc | -[NSApplication run] | -[NSApplication
> nextEventMatchingMask:untilDate:inMode:dequeue:] | _DPSNextEvent |
> AEProcessAppleEvent | aeProcessAppleEvent | dispatchEventAndSendReply(AEDesc
> const*, AEDesc*) | aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned long,
> unsigned char*) | _NSAppleEventManagerGenericHandler | -[NSAppleEventManager
> dispatchRawAppleEvent:withRawReply:handlerRefCon:] |
> -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] |
> -[NSApplication(NSAppleEventHandling) _handleAEOpen:] | -[NSApplication
> _doOpenUntitled] | -[NSDocumentController(NSInternal) _openUntitled] |
> -[NSDocumentController openUntitledDocumentAndDisplay:error:] | 0x4dfc |
> -[NSWindowController window] | -[NSWindowController loadWindow] |
> +[NSBundle(NSNibLoading) loadNibFile:externalNameTable:withZone:] |
> +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] |
> loadNib | -[NSIBOb
> jectData nibInstantiateWithOwner:topLevelObjects:] |
> -[NSNotificationCenter(NSNotificationCenterAppKitExtensions)
> _addObserver:notificationNamesAndSelectorNames:object:onlyIfSelectorIsImplemen
> ted:] | -[NSNotificationCenter addObserver:selector:name:object:] |
> _nsnoteinfo_new | malloc
> Leak: 0x003c90c0 size=16
> 0x00000001 0x03a5d830 0x909d59b4 0x00010001 .......0..Y.....
> Call stack: [thread 23a7]: | 0x0 | 0xa744 | 0x23a8 | NSApplicationMain |
> 0x2cbc | -[NSApplication run] | -[NSApplication
> nextEventMatchingMask:untilDate:inMode:dequeue:] | _DPSNextEvent |
> AEProcessAppleEvent | aeProcessAppleEvent | dispatchEventAndSendReply(AEDesc
> const*, AEDesc*) | aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned long,
> unsigned char*) | _NSAppleEventManagerGenericHandler | -[NSAppleEventManager
> dispatchRawAppleEvent:withRawReply:handlerRefCon:] |
> -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] |
> -[NSApplication(NSAppleEventHandling) _handleAEOpen:] | -[NSApplication
> _doOpenUntitled] | -[NSDocumentController(NSInternal) _openUntitled] |
> -[NSDocumentController openUntitledDocumentAndDisplay:error:] | 0x4dfc |
> -[NSWindowController window] | -[NSWindowController _windowDidLoad] | 0x570c |
> -[NSWindow setToolbar:] | -[NSWindow _showToolbar:animate:] | -[NSToolbarView
> _syncItemSetAndUpdateItemViewersWithSEL:setNeedsModeConfiguration:si
> zeToFit:setNeedsDisplay:updateKeyLoop:] | -[NSToolbarView _syncItemSet] |
> -[NSToolbarItemViewer initWithItem:forToolbarView:] | -[NSNotificationCenter
> addObserver:selector:name:object:] | _nsnoteinfo_new | malloc
> Leak: 0x003b75a0 size=16
> 0x00000001 0x03a33600 0x909d59b4 0x00020000 ......6...Y.....
> Call stack: [thread 23a7]: | 0x0 | 0xa744 | 0x23a8 | NSApplicationMain |
> 0x2cbc | -[NSApplication run] | -[NSApplication
> nextEventMatchingMask:untilDate:inMode:dequeue:] | _DPSNextEvent |
> AEProcessAppleEvent | aeProcessAppleEvent | dispatchEventAndSendReply(AEDesc
> const*, AEDesc*) | aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned long,
> unsigned char*) | _NSAppleEventManagerGenericHandler | -[NSAppleEventManager
> dispatchRawAppleEvent:withRawReply:handlerRefCon:] |
> -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] |
> -[NSApplication(NSAppleEventHandling) _handleAEOpen:] | -[NSApplication
> _doOpenUntitled] | -[NSDocumentController(NSInternal) _openUntitled] |
> -[NSDocumentController openUntitledDocumentAndDisplay:error:] | 0x4dfc |
> -[NSWindowController window] | -[NSWindowController _windowDidLoad] | 0x570c |
> -[NSWindow setToolbar:] | -[NSWindow _showToolbar:animate:] | -[NSToolbarView
> _syncItemSetAndUpdateItemViewersWithSEL:setNeedsModeConfiguration:si
> zeToFit:setNeedsDisplay:updateKeyLoop:] | -[NSToolbarView _syncItemSet] |
> -[NSToolbarItemViewer initWithItem:forToolbarView:] | -[NSNotificationCenter
> addObserver:selector:name:object:] | _nsnoteinfo_new | malloc
> Leak: 0x003ca5f0 size=16
> 0x00000001 0x003b2340 0x9853958c 0x00026765 .....;#@.S....ge
> Call stack: [thread 23a7]: | 0x0 | 0xa744 | 0x23a8 | NSApplicationMain |
> 0x2cbc | -[NSApplication run] | -[NSApplication
> nextEventMatchingMask:untilDate:inMode:dequeue:] | _DPSNextEvent |
> AEProcessAppleEvent | aeProcessAppleEvent | dispatchEventAndSendReply(AEDesc
> const*, AEDesc*) | aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned long,
> unsigned char*) | _NSAppleEventManagerGenericHandler | -[NSAppleEventManager
> dispatchRawAppleEvent:withRawReply:handlerRefCon:] |
> -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] |
> -[NSApplication(NSAppleEventHandling) _handleAEOpen:] | -[NSApplication
> _doOpenUntitled] | -[NSDocumentController(NSInternal) _openUntitled] |
> -[NSDocumentController openUntitledDocumentAndDisplay:error:] | 0x4dfc |
> -[NSWindowController window] | -[NSWindowController loadWindow] |
> +[NSBundle(NSNibLoading) loadNibFile:externalNameTable:withZone:] |
> +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] |
> loadNib | -[NSIBOb
> jectData nibInstantiateWithOwner:topLevelObjects:] | -[NSNotificationCenter
> addObserver:selector:name:object:] | _nsnoteinfo_new | malloc
> Leak: 0x003d5b40 size=16
> 0x00000001 0x003b38a0 0x9853958c 0x000766f0 .....;8..S....f.
> Call stack: [thread bffff30f]: | 0x0 | 0xa744 | 0x23a8 | NSApplicationMain |
> 0x2cbc | -[NSApplication run] | -[NSApplication
> nextEventMatchingMask:untilDate:inMode:dequeue:] | _DPSNextEvent |
> _NSHandleCarbonMenuEvent | -[NSCarbonMenuImpl
> performActionWithHighlightingForItemAtIndex:] | -[NSMenu
> performActionForItemAtIndex:] | -[NSApplication sendAction:to:from:] |
> -[NSDocumentController(NSPrivate) _openRecentDocument:] | -[NSApplication
> openFile:ok:] | -[NSApplication _doOpenFile:ok:tryTemp:] |
> -[NSDocumentController(NSInternal) _openFile:] | -[NSDocumentController
> openDocumentWithContentsOfURL:display:error:] | 0x4dfc | -[NSWindowController
> window] | -[NSWindowController loadWindow] | +[NSBundle(NSNibLoading)
> loadNibFile:externalNameTable:withZone:] | +[NSBundle(NSNibLoading)
> _loadNibFile:nameTable:withZone:ownerBundle:] | loadNib | -[NSIBObjectData
> nibInstantiateWithOwner:topLevelObjects:] | -[NSNotificationCenter
> addObserver:selector:name:object:] | _nsnoteinfo_new | mallo
> c
> Leak: 0x0038c430 size=16
> 0x00000001 0x03a5fb40 0x909d59b4 0x00010001 .......@..Y.....
> Call stack: [thread 23a7]: | 0x0 | 0xa744 | 0x23a8 | NSApplicationMain |
> 0x2cbc | -[NSApplication run] | -[NSApplication
> nextEventMatchingMask:untilDate:inMode:dequeue:] | _DPSNextEvent |
> AEProcessAppleEvent | aeProcessAppleEvent | dispatchEventAndSendReply(AEDesc
> const*, AEDesc*) | aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned long,
> unsigned char*) | _NSAppleEventManagerGenericHandler | -[NSAppleEventManager
> dispatchRawAppleEvent:withRawReply:handlerRefCon:] |
> -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] |
> -[NSApplication(NSAppleEventHandling) _handleAEOpen:] | -[NSApplication
> _doOpenUntitled] | -[NSDocumentController(NSInternal) _openUntitled] |
> -[NSDocumentController openUntitledDocumentAndDisplay:error:] | 0x4dfc |
> -[NSWindowController window] | -[NSWindowController _windowDidLoad] | 0x570c |
> -[NSWindow setToolbar:] | -[NSWindow _showToolbar:animate:] | -[NSToolbarView
> _syncItemSetAndUpdateItemViewersWithSEL:setNeedsModeConfiguration:si
> zeToFit:setNeedsDisplay:updateKeyLoop:] | -[NSToolbarView _syncItemSet] |
> -[NSToolbarItemViewer initWithItem:forToolbarView:] | -[NSNotificationCenter
> addObserver:selector:name:object:] | _nsnoteinfo_new | malloc
> -------------- next part --------------
>
>
> On 28/06/2005, at 2:37 AM, Pierre-Olivier Latour wrote:
>
>>> I do not see the leak in your application. I do see the leak
>>> whenever a
>>> composition runs that uses an Image With Movie patch. I see that
>>> leak both
>>> when your application loads the composition and when Quartz
>>> Composer loads
>>> the composition. 1200 - 1500 bytes/minute are leaked.
>>>
>>> When I run compositions without Image With Movie, either with your
>>> application or with Quartz Composer, I do not see the leak.
>>>
>>
>> I attached a composition that plays the Mac intro movie on a
>> billboard - I don't see any leak:
>>
>>
>> <Movie.qtz>
>>
>> [G4Book:MacOS] setenv MallocStackLogging 1
>> [G4Book:MacOS] /Developer/Applications/Graphics\ Tools/Quartz\
>> Composer.app/Contents/MacOS/Quartz\ Composer &
>> [1] 5971
>> [G4Book:MacOS] (5971) malloc: recording stacks using standard recorder
>>
>> [G4Book:MacOS] leaks 5971
>> (5974) malloc: recording stacks using standard recorder
>> Process 5971: 35650 nodes malloced for 7710 KB
>> Process 5971: 0 leaks for 0 total leaked bytes.
>>
>>
>> can you reproduce? This movie is JPEG encoded and the leak may
>> depend on the movie encoding type, what kind of movies are you using?
>>
>> ________________________________________________________
>> Pierre-Olivier Latour email@hidden
>> Quartz Composer Architect Graphics & Imaging Team
>>
>>
>
>
> ------------------------------
>
> _______________________________________________
> Quartzcomposer-dev mailing list
> email@hidden
> http://lists.apple.com/mailman/listinfo/quartzcomposer-dev
>
>
> End of Quartzcomposer-dev Digest, Vol 4, Issue 39
> *************************************************
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/email@hidden
This email sent to email@hidden
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.