Closed Bug 563167 Opened 14 years ago Closed 14 years ago

TM: "Assertion failure: r == MONITOR_ERROR," with parse

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
critical

Tracking

()

RESOLVED FIXED

People

(Reporter: gkw, Assigned: luke)

References

Details

(Keywords: assertion, regression, testcase, Whiteboard: fixed-in-tracemonkey)

Attachments

(1 file)

(function() {
  for (var a = 0; a < 2; a++) {
    parse("\uF002")
  }
})()

asserts js debug shell on TM tip with -j at Assertion failure: r == MONITOR_ERROR, at ../jsops.cpp:906

This still asserts even with the patch from bug 563120 applied.
autoBisect shows this is probably related to bug 560798:

The first bad revision is:
changeset:   41270:04b98e71bc55
user:        Luke Wagner
date:        Mon Apr 26 09:30:06 2010 -0700
summary:     Bug 560798 - propagate errors from deep-aborted natives (r=gal)

However, this patch might just merely have exposed the problem rather than cause it..
Blocks: 560798
Attached patch patchSplinter Review
This is the same type of error as bug 563120; this time its Parse() in shell/js.cpp.  Simple fix.
Assignee: general → lw
Status: NEW → ASSIGNED
Attachment #442938 - Flags: review?(cdleary)
Comment on attachment 442938 [details] [diff] [review]
patch

Schwoops. Thanks for the fix!
Attachment #442938 - Flags: review?(cdleary) → review+
++luke for aggressive assertions all over the place
http://hg.mozilla.org/tracemonkey/rev/5ce433326103
Whiteboard: fixed-in-tracemonkey
http://hg.mozilla.org/mozilla-central/rev/5ce433326103
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: