You could also show any other thread stuck trying to lock a mutex? I assume there's another thread holding this lock or stuck trying to lock something else.

Colin Cornaby wrote:
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 (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/jstiles%40blizzard.com

This email sent to [EMAIL PROTECTED]
_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to