Closed
Bug 752150
Opened 13 years ago
Closed 13 years ago
"ASSERTION: scope has non-empty map" with SVG, embed, adoptNode
Categories
(Core :: XPConnect, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 752340
People
(Reporter: jruderman, Assigned: mccr8)
References
Details
(Keywords: assertion, memory-leak, testcase, Whiteboard: [sg:dupe 752340])
Attachments
(2 files)
###!!! ASSERTION: scope has non-empty map: '0 == mWrappedNativeMap->Count()', file js/xpconnect/src/XPCWrappedNativeScope.cpp, line 298
Reporter | ||
Comment 1•13 years ago
|
||
Comment 2•13 years ago
|
||
bholley: is this a bad assertion, or more of a warning?
Comment 3•13 years ago
|
||
(In reply to Daniel Veditz [:dveditz] from comment #2)
> bholley: is this a bad assertion, or more of a warning?
Hard to say. Seems like more of a warning (in the sense that nothing bad is about to happen right at that second). But it also means there's probably a WN floating around with a garbage scope pointer.
adoptNode and wrapper reparenting are already all kinds of broken after CPG (see bug 751995 and bug 752038). So let's wait until those are fixed and see if this still appears. If it does, we should probably fix it.
Assignee | ||
Comment 5•13 years ago
|
||
I checked this test case on a local build from 6/9, and the assertion is still triggering, so it sounds like neither of those bugs fixed this.
Assignee | ||
Comment 6•13 years ago
|
||
This seems to work for me with a local build now. Somebody should double check that.
Reporter | ||
Comment 7•13 years ago
|
||
I'm still getting the assertion on Mac, both with a local build and with a Tinderbox debug build.
Assignee | ||
Comment 8•13 years ago
|
||
I guess I failed to rebuild after popping my patch for bug 752340.
Anyways, looks like this is a dupe of bug 752340. No assertion with my patch for that bug applied, and without that patch, it triggers an assertion from a local patch I have that checks to make sure both objects being swapped agree on finalizer-ness.
Assignee: nobody → continuation
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
Updated•13 years ago
|
Group: core-security
Whiteboard: [sg:dupe 752340]
You need to log in
before you can comment on or make changes to this bug.
Description
•