Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Morac

macrumors 68020
Original poster
Dec 30, 2009
2,432
755
Is it normal to see shutdown_stall... logs in the /Library/Logs/DiagnosticReports directory after shutting down a Mac?

Ventura 13.3.1 came out today so I installed it on my MacBook Air M1 (2020) while it was on battery power. I was watching it do the "preparing" stage. It originally said 30 minutes, but quickly dropped to 15 minutes. I wandered off for a few minutes and when I came back the screen was black, but the keyboard was lit up. I tapped the touchpad to wake the Mac and see where it was, but it didn't respond. I plugged it in and after a few minutes, the keyboard went off and it rebooted and looked to install the update normally. When I logged in after updating though, I got a report screen for a kernel panic which said it was caused by a watchdog timeout during shutdown.

Everything else seemed normal, so I shut down the Mac which took maybe 5 to 10 seconds, closed the screen and re-opened it. Everything was fine so I didn't think too much about it, but I later noticed that there were several shutdown_stall_*.shutdownStall file in the /Library/Logs/DiagnosticReports. I used spindump -i to decode them and they all indicated that the total CPU time of all the threads was less than half a second.

It seems odd that it would be complaining about a 1/2 second delay shutting down. Does macOS Ventura just always output a shutdown_stall_* spin file when shutting down?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.