Closed Bug 455973 Opened 16 years ago Closed 16 years ago

TM: "Assertion failure: !cx->throwing" with getter that throws

Categories

(Core :: JavaScript Engine, defect, P2)

defect

Tracking

()

VERIFIED FIXED
mozilla1.9.1

People

(Reporter: jruderman, Assigned: brendan)

Details

(Keywords: assertion, testcase, verified1.9.1)

Attachments

(1 file)

This script triggers an assertion failure when pasted into js> or fed to it on the command line. -j must be enabled. for (let i = 0; i < 5; ++i) void (this["y" + i] = ""); this.__defineGetter__("z", function () { throw 2; }); for (let j = 0; j < 2; ++j) { [1 for each (q in this) if ('')]; } Assertion failure: !cx->throwing, at jsinterp.cpp:6314
Related to bug 455982?
Status: NEW → ASSIGNED
Flags: blocking1.9.1?
OS: Mac OS X → All
Priority: -- → P2
Hardware: PC → All
Target Milestone: --- → mozilla1.9.1b1
Assignee: general → brendan
Target Milestone: mozilla1.9.1b1 → mozilla1.9.1
Obvious in hindsight -- if we leave trace execution with an exception pending, we had better goto error and try to handle or else propagate it. /be
Attachment #342008 - Flags: review?(mrbkap)
Attachment #342008 - Flags: review?(mrbkap) → review+
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Flags: in-testsuite+
Flags: in-litmus-
Flags: blocking1.9.1? → blocking1.9.1+
Keywords: fixed1.9.1
v 1.9.1, 1.9.2
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: