[Webkit-unassigned] [Bug 201028] [WebAssembly] iOS 13 RangeError: Maximum call stack size exceeded.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 31 16:27:00 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=201028

--- Comment #7 from Joseph Fradley <joe.fradley at gmail.com> ---
I measured the call stack depth using the following simple program:
/////////
void recurseHere(int cnt)
{
  if (cnt % 100 == 0)
    printf("recurseHere: %d\n", cnt);
  recurseHere(++cnt);
}

int main()
{
  recurseHere(0);
  return 0;
}
////////

I also measured the max stack size via a different simple program. Below are the results.

Max Call Stack Depth | Max Stack Size | OS          | Browser | Device
11,000+              | 5242848        |iOS 12.3.1   | Safari  | iPad Pro 10.5”
900+                 | 5242848        |iOS 13.2     | Safari  | iPad Pro 12.9”
900+                 | 5242848        |iOS 13.2     | Chrome  | iPad Pro 12.9”
17,800+              | 5242848        |macOS 10.15.1| Chrome  | MacBook 
16,700+              | 5242848        |macOS 10.15.1| Safari  | MacBook


iOS 13 has an order of magnitude less 'Max Call Stack Depth' from iOS 12, even though the 'Max Stack Size' is the same.

I tried throwing in different Sleep() calls to see if it effected it as other comments suggested but didn't see any difference.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20191031/e2b375a4/attachment.htm>


More information about the webkit-unassigned mailing list