Closed Bug 1086172 Opened 5 years ago Closed Last year

Intermittent LeakSanitizer | leak at AllocateProtoAndIfaceCache, xpc::CreateGlobalObject, XPCWrappedNative::WrapNewGlobal, nsXPConnect::InitClassesWithNewWrappedGlobal

Categories

(Core :: XPConnect, defect, P5)

x86
Linux
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: cbook, Unassigned)

References

(Blocks 2 open bugs, )

Details

(Keywords: intermittent-failure, memory-leak, Whiteboard: [stockwell unknown])

Ubuntu ASAN VM 12.04 x64 fx-team opt test mochitest-e10s-browser-chrome-1

https://treeherder.mozilla.org/ui/logviewer.html#?job_id=957509&repo=fx-team

18:00:23 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at AllocateProtoAndIfaceCache, xpc::CreateGlobalObject, XPCWrappedNative::WrapNewGlobal, nsXPConnect::InitClassesWithNewWrappedGlobal 

18:00:23 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at js_pod_malloc, zone, js::gc::AllocateObject, NewGCObject
18:00:23 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at js_pod_malloc, entryCount, js::Shape::hashify, js::Shape::search
18:00:23 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at js_pod_malloc, js::NewStringCopyNDontDeflate, AtomizeAndCopyChars, js::AtomizeChars
18:00:23 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at js_pod_malloc, pod_malloc, moveSlotsToTenured, moveObjectToTenured
18:00:23 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at js_new, HashChildren, js::PropertyTree::insertChild, js::PropertyTree::getChild
18:00:23 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at js_pod_malloc, entryCount, js::Shape::hashify, js::NativeObject::toDictionaryMode
18:00:23 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at js_pod_malloc, zone, js::Nursery::allocateSlots, AllocateSlots
18:00:23 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at js_pod_realloc, zone, js::Nursery::reallocateSlots, js::NativeObject::growSlots
18:00:23 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at js_pod_malloc, pod_malloc, CreateFunctionPrototype, js::GlobalObject::resolveConstructor
18:00:23 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at js_pod_malloc, js::NativeIterator::allocateIterator, js::GlobalObject::initIteratorClasses, js_InitIteratorClasses
Component: General → XPConnect
The last comment looks like a slightly different leak.  The previous ones were about 12kb, this one is 2.8MB.
Blocks: 933741
The top stack of leaks is 430k of strings under mozilla::dom::WindowBinding::set_name, which is odd, but maybe that's just the largest thing when we leak a bunch of windows.
I filed bug 1094419 about improving the output here so we don't bucket together a bunch of unrelated leaks on TBPL.
Blocks: LSan
Something seems to have spiked this either over the weekend or this morning.
Is that just because LSan was broken until recently?
(In reply to Ryan VanderMeulen [:RyanVM] from comment #73)
> Is that just because LSan was broken until recently?

Yes, this was broken until bug 1287971 landed.
Duplicate of this bug: 1289327
Bulk assigning P3 to all open intermittent bugs without a priority set in Firefox components per bug 1298978.
Priority: -- → P3
Whiteboard: [stockwell unknown]
Recent spike here seems closely associated with bug 1308820, recently fixed -- expect this to fall off again.
Priority: P3 → P5
Status: NEW → RESOLVED
Closed: Last year
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.