Closed Bug 461915 Opened 17 years ago Closed 17 years ago

Crash [@ NativeToValue] with gc and generator as getters

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
critical

Tracking

()

VERIFIED FIXED

People

(Reporter: jruderman, Unassigned)

Details

(4 keywords, Whiteboard: [sg:critical?])

Crash Data

Attachments

(1 file)

Testcase from Gary: var o = {a:1,b:1,c:1,d:function(){},e:function(){}}; o.__defineGetter__('x', function(y) { yield; }); o.__defineGetter__('y', gc); [1 for each (z in o) if (NaN)] Opt: crash [@ NativeToValue] dereferencing 0x007ffffc Debug: Assertion failure: ngslots == tm->globalTypeMap->length(), at jstracer.cpp:3407 The assertion is the same as in bug 458857, but the opt behavior is different and scarier. Is this the same bug?
Flags: blocking1.9.1?
Whiteboard: [sg:critical?]
Assignee: general → igor
Assignee: igor → general
This should be tested now that bug 458851 has been fixed in tracemonkey. It looks like a dup of that bug. It WFM now. This probably means bug 458857 is a dup of bug 458851 too. Please help test and mark accordingly. Thanks, /be
This testcase WFM, but I still see bug 458857.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
I couldn't reproduce the issues with this test case.
Flags: in-testsuite? → in-testsuite+
verified no failures mozilla-central, tracemonkey modulo comment 3
Status: RESOLVED → VERIFIED
Flags: blocking1.9.1? → blocking1.9.1+
Keywords: fixed1.9.1
Keywords: fixed1.9.1
when this bug is opened, the test should be checked in.
Flags: in-testsuite+ → in-testsuite?
Crash Signature: [@ NativeToValue]
Group: core-security
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: