On Mar 19, 2016, at 03:27 AM, Ken Thomases <[email protected]> wrote:
No. The main thread is blocked waiting for another Cocoa thread. It's waiting on an internal pthread condition variable. There must be some other thread which is going to signal that condition variable under some circumstances. In all likelihood, that other thread is blocked on something else, so you have a pseudo-deadlock. Show the backtrace of all threads. Or a sample report, which has similar information. Thread 7 is what caused thread 1 to run. This scheme works on our developer machines and has always worked in the past on the headless servers (used to be Xserves, now minis), and still does work when we're screen sharing to them. warning: could not load any Objective-C class information. This will significantly reduce the quality of type information available. * thread #1: tid = 0xf3b18, 0x00007fff89524136 libsystem_kernel.dylib`__psynch_cvwait + 10, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP * frame #0: 0x00007fff89524136 libsystem_kernel.dylib`__psynch_cvwait + 10 frame #1: 0x00007fff8fa8b560 libsystem_pthread.dylib`_pthread_cond_wait + 693 frame #2: 0x00007fff8dea323e AppKit`-[NSViewHierarchyLock _lockForWriting:handler:] + 323 frame #3: 0x00007fff8df14d97 AppKit`-[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 469 frame #4: 0x00007fff8decd1ae AppKit`-[NSView displayIfNeeded] + 1876 frame #5: 0x00007fff8decca09 AppKit`-[NSWindow displayIfNeeded] + 236 frame #6: 0x00007fff8decc672 AppKit`_handleWindowNeedsDisplayOrLayoutOrUpdateConstraints + 936 frame #7: 0x00007fff8e602171 AppKit`__83-[NSWindow _postWindowNeedsDisplayOrLayoutOrUpdateConstraintsUnlessPostingDisabled]_block_invoke1540 + 46 frame #8: 0x00007fff8a7db127 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23 frame #9: 0x00007fff8a7db080 CoreFoundation`__CFRunLoopDoObservers + 368 frame #10: 0x00007fff8a7cd188 CoreFoundation`__CFRunLoopRun + 872 frame #11: 0x00007fff8a7ccbd8 CoreFoundation`CFRunLoopRunSpecific + 296 frame #12: 0x00007fff91894b29 Foundation`-[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 278 frame #13: 0x00007fff918b2d9e Foundation`-[NSRunLoop(NSRunLoop) runUntilDate:] + 108 frame #14: 0x000000010024b74e RRD`-[MultiProgressMaster(PrivateMethods) _resetProgressTaskName:mainText:mainProgressValue:mainProgressMaxValue:mainProgressIndeterminate:subText:subProgressValue:subProgressMaxValue:subProgressIndeterminate:forTaskID:] + 3518 frame #15: 0x000000010024b9b0 RRD`-[MultiProgressMaster(PrivateMethods) _resetProgressTaskWithInfoDict:] + 576 frame #16: 0x00007fff91896dd0 Foundation`__NSThreadPerformPerform + 293 frame #17: 0x00007fff8a7dba01 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17 frame #18: 0x00007fff8a7cdb8d CoreFoundation`__CFRunLoopDoSources0 + 269 frame #19: 0x00007fff8a7cd1bf CoreFoundation`__CFRunLoopRun + 927 frame #20: 0x00007fff8a7ccbd8 CoreFoundation`CFRunLoopRunSpecific + 296 frame #21: 0x00007fff8ca6856f HIToolbox`RunCurrentEventLoopInMode + 235 frame #22: 0x00007fff8ca682ea HIToolbox`ReceiveNextEventCommon + 431 frame #23: 0x00007fff8ca6812b HIToolbox`_BlockUntilNextEventMatchingListInModeWithFilter + 71 frame #24: 0x00007fff8dec98ab AppKit`_DPSNextEvent + 978 frame #25: 0x00007fff8dec8e58 AppKit`-[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 346 frame #26: 0x00007fff8debeaf3 AppKit`-[NSApplication run] + 594 frame #27: 0x00007fff8de3b244 AppKit`NSApplicationMain + 1832 frame #28: 0x00000001000019f2 MM Automation`main(argc=1, argv=0x00007fff5fbffce8) + 34 at main.m:13 frame #29: 0x00000001000019c4 MM Automation`start + 52 thread #2: tid = 0xf3b24, 0x00007fff89525232 libsystem_kernel.dylib`kevent64 + 10, queue = 'com.apple.libdispatch-manager' frame #0: 0x00007fff89525232 libsystem_kernel.dylib`kevent64 + 10 frame #1: 0x00007fff8f089615 libdispatch.dylib`_dispatch_mgr_invoke + 247 frame #2: 0x00007fff8f08926e libdispatch.dylib`_dispatch_mgr_thread + 52 thread #3: tid = 0xf3b3f, 0x00007fff89525682 libsystem_kernel.dylib`read + 10 frame #0: 0x00007fff89525682 libsystem_kernel.dylib`read + 10 frame #1: 0x00007fff91820cd7 Foundation`_NSReadFromFileDescriptorWithProgress + 240 frame #2: 0x00007fff9193fbe2 Foundation`-[NSConcreteFileHandle availableData] + 156 frame #3: 0x00000001002259a3 RRD`-[LogMaster(PrivateMethods) _logThread:] + 707 frame #4: 0x00007fff91842e92 Foundation`__NSThread__main__ + 1345 frame #5: 0x00007fff8fa8b05a libsystem_pthread.dylib`_pthread_body + 131 frame #6: 0x00007fff8fa8afd7 libsystem_pthread.dylib`_pthread_start + 176 frame #7: 0x00007fff8fa883ed libsystem_pthread.dylib`thread_start + 13 thread #4: tid = 0xf3b42, 0x00007fff8951f4de libsystem_kernel.dylib`mach_msg_trap + 10 frame #0: 0x00007fff8951f4de libsystem_kernel.dylib`mach_msg_trap + 10 frame #1: 0x00007fff8951e64f libsystem_kernel.dylib`mach_msg + 55 frame #2: 0x00007fff8a7cdeb4 CoreFoundation`__CFRunLoopServiceMachPort + 212 frame #3: 0x00007fff8a7cd37b CoreFoundation`__CFRunLoopRun + 1371 frame #4: 0x00007fff8a7ccbd8 CoreFoundation`CFRunLoopRunSpecific + 296 frame #5: 0x00007fff8df9156b AppKit`_NSEventThread + 137 frame #6: 0x00007fff8fa8b05a libsystem_pthread.dylib`_pthread_body + 131 frame #7: 0x00007fff8fa8afd7 libsystem_pthread.dylib`_pthread_start + 176 frame #8: 0x00007fff8fa883ed libsystem_pthread.dylib`thread_start + 13 thread #5: tid = 0xf3b9a, 0x00007fff8951f4de libsystem_kernel.dylib`mach_msg_trap + 10 frame #0: 0x00007fff8951f4de libsystem_kernel.dylib`mach_msg_trap + 10 frame #1: 0x00007fff8951e64f libsystem_kernel.dylib`mach_msg + 55 frame #2: 0x00007fff8a7cdeb4 CoreFoundation`__CFRunLoopServiceMachPort + 212 frame #3: 0x00007fff8a7cd37b CoreFoundation`__CFRunLoopRun + 1371 frame #4: 0x00007fff8a7ccbd8 CoreFoundation`CFRunLoopRunSpecific + 296 frame #5: 0x00007fff91894b29 Foundation`-[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 278 frame #6: 0x00007fff9190a24f Foundation`-[NSRunLoop(NSRunLoop) run] + 74 frame #7: 0x000000010003d9fb MM Automation`-[MMAMonitorServer _connectionVendingThread:](self=0x00006080002233a0, _cmd="_connectionVendingThread:", unused=0x0000000000000000) + 667 at MMAMonitorServer.m:129 frame #8: 0x00007fff91842e92 Foundation`__NSThread__main__ + 1345 frame #9: 0x00007fff8fa8b05a libsystem_pthread.dylib`_pthread_body + 131 frame #10: 0x00007fff8fa8afd7 libsystem_pthread.dylib`_pthread_start + 176 frame #11: 0x00007fff8fa883ed libsystem_pthread.dylib`thread_start + 13 thread #6: tid = 0xf3b9b, 0x00007fff895243fa libsystem_kernel.dylib`__select + 10, name = 'com.apple.CFSocket.private' frame #0: 0x00007fff895243fa libsystem_kernel.dylib`__select + 10 frame #1: 0x00007fff8a819b7a CoreFoundation`__CFSocketManager + 730 frame #2: 0x00007fff8fa8b05a libsystem_pthread.dylib`_pthread_body + 131 frame #3: 0x00007fff8fa8afd7 libsystem_pthread.dylib`_pthread_start + 176 frame #4: 0x00007fff8fa883ed libsystem_pthread.dylib`thread_start + 13 thread #7: tid = 0xf3c46, 0x00007fff89524136 libsystem_kernel.dylib`__psynch_cvwait + 10, name = 'com.rrd.MMA.54611' frame #0: 0x00007fff89524136 libsystem_kernel.dylib`__psynch_cvwait + 10 frame #1: 0x00007fff8fa8b560 libsystem_pthread.dylib`_pthread_cond_wait + 693 frame #2: 0x00007fff91842fd8 Foundation`-[NSCondition wait] + 237 frame #3: 0x00007fff91833e6e Foundation`-[NSObject(NSThreadPerformAdditions) performSelector:onThread:withObject:waitUntilDone:modes:] + 823 frame #4: 0x00007fff91833ab9 Foundation`-[NSObject(NSThreadPerformAdditions) performSelectorOnMainThread:withObject:waitUntilDone:] + 131 frame #5: 0x0000000100248ee3 RRD`-[MultiProgressMaster resetProgressTaskName:mainText:mainProgressValue:mainProgressMaxValue:mainProgressIndeterminate:subText:subProgressValue:subProgressMaxValue:subProgressIndeterminate:forTaskID:] + 899 frame #6: 0x00000001000e20fa MM Automation`-[ProofProcessor _copyAndUnZipArtFile:](self=0x000060000008e6f0, _cmd="_copyAndUnZipArtFile:", inPartialZipFilePath=0x0000608000279300) + 490 at ProofProcessor.m:300 frame #7: 0x00000001000e0b5c MM Automation`-[ProofProcessor processProofWithZipFile:](self=0x000060000008e6f0, _cmd="processProofWithZipFile:", inPartialZipPath=0x0000608000279300) + 508 at ProofProcessor.m:118 frame #8: 0x00007fff91842e92 Foundation`__NSThread__main__ + 1345 frame #9: 0x00007fff8fa8b05a libsystem_pthread.dylib`_pthread_body + 131 frame #10: 0x00007fff8fa8afd7 libsystem_pthread.dylib`_pthread_start + 176 frame #11: 0x00007fff8fa883ed libsystem_pthread.dylib`thread_start + 13 thread #8: tid = 0xf3c49, 0x00007fff8951f4de libsystem_kernel.dylib`mach_msg_trap + 10, name = 'com.apple.NSURLConnectionLoader' frame #0: 0x00007fff8951f4de libsystem_kernel.dylib`mach_msg_trap + 10 frame #1: 0x00007fff8951e64f libsystem_kernel.dylib`mach_msg + 55 frame #2: 0x00007fff8a7cdeb4 CoreFoundation`__CFRunLoopServiceMachPort + 212 frame #3: 0x00007fff8a7cd37b CoreFoundation`__CFRunLoopRun + 1371 frame #4: 0x00007fff8a7ccbd8 CoreFoundation`CFRunLoopRunSpecific + 296 frame #5: 0x00007fff88005420 CFNetwork`+[NSURLConnection(Loader) _resourceLoadLoop:] + 434 frame #6: 0x00007fff91842e92 Foundation`__NSThread__main__ + 1345 frame #7: 0x00007fff8fa8b05a libsystem_pthread.dylib`_pthread_body + 131 frame #8: 0x00007fff8fa8afd7 libsystem_pthread.dylib`_pthread_start + 176 frame #9: 0x00007fff8fa883ed libsystem_pthread.dylib`thread_start + 13 thread #9: tid = 0xf3c4f, 0x00007fff8951f4de libsystem_kernel.dylib`mach_msg_trap + 10, name = 'com.apple.appkit-heartbeat' frame #0: 0x00007fff8951f4de libsystem_kernel.dylib`mach_msg_trap + 10 frame #1: 0x00007fff8951e64f libsystem_kernel.dylib`mach_msg + 55 frame #2: 0x00007fff8f2c16d7 CoreGraphics`_CGSSynchronizeWindowBackingStore + 110 frame #3: 0x00007fff8f2850f7 CoreGraphics`CGSWindowSynchronizeBacking + 40 frame #4: 0x00007fff8f284dd8 CoreGraphics`lock_window_backing + 910 frame #5: 0x00007fff8f28491b CoreGraphics`CGSDeviceLock + 52 frame #6: 0x00007fff87ca4f94 libRIP.A.dylib`ripd_Lock + 40 frame #7: 0x00007fff87ca38dd libRIP.A.dylib`RIPLayerBltImage + 283 frame #8: 0x00007fff87ca3591 libRIP.A.dylib`ripc_RenderImage + 265 frame #9: 0x00007fff87ca9643 libRIP.A.dylib`ripc_EndLayer + 1204 frame #10: 0x00007fff8f299517 CoreGraphics`CGContextEndTransparencyLayer + 53 frame #11: 0x00007fff8824719a CoreUI`CUICoreThemeRenderer::DrawProgressBar(CUIDescriptor const*) + 2904 frame #12: 0x00007fff88242ea9 CoreUI`CUICoreThemeRenderer::Draw(CUIDescriptor const*, CGAffineTransform, CUIReturnInfo&) + 405 frame #13: 0x00007fff88216391 CoreUI`CUIRenderer::Draw(CGRect, CGContext*, __CFDictionary const*, __CFDictionary const**) + 2275 frame #14: 0x00007fff88252d6e CoreUI`CUIDraw + 217 frame #15: 0x00007fff8ded8ada AppKit`__44-[NSAppearance _drawInRect:context:options:]_block_invoke + 64 frame #16: 0x00007fff8de46f6b AppKit`-[NSCompositeAppearance _callCoreUIWithBlock:] + 183 frame #17: 0x00007fff8ded8a93 AppKit`-[NSAppearance _drawInRect:context:options:] + 127 frame #18: 0x00007fff8e1d9e84 AppKit`-[NSProgressIndicator _drawBar:] + 498 frame #19: 0x00007fff8e140787 AppKit`-[NSProgressIndicator heartBeat:] + 2091 frame #20: 0x00007fff8e13fbc5 AppKit`-[NSUIHeartBeat _heartBeatThread:] + 1738 frame #21: 0x00007fff91842e92 Foundation`__NSThread__main__ + 1345 frame #22: 0x00007fff8fa8b05a libsystem_pthread.dylib`_pthread_body + 131 frame #23: 0x00007fff8fa8afd7 libsystem_pthread.dylib`_pthread_start + 176 frame #24: 0x00007fff8fa883ed libsystem_pthread.dylib`thread_start + 13 Sent from iCloud's ridiculous UI, so, sorry about the formatting _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
