Closed Bug 355512 Opened 19 years ago Closed 19 years ago

Crash [@ MarkGCThingChildren] involving "arguments" from generator

Categories

(Core :: JavaScript Engine, defect, P1)

defect

Tracking

()

VERIFIED FIXED
mozilla1.8.1

People

(Reporter: jruderman, Assigned: brendan)

Details

(Keywords: crash, testcase, verified1.8.1, Whiteboard: [sg:critical] js1.7 feature)

Crash Data

Attachments

(2 files, 1 obsolete file)

This is probably related to bug 355486 in some way. To reproduce: give this to the js shell as a file or by pasting. function foopy() { var f = function(){ r = arguments; d.d.d; yield 170; } try { for (var i in f()) { } } catch (iterError) { } } typeof uneval; foopy(); gc(); uneval(r); gc();
Whiteboard: [sg:critical]
Attached patch fix (obsolete) — Splinter Review
Assignee: general → brendan
Status: NEW → ASSIGNED
Attachment #241401 - Flags: review?(igor.bukanov)
Flags: blocking1.8.1?
Flags: blocking1.8.1.1?
OS: Mac OS X 10.4 → All
Hardware: Macintosh → All
Attachment #241401 - Attachment is obsolete: true
Attachment #241402 - Flags: review?(igor.bukanov)
Attachment #241401 - Flags: review?(igor.bukanov)
Comment on attachment 241402 [details] [diff] [review] better fix pointed out by Igor Marking always is good.
Attachment #241402 - Flags: review?(igor.bukanov) → review+
Attachment #241402 - Flags: approval1.8.1?
Fixed on trunk, bowdlerized bug number: Checking in jsiter.c; /cvsroot/mozilla/js/src/jsiter.c,v <-- jsiter.c new revision: 3.53; previous revision: 3.52 done /be
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Priority: -- → P1
Target Milestone: --- → mozilla1.8.1
Flags: in-testsuite+
Blocking for Fx2 RC3
Flags: blocking1.8.1? → blocking1.8.1+
Comment on attachment 241402 [details] [diff] [review] better fix pointed out by Igor Approved for RC3.
Attachment #241402 - Flags: approval1.8.1? → approval1.8.1+
Fixed on the 1.8 branch (checkin mentions attachment id): Checking in jsiter.c; /cvsroot/mozilla/js/src/jsiter.c,v <-- jsiter.c new revision: 3.17.2.23; previous revision: 3.17.2.22 done /be
Keywords: fixed1.8.1
verified fixed 1.9 20061007 windows/linux
Status: RESOLVED → VERIFIED
Whiteboard: [sg:critical] → [sg:critical] js1.7 feature
verified fixed 20061009 1.8 windows/linux/mac* 1.9 windows/linux
clearing nomination flag and security flag for fixed bug.
Group: security
Flags: blocking1.8.1.1?
/cvsroot/mozilla/js/tests/js1_7/extensions/regress-355512.js,v <-- regress-355512.js
Crash Signature: [@ MarkGCThingChildren]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: