Closed Bug 812235 Opened 12 years ago Closed 12 years ago

"Assertion failure: needsBarrier_,"

Categories

(Core :: JavaScript Engine, defect)

x86_64
macOS
defect
Not set
critical

Tracking

()

RESOLVED FIXED
mozilla19
Tracking Status
firefox17 --- unaffected
firefox18 --- unaffected
firefox19 --- fixed
firefox-esr10 --- unaffected
firefox-esr17 --- unaffected

People

(Reporter: gkw, Assigned: bhackett1024)

References

Details

(Keywords: assertion, testcase, Whiteboard: [jsbugmon:update][qa-])

Attachments

(2 files)

Attached file stack
gc()
schedulegc(this)
gcslice(2)
function f() {
    this["x"] = this["x"] = {}
}
new f()

asserts js debug shell on m-c changeset a37525d304d9 with --ion-eager at Assertion failure: needsBarrier_,

s-s and assuming sec-critical because this involves gc.

autoBisect shows this is probably related to the following changeset:

The first bad revision is:
changeset:   113229:6ba78023b367
user:        Brian Hackett
date:        Wed Nov 14 06:46:31 2012 -0800
summary:     Eagerly generate a single copy of Ion stubs and wrappers, bug 786146. r=dvander
Attached patch patchSplinter Review
Oops, didn't notice that the preBarrier lazily generated on an IonCompartment uses the compartment itself.  This isn't necessary though, all it uses the compartment for is getting the barrier tracer, which is associated with the runtime itself.
Assignee: general → bhackett1024
Attachment #682491 - Flags: review?(dvander)
Bogus assert, not s-s.
Group: core-security
Don't need to track a bogus assert.
Attachment #682491 - Flags: review?(dvander) → review+
https://hg.mozilla.org/mozilla-central/rev/74d500724519
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla19
Can/should the included testcase be put in-testsuite?
Flags: in-testsuite?
Automatically extracted testcase for this bug was committed:

https://hg.mozilla.org/mozilla-central/rev/efaf8960a929
Flags: in-testsuite? → in-testsuite+
QA- based on comment 7
Whiteboard: [jsbugmon:update] → [jsbugmon:update][qa-]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: