Sleep Wake Failure: Reboots only after upgrading to High Sierra

I have spent the last month dealing with the sleep wake failure ordeal.


When High Sierra was released I took the upgrade like I always do. When my iMac goes to sleep I will be in the other room and can hear my system rebooting. The startup sound plays twice. Then the apple logo appears on the screen with and progress bar (as if something were installing) Once High Sierra starts it displays a message "Your computer was restarted because of a problem. "Sleep Wake Failure"


I have contacted Apple support on several occasions with no luck.

I have unplugged the cord - removed it from the computer for 15 seconds to reset the smc

I have reset the NVRAM

I have backed up my system using time machine and used disk utility on internet recovery to erase my iMac

I have done a fresh install of Mac OS (High Sierra) with Time Machine backup and a separate time without a backup

I have started in safe mode

Mac OS High Sierra 11.0.3

Even after doing all these tasks my iMac still reboots when in sleep mode.


I have had my iMac for several years and this has never happened before. Now it cant stop happening.


Any help would be greatly appreciated.

iMac, iOS 11.0.3

Posted on Oct 27, 2017 9:43 AM

Reply
Question marked as Top-ranking reply

Posted on Nov 16, 2017 2:58 PM

Is yours with the stock SSD?


After discussions with OWC and others, it does seem like Apple has seriously mis-calculated their power management capabilities.


We resolved the issue by opening up terminal and running:


sudo pmset standby 0


This disables standby which, in most cases, kicks in at about 3 hours into sleep. This will cut a lot more power to more of the system. And this is why it has issues coming back alive after a long (+3h) sleep. You actually might still have long-boot issues when rebooting or cold booting, but at least you can not have these ridiculous wake issues.


You should be good ... Try it and see.


Apple has yet to acknowledge any of the issues anyone has with their 2012-2015 MacBook and MacBook Pros. I know multiple people that Apple has charged for replacement SSD when it is obviously an engineering flaw.

198 replies

Dec 26, 2017 6:44 PM in response to McBeave

Hey Everyone. I have had this problem for about a month now. So I finally got fed up, Googled and found this thread.

Here is my sleep wake failure w/ system config. According to the only reply I've seen: Turning wireless off might solve the problem. I appreciate the solution, I will try it. But I am not going to run an ethernet cord across half the house permanently. Apple: Ball's in your court. FYI: Your iPhone software is getting wanky too. What's the deal?



Date/Time: 2017-12-26 14:02:31 -0500

OS Version: Mac OS X 10.13.2 (Build 17C88)

Architecture: x86_64

Report Version: 26



Data Source: Stackshots



Event: Sleep Wake Failure

Duration: 0.10s

Steps: 9



Hardware model: iMac13,1

Active cpus: 4



Time Awake Since Boot: 12000s









Process: kernel_task [0]

Path: /System/Library/Kernels/kernel

Architecture: x86_64

Version: Darwin Kernel Version 17.3.0: Thu Nov 9 18:09:22 PST 2017; root:xnu-4570.31.3~1/RELEASE_X86_64

Task size: 885.91 MB

CPU Time: 1.557s



Thread 0x6b 9 samples (1-9) priority 95 (base 95)

<IO tier 0>

*9 call_continuation + 23 (kernel + 2102519) [0xffffff80004014f7] 1-9

*9 ??? (kernel + 2732659) [0xffffff800049b273] 1-9

*9 thread_block_reason + 175 (kernel + 2535007) [0xffffff800046ae5f] 1-9

*9 ??? (kernel + 2538999) [0xffffff800046bdf7] 1-9

*9 machine_switch_context + 205 (kernel + 3582205) [0xffffff800056a8fd] 1-9



Thread 0x6c 9 samples (1-9) priority 95 (base 95)

<IO tier 0>

*9 call_continuation + 23 (kernel + 2102519) [0xffffff80004014f7] 1-9

*9 ??? (kernel + 2732659) [0xffffff800049b273] 1-9

*9 thread_block_reason + 175 (kernel + 2535007) [0xffffff800046ae5f] 1-9

*9 ??? (kernel + 2538999) [0xffffff800046bdf7] 1-9

*9 machine_switch_context + 205 (kernel + 3582205) [0xffffff800056a8fd] 1-9



Thread 0x6e 9 samples (1-9) priority 95 (base 95)

<IO tier 0>

*9 call_continuation + 23 (kernel + 2102519) [0xffffff80004014f7] 1-9

*9 mapping_replenish + 465 (kernel + 3505937) [0xffffff8000557f11] 1-9

*9 thread_block_reason + 175 (kernel + 2535007) [0xffffff800046ae5f] 1-9

*9 ??? (kernel + 2538999) [0xffffff800046bdf7] 1-9

*9 machine_switch_context + 205 (kernel + 3582205) [0xffffff800056a8fd] 1-9



Thread 0x6f Thread name "IOServiceTerminateThread" 9 samples (1-9) priority 81 (base 81)

<IO tier 0>

*9 call_continuation + 23 (kernel + 2102519) [0xffffff80004014f7] 1-9

*9 IOService::terminateThread(void*, int) + 132 (kernel + 8850612) [0xffffff8000a70cb4] 1-9

*9 lck_mtx_sleep + 126 (kernel + 2488062) [0xffffff800045f6fe] 1-9

*9 thread_block_reason + 175 (kernel + 2535007) [0xffffff800046ae5f] 1-9

*9 ??? (kernel + 2538999) [0xffffff800046bdf7] 1-9

*9 machine_switch_context + 205 (kernel + 3582205) [0xffffff800056a8fd] 1-9



Thread 0x7f 9 samples (1-9) priority 95 (base 95)

<IO tier 0>

*9 call_continuation + 23 (kernel + 2102519) [0xffffff80004014f7] 1-9

*9 pmInitThread + 925 (AppleIntelCPUPowerManagement + 25096) [0xffffff7f836b3208] 1-9

