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)

x86_64
macOS
defect
Not set
normal

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
Attached file stack trace
bholley: is this a bad assertion, or more of a warning?
(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.
Adding 751995 and 752038 as potential dependencies as per comment 3.
Depends on: 751995, 752038
No longer depends on: 751995
Depends on: 751995
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.
No longer depends on: 751995, 752038
This seems to work for me with a local build now. Somebody should double check that.
I'm still getting the assertion on Mac, both with a local build and with a Tinderbox debug build.
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
Group: core-security
Whiteboard: [sg:dupe 752340]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: