Something trying to open Safari during sleep

When I re-open my MacBook Pro M1 (Ventura) after sleep, I get multiple (10 or so) small windows that look like this:



Pressing the (?) button brings up a blank window.


How can I track down what piece of software is trying to open Safari during sleep? And this is DESPITE the fact that Safari was already open before, during, and after the sleep period.


Thanks

MacBook Pro 13″, macOS 11.5

Posted on Feb 22, 2023 3:10 PM

Reply
Question marked as Top-ranking reply

Posted on Feb 24, 2023 8:56 AM

Hey davidfromcarlton,


We recommend booting into safe mode to determine if the issue is related to software that loads when the Mac boots up. If the issue doesn't happen in safe mode, then the issue appears to be related to app/software that starts when the Mac starts.


For information on booting into safe mode, click here: Start up your Mac in safe mode. After testing in safe mode, restart normally to see if issue is resolved.


If still not working in normal mode, you'd want to isolate the app/software that's causing the issue. To isolate, follow the steps below or in this article: Remove login items to resolve startup problems on your Mac.

1. On your Mac, choose Apple menu  > System Settings, click General  in the sidebar, then click Login Items on the right. (You may need to scroll down.)
2. Make a list of the login items in the Open at Login list—you’ll need to remember them later.
3. Select all of the login items, then click the Remove button .
4. Choose Apple menu  > Restart.
5. If this solves the problem, open Login Items settings again, add the login items one at a time, and restart your Mac after adding each one.

When the problem occurs again, follow the steps above to remove only the last login item you added.

Hope this helps. Take cafe.


Similar questions

3 replies
Question marked as Top-ranking reply

Feb 24, 2023 8:56 AM in response to davidfromcarlton

Hey davidfromcarlton,


We recommend booting into safe mode to determine if the issue is related to software that loads when the Mac boots up. If the issue doesn't happen in safe mode, then the issue appears to be related to app/software that starts when the Mac starts.


For information on booting into safe mode, click here: Start up your Mac in safe mode. After testing in safe mode, restart normally to see if issue is resolved.


If still not working in normal mode, you'd want to isolate the app/software that's causing the issue. To isolate, follow the steps below or in this article: Remove login items to resolve startup problems on your Mac.

1. On your Mac, choose Apple menu  > System Settings, click General  in the sidebar, then click Login Items on the right. (You may need to scroll down.)
2. Make a list of the login items in the Open at Login list—you’ll need to remember them later.
3. Select all of the login items, then click the Remove button .
4. Choose Apple menu  > Restart.
5. If this solves the problem, open Login Items settings again, add the login items one at a time, and restart your Mac after adding each one.

When the problem occurs again, follow the steps above to remove only the last login item you added.

Hope this helps. Take cafe.


Feb 23, 2023 3:46 PM in response to davidfromcarlton

Hi davidfromcarlton,


Welcome to Apple Support Communities. We recommend to use Activity Monitor on your Mac and see which application or process is not responding. This may help determine the application that's causing this error message. Here's how:


"Quit an app or process in Activity Monitor on Mac


You can use Activity Monitor to quit a process, even if it’s in a loop or not responding. You can also send a signal to a process to terminate it. If you attempt to quit a process you don’t own, you may be required to authenticate as an administrator.

  1. In the Activity Monitor app  on your Mac, under the Process Name list, select the app or process you want to quit. An unresponsive process is marked with (Not Responding).


Note: The Process Name list is not available in the Cache tab listings. 


2. Click the Stop button  in the upper-left corner of the Activity Monitor window (or use the Touch Bar).


3. Choose one of the following options:

    • Quit: This is the same as choosing File > Quit within an app. The process quits when it’s safe to do so. If quitting the process could cause data loss or interfere with another app, the process doesn’t quit. 


  • Force Quit: The process quits immediately. If the process has files open, you may lose data. If the process is used by other apps or processes, those apps or processes could experience problems.


To see if a process is used by another process, choose View > All Processes, Hierarchically."


Following these steps may help and is outlined in this helpful article: Quit an app or process in Activity Monitor on Mac - Apple Support


Kind regards.


Feb 23, 2023 10:20 PM in response to bryanr14

Hi Bryan. I've had a look at what's running in the background, and the hierarchical view is definitely helpful. However, it doesn't really tell me (a) which of those apps might be trying to open Safari—especially given the number with arcane names such as apsd, appstoreagent, etc. or (b) which of those is not suspending its process during sleep. Note that this is a persistent problem which survives restarts.


I'm wondering if I can use Console to record process messages might help, but if so—how?

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.

Something trying to open Safari during sleep

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