*9 pmSpawnThreads + 181 (AppleIntelCPUPowerManagement + 23950) [0xffffff7f836b2d8e] 1-9

*9 pmMasterIdleThread + 14 (AppleIntelCPUPowerManagement + 25141) [0xffffff7f836b3235] 1-9

*9 master_wait_for_forced_idle + 51 (AppleIntelCPUPowerManagement + 23066) [0xffffff7f836b2a1a] 1-9

*9 lck_mtx_sleep + 126 (kernel + 2488062) [0xffffff800045f6fe] 1-9

*9 thread_block_reason + 175 (kernel + 2535007) [0xffffff800046ae5f] 1-9

*9 ??? (kernel + 2538999) [0xffffff800046bdf7] 1-9

*9 machine_switch_context + 205 (kernel + 3582205) [0xffffff800056a8fd] 1-9



Thread 0x128 9 samples (1-9) priority 81 (base 81)

<IO tier 0>

*9 call_continuation + 23 (kernel + 2102519) [0xffffff80004014f7] 1-9

*9 ??? (kernel + 5188673) [0xffffff80006f2c41] 1-9

*9 ??? (kernel + 7518198) [0xffffff800092b7f6] 1-9

*9 lck_mtx_sleep + 126 (kernel + 2488062) [0xffffff800045f6fe] 1-9

*9 thread_block_reason + 175 (kernel + 2535007) [0xffffff800046ae5f] 1-9

*9 ??? (kernel + 2538999) [0xffffff800046bdf7] 1-9

*9 machine_switch_context + 205 (kernel + 3582205) [0xffffff800056a8fd] 1-9



Thread 0x1b1 9 samples (1-9) priority 81 (base 81)

<IO tier 0>

*9 call_continuation + 23 (kernel + 2102519) [0xffffff80004014f7] 1-9

*9 ??? (kernel + 8039158) [0xffffff80009aaaf6] 1-9

*9 mach_msg_receive + 178 (kernel + 2381714) [0xffffff8000445792] 1-9

*9 ipc_mqueue_receive + 119 (kernel + 2322631) [0xffffff80004370c7] 1-9

*9 thread_block_reason + 175 (kernel + 2535007) [0xffffff800046ae5f] 1-9

*9 ??? (kernel + 2538999) [0xffffff800046bdf7] 1-9

*9 machine_switch_context + 205 (kernel + 3582205) [0xffffff800056a8fd] 1-9



Thread 0x1c7 9 samples (1-9) priority 81 (base 81)

<IO tier 0>

*9 call_continuation + 23 (kernel + 2102519) [0xffffff80004014f7] 1-9

*9 ??? (kernel + 7969356) [0xffffff8000999a4c] 1-9

*9 ??? (kernel + 7518198) [0xffffff800092b7f6] 1-9

*9 lck_mtx_sleep + 126 (kernel + 2488062) [0xffffff800045f6fe] 1-9

*9 thread_block_reason + 175 (kernel + 2535007) [0xffffff800046ae5f] 1-9

*9 ??? (kernel + 2538999) [0xffffff800046bdf7] 1-9

*9 machine_switch_context + 205 (kernel + 3582205) [0xffffff800056a8fd] 1-9



Thread 0x32d 9 samples (1-9) priority 81 (base 81)

<IO tier 0>

*9 call_continuation + 23 (kernel + 2102519) [0xffffff80004014f7] 1-9

*9 ??? (kernel + 5190161) [0xffffff80006f3211] 1-9

*9 ??? (kernel + 7518198) [0xffffff800092b7f6] 1-9

*9 lck_mtx_sleep + 126 (kernel + 2488062) [0xffffff800045f6fe] 1-9

*9 thread_block_reason + 175 (kernel + 2535007) [0xffffff800046ae5f] 1-9

*9 ??? (kernel + 2538999) [0xffffff800046bdf7] 1-9

*9 machine_switch_context + 205 (kernel + 3582205) [0xffffff800056a8fd] 1-9



Thread 0x32e Thread name "ifnet_start_en0" 9 samples (1-9) priority 82 (base 82)

<IO tier 0>

*9 call_continuation + 23 (kernel + 2102519) [0xffffff80004014f7] 1-9

*9 ??? (kernel + 5226215) [0xffffff80006fbee7] 1-9

*9 msleep + 98 (kernel + 7519426) [0xffffff800092bcc2] 1-9

*9 ??? (kernel + 7518198) [0xffffff800092b7f6] 1-9

*9 lck_mtx_sleep + 126 (kernel + 2488062) [0xffffff800045f6fe] 1-9

*9 thread_block_reason + 175 (kernel + 2535007) [0xffffff800046ae5f] 1-9

*9 ??? (kernel + 2538999) [0xffffff800046bdf7] 1-9

*9 machine_switch_context + 205 (kernel + 3582205) [0xffffff800056a8fd] 1-9



Thread 0x32f 9 samples (1-9) priority 82 (base 82)

<IO tier 0>

*9 call_continuation + 23 (kernel + 2102519) [0xffffff80004014f7] 1-9

*9 ??? (kernel + 5226709) [0xffffff80006fc0d5] 1-9

*9 msleep + 98 (kernel + 7519426) [0xffffff800092bcc2] 1-9

*9 ??? (kernel + 7518198) [0xffffff800092b7f6] 1-9

*9 lck_mtx_sleep + 126 (kernel + 2488062) [0xffffff800045f6fe] 1-9

*9 thread_block_reason + 175 (kernel + 2535007) [0xffffff800046ae5f] 1-9

*9 ??? (kernel + 2538999) [0xffffff800046bdf7] 1-9

*9 machine_switch_context + 205 (kernel + 3582205) [0xffffff800056a8fd] 1-9



Thread 0x411 Thread name "dlil_input_en1" 9 samples (1-9) priority 81 (base 81)

<IO tier 0>

*9 call_continuation + 23 (kernel + 2102519) [0xffffff80004014f7] 1-9

*9 ??? (kernel + 5192751) [0xffffff80006f3c2f] 1-9

*9 ??? (kernel + 7518198) [0xffffff800092b7f6] 1-9

*9 lck_mtx_sleep + 126 (kernel + 2488062) [0xffffff800045f6fe] 1-9

*9 thread_block_reason + 175 (kernel + 2535007) [0xffffff800046ae5f] 1-9

*9 ??? (kernel + 2538999) [0xffffff800046bdf7] 1-9

*9 machine_switch_context + 205 (kernel + 3582205) [0xffffff800056a8fd] 1-9



Thread 0x412 Thread name "ifnet_start_en1" 9 samples (1-9) priority 82 (base 82)

<IO tier 0>

*9 call_continuation + 23 (kernel + 2102519) [0xffffff80004014f7] 1-9

*9 ??? (kernel + 5226215) [0xffffff80006fbee7] 1-9

*9 msleep + 98 (kernel + 7519426) [0xffffff800092bcc2] 1-9

*9 ??? (kernel + 7518198) [0xffffff800092b7f6] 1-9

*9 lck_mtx_sleep + 126 (kernel + 2488062) [0xffffff800045f6fe] 1-9

*9 thread_block_reason + 175 (kernel + 2535007) [0xffffff800046ae5f] 1-9

*9 ??? (kernel + 2538999) [0xffffff800046bdf7] 1-9

*9 machine_switch_context + 205 (kernel + 3582205) [0xffffff800056a8fd] 1-9



Thread 0x557 Thread name "IOGraphicsWorkLoop" 9 samples (1-9) priority 93 (base 81) cpu time 0.006s

<IO tier 0>

*9 call_continuation + 23 (kernel + 2102519) [0xffffff80004014f7] 1-9

*9 IOWorkLoop::threadMain() + 44 (kernel + 8974812) [0xffffff8000a8f1dc] 1-9

*9 IOWorkLoop::runEventSources() + 482 (kernel + 8977314) [0xffffff8000a8fba2] 1-9

*9 IOInterruptEventSource::checkForWork() + 261 (kernel + 8983445) [0xffffff8000a91395] 1-9

*9 IOFramebuffer::systemWork(OSObject*, IOInterruptEventSource*, int) + 125 (IOGraphicsFamily + 69611) [0xffffff7f81204feb] 1-9

*9 IOFBController::checkPowerWork(unsigned int) + 164 (IOGraphicsFamily + 42934) [0xffffff7f811fe7b6] 1-9

*9 IOFramebuffer::checkPowerWork(unsigned int) + 636 (IOGraphicsFamily + 43598) [0xffffff7f811fea4e] 1-9

*9 IONDRVFramebuffer::setAttribute(unsigned int, unsigned long) + 99 (IONDRVSupport + 18547) [0xffffff7f8124c873] 1-9

*9 IONDRVFramebuffer::ndrvSetPowerState(unsigned int) + 650 (IONDRVSupport + 19708) [0xffffff7f8124ccfc] 1-9

*9 IONDRVFramebuffer::_doControl(IONDRVFramebuffer*, unsigned int, void*) + 95 (IONDRVSupport + 8191) [0xffffff7f81249fff] 1-9

*9 NVDA::doDriverIO(unsigned int, void*, unsigned int, unsigned int) + 1118 (NVDAResman + 8400) [0xffffff7f812670d0] 1-9

*9 odbDynamicCast + 236794 (NVDAResman + 2438550) [0xffffff7f814b8596] 1-9

*9 odbDynamicCast + 201327 (NVDAResman + 2403083) [0xffffff7f814afb0b] 1-9

*9 odbDynamicCast + 195375 (NVDAResman + 2397131) [0xffffff7f814ae3cb] 1-9

*9 odbDynamicCast + 198197 (NVDAResman + 2399953) [0xffffff7f814aeed1] 1-9

*1 odbDynamicCast + 232653 (NVDAResman + 2434409) [0xffffff7f814b7569] 1

*1 delay_for_interval + 107 (kernel + 2408187) [0xffffff800044befb] 1

*1 thread_block_reason + 175 (kernel + 2535007) [0xffffff800046ae5f] 1

*1 ??? (kernel + 2538999) [0xffffff800046bdf7] 1

*1 machine_switch_context + 205 (kernel + 3582205) [0xffffff800056a8fd] (runnable) 1

*8 odbDynamicCast + 232646 (NVDAResman + 2434402) [0xffffff7f814b7562] 2-9

*8 odbDynamicCast + 232365 (NVDAResman + 2434121) [0xffffff7f814b7449] 2-9

*8 NvRmInterrupt + 96 (NVDAResman + 480470) [0xffffff7f812da4d6] 2-9

*8 insert_registration_func + 2824 (NVDAResman + 473028) [0xffffff7f812d87c4] 2-9

*8 rmFreeInternal + 1693 (NVDAResman + 216960) [0xffffff7f81299f80] 2-9

*8 NvRmDupObject + 411 (NVDAResman + 483512) [0xffffff7f812db0b8] 2-9

*1 inforomSetModeBufferState + 2236 (NVDAResman + 1492510) [0xffffff7f813d161e] 2

*1 NVDAGK100HAL::probe(IOService*, int*) + 1038324 (NVDAGK100Hal + 1042518) [0xffffff7f81659856] 2

*1 NVDAGK100HAL::probe(IOService*, int*) + 1040694 (NVDAGK100Hal + 1044888) [0xffffff7f8165a198] 2

*1 gpuExecRegOps + 55467 (NVDAResman + 1316456) [0xffffff7f813a6668] 2

*1 gpuExecRegOps + 55297 (NVDAResman + 1316286) [0xffffff7f813a65be] 2

*1 osReadRegistryBinary + 603 (NVDAResman + 455784) [0xffffff7f812d4468] (running) 2

*2 inforomSetModeBufferState + 14004 (NVDAResman + 1504278) [0xffffff7f813d4416] 3-4

