Closed Bug 1053978 Opened 10 years ago Closed 10 years ago

Intermittent LeakSanitizer | leak at pod_malloc, js::gc::AllocateObject, NewGCObject, JSObject::create and more

Categories

(Core :: JavaScript: GC, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: RyanVM, Unassigned)

References

(Blocks 1 open bug)

Details

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

https://tbpl.mozilla.org/php/getParsedLog.php?id=45957792&tree=Mozilla-Inbound Ubuntu ASAN VM 12.04 x64 mozilla-inbound opt test mochitest-4 on 2014-08-14 11:36:24 PDT for push 67ec7387436a slave: tst-linux64-spot-391 11:53:22 INFO - 3754 INFO ----------------------------------------------------- 11:53:22 INFO - 3755 INFO SUMMARY: AddressSanitizer: 90003 byte(s) leaked in 1281 allocation(s). 11:53:22 INFO - TEST-INFO | Main app process: exit 0 11:53:22 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at pod_malloc, js::gc::AllocateObject, NewGCObject, JSObject::create 11:53:22 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at js_new, HashChildren, js::PropertyTree::insertChild, js::PropertyTree::getChild 11:53:22 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at pod_malloc, _ZL17NewStringDeflatedILN2js7AllowGCE0EEP12JSFlatStringPNS0_17ThreadSafeContextEPKDsm, AtomizeAndCopyChars, js::AtomizeChars 11:53:22 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at pod_malloc, js::Nursery::moveSlotsToTenured, js::Nursery::moveObjectToTenured, js::Nursery::moveToTenured 11:53:22 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at AllocateProtoAndIfaceCache, xpc::CreateGlobalObject, xpc::CreateSandboxObject, XPCJSRuntime::GetCompilationScope 11:53:22 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at js::NativeIterator::allocateIterator, js::GlobalObject::initIteratorClasses, js_InitIteratorClasses, js::GlobalObject::resolveConstructor 11:53:22 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at AllocateProtoAndIfaceCache, xpc::CreateGlobalObject, XPCJSContextStack::InitSafeJSContext, xpcModuleCtor 11:53:22 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at xpc::CreateSandboxObject, XPCJSRuntime::GetCompilationScope, nsXULPrototypeScript::Compile 11:53:22 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at xpc::CreateSandboxObject, XPCJSRuntime::GetJunkScope, GetJunkScope, xpc::GetJunkScopeGlobal 11:53:22 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at pod_malloc, js::NewStringCopyNDontDeflate, AtomizeAndCopyChars, js::AtomizeChars 11:53:22 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at nsCycleCollector_startup, NS_InitXPCOM2, Initialize, XREMain::XRE_main 11:53:22 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at zone, js::Nursery::allocateSlots, AllocateSlots, JSObject::growSlots 11:53:22 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at XPCJSContextStack::InitSafeJSContext, xpcModuleCtor, Initialize 11:53:22 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at /lib/x86_64-linux-gnu/libdl.so.2 11:53:22 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at entryCount, js::Shape::hashify, js::ObjectImpl::toDictionaryMode, JSObject::addPropertyInternal 11:53:22 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at AllocateProtoAndIfaceCache, xpc::CreateGlobalObject, xpc::CreateSandboxObject, XPCJSRuntime::GetJunkScope 11:53:22 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at CreateFunctionPrototype, js::GlobalObject::resolveConstructor, js::GlobalObject::ensureConstructor, CreateObjectConstructor 11:53:22 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at pod_malloc, _ZL17NewStringDeflatedILN2js7AllowGCE0EEP12JSFlatStringPNS0_17ThreadSafeContextEPKDsm, AtomizeAndCopyChars, js::AtomizeString 11:53:22 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at pod_malloc, js::NewStringCopyNDontDeflate, AtomizeAndCopyChars, js::Atomize 11:53:22 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at entryCount, js::Shape::hashify, js::ObjectImpl::toDictionaryMode, js::ObjectImpl::replaceWithNewEquivalentShape 11:53:22 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at entryCount, js::Shape::hashify, js::Shape::search, js::ObjectImpl::nativeLookup 11:53:22 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at js::frontend::CreateScriptSourceObject, js::frontend::CompileScript, Evaluate, Evaluate 11:53:22 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at js::RegExpStatics::create, js::GlobalObject::getRegExpStatics, js::frontend::Parser 11:53:22 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at pod_malloc, js::NewStringCopyNDontDeflate, AtomizeAndCopyChars, js::AtomizeString 11:53:22 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at zone, js::Nursery::reallocateSlots, JSObject::growSlots, JSObject::updateSlotsForSpan 11:53:22 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at js_pod_calloc, pod_calloc, AllocScriptData, JSScript::partiallyInit
This is leaking a ton of stuff, including what looks like the cycle collector object itself. I'm not really sure what is going on. I'd expect a leak this severe to show up with our regular leak detector, so keep an eye out for a new intermittent leak in debug builds.
Blocks: LSan
Oh, sorry, we're leaking CollectorData, which is the chunk of data we store in TLS to keep around the cycle collector.
This happened once a few months ago, so I'm going to close this as WFM.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
Whiteboard: [lsan]
You need to log in before you can comment on or make changes to this bug.