Core Animation Deadlock
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