*2 _gpuCheckAndLogReadFailure + 1799 (NVDAResman + 1324357) [0xffffff7f813a8545] 3-4

*2 odbDynamicCast + 15 (NVDAResman + 2201771) [0xffffff7f8147e8ab] (running) 3-4

*1 inforomSetModeBufferState + 2236 (NVDAResman + 1492510) [0xffffff7f813d161e] 5

*1 NVDAGK100HAL::probe(IOService*, int*) + 1038324 (NVDAGK100Hal + 1042518) [0xffffff7f81659856] 5

*1 NVDAGK100HAL::probe(IOService*, int*) + 1040694 (NVDAGK100Hal + 1044888) [0xffffff7f8165a198] 5

*1 gpuExecRegOps + 55467 (NVDAResman + 1316456) [0xffffff7f813a6668] 5

*1 gpuExecRegOps + 55297 (NVDAResman + 1316286) [0xffffff7f813a65be] 5

*1 osReadRegistryBinary + 603 (NVDAResman + 455784) [0xffffff7f812d4468] (running) 5

*1 inforomSetModeBufferState + 14004 (NVDAResman + 1504278) [0xffffff7f813d4416] 6

*1 _gpuCheckAndLogReadFailure + 1804 (NVDAResman + 1324362) [0xffffff7f813a854a] (running) 6

*2 inforomSetModeBufferState + 2236 (NVDAResman + 1492510) [0xffffff7f813d161e] 7-8

*2 NVDAGK100HAL::probe(IOService*, int*) + 1038324 (NVDAGK100Hal + 1042518) [0xffffff7f81659856] 7-8

*1 NVDAGK100HAL::probe(IOService*, int*) + 1040694 (NVDAGK100Hal + 1044888) [0xffffff7f8165a198] 7

*1 gpuExecRegOps + 55467 (NVDAResman + 1316456) [0xffffff7f813a6668] 7

*1 gpuExecRegOps + 55297 (NVDAResman + 1316286) [0xffffff7f813a65be] 7

*1 osReadRegistryBinary + 603 (NVDAResman + 455784) [0xffffff7f812d4468] (running) 7

*1 NVDAGK100HAL::probe(IOService*, int*) + 1040768 (NVDAGK100Hal + 1044962) [0xffffff7f8165a1e2] (running) 8

*1 inforomSetModeBufferState + 14004 (NVDAResman + 1504278) [0xffffff7f813d4416] 9

*1 _gpuCheckAndLogReadFailure + 1516 (NVDAResman + 1324074) [0xffffff7f813a842a] (running) 9



Thread 0x565 Thread name "dlil_input_en2" 9 samples (1-9) priority 81 (base 81)

<IO tier 0>

*9 call_continuation + 23 (kernel + 2102519) [0xffffff80004014f7] 1-9

*9 ??? (kernel + 5192751) [0xffffff80006f3c2f] 1-9

*9 ??? (kernel + 7518198) [0xffffff800092b7f6] 1-9

*9 lck_mtx_sleep + 126 (kernel + 2488062) [0xffffff800045f6fe] 1-9

*9 thread_block_reason + 175 (kernel + 2535007) [0xffffff800046ae5f] 1-9

*9 ??? (kernel + 2538999) [0xffffff800046bdf7] 1-9

*9 machine_switch_context + 205 (kernel + 3582205) [0xffffff800056a8fd] 1-9



Thread 0x566 Thread name "ifnet_start_en2" 9 samples (1-9) priority 82 (base 82)

<IO tier 0>

*9 call_continuation + 23 (kernel + 2102519) [0xffffff80004014f7] 1-9

*9 ??? (kernel + 5226215) [0xffffff80006fbee7] 1-9

*9 msleep + 98 (kernel + 7519426) [0xffffff800092bcc2] 1-9

*9 ??? (kernel + 7518198) [0xffffff800092b7f6] 1-9

*9 lck_mtx_sleep + 126 (kernel + 2488062) [0xffffff800045f6fe] 1-9

*9 thread_block_reason + 175 (kernel + 2535007) [0xffffff800046ae5f] 1-9

*9 ??? (kernel + 2538999) [0xffffff800046bdf7] 1-9

*9 machine_switch_context + 205 (kernel + 3582205) [0xffffff800056a8fd] 1-9



Thread 0x56a 9 samples (1-9) priority 97 (base 97)

<IO tier 0>

*9 call_continuation + 23 (kernel + 2102519) [0xffffff80004014f7] 1-9

*9 AppleOSXWatchdog::watchdogMainThread() + 133 (AppleOSXWatchdog + 5667) [0xffffff7f833bb623] 1-9

*9 thread_block_reason + 175 (kernel + 2535007) [0xffffff800046ae5f] 1-9

*9 ??? (kernel + 2538999) [0xffffff800046bdf7] 1-9

*9 machine_switch_context + 205 (kernel + 3582205) [0xffffff800056a8fd] 1-9



Thread 0x56c Thread name "dlil_input_en3" 9 samples (1-9) priority 81 (base 81)

<IO tier 0>

*9 call_continuation + 23 (kernel + 2102519) [0xffffff80004014f7] 1-9

*9 ??? (kernel + 5192751) [0xffffff80006f3c2f] 1-9

*9 ??? (kernel + 7518198) [0xffffff800092b7f6] 1-9

*9 lck_mtx_sleep + 126 (kernel + 2488062) [0xffffff800045f6fe] 1-9

*9 thread_block_reason + 175 (kernel + 2535007) [0xffffff800046ae5f] 1-9

*9 ??? (kernel + 2538999) [0xffffff800046bdf7] 1-9

*9 machine_switch_context + 205 (kernel + 3582205) [0xffffff800056a8fd] 1-9



Thread 0x56d Thread name "ifnet_start_en3" 9 samples (1-9) priority 82 (base 82)

<IO tier 0>

*9 call_continuation + 23 (kernel + 2102519) [0xffffff80004014f7] 1-9

*9 ??? (kernel + 5226215) [0xffffff80006fbee7] 1-9

