scopeCall with -1 as line number

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 9
    • Affects Version/s: 8u20, 9
    • Component/s: core-libs
    • None
    • b02
    • generic
    • generic
    • Verified

        Hard to reproduce and reduce...
        The pasted testcase gets you the scopeCall with -1 as line number. As soon as one of the fn declaration is commented, scopeCall vanishes.

        It is observed in avatar-js dumped stacks.

        function fail() {
            throw new Error("Strange...");
        }

        var f2 = fail;
        var f3 = fail;
        var f4 = fail;
        var f5 = fail;

        try {
            fail();
        }catch(err) {
            print(err.stack);
        }

              Assignee:
              Sundararajan Athijegannathan
              Reporter:
              Jean-Francois Denise (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: