Created attachment 471736 [details] Jetsam log We are getting reports from customers that our website is crashing in Safari and WKWebView after updating to the first iOS 17.6 beta, which is easily reproducible. Attached is a Jetsam log event from my iPad after updating to the beta.
Thank you for the report! Could you please share what the website is, and the steps, so that we could reproduce too? A jetsam log doesn't provide much to look into, and a jetsam could even be correct behavior if the webpage uses too much memory (but likely not correct if it started with an OS update).
Hi Alexey, It is happening on both of our online games, https://realmahjongg.com and https://realcanasta.com, and in our iOS apps (Real Mah Jongg and Real Canasta) that use a WKWebView. In order to reproduce, one must sign up or login to play the game, and the app (or Safari) will freeze sooner or later. Sometimes it happens within a couple of minutes of playing or it could happen later on, but it happens consistently and is reproducible on multiple devices. Some of our subscribers already updated to iOS 17.6 beta and are no longer able to enjoy our games. The only way to continue the game at that point is to force close Safari or the app and start over. I'm happy to provide additional information for you to debug by reproducing the crash on my end, if you let me know what to look for or what logs you need. Another option would be for you to sign up for a free trial on our website (no credit card required), and play either game by going through the motions, and usually within 1-2 rounds you will see the crash. Or I could create a version for you to debug that auto-plays by itself, if that's easier, but that will take me some time to put together. Let me know the best approach. Thank you.
Thank you!
<rdar://problem/130531570>
@Matthew - can you share video of behavior of what is happening and also share whether you are playing with live players or computer? I created test account and used my old beat-up iPhone XS Max (with Public Preview 17.6) and played / interacted with 'realcanasta.com' and didn't get any weird behavior where the website was not behaving correctly. Appreciate if you can share more insight on above two queries. :-)
@Ahmad - I just reproduced on my iPad mini 5th gen, see this video: https://photos.app.goo.gl/oRWcgoYvYUQDa9No7 Started a new game with just computers. First round was OK. Second round froze midway at 3:41. The screen becomes unresponsive at that point. Only fix it to force exit Safari. As previously stated this crash is occurring on both our games, only on 17.6 beta. Every day customers are writing in who updated to 17.6 beta and are unable to play due to the freezing.
@Ahmad, regarding your test device, I do not know if the issue is reproducible on an iPhone because the vast majority of our customers play on iPad, and all the reports so far have come from iPad. I do not have an iPhone with the 17.6 beta installed to test on.
I submitted a report for this via feedback assistant - FB14098629, and am asking customers who updated to the 17.6 beta to do the same.
Seems like this is related to webaudio (which we make heavy use of). It's reproducible on iOS 17.6 beta by visiting https://www.macguffinandshemp.com/iOS17test/ and pressing "audio sprite loop," which crashes Safari on my iPad Mini 5th gen sooner or later. See bug 275852, which was resolved in iOS 17.5.1 but appears to be back again.
Typo in my last comment - I was referring to bug 273041, which was resolved in iOS 17.5 but seems to be back.
Please see this video reproduction of jetsam by testing Web Audio on https://www.macguffinandshemp.com/iOS17test/. Video link: https://photos.app.goo.gl/LN5AiYaMgf3pk1Lk9 The iPad on the left is an iPad mini 5th gen with iOS 17.6 beta. The iPad on the right is an iPad Air 4th gen with iOS 17.5.1. As you can see, the iPad with 17.6 beta freezes four times, at 0:05, 0:29, 1:17, and 1:27. The iPad with 17.5.1 continues without issue.
@Matthew - I am able to reproduce it with following steps: 1) Open - https://www.macguffinandshemp.com/iOS17test/ 2) Click on 'loop' multiple times It gets stuck eventually while not on iOS 17.5. Thanks for test case, it really helped. :-)
Pull request: https://github.com/apple/WebKit/pull/1349
Committed 272448.1101@safari-7618-branch (bb685c487850): <https://commits.webkit.org/272448.1101@safari-7618-branch> Reviewed commits have been landed. Closing PR #1349 and removing active labels.
Committed 280604@main (d10e8e1f3209): <https://commits.webkit.org/280604@main> Reviewed commits have been landed. Closing PR #30400 and removing active labels.
Hey everyone, Could you please let me know if the issue fix is included in iOS 17.6 beta2, or if it’s planned for the next beta? I’ve encountered the same problem. Thanks for your help!
@WayneLin the fix is NOT in beta 2. Hopefully next beta?
Hi, I seem to be encountering the same issue in iOS 18 beta. Will this be fixed in future updates as well?
Yes, this fix is expected to land in iOS 18 too. As for 17.6, it didn't make beta 3 either, but should be coming.
I can confirm this is fixed in iOS 17.6 beta 4. Thanks.
Hi, While I have confirmed this is fixed in iOS 17.6, we are still getting reports of freezing from iOS 18 beta 4. Can Apple confirm this will be fixed in iOS 18? Thanks.
This fix is included in iOS 18 beta build 22A5316j (or newer). If you are still seeing similar problems in new builds, please file a new bug.