Closed Bug 885986 Opened 11 years ago Closed 11 years ago

Crash [@ js::EncapsulatedPtr]

Categories

(Core :: JavaScript Engine, defect)

x86_64
macOS
defect
Not set
critical

Tracking

()

RESOLVED FIXED
mozilla24

People

(Reporter: gkw, Unassigned)

References

Details

(Keywords: crash, regression, testcase)

Crash Data

Attachments

(1 file)

Attached file stack
evalcx("\
    function x(y) {\
        schedulegc(1);\
        print(x);\
    };\
    new x\
", newGlobal())

crashes js debug shell on m-c changeset cea75ce9a559 fairly intermittently with --ion-parallel-compile=on at js::EncapsulatedPtr
Crash Signature: [@ js::EncapsulatedPtr<js::BaseShape, unsigned long>::get()]
autoBisect shows this is probably related to the following changeset:

The first bad revision is:
changeset:   http://hg.mozilla.org/mozilla-central/rev/f5eca934fa16
user:        Jan de Mooij
date:        Fri Jun 21 08:28:06 2013 +0200
summary:     Bug 881902 - Remove ContextStack and StackSpace. r=luke,njn
Blocks: 881902
Flags: needinfo?(jdemooij)
The follow-up fix I landed for bug 881902 fixes this for me. It has been on inbound for some time now and it should be in the next m-c merge.
Flags: needinfo?(jdemooij)
It would be great if you could confirm comment 2 :)
Flags: needinfo?(gary)
Here's another testcase:

x = [];
x[0] = new(function(y) {
    gc()
})();
gc();


I've confirmed that both this testcase and the one in comment 0 do not reproduce with m-i rev f22c958c6187.

The testcases should be landed though.
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: needinfo?(gary) → in-testsuite?
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: