[Webkit-unassigned] [Bug 174454] New: jsc crashes with Unexpected identifier

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 12 20:35:26 PDT 2017


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

            Bug ID: 174454
           Summary: jsc crashes with Unexpected identifier
           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: helloqirun at gmail.com

I have built a recent version using the instructions at https://trac.webkit.org/wiki/BuildingGtk

The hashtag of my build is:
commit 3f7415a21a3fd7220b07b74654bee687fafa7134


JSC crashes on the following testcase.

$ ~/jsc/WebKit/WebKitBuild/Release/bin/jsc abc.js
Error compiling builtin: Unexpected identifier 'caller'
Fatal error compiling builtin function 'foo': Unexpected identifier 'caller'1   0x7fd61460e377 /home/absozero/jsc/WebKit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18(WTFCrash+0x17) [0x7fd61460e377]
2   0x7fd613c5bc0e /home/absozero/jsc/WebKit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18(_ZN3JSC18BuiltinExecutables16createExecutableERNS_2VMERKNS_10SourceCodeERKNS_10IdentifierENS_15ConstructorKindENS_16ConstructAbilityE+0x4be) [0x7fd613c5bc0e]
3   0x423840 /home/absozero/jsc/WebKit/WebKitBuild/Release/bin/jsc() [0x423840]
4   0x7fd5ce1ff028 [0x7fd5ce1ff028]
Segmentation fault (core dumped)

$ cat abc.js
function tryGetByIdText(propertyName) {
    return ` template ${ propertyName } template `;
} {
    let get = createBuiltin(
        tryGetByIdText('caller'));
}

-- 
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/20170713/838ef181/attachment-0001.html>


More information about the webkit-unassigned mailing list