Closed Bug 776333 Opened 10 years ago Closed 10 years ago

"ASSERTION: We forgot to Morph a slim wrapper!" with Components.lookupMethod

Categories

(Core :: XPConnect, defect)

x86_64
macOS
defect
Not set
critical

Tracking

()

RESOLVED FIXED
mozilla17
Tracking Status
firefox17 + verified

People

(Reporter: jruderman, Unassigned)

References

Details

(Keywords: assertion, regression, testcase)

Attachments

(3 files)

###!!! ASSERTION: We forgot to Morph a slim wrapper!: 'clasp->ext.innerObject || IS_WN_WRAPPER_OBJECT(obj)', file js/xpconnect/wrappers/WrapperFactory.cpp, line 283

Assertion failure: (DebugCheckWrapperClass(obj) && !js::GetReservedSlot(obj, 0).isDouble()), at js/xpconnect/wrappers/XrayWrapper.cpp:440

Might be a regression from bug 774245.
Attached file stack traces
Duplicate of this bug: 776328
We're not going through PrepareForUnwrapping, so we need to manually morph slim wrappers.
Attachment #644916 - Flags: review?(mrbkap)
Attachment #644916 - Flags: review?(mrbkap) → review+
https://hg.mozilla.org/mozilla-central/rev/8eaf364324ce
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla17
Keywords: verifyme
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/17.0 Firefox/17.0

Verified the fix on latest Firefox 17 beta debug build on Mac Os X 10.7.5 and doesn't assert.
Marking verified for Firefox 17.
mass remove verifyme requests greater than 4 months old
Keywords: verifyme
You need to log in before you can comment on or make changes to this bug.