Re: Window updates stall on headless Mac mini
Re: Window updates stall on headless Mac mini
- Subject: Re: Window updates stall on headless Mac mini
- From: Ken Thomases <email@hidden>
- Date: Sat, 19 Mar 2016 00:12:39 -0500
On Mar 18, 2016, at 3:25 PM, Steve Mills <email@hidden> wrote:
>
> Here's the stalled thread's backtrace:
>
> * 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
> …
Why are you running the main run loop? For how long are you running it? Why aren't you running it in a private mode if it's for private purposes? Are you generally letting the main event loop run normally?
The main thread is blocked waiting on some other thread. So, what are the other threads doing?
Regards,
Ken
_______________________________________________
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