Unofficial archive. This is a read-only, community-run archive of the Apple Support Community. It is not affiliated with or endorsed by Apple Inc.

Safari crashes when pop-up prompts appear in Private Browsing

Hello,


I have recently been encountering an issue in Safari, specifically in Private Browsing where any pop-up prompts, such as Google log in prompts, although it's not limited to only that, causes Safari to abruptly quit.


This issue occurs after clearing cache, cookies, trying in safe mode, and reinstalling macOS, so I don't think it's an issue with the device to the best of my knowledge although I may be wrong.


Please let me know if anyone also has this issue or any ideas on how to solve it. Thanks.

11 replies

Yep, it’s a Safari bug—nothing you did wrong.


  • Where it happens for me: Safari 18.5 (macOS 15.x) especially when you’re in Private Browsing and a site tries to open an OAuth/social-login popup (Google, Facebook, etc.).
  • What you see: Safari crashes instantly. Same thing on lots of sites, not just yours.
  • Status: Apple has already flagged the crash; it’s fixed in the Safari 18.6 beta / Tech Preview.
  • Work-around: If it's your site, you can skip the popup. Let the social login "popup" open in a new tab and it won’t crash.


Safari 18.5’s WebKit hits a crash in SOAuthorizationCoordinator when an OAuth pop-up opens in Private Browsing, so any Google/Facebook login window nukes the browser.


That’s really all there is until the next Safari update rolls out.


Even still, you might want to wait a little longer if it is your website because everybody won't have their browser updated right away.

100% repeatable with a simple bit of html code. Save this, open in safari 18.5 in private mode, click the link, instant crash.


<html>

<body>

<a href="https://foo" target="_blank">click</a>

</html>

Marton82 wrote:

I have exactly the same problem, since my OS update.

Please let me know if it is fixed!


Update to current, check again, then report it to Apple: Product Feedback - Apple


I believe I have isolated the issue.


Starting with a fresh macOS install, no crashes. As soon as you turn on the profiles feature within Safari, it begins to crash, and turning off the feature does not stop the crashing (it's irreversible).


Hope this is resolved by Apple soon.

That code works fine for me, but the following causes a crash if opened in private mode:


<html>
<body>
<a href="#" onclick="window.open('https://example.com', '_blank', 'width=600,height=400,left='+(screen.width/2-300)+',top='+(screen.height/2-200)); return false;">Click</a>
</body>
</html>


This is happening to me as well. Started today after I did an IOS Mac update. I'm using IOS Sequoia 15.4.1 (24E263).

Indeed I noticed this as well. Also recently noticed it appears to be limited to Private Browsing. I switched over to non-private and the issue went away. Confirmed the offending websites had Pop-ups "allowed", so it wasn't that.


Will have to wait for a bug fix.

Ive never used profiles, and it's happening, so there may be multiple ways to trigger this bug.


I sent a report to the security and privacy link provided, feels like a black hole though. I won't hold my breath.

I have exactly the same problem, since my OS update.


Please let me know if it is fixed!