Bug 258496

Summary: Our website crashed on the Safari 17 and the cause of the error is unknown.
Product: WebKit Reporter: towerchen <cyt528300>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Blocker CC: bfulgham, cdumez, simon.fraser, zalan
Priority: P2    
Version: Safari 17   
Hardware: Unspecified   
OS: Unspecified   

Description towerchen 2023-06-24 19:55:47 PDT
Safari Version: 17.0 (19616.1.14.11.11)

Crash Appearance: A message "This page was reloaded because a problem occurred" appeared at the top of the page.

Url: https://doc.weixin.qq.com/txdoc/word?docid=w2_AYMA0QYzADstD7tL6DWRmyKD5C6r5&scode=AEsAQweZACQRMKCyAgAYMA0QYzADs&type=0&sid=z7VobYySQy0uUW5aAEQ3RAAA

PS: To access our website, you need to download the WeChat app, register and then log in by scanning the qrcode.
Comment 1 Simon Fraser (smfr) 2023-06-25 11:32:48 PDT
If you can provide a way to reproduce the crash without a WeChat login, that would be helpful.

If you open Console.app it should show crash logs for com.apple.WebKit.WebContent. If you can find any, please attach them.
Comment 2 Chris Dumez 2023-06-25 19:04:36 PDT
I clicked the URL above and logged in via the WeCom app on my phone. The URL loaded a word document with content like so:
```
Crash on Safari 17.0 (19616.1.14.11.11)

Crash on Safari 17.0 (19616.1.14.11.11)
Crash on Safari 17.0 (19616.1.14.11.11)
Crash on Safari 17.0 (19616.1.14.11.11)
Crash on Safari 17.0 (19616.1.14.11.11)
Crash on Safari 17.0 (19616.1.14.11.11)
Crash on Safari 17.0 (19616.1.14.11.11)
Crash on Safari 17.0 (19616.1.14.11.11)
```

I do not see any crash. I am running Safari Version 17.0 (19616.1.18.1) so a bit more recent than yours. It is possible the crash has been fixed already or that we need more information to reproduce the crash.
Comment 3 Chris Dumez 2023-06-25 19:32:30 PDT
(In reply to Chris Dumez from comment #2)
> I clicked the URL above and logged in via the WeCom app on my phone. The URL
> loaded a word document with content like so:
> ```
> Crash on Safari 17.0 (19616.1.14.11.11)
> 
> Crash on Safari 17.0 (19616.1.14.11.11)
> Crash on Safari 17.0 (19616.1.14.11.11)
> Crash on Safari 17.0 (19616.1.14.11.11)
> Crash on Safari 17.0 (19616.1.14.11.11)
> Crash on Safari 17.0 (19616.1.14.11.11)
> Crash on Safari 17.0 (19616.1.14.11.11)
> Crash on Safari 17.0 (19616.1.14.11.11)
> ```
> 
> I do not see any crash. I am running Safari Version 17.0 (19616.1.18.1) so a
> bit more recent than yours. It is possible the crash has been fixed already
> or that we need more information to reproduce the crash.

I tried older versions of Safari, including Version 17.0 (19616.1.14, 19616) and it still didn't crash for me. I think we're going to need more information / better reproduction steps.
Comment 4 towerchen 2023-06-26 05:02:32 PDT
Thank you for your reply. The crashing issue has been fixed in the recently released macOS Sonoma Developer Beta 2. Perhaps this issue can only be replicated in macOS Sonoma Developer Beta 1. We are now guiding users to upgrade to the beta version to solve this problem.