• 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
Core Animation Deadlock
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Core Animation Deadlock


  • Subject: Core Animation Deadlock
  • From: Colin Cornaby <email@hidden>
  • Date: Thu, 24 Apr 2008 19:25:49 -0700

Hi,

I'm currently trying to track down a deadlock. After adding a series of layers, CoreAnimation deadlocks here on the main thread:

#0 0x958af4ee in semaphore_wait_signal_trap
#1 0x958b6fc5 in pthread_mutex_lock
#2 0x909f8d72 in CAContextCommitTransaction
#3 0x909f89bd in CATransactionCommit
#4 0x90375351 in -[NSView(NSLayerKitGlue) _drawRectAsLayerTree:]
#5 0x9010ab1e in -[NSView _drawRect:clip:]
#6 0x901091ed in -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView :]
#7 0x90109c23 in -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView :]
#8 0x90109c23 in -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView :]
#9 0x90109c23 in -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView :]
#10 0x90109c23 in -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView :]
#11 0x90109c23 in -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView :]
#12 0x9010870b in -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView :]
#13 0x9010522f in -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:]
#14 0x90045c87 in -[NSView displayIfNeeded]
#15 0x90045835 in -[NSWindow displayIfNeeded]
#16 0x90045658 in _handleWindowNeedsDisplay
#17 0x910f89a2 in __CFRunLoopDoObservers
#18 0x910f9d05 in CFRunLoopRunSpecific
#19 0x910facf8 in CFRunLoopRunInMode
#20 0x9159fda4 in RunCurrentEventLoopInMode
#21 0x9159faf6 in ReceiveNextEventCommon
#22 0x9159fa31 in BlockUntilNextEventMatchingListInMode
#23 0x900434fd in _DPSNextEvent
#24 0x90042db0 in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
#25 0x9003bdeb in -[NSApplication run]
#26 0x90009028 in NSApplicationMain
#27 0x00007401 in main at main.m:13


There are a bunch of other threads, too many to reasonably list in a message to the list.

While I continue debugging and trying to track down what I'm doing that starts the deadlock, does anyone have any general ideas on where it would be best to look?

Thanks,
Colin
_______________________________________________

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


  • Follow-Ups:
    • Re: Core Animation Deadlock
      • From: John Stiles <email@hidden>
  • Prev by Date: Uniform Type Indicators
  • Next by Date: Re: Core Animation Deadlock
  • Previous by thread: Re: Uniform Type Indicators
  • Next by thread: Re: Core Animation Deadlock
  • Index(es):
    • Date
    • Thread