Closed
Bug 687399
Opened 13 years ago
Closed 13 years ago
Assertion failure: copied == 0, at ../methodjit/FrameEntry.h:180
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla9
People
(Reporter: decoder, Assigned: bhackett1024)
Details
(Keywords: assertion, testcase)
Attachments
(1 file)
997 bytes,
patch
|
dvander
:
review+
|
Details | Diff | Splinter Review |
The following test assert on mozilla-central revision 06445f55f009 (options -m -n -a): if (!this.emulatedJSON) { emulatedJSON = function () { function stringify(value, whitelist) { var a, i, v; switch (typeof value) { case 'string': if (!(value.propertyIsEnumerable('length'))) { for (i = 0; i < l; i += 1) { k = whitelist[i]; if (typeof k === 'string') { if (i %= 'not visited') {} } } } } } return { stringify: stringify, }; }(); var testPairs = [ ['{"five":5}'] ] for (var i = 0; i < testPairs.length; i++) { var pair = testPairs[i]; var s = emulatedJSON.stringify(pair[1]) } }
Assignee | ||
Comment 1•13 years ago
|
||
Bogus assertion. In scripts which have switch or try blocks we don't track variables using the SSA and need to forget about known doubles when branching to a location where the slot is in a normal register (with SSA this is done in the compiler rather than frame state). To mark the type as unknown, fe->resetSynced was used, which only wants to be called on non-copied frame entries. A copy is possible here, so the fix just explicitly marks the type/data of the entry as in memory.
Attachment #561974 -
Flags: review?(dvander)
Assignee | ||
Updated•13 years ago
|
Whiteboard: js-triage-needed
Updated•13 years ago
|
Attachment #561974 -
Attachment is patch: true
Updated•13 years ago
|
Attachment #561974 -
Flags: review?(dvander) → review+
Assignee | ||
Comment 2•13 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/65d1dc5881f0
Comment 3•13 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/65d1dc5881f0
Assignee: general → bhackett1024
Status: NEW → RESOLVED
Closed: 13 years ago
OS: Linux → All
Hardware: x86 → All
Resolution: --- → FIXED
Target Milestone: --- → mozilla9
Reporter | ||
Comment 4•11 years ago
|
||
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.
Description
•