Sleep wake failures and spotlight endlessly indexing

Hi i recently installed mac os sonoma on my 2017 macbook pro

After that every time i close the lid and leave it for the night next day i cant wake from sleep and i get the error that my mac restarted because of an problem\

Also every restart spotlight decides to reindex everything and in the meanwhile chug up like 10 percent of my battery life.

Anybody know how to fix that?

Heres the log for the wake failure:

Sleep Wake failure in EFI

Failure code:: 0x0171260e 0x0000001f

Please IGNORE the below stackshot

Date/Time: 2024-10-20 10:31:21.894 +0200

OS Version: ??? ??? (Build ???)

Architecture: x86_64

Report Version: 49

Incident Identifier: 2B00C004-3FCE-47F9-802F-A27E27996495

Data Source: Stackshots

Shared Cache: 0558ADBC-51E6-35A7-9A10-A10A1291DF47 slid base address 0x7ff81120c000, slide 0x1120c000 (System Primary)

Shared Cache: 13DC46A8-F218-3150-A613-C80955B78295 slid base address 0x7ff8000fd000, slide 0xfd000 (DriverKit)

Event: Sleep Wake Failure

Duration: 0.00s

Steps: 1

Boot args: keepsyms=1 debug=0x100 -lilubetaall ipc_control_port_options=0 -nokcmismatchpanic

Time Awake Since Boot: 15s

Process: swd [354]

Shared Cache: 0558ADBC-51E6-35A7-9A10-A10A1291DF47 slid base address 0x7ff81120c000, slide 0x1120c000 (System Primary)

Architecture: x86_64

Footprint: 484 KB

Time Since Fork: 1s

Num samples: 1 (1)

Num threads: 1

Thread 0x8fd 1 sample (1) priority 4 (base 4)

<thread QoS background (requested background), thread darwinbg, process darwinbg, IO tier 2>

1 start + 1909 (dyld + 25413) [0x7ff8112bc345] 1

1 ??? [0x108e265ce] 1

1 ??? [0x108e2635e] 1

1 __stack_snapshot_with_config + 10 (libsystem_kernel.dylib + 49026) [0x7ff811612f82] 1

*1 ??? [0xffffff80003c0db6] 1

*1 ??? [0xffffff8000a55170] 1

*1 ??? [0xffffff800094ecc0] 1

*1 ??? [0xffffff80003e70d1] 1

*1 ??? [0xffffff80003e696a] 1

*1 ??? [0xffffff800042688d] (running) 1

Binary Images:

0x7ff8112b6000 - 0x7ff81134681f dyld (1165.3) <3A3CC221-017E-30A8-A2D3-0DB1B0E5D805> /usr/lib/dyld

0x7ff811607000 - 0x7ff811641ff7 libsystem_kernel.dylib (10063.141.1.700.5) <2442268F-A168-398B-986D-F51A5B77CED1> /usr/lib/system/libsystem_kernel.dylib

submitted by /u/Confident-Ratio-5101
[link] [comments]