Closed Bug 1183450 Opened 5 years ago Closed 5 years ago

"Assertion failure: callback.mFound (Cycle collection participant didn't traverse to preserved wrapper! This will probably crash.)"

Categories

(Core :: DOM: Core & HTML, defect, critical)

defect
Not set
critical

Tracking

()

RESOLVED FIXED
mozilla42
Tracking Status
firefox39 --- unaffected
firefox40 --- unaffected
firefox41 --- unaffected
firefox42 --- fixed
firefox-esr31 --- unaffected
firefox-esr38 --- unaffected
b2g-v2.0 --- unaffected
b2g-v2.0M --- unaffected
b2g-v2.1 --- unaffected
b2g-v2.1S --- unaffected
b2g-v2.2 --- unaffected
b2g-v2.2r --- unaffected
b2g-master --- fixed

People

(Reporter: jruderman, Assigned: smaug)

References

(Blocks 1 open bug)

Details

(4 keywords, Whiteboard: [post-critsmash-triage][b2g-adv-main2.5-])

Attachments

(3 files)

Attached file testcase
Assertion failure: callback.mFound (Cycle collection participant didn't traverse to preserved wrapper! This will probably crash.), at dom/base/nsWrapperCache.cpp:127

This must be a recent regression, since the assertion dates back to 2009:
https://hg.mozilla.org/mozilla-central/rev/5361d44863ed
Group: core-security
Attached file stack
Regression from bug 1177916 maybe?
Flags: needinfo?(amarchesini)
Yes. Huh, I did a horrible review there.
Blocks: 1177916
Assignee: nobody → bugs
Attached patch patchSplinter Review
Attachment #8633450 - Flags: review?(amarchesini)
Comment on attachment 8633450 [details] [diff] [review]
patch

Review of attachment 8633450 [details] [diff] [review]:
-----------------------------------------------------------------

I was submitting exactly the same patch.
Attachment #8633450 - Flags: review?(amarchesini) → review+
FYI, I'm writing a patch for bug 1183604 to catch this kind of silly mistakes more likely.
Flags: needinfo?(amarchesini)
Flags: in-testsuite?
This will eventually get tested by bug 1183604, so I don't think we need a separate test.
Flags: in-testsuite? → in-testsuite-
Group: core-security → core-security-release
Whiteboard: [post-critsmash-triage]
Group: core-security-release
Whiteboard: [post-critsmash-triage] → [post-critsmash-triage][b2g-adv-main2.5-]
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.