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)
Core
JavaScript Engine
Tracking
()
VERIFIED
FIXED
mozilla1.9.1
People
(Reporter: jruderman, Assigned: brendan)
Details
(Keywords: assertion, testcase, verified1.9.1)
Attachments
(1 file)
1.14 KB,
patch
|
mrbkap
:
review+
|
Details | Diff | Splinter Review |
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
Reporter | ||
Comment 1•16 years ago
|
||
Related to bug 455982?
Assignee | ||
Updated•16 years ago
|
Status: NEW → ASSIGNED
Flags: blocking1.9.1?
OS: Mac OS X → All
Priority: -- → P2
Hardware: PC → All
Target Milestone: --- → mozilla1.9.1b1
Assignee | ||
Updated•16 years ago
|
Assignee: general → brendan
Target Milestone: mozilla1.9.1b1 → mozilla1.9.1
Assignee | ||
Comment 2•16 years ago
|
||
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)
Updated•16 years ago
|
Attachment #342008 -
Flags: review?(mrbkap) → review+
Assignee | ||
Comment 3•16 years ago
|
||
Fixed on tm:
http://hg.mozilla.org/tracemonkey/rev/cf64085bfdfc
/be
Assignee | ||
Comment 4•16 years ago
|
||
Fixed on m-c:
http://hg.mozilla.org/mozilla-central/rev/cf64085bfdfc
/be
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Comment 5•16 years ago
|
||
test landed http://hg.mozilla.org/mozilla-central/rev/620a51565ddb and cvs
Flags: in-testsuite+
Flags: in-litmus-
Updated•16 years ago
|
Flags: blocking1.9.1? → blocking1.9.1+
Keywords: fixed1.9.1
Comment 6•16 years ago
|
||
v 1.9.1, 1.9.2
Status: RESOLVED → VERIFIED
Keywords: fixed1.9.1 → verified1.9.1
You need to log in
before you can comment on or make changes to this bug.
Description
•