• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Debugging sporadic NSViewAnimation crash?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Debugging sporadic NSViewAnimation crash?


  • Subject: Debugging sporadic NSViewAnimation crash?
  • From: Jim Correia <email@hidden>
  • Date: Fri, 28 Oct 2005 11:29:18 -0400

I have a NSViewAnimation (based on the WWDC sample code) which resizes a window while transitioning fading the original view out and the new view in.

It sporadically crashes. When It does, the backtrace is as follows. r3 is nil.

Has anyone run into similar problems? Any tips for tracking down the cause?

I'm fairly certain the memory management in my code is correct. (At least it is incorrect on first/second inspection.) The only difference I can see between my code and the WWDC sample is that I run the animation in blocking mode (but I cannot reproduce my sporadic crash there.)

I already have zombies turned on for Foundation and CoreFoundation, but that hasn't helped so far.

Thanks,
Jim

#0 0x9073d1b0 in CFDictionaryGetValue
#1 0x937052f4 in -[NSViewAnimation _drawView:]
#2 0x93676e80 in -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:]
#3 0x93679c98 in _recursiveDisplayInRect2
#4 0x9075ab84 in CFArrayApplyFunction
#5 0x93677094 in -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:]
#6 0x93679c98 in _recursiveDisplayInRect2
#7 0x9075ab84 in CFArrayApplyFunction
#8 0x93677094 in -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:]
#9 0x93679c98 in _recursiveDisplayInRect2
#10 0x9075ab84 in CFArrayApplyFunction
#11 0x93677094 in -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:]
#12 0x93676558 in -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisible RectForView:topView:]
#13 0x9369717c in -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisible RectForView:topView:]
#14 0x936701cc in -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:]
#15 0x936654d0 in -[NSView displayIfNeeded]
#16 0x93726934 in -[NSThemeFrame handleSetFrameCommonRedisplay]
#17 0x936730f8 in -[NSWindow _setFrameCommon:display:stashSize:]
#18 0x93672e20 in -[NSWindow setFrame:display:]
#19 0x9370c314 in UpdateViewAnimationWindows
#20 0x90743a50 in CFDictionaryApplyFunction
#21 0x936ead70 in -[NSViewAnimation setCurrentProgress:]
#22 0x936eacc8 in -[NSAnimation(NSInternal) _advanceTime]
#23 0x92885cfc in __NSFireTimer
#24 0x9075ed10 in __CFRunLoopDoTimer
#25 0x9074b688 in __CFRunLoopRun
#26 0x9074ac3c in CFRunLoopRunSpecific
#27 0x92891ec4 in -[NSRunLoop runMode:beforeDate:]


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Debugging sporadic NSViewAnimation crash?
      • From: Jim Correia <email@hidden>
  • Prev by Date: Re: Cocoa window initially hidden in IB?
  • Next by Date: Re: Newbie Q'n Related to Application Preferences
  • Previous by thread: another combo box question
  • Next by thread: Re: Debugging sporadic NSViewAnimation crash?
  • Index(es):
    • Date
    • Thread