Closed Bug 537854 Opened 15 years ago Closed 15 years ago

"Assertion failure: !(sprop->flags & SPROP_IS_METHOD)" or "Assertion failure: !sprop->isMethod(), at ../jsscope.cpp" with watch

Categories

(Core :: JavaScript Engine, defect, P1)

defect

Tracking

()

RESOLVED FIXED
mozilla1.9.3a2
Tracking Status
blocking2.0 --- betaN+

People

(Reporter: jruderman, Assigned: brendan)

References

Details

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

Attachments

(1 file)

({x:function(){}}).watch('x',function(){});
Assertion failure: !(sprop->flags & SPROP_IS_METHOD), at ../jsscope.cpp:1496 Affects PPC and ARM, but not x86.
This assertion was added in rev bb4f39064bf0. user: Robert Sayre date: Tue Dec 01 15:49:15 2009 -0500 summary: Relanding: Bye-bye middle-deletes and their O(n^2) worst case complexity; hello dictionary-mode scopes (473228, r=jorendorff). Backed out changeset ee7bfc1923ad
autoBisect shows this is probably related to bug 529837: The first bad revision is: changeset: 35214:a71067721eb0 user: Brendan Eich date: Tue Nov 24 15:15:37 2009 -0800 summary: Undo hackaround for bug 529837. I am not sure why autoBisect points to a different checkin, and the testcase in comment #0 affects both 32-bit and 64-bit in Snow Leopard 10.6, in contrary to comment #1.
Blocks: 529837
Keywords: regression
Hardware: PowerPC → All
$ ./js-dbg-32-tm-darwin js> ({x:function(){}}).watch('x',function(){}); Assertion failure: !sprop->isMethod(), at ../jsscope.cpp:1472 Bus error Now asserts in a slightly different assert message on TM tip without -j in a debug js build.
blocking2.0: --- → ?
Summary: "Assertion failure: !(sprop->flags & SPROP_IS_METHOD)" with watch → "Assertion failure: !(sprop->flags & SPROP_IS_METHOD)" or "Assertion failure: !sprop->isMethod(), at ../jsscope.cpp" with watch
After the assertion morphed, this assertion is now occurring somewhat more often in jsfunfuzz.
Attached patch fix assertion (deleted) — Splinter Review
Assignee: general → brendan
Status: NEW → ASSIGNED
Attachment #427917 - Flags: review?(mrbkap)
OS: Mac OS X → All
Priority: -- → P1
Target Milestone: --- → mozilla1.9.3a2
Attachment #427917 - Flags: review?(mrbkap) → review+
Whiteboard: fixed-in-tracemonkey
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
blocking2.0: ? → betaN+
Automatically extracted testcase for this bug was committed: https://hg.mozilla.org/mozilla-central/rev/efaf8960a929
Flags: in-testsuite+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: