[Webkit-unassigned] [Bug 241927] New: Watchdog doesn't work as expected for some tail calls

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 23 12:50:10 PDT 2022


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

            Bug ID: 241927
           Summary: Watchdog doesn't work as expected for some tail calls
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: yijia_huang at apple.com

Options "--watchdog=1000 --watchdog-exception-ok" suppose to let jsc terminate a hanging Javascript program with a time out 1000ms. However, the options fail on this example with a ToT build.
```
function foo(a) {
    'use strict';
    return foo(a, 0);
}

foo(1);
```

-- 
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/20220623/b609fefb/attachment.htm>


More information about the webkit-unassigned mailing list