*9 msleep + 98 (kernel + 7519426) [0xffffff800092bcc2] 1-9

*9 ??? (kernel + 7518198) [0xffffff800092b7f6] 1-9

*9 lck_mtx_sleep + 126 (kernel + 2488062) [0xffffff800045f6fe] 1-9

*9 thread_block_reason + 175 (kernel + 2535007) [0xffffff800046ae5f] 1-9

*9 ??? (kernel + 2538999) [0xffffff800046bdf7] 1-9

*9 machine_switch_context + 205 (kernel + 3582205) [0xffffff800056a8fd] 1-9



Thread 0x58e 9 samples (1-9) priority 81 (base 81)

<IO tier 0>

*9 call_continuation + 23 (kernel + 2102519) [0xffffff80004014f7] 1-9

*9 IOCommandGate::runAction(int (*)(OSObject*, void*, void*, void*, void*), void*, void*, void*, void*) + 312 (kernel + 8989096) [0xffffff8000a929a8] 1-9

*9 IOWorkQueue::processWorkCallFromSingleThreadAction(OSObject*, void*, void*, void*, void*) + 45 (IOBluetoothFamily + 217709) [0xffffff7f8224c26d] 1-9

*9 IOWorkQueue::processWorkCallFromSingleThreadWL() + 284 (IOBluetoothFamily + 218004) [0xffffff7f8224c394] 1-9

*9 IOEventSource::sleepGate(void*, unsigned int) + 76 (kernel + 8982716) [0xffffff8000a910bc] 1-9

*9 IOWorkLoop::sleepGate(void*, unsigned int) + 123 (kernel + 8976587) [0xffffff8000a8f8cb] 1-9

*9 lck_mtx_sleep + 126 (kernel + 2488062) [0xffffff800045f6fe] 1-9

*9 thread_block_reason + 175 (kernel + 2535007) [0xffffff800046ae5f] 1-9

*9 ??? (kernel + 2538999) [0xffffff800046bdf7] 1-9

*9 machine_switch_context + 205 (kernel + 3582205) [0xffffff800056a8fd] 1-9



Thread 0x6d7 Thread name "dlil_input_p2p0" 9 samples (1-9) priority 81 (base 81)

<IO tier 0>

*9 call_continuation + 23 (kernel + 2102519) [0xffffff80004014f7] 1-9

*9 ??? (kernel + 5192751) [0xffffff80006f3c2f] 1-9

*9 ??? (kernel + 7518198) [0xffffff800092b7f6] 1-9

*9 lck_mtx_sleep + 126 (kernel + 2488062) [0xffffff800045f6fe] 1-9

*9 thread_block_reason + 175 (kernel + 2535007) [0xffffff800046ae5f] 1-9

*9 ??? (kernel + 2538999) [0xffffff800046bdf7] 1-9

*9 machine_switch_context + 205 (kernel + 3582205) [0xffffff800056a8fd] 1-9



Thread 0x6d8 Thread name "ifnet_start_p2p0" 9 samples (1-9) priority 82 (base 82)

<IO tier 0>

*9 call_continuation + 23 (kernel + 2102519) [0xffffff80004014f7] 1-9

*9 ??? (kernel + 5226215) [0xffffff80006fbee7] 1-9

*9 msleep + 98 (kernel + 7519426) [0xffffff800092bcc2] 1-9

*9 ??? (kernel + 7518198) [0xffffff800092b7f6] 1-9

*9 lck_mtx_sleep + 126 (kernel + 2488062) [0xffffff800045f6fe] 1-9

*9 thread_block_reason + 175 (kernel + 2535007) [0xffffff800046ae5f] 1-9

*9 ??? (kernel + 2538999) [0xffffff800046bdf7] 1-9

*9 machine_switch_context + 205 (kernel + 3582205) [0xffffff800056a8fd] 1-9



Thread 0x6da Thread name "dlil_input_awdl0" 9 samples (1-9) priority 81 (base 81)

<IO tier 0>

*9 call_continuation + 23 (kernel + 2102519) [0xffffff80004014f7] 1-9

*9 ??? (kernel + 5192751) [0xffffff80006f3c2f] 1-9

*9 ??? (kernel + 7518198) [0xffffff800092b7f6] 1-9

*9 lck_mtx_sleep + 126 (kernel + 2488062) [0xffffff800045f6fe] 1-9

*9 thread_block_reason + 175 (kernel + 2535007) [0xffffff800046ae5f] 1-9

*9 ??? (kernel + 2538999) [0xffffff800046bdf7] 1-9

*9 machine_switch_context + 205 (kernel + 3582205) [0xffffff800056a8fd] 1-9



Thread 0x6db Thread name "ifnet_start_awdl0" 9 samples (1-9) priority 82 (base 82)

<IO tier 0>

*9 call_continuation + 23 (kernel + 2102519) [0xffffff80004014f7] 1-9

*9 ??? (kernel + 5226215) [0xffffff80006fbee7] 1-9

*9 msleep + 98 (kernel + 7519426) [0xffffff800092bcc2] 1-9

*9 ??? (kernel + 7518198) [0xffffff800092b7f6] 1-9

*9 lck_mtx_sleep + 126 (kernel + 2488062) [0xffffff800045f6fe] 1-9

*9 thread_block_reason + 175 (kernel + 2535007) [0xffffff800046ae5f] 1-9

*9 ??? (kernel + 2538999) [0xffffff800046bdf7] 1-9

*9 machine_switch_context + 205 (kernel + 3582205) [0xffffff800056a8fd] 1-9



Thread 0x925 9 samples (1-9) priority 95 (base 95)

<IO tier 0>

*9 call_continuation + 23 (kernel + 2102519) [0xffffff80004014f7] 1-9

*9 pmSlaveIdleThread + 30 (AppleIntelCPUPowerManagement + 22894) [0xffffff7f836b296e] 1-9

