Bug 227421 - REGRESSION: RangeError: Maximum call stack size exceeded in game
Summary: REGRESSION: RangeError: Maximum call stack size exceeded in game
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebAssembly (show other bugs)
Version: WebKit Nightly Build
Hardware: Mac (Apple Silicon) macOS 11
: P2 Normal
Assignee: Nobody
Keywords: InRadar
Depends on:
Reported: 2021-06-25 23:36 PDT by Tom Rothamel
Modified: 2021-06-28 19:32 PDT (History)
1 user (show)

See Also:

Console.txt (3.60 KB, text/plain)
2021-06-25 23:36 PDT, Tom Rothamel
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Rothamel 2021-06-25 23:36:45 PDT
Created attachment 432322 [details]

I've been getting a "RangeError: Maximum call stack size exceeded", running the example at https://share.renpy.org/tq/ . This works fine on Chrome and Firefox, and worked fine on an older version of Mobile Safari - I have feedback that this issue was introduced in Mobile Safari in iOS 14.5.1 - games worked fine in Mobile Safari before that.  I've also been able to repeat it on my M1 Mac Mini. 

It's also present on the r279306 webkit build archive. 

To reproduce:

* Go to that URL. On iOS, this should cause the crash immediately. On macOS, click 'Start' and 'Prefs'. 

The Webassembly is Ren'Py, a game engine based on Python 2.7, compiled using Emscripten in Asyncify mode. The stack doesn't appear overly large to me, with only 100 calls. I've attached the console log. 

Please let me know if there's anything to do I can help. I've been getting quite a bit of feedback from end uses that are unable run run updates of games they've been playing on iOS devices.
Comment 1 Radar WebKit Bug Importer 2021-06-28 19:32:02 PDT