Closed Bug 361571 Opened 13 years ago Closed 13 years ago

"Assertion failure: fp->scopeChain == parent" with watch, setter, eval

Categories

(Core :: JavaScript Engine, defect, P2, critical)

PowerPC
macOS
defect

Tracking

()

VERIFIED FIXED
mozilla1.8.1

People

(Reporter: jruderman, Assigned: mrbkap)

References

(Blocks 1 open bug)

Details

(4 keywords)

Attachments

(1 file)

js> this.__defineSetter__('y', eval); this.watch('y', function () { return ""; }); y = 1;
Assertion failure: fp->scopeChain == parent, at jsfun.c:614

Seems harmless in opt.
Assignee: general → mrbkap
Status: NEW → ASSIGNED
Attachment #246475 - Flags: review?(brendan)
Priority: -- → P2
Target Milestone: --- → mozilla1.8.1
Comment on attachment 246475 [details] [diff] [review]
Give the pseudo frame a scopeChain

This should go into 1.8.x branches.

/be
Attachment #246475 - Flags: review?(brendan)
Attachment #246475 - Flags: review+
Attachment #246475 - Flags: approval1.8.1.1?
Attachment #246475 - Flags: approval1.8.0.9?
Comment on attachment 246475 [details] [diff] [review]
Give the pseudo frame a scopeChain

approved for 1.8/1.8.0 branches, a=dveditz for drivers
Attachment #246475 - Flags: approval1.8.1.1?
Attachment #246475 - Flags: approval1.8.1.1+
Attachment #246475 - Flags: approval1.8.0.9?
Attachment #246475 - Flags: approval1.8.0.9+
1.8 branch:   new revision: 3.56.2.12; previous revision: 3.56.2.11
1.8.0 branch: new revision: 3.56.2.1.4.6; previous revision: 3.56.2.1.4.5

Leaving open for mrbkap to commit to trunk (which is closed atm for 1.9alpha).

/be
Fixed everywhere now.
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Checking in regress-361571.js;
/cvsroot/mozilla/js/tests/js1_5/Regress/regress-361571.js,v  <--  regress-361571.js
initial revision: 1.1
done
Flags: in-testsuite+
verified fixed 20061201 1.8.0.9 windows/linux/mac*, 1.8.1.1 windows/linux/mac*, 1.9 windows/linux
Status: RESOLVED → VERIFIED
No longer blocks: 349611
Blocks: 349611
catch the indirect eval exception on trunk.

/cvsroot/mozilla/js/tests/js1_5/extensions/regress-361571.js,v  <--  regress-361571.js
new revision: 1.3; previous revision: 1.2
You need to log in before you can comment on or make changes to this bug.