*9 slave_block + 37 (AppleIntelCPUPowerManagement + 22851) [0xffffff7f836b2943] 1-9

*9 lck_mtx_sleep + 126 (kernel + 2488062) [0xffffff800045f6fe] 1-9

*9 thread_block_reason + 175 (kernel + 2535007) [0xffffff800046ae5f] 1-9

*9 ??? (kernel + 2538999) [0xffffff800046bdf7] 1-9

*9 machine_switch_context + 205 (kernel + 3582205) [0xffffff800056a8fd] 1-9



Thread 0x926 9 samples (1-9) priority 95 (base 95)

<IO tier 0>

*9 call_continuation + 23 (kernel + 2102519) [0xffffff80004014f7] 1-9

*9 pmSlaveIdleThread + 30 (AppleIntelCPUPowerManagement + 22894) [0xffffff7f836b296e] 1-9

*9 slave_block + 37 (AppleIntelCPUPowerManagement + 22851) [0xffffff7f836b2943] 1-9

*9 lck_mtx_sleep + 126 (kernel + 2488062) [0xffffff800045f6fe] 1-9

*9 thread_block_reason + 175 (kernel + 2535007) [0xffffff800046ae5f] 1-9

*9 ??? (kernel + 2538999) [0xffffff800046bdf7] 1-9

*9 machine_switch_context + 205 (kernel + 3582205) [0xffffff800056a8fd] 1-9



Thread 0x927 9 samples (1-9) priority 95 (base 95)

<IO tier 0>

*9 call_continuation + 23 (kernel + 2102519) [0xffffff80004014f7] 1-9

*9 pmSlaveIdleThread + 30 (AppleIntelCPUPowerManagement + 22894) [0xffffff7f836b296e] 1-9

*9 slave_block + 37 (AppleIntelCPUPowerManagement + 22851) [0xffffff7f836b2943] 1-9

*9 lck_mtx_sleep + 126 (kernel + 2488062) [0xffffff800045f6fe] 1-9

*9 thread_block_reason + 175 (kernel + 2535007) [0xffffff800046ae5f] 1-9

*9 ??? (kernel + 2538999) [0xffffff800046bdf7] 1-9

*9 machine_switch_context + 205 (kernel + 3582205) [0xffffff800056a8fd] 1-9



Thread 0xe97 Thread name "ifnet_start_utun0" 9 samples (1-9) priority 82 (base 82)

<IO tier 0>

*9 call_continuation + 23 (kernel + 2102519) [0xffffff80004014f7] 1-9

*9 ??? (kernel + 5226215) [0xffffff80006fbee7] 1-9

*9 msleep + 98 (kernel + 7519426) [0xffffff800092bcc2] 1-9

*9 ??? (kernel + 7518198) [0xffffff800092b7f6] 1-9

*9 lck_mtx_sleep + 126 (kernel + 2488062) [0xffffff800045f6fe] 1-9

*9 thread_block_reason + 175 (kernel + 2535007) [0xffffff800046ae5f] 1-9

*9 ??? (kernel + 2538999) [0xffffff800046bdf7] 1-9

*9 machine_switch_context + 205 (kernel + 3582205) [0xffffff800056a8fd] 1-9



Thread 0x14da Thread name "ifnet_start_utun1" 9 samples (1-9) priority 82 (base 82)

<IO tier 0>

*9 call_continuation + 23 (kernel + 2102519) [0xffffff80004014f7] 1-9

*9 ??? (kernel + 5226215) [0xffffff80006fbee7] 1-9

*9 msleep + 98 (kernel + 7519426) [0xffffff800092bcc2] 1-9

*9 ??? (kernel + 7518198) [0xffffff800092b7f6] 1-9

*9 lck_mtx_sleep + 126 (kernel + 2488062) [0xffffff800045f6fe] 1-9

*9 thread_block_reason + 175 (kernel + 2535007) [0xffffff800046ae5f] 1-9

*9 ??? (kernel + 2538999) [0xffffff800046bdf7] 1-9

*9 machine_switch_context + 205 (kernel + 3582205) [0xffffff800056a8fd] 1-9



Thread 0x1d2f Thread name "ifnet_start_utun2" 9 samples (1-9) priority 82 (base 82)

<IO tier 0>

*9 call_continuation + 23 (kernel + 2102519) [0xffffff80004014f7] 1-9

*9 ??? (kernel + 5226215) [0xffffff80006fbee7] 1-9

*9 msleep + 98 (kernel + 7519426) [0xffffff800092bcc2] 1-9

*9 ??? (kernel + 7518198) [0xffffff800092b7f6] 1-9

*9 lck_mtx_sleep + 126 (kernel + 2488062) [0xffffff800045f6fe] 1-9

*9 thread_block_reason + 175 (kernel + 2535007) [0xffffff800046ae5f] 1-9

*9 ??? (kernel + 2538999) [0xffffff800046bdf7] 1-9

*9 machine_switch_context + 205 (kernel + 3582205) [0xffffff800056a8fd] 1-9



Thread 0x25c20 Thread name "thread call kernel-high #3" 9 samples (1-9) priority 92 (base 92)

<IO tier 0>

*9 call_continuation + 23 (kernel + 2102519) [0xffffff80004014f7] 1-9

*9 ??? (kernel + 2660709) [0xffffff8000489965] 1-9

*9 ??? (kernel + 2662004) [0xffffff8000489e74] 1-9

*9 IOTimerEventSource::timeoutAndRelease(void*, void*) + 82 (kernel + 9005090) [0xffffff8000a96822] 1-9

*9 IOGraphicsWorkLoop::closeGate() + 33 (IOGraphicsFamily + 34997) [0xffffff7f811fc8b5] 1-9

*9 lck_mtx_lock + 653 (kernel + 2099885) [0xffffff8000400aad] 1-9

*9 lck_mtx_lock_wait_x86 + 486 (kernel + 3573110) [0xffffff8000568576] 1-9

*9 thread_block_reason + 175 (kernel + 2535007) [0xffffff800046ae5f] 1-9

*9 ??? (kernel + 2538999) [0xffffff800046bdf7] 1-9

*9 machine_switch_context + 205 (kernel + 3582205) [0xffffff800056a8fd] 1-9



Thread 0x268e8 Thread name "thread call high #7" 9 samples (1-9) priority 93 (base 93)

<IO tier 0>

*9 call_continuation + 23 (kernel + 2102519) [0xffffff80004014f7] 1-9

*9 ??? (kernel + 2660709) [0xffffff8000489965] 1-9

*9 ??? (kernel + 2662004) [0xffffff8000489e74] 1-9

*9 IOService::pmDriverCallout(IOService*) + 52 (kernel + 8874804) [0xffffff8000a76b34] 1-9

*9 IOService::driverInformPowerChange() + 286 (kernel + 8876238) [0xffffff8000a770ce] 1-9

*9 IOFramebuffer::powerStateDidChangeTo(unsigned long, unsigned long, IOService*) + 39 (IOGraphicsFamily + 92671) [0xffffff7f8120a9ff] 1-9

*9 IOGraphicsWorkLoop::closeGate() + 33 (IOGraphicsFamily + 34997) [0xffffff7f811fc8b5] 1-9

*9 lck_mtx_lock + 653 (kernel + 2099885) [0xffffff8000400aad] 1-9

*9 lck_mtx_lock_wait_x86 + 486 (kernel + 3573110) [0xffffff8000568576] 1-9

*9 thread_block_reason + 175 (kernel + 2535007) [0xffffff800046ae5f] 1-9

*9 ??? (kernel + 2538999) [0xffffff800046bdf7] 1-9

*9 machine_switch_context + 205 (kernel + 3582205) [0xffffff800056a8fd] 1-9



Thread 0x268ea Thread name "thread call high #9" 9 samples (1-9) priority 93 (base 93) cpu time 0.004s

<IO tier 0>

*9 call_continuation + 23 (kernel + 2102519) [0xffffff80004014f7] 1-9

*9 ??? (kernel + 2660709) [0xffffff8000489965] 1-9

*9 ??? (kernel + 2662004) [0xffffff8000489e74] 1-9

*9 IOService::watchdog_timer_expired(void*, void*) + 46 (kernel + 8874446) [0xffffff8000a769ce] 1-9

*9 IOPMrootDomain::takeStackshot(bool, bool, bool) + 901 (kernel + 9379301) [0xffffff8000af1de5] 1-9

*9 stack_snapshot_from_kernel + 373 (kernel + 2238037) [0xffffff8000422655] (running) 1-9



Thread 0x97 Thread name "idle #3" 8 samples (2-9) priority 0 (base 0) idle time 9413.816s

<Thread not seen for 1 sample, IO tier 0>

*8 call_continuation + 23 (kernel + 2102519) [0xffffff80004014f7] 2-9

*8 idle_thread + 32 (kernel + 2552336) [0xffffff800046f210] 2-9

*8 processor_idle + 210 (kernel + 2550850) [0xffffff800046ec42] 2-9

*8 machine_idle + 778 (kernel + 3608746) [0xffffff80005710aa] (runnable) 2-9



Thread 0x91 Thread name "idle #1" 7 samples (1-9 with gaps of 2) priority 0 (base 0) idle time 9348.385s

<IO tier 0>

*4 call_continuation + 23 (kernel + 2102519) [0xffffff80004014f7] 1-4

*4 idle_thread + 32 (kernel + 2552336) [0xffffff800046f210] 1-4

*4 processor_idle + 210 (kernel + 2550850) [0xffffff800046ec42] 1-4

*4 machine_idle + 778 (kernel + 3608746) [0xffffff80005710aa] (runnable) 1-4

<Thread not seen for 2 samples>

*3 call_continuation + 23 (kernel + 2102519) [0xffffff80004014f7] 7-9

*3 idle_thread + 32 (kernel + 2552336) [0xffffff800046f210] 7-9

*3 processor_idle + 210 (kernel + 2550850) [0xffffff800046ec42] 7-9

*3 machine_idle + 778 (kernel + 3608746) [0xffffff80005710aa] (runnable) 7-9



Thread 0xa98a Thread name "thread call kernel #2" 2 samples (5-6) priority 81 (base 81) cpu time 1.548s

<Thread not seen for 4 samples, IO tier 0>

*2 call_continuation + 23 (kernel + 2102519) [0xffffff80004014f7] 5-6

*2 ??? (kernel + 2660709) [0xffffff8000489965] 5-6

*2 ??? (kernel + 2662004) [0xffffff8000489e74] 5-6

*2 workqueue_add_timer + 302 (pthread + 21942) [0xffffff7f811d05b6] 5-6

*1 workqueue_run_threadreq_and_unlock + 572 (pthread + 9186) [0xffffff7f811cd3e2] (running) 5

*1 workqueue_run_threadreq_and_unlock + 6 (pthread + 8620) [0xffffff7f811cd1ac] (running) 6



Thread 0x66 Thread name "idle #0" 1 sample (1) priority 0 (base 0)

<IO tier 0>

*1 call_continuation + 23 (kernel + 2102519) [0xffffff80004014f7] 1

*1 idle_thread + 32 (kernel + 2552336) [0xffffff800046f210] 1

*1 processor_idle + 210 (kernel + 2550850) [0xffffff800046ec42] 1

*1 machine_idle + 778 (kernel + 3608746) [0xffffff80005710aa] (runnable) 1



Thread 0x94 Thread name "idle #2" 1 sample (1) priority 0 (base 0)

<IO tier 0>

*1 call_continuation + 23 (kernel + 2102519) [0xffffff80004014f7] 1

*1 idle_thread + 32 (kernel + 2552336) [0xffffff800046f210] 1

*1 processor_idle + 210 (kernel + 2550850) [0xffffff800046ec42] 1

*1 machine_idle + 778 (kernel + 3608746) [0xffffff80005710aa] (runnable) 1



Binary Images:

*0xffffff7f811cb000 - 0xffffff7f811d6fff com.apple.kec.pthread 1.0 (1) <71C5BFFF-88C9-3420-8F52-029FAFF0866D> /System/Library/Extensions/pthread.kext/Contents/MacOS/pthread

*0xffffff7f811f4000 - 0xffffff7f8121afff com.apple.iokit.IOGraphicsFamily 517.22 (517.22) <2AEA02BF-2A38-3674-A187-E5F610FD65B7> /System/Library/Extensions/IOGraphicsFamily.kext/IOGraphicsFamily

*0xffffff7f81248000 - 0xffffff7f8124ffff com.apple.iokit.IONDRVSupport 517.22 (517.22) <5672A7EF-44E8-3897-90DE-DAF4C1488143> /System/Library/Extensions/IONDRVSupport.kext/IONDRVSupport

*0xffffff7f81265000 - 0xffffff7f814ecfff com.apple.nvidia.driver.NVDAResman 10.28.10 (10.2.8) <39AC3832-2295-3B7B-85F6-F69D66D46EC7> /System/Library/Extensions/NVDAResman.kext/Contents/MacOS/NVDAResman

*0xffffff7f8155b000 - 0xffffff7f81684fff com.apple.nvidia.driver.NVDAGK100Hal 10.28.10 (10.2.8) <7064CB37-CB6D-34F7-974D-DD12944BD354> /System/Library/Extensions/NVDAGK100Hal.kext/Contents/MacOS/NVDAGK100Hal

*0xffffff7f82217000 - 0xffffff7f8229cfff com.apple.iokit.IOBluetoothFamily 6.0.2 (6.0.2f2) <00685C76-3326-3C98-A546-362BB6CAD692> /System/Library/Extensions/IOBluetoothFamily.kext/Contents/MacOS/IOBluetoothFam ily

*0xffffff7f833ba000 - 0xffffff7f833bbfff com.apple.driver.AppleOSXWatchdog 1.0 (1) <B75FD221-4329-3690-9A46-45266FEE8B7B> /System/Library/Extensions/AppleOSXWatchdog.kext/Contents/MacOS/AppleOSXWatchdo g

*0xffffff7f836ad000 - 0xffffff7f836c9fff com.apple.driver.AppleIntelCPUPowerManagement 220.0.0 (220.0.0) <21E90247-D120-3022-94F2-7B989603AC54> /System/Library/Extensions/AppleIntelCPUPowerManagement.kext/Contents/MacOS/App leIntelCPUPowerManagement

*0xffffff8000200000 - 0xffffff8000bfffff kernel (4570.31.3) <87641697-A3DD-30C4-B010-E65ECE57550B> /System/Library/Kernels/kernel



================================================================

UUID: 21B7B650-0C03-455A-A958-4BC1C39FF1E7

Code: 00000002 00000014

Stackshot reason: Watchdog



Model: iMac13,1, BootROM IM131.010F.B00, 4 processors, Intel Core i5, 2.7 GHz, 8 GB, SMC 2.9f5

Graphics: NVIDIA GeForce GT 640M, NVIDIA GeForce GT 640M, PCIe, 512 MB

Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1600 MHz, 0x802C, 0x31364A544635313236344A485A3147364D32

Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1600 MHz, 0x802C, 0x31364A544635313236344A485A3147364D32

AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xF4), Broadcom BCM43xx 1.0 (7.21.190.16.1a2)

Bluetooth: Version 6.0.2f2, 3 services, 27 devices, 1 incoming serial ports

Network Service: Wi-Fi, AirPort, en1

Serial ATA Device: APPLE HDD HTS541010A9E662, 1 TB

USB Device: USB 2.0 Bus

USB Device: Hub

USB Device: FaceTime HD Camera (Built-in)

USB Device: USB 2.0 Bus

USB Device: Hub

USB Device: Hub

USB Device: BRCM20702 Hub

USB Device: Bluetooth USB Host Controller

USB Device: USB 3.0 Bus

Thunderbolt Bus: iMac, Apple Inc., 23.4

May 24, 2018 7:34 AM in response to pcpclafferty

This is only a quick response to pcpclafferty, ahead of a more detailed update on my observations since going to 10.13.5 Beta. My guess is that yours is a portable, for which the default power management settings are different from those for desktops (in my case an iMac, 21.5, late 2012). In particular your standby = 1 and hibernate = 3 are both 0 on the iMac. It is my suspicion that these settings are involved in the whole messy saga, but I have no definite understanding how.


As a working hypothesis, it seems that the actual(!) effect of the parameter 'sleep' (presumably corresponding to computer/system sleep) might be related to the problem. It appears that before my updating to the Beta the effect of 'sleep' involved going into a state similar to 'hibernate', even when my hibernate setting was 0. Now this does not seem to happen, which probably means that my iMac does not effectively 'sleep' (although I have no way of establishing this).


Since upgrading to 10.13.5 Beta, more than 2 weeks ago, remarkably, I have not had a single SWF event!! With great trepidation a couple of days back I turned on the disksleep, which initially was not ticked, so that I only have display and system sleep, in order to have the minimum of parameters active. The computer was going to auto-power-off at night, as before, mostly at night, and waking up normally. I am not confident enough to attempt changing standby = 0 and hibernate = 0, as months of SWF experience, daily!, has still not healed the scars.


In short it is my guess that your, possibly, default standby=1 and hibernate=3 may be causing the same issue as the sleep before the Beta presumably changed the effect of the latter.


Many people on this discussion have mentioned that preventing the computer from sleeping somehow removed the SWF problem, so you might try to set standby and hibernate to 0, if you are inclined to verify that hypothesis. However, this can only be a temporary cure and certainly not a professional solution to a problem of such proportions.


Apologies if the writing above is not sufficiently clearly structured. Hope to write an improved update before long.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Sleep Wake Failure: Reboots only after upgrading to High Sierra

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.