_NSAppKitImgCacheLock?
_NSAppKitImgCacheLock?
- Subject: _NSAppKitImgCacheLock?
- From: Steve Gehrman <email@hidden>
- Date: Tue, 20 Sep 2005 14:37:17 -0700
Getting a hang radomly on _NSAppKitImgCacheLock
Is there a simple solution?
Would setting setCachedSeparately:YES, on every image help? Would it
make things slower?
Analysis of sampling pid 205 every 10.000000 milliseconds
Call graph:
467 Thread_0f87
467 start
467 _start
467 NSApplicationMain
467 -[NSApplication run]
467 -[NTApplication sendEvent:]
467 -[OAApplication sendEvent:]
467 -[NSApplication sendEvent:]
467 -[NSApplication _handleKeyEquivalent:]
467 +[NSSegmentedCell
_performKeyEquivalentOnAllCells:]
467 -[NSMenu performKeyEquivalent:]
467 -[NSCarbonMenuImpl
performActionWithHighlightingForItemAtIndex:]
467 -[NSMenu performActionForItemAtIndex:]
467 -[NSApplication sendAction:to:from:]
467 _objc_msgForward
467 -[NSObject
(NSForwardInvocation) forward::]
467 -[NTColumnView
(ActionForwarding) forwardInvocation:]
467 -[NSInvocation
invokeWithTarget:]
467 -[NSInvocation invoke]
467 objc_msgSendv
467 -[BrowserActions
moveToTrashAction:]
467 -[BrowserActions
(Private) showMoveToTrashAnimation]
467 -
[NTColumnViewController(BrowserViewControllerOverride)
imageForSelection:]
467 -[NSMatrix
(NTExtensions) imageForCells:outLocation:]
467 -[NSImage
lockFocus]
467 -
[NSCachedImageRep _initWithSize:depth:separate:alpha:allowDeep:]
467
_NXAllocateImageCache
467
_NSAppKitImgCacheLock
467 -
[NSRecursiveLock lock]
467
pthread_cond_wait
467
semaphore_wait_signal_trap
467 semaphore_wait_signal_trap
467 Thread_1003
467 _pthread_body
467 forkThreadForFunction
467 -[NTKQueueMonitor(ThreadProc) threadWorker:]
467 kevent
467 kevent
467 Thread_1103
467 _pthread_body
467 forkThreadForFunction
467 -[NTThreadRunner(Thread) threadProc:]
467 -[NTActiveDirectoryMgr_thread doThreadProc]
467 -[NTThreadHelper wait]
467 -[NSConditionLock lockWhenCondition:]
467 pthread_cond_wait
467 semaphore_wait_signal_trap
467 semaphore_wait_signal_trap
467 Thread_1203
467 _pthread_body
467 forkThreadForFunction
467 -[NSUIHeartBeat _heartBeatThread:]
467 -[NSApplication _keyWindowForHeartBeat]
467 _NSAppKitLock
467 -[NSRecursiveLock lock]
467 pthread_cond_wait
467 semaphore_wait_signal_trap
467 semaphore_wait_signal_trap
467 Thread_1303
467 _pthread_body
467 forkThreadForFunction
467 -[NTInfoServerThread(Private) threadProc:]
467 -[NSConditionLock lockWhenCondition:]
467 pthread_cond_wait
467 semaphore_wait_signal_trap
467 semaphore_wait_signal_trap
467 Thread_1403
467 _pthread_body
467 forkThreadForFunction
467 -[NTInfoServerThread(Private) threadProc:]
467 -[NSConditionLock lockWhenCondition:]
467 pthread_cond_wait
467 semaphore_wait_signal_trap
467 semaphore_wait_signal_trap
467 Thread_1503
467 _pthread_body
467 forkThreadForFunction
467 -[NTInfoServerThread(Private) threadProc:]
467 -[NSConditionLock lockWhenCondition:]
467 pthread_cond_wait
467 semaphore_wait_signal_trap
467 semaphore_wait_signal_trap
467 Thread_1603
467 _pthread_body
467 forkThreadForFunction
467 -[NTInfoServerThread(Private) threadProc:]
467 -[NSConditionLock lockWhenCondition:]
467 pthread_cond_wait
467 semaphore_wait_signal_trap
467 semaphore_wait_signal_trap
467 Thread_1703
467 _pthread_body
467 forkThreadForFunction
467 -[NTInfoServerThread(Private) threadProc:]
467 -[NSConditionLock lockWhenCondition:]
467 pthread_cond_wait
467 semaphore_wait_signal_trap
467 semaphore_wait_signal_trap
467 Thread_1803
467 _pthread_body
467 forkThreadForFunction
467 -[NTPreviewModelThread(Thread) threadProc:]
467 +[NSImage(NTExtensions)
iconRef:toImage:label:select:alpha:]
467 -[NSImage lockFocus]
467 -[NSCachedImageRep
_initWithSize:depth:separate:alpha:allowDeep:]
467 _NXAllocateImageCache
467 -[NSView lockFocus]
467 -[NSImageCacheView lockFocusIfCanDraw]
467 -[NSWindow _threadContext]
467 _NSAppKitLock
467 -[NSRecursiveLock lock]
467 pthread_cond_wait
467 semaphore_wait_signal_trap
467 semaphore_wait_signal_trap
Total number in stack (recursive counted multiple, when >=5):
9 _pthread_body
9 forkThreadForFunction
9 pthread_cond_wait
9 semaphore_wait_signal_trap
6 -[NSConditionLock lockWhenCondition:]
5 -[NTInfoServerThread(Private) threadProc:]
Sort by top of stack, same collapsed (when >= 5):
semaphore_wait_signal_trap 4203
kevent 467
_______________________________________________
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