Bug: Intermittent LeakSanitizer | leak at js_pod_arena_malloc, maybe_pod_arena_malloc, make_pod_arena_array, mozilla::dom::HTMLDocument_Binding::CreateInterfaceObjects
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2021-03-03 19:55:36+00:00
Resolved: 2021-03-30 17:04:50+00:00

**Filed by:** apavel [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=331905310&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/VNJk2RMoQLCLIfHJdGKgFw/runs/0/artifacts/public/logs/live_backing.log

---
```
[task 2021-03-03T14:09:46.477Z] 14:09:46     INFO - TEST-START | browser/base/content/test/general/browser_windowactivation.js
[task 2021-03-03T14:09:50.125Z] 14:09:50     INFO - GECKO(1539) | MEMORY STAT | vsize 20976258MB | residentFast 1831MB
[task 2021-03-03T14:09:50.126Z] 14:09:50     INFO - TEST-OK | browser/base/content/test/general/browser_windowactivation.js | took 3654ms
[task 2021-03-03T14:09:50.171Z] 14:09:50     INFO - checking window state
[task 2021-03-03T14:09:53.069Z] 14:09:53     INFO - GECKO(1539) | Completed ShutdownLeaks collections in process 1773
[task 2021-03-03T14:09:53.193Z] 14:09:53     INFO - GECKO(1539) | Completed ShutdownLeaks collections in process 1738
[task 2021-03-03T14:09:53.229Z] 14:09:53     INFO - GECKO(1539) | Completed ShutdownLeaks collections in process 1607
[task 2021-03-03T14:09:53.230Z] 14:09:53     INFO - GECKO(1539) | Completed ShutdownLeaks collections in process 1711
[task 2021-03-03T14:09:53.246Z] 14:09:53     INFO - GECKO(1539) | Completed ShutdownLeaks collections in process 1594
[task 2021-03-03T14:09:53.281Z] 14:09:53     INFO - GECKO(1539) | Completed ShutdownLeaks collections in process 1674
[task 2021-03-03T14:09:54.183Z] 14:09:54     INFO - GECKO(1539) | Completed ShutdownLeaks collections in process 1539
[task 2021-03-03T14:09:54.183Z] 14:09:54     INFO - TEST-START | Shutdown
[task 2021-03-03T14:09:54.184Z] 14:09:54     INFO - Browser Chrome Test Summary
[task 2021-03-03T14:09:54.184Z] 14:09:54     INFO - Passed:  2303
[task 2021-03-03T14:09:54.185Z] 14:09:54     INFO - Failed:  0
[task 2021-03-03T14:09:54.186Z] 14:09:54     INFO - Todo:    3
[task 2021-03-03T14:09:54.187Z] 14:09:54     INFO - Mode:    e10s
[task 2021-03-03T14:09:54.189Z] 14:09:54     INFO - *** End BrowserChrome Test Results ***
[task 2021-03-03T14:09:54.555Z] 14:09:54     INFO - GECKO(1539) | ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
[task 2021-03-03T14:09:54.899Z] 14:09:54     INFO - GECKO(1539) | ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
[task 2021-03-03T14:09:56.905Z] 14:09:56     INFO - GECKO(1539) | 1614780596892	Marionette	TRACE	Received observer notification xpcom-will-shutdown
[task 2021-03-03T14:09:56.905Z] 14:09:56     INFO - GECKO(1539) | 1614780596894	Marionette	INFO	Stopped listening on port 2828
[task 2021-03-03T14:09:56.906Z] 14:09:56     INFO - GECKO(1539) | 1614780596895	Marionette	DEBUG	Marionette stopped listening
[task 2021-03-03T14:09:58.068Z] 14:09:58     INFO - GECKO(1539) | -----------------------------------------------------
[task 2021-03-03T14:09:58.068Z] 14:09:58     INFO - GECKO(1539) | Suppressions used:
[task 2021-03-03T14:09:58.068Z] 14:09:58     INFO - GECKO(1539) |   count      bytes template
[task 2021-03-03T14:09:58.068Z] 14:09:58     INFO - GECKO(1539) |      14        448 nsComponentManagerImpl
[task 2021-03-03T14:09:58.068Z] 14:09:58     INFO - GECKO(1539) |       2        288 libfontconfig.so
[task 2021-03-03T14:09:58.068Z] 14:09:58     INFO - GECKO(1539) | -----------------------------------------------------
[task 2021-03-03T14:09:58.695Z] 14:09:58     INFO - GECKO(1539) | -----------------------------------------------------
[task 2021-03-03T14:09:58.695Z] 14:09:58     INFO - GECKO(1539) | Suppressions used:
[task 2021-03-03T14:09:58.695Z] 14:09:58     INFO - GECKO(1539) |   count      bytes template
[task 2021-03-03T14:09:58.696Z] 14:09:58     INFO - GECKO(1539) |      14        448 nsComponentManagerImpl
[task 2021-03-03T14:09:58.696Z] 14:09:58     INFO - GECKO(1539) |       2        288 libfontconfig.so
[task 2021-03-03T14:09:58.696Z] 14:09:58     INFO - GECKO(1539) | -----------------------------------------------------
[task 2021-03-03T14:09:59.248Z] 14:09:59     INFO - GECKO(1539) | -----------------------------------------------------
[task 2021-03-03T14:09:59.248Z] 14:09:59     INFO - GECKO(1539) | Suppressions used:
[task 2021-03-03T14:09:59.248Z] 14:09:59     INFO - GECKO(1539) |   count      bytes template
[task 2021-03-03T14:09:59.248Z] 14:09:59     INFO - GECKO(1539) |      14        448 nsComponentManagerImpl
[task 2021-03-03T14:09:59.249Z] 14:09:59     INFO - GECKO(1539) |       2        288 libfontconfig.so
[task 2021-03-03T14:09:59.249Z] 14:09:59     INFO - GECKO(1539) | -----------------------------------------------------
[task 2021-03-03T14:10:01.768Z] 14:10:01     INFO - GECKO(1539) | -----------------------------------------------------
[task 2021-03-03T14:10:01.768Z] 14:10:01     INFO - GECKO(1539) | Suppressions used:
[task 2021-03-03T14:10:01.768Z] 14:10:01     INFO - GECKO(1539) |   count      bytes template
[task 2021-03-03T14:10:01.768Z] 14:10:01     INFO - GECKO(1539) |       1         32 nsComponentManagerImpl
[task 2021-03-03T14:10:01.769Z] 14:10:01     INFO - GECKO(1539) | -----------------------------------------------------
[task 2021-03-03T14:10:07.105Z] 14:10:07     INFO - GECKO(1539) | ==1711==WARNING: Symbolizer buffer too small
[task 2021-03-03T14:10:09.857Z] 14:10:09     INFO - GECKO(1539) | ==1711==WARNING: Symbolizer buffer too small
[task 2021-03-03T14:10:11.884Z] 14:10:11     INFO - GECKO(1539) | ==1711==WARNING: Symbolizer buffer too small
[task 2021-03-03T14:10:12.026Z] 14:10:12     INFO - GECKO(1539) | =================================================================
[task 2021-03-03T14:10:12.026Z] 14:10:12    ERROR - GECKO(1539) | ==1711==ERROR: LeakSanitizer: detected memory leaks
[task 2021-03-03T14:10:12.026Z] 14:10:12     INFO - GECKO(1539) | Direct leak of 6784 byte(s) in 43 object(s) allocated from:
[task 2021-03-03T14:10:12.026Z] 14:10:12     INFO - GECKO(1539) |     #0 0x562078f838bd in malloc /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cpp:145:3
[task 2021-03-03T14:10:12.026Z] 14:10:12     INFO - GECKO(1539) |     #1 0x7f7c83035a6a in js_arena_malloc /builds/worker/workspace/obj-build/dist/include/js/Utility.h:385:10
[task 2021-03-03T14:10:12.027Z] 14:10:12     INFO - GECKO(1539) |     #2 0x7f7c83035a6a in js_pod_arena_malloc<js::HeapSlot> /builds/worker/workspace/obj-build/dist/include/js/Utility.h:594:26
[task 2021-03-03T14:10:12.027Z] 14:10:12     INFO - GECKO(1539) |     #3 0x7f7c83035a6a in maybe_pod_arena_malloc<js::HeapSlot> /builds/worker/checkouts/gecko/js/src/vm/MallocProvider.h:57:12
[task 2021-03-03T14:10:12.027Z] 14:10:12     INFO - GECKO(1539) |     #4 0x7f7c83035a6a in js::HeapSlot* js::MallocProvider<JS::Zone>::pod_arena_malloc<js::HeapSlot>(unsigned long, unsigned long) /builds/worker/checkouts/gecko/js/src/vm/MallocProvider.h:109:12
[task 2021-03-03T14:10:12.027Z] 14:10:12     INFO - GECKO(1539) |     #5 0x7f7c8300639b in pod_malloc<js::HeapSlot> /builds/worker/checkouts/gecko/js/src/vm/MallocProvider.h:127:12
[task 2021-03-03T14:10:12.028Z] 14:10:12     INFO - GECKO(1539) |     #6 0x7f7c8300639b in js::TenuringTracer::moveSlotsToTenured(js::NativeObject*, js::NativeObject*) /builds/worker/checkouts/gecko/js/src/gc/Marking.cpp:3340:15
[task 2021-03-03T14:10:12.028Z] 14:10:12     INFO - GECKO(1539) |     #7 0x7f7c830023cc in js::TenuringTracer::moveToTenuredSlow(JSObject*) /builds/worker/checkouts/gecko/js/src/gc/Marking.cpp:3264:20
[task 2021-03-03T14:10:12.029Z] 14:10:12     INFO - GECKO(1539) |     #8 0x7f7c83004f00 in DispatchToOnEdge /builds/worker/checkouts/gecko/js/src/gc/Tracer.h:307:15
[task 2021-03-03T14:10:12.029Z] 14:10:12     INFO - GECKO(1539) |     #9 0x7f7c83004f00 in trace /builds/worker/checkouts/gecko/js/src/gc/Marking.cpp:3121:11
[task 2021-03-03T14:10:12.029Z] 14:10:12     INFO - GECKO(1539) |     #10 0x7f7c83004f00 in js::gc::StoreBuffer::MonoTypeBuffer<js::gc::StoreBuffer::CellPtrEdge<JSObject> >::trace(js::TenuringTracer&) /builds/worker/checkouts/gecko/js/src/gc/Marking.cpp:2892:15
[task 2021-03-03T14:10:12.030Z] 14:10:12     INFO - GECKO(1539) |     #11 0x7f7c830185d7 in js::Nursery::doCollection(JS::GCReason) /builds/worker/checkouts/gecko/js/src/gc/Nursery.cpp:1187:6
[task 2021-03-03T14:10:12.030Z] 14:10:12     INFO - GECKO(1539) |     #12 0x7f7c83017722 in js::Nursery::collect(JSGCInvocationKind, JS::GCReason) /builds/worker/checkouts/gecko/js/src/gc/Nursery.cpp:1061:31
[task 2021-03-03T14:10:12.030Z] 14:10:12     INFO - GECKO(1539) |     #13 0x7f7c82fc1cb8 in js::gc::GCRuntime::collectNursery(JSGCInvocationKind, JS::GCReason, js::gcstats::PhaseKind) /builds/worker/checkouts/gecko/js/src/gc/GC.cpp:7789:13
[task 2021-03-03T14:10:12.031Z] 14:10:12     INFO - GECKO(1539) |     #14 0x7f7c82fc0210 in collectNurseryFromMajorGC /builds/worker/checkouts/gecko/js/src/gc/GC.cpp:7020:3
[task 2021-03-03T14:10:12.031Z] 14:10:12     INFO - GECKO(1539) |     #15 0x7f7c82fc0210 in js::gc::GCRuntime::incrementalSlice(js::SliceBudget&, mozilla::Maybe<JSGCInvocationKind> const&, JS::GCReason) /builds/worker/checkouts/gecko/js/src/gc/GC.cpp:6856:9
[task 2021-03-03T14:10:12.032Z] 14:10:12     INFO - GECKO(1539) |     #16 0x7f7c82fc506e in js::gc::GCRuntime::gcCycle(bool, js::SliceBudget const&, mozilla::Maybe<JSGCInvocationKind> const&, JS::GCReason) /builds/worker/checkouts/gecko/js/src/gc/GC.cpp:7354:3
[task 2021-03-03T14:10:12.032Z] 14:10:12     INFO - GECKO(1539) |     #17 0x7f7c82fc6812 in js::gc::GCRuntime::collect(bool, js::SliceBudget const&, mozilla::Maybe<JSGCInvocationKind> const&, JS::GCReason) /builds/worker/checkouts/gecko/js/src/gc/GC.cpp:7557:9
[task 2021-03-03T14:10:12.033Z] 14:10:12     INFO - GECKO(1539) |     #18 0x7f7c82fc7c2d in js::gc::GCRuntime::gcSlice(JS::GCReason, long) /builds/worker/checkouts/gecko/js/src/gc/GC.cpp:7652:3
[task 2021-03-03T14:10:12.036Z] 14:10:12     INFO - GECKO(1539) |     #19 0x7f7c7a8a89db in nsJSContext::GarbageCollectNow(JS::GCReason, nsJSContext::IsIncremental, nsJSContext::IsShrinking, long) /builds/worker/checkouts/gecko/dom/base/nsJSEnvironment.cpp:1095:5
[task 2021-03-03T14:10:12.037Z] 14:10:12     INFO - GECKO(1539) |     #20 0x7f7c7a8b5754 in InterSliceGCRunnerFired(mozilla::TimeStamp, void*) /builds/worker/checkouts/gecko/dom/base/nsJSEnvironment.cpp:1559:3
[task 2021-03-03T14:10:12.038Z] 14:10:12     INFO - GECKO(1539) |     #21 0x7f7c778af275 in operator() /builds/worker/fetches/clang/bin/../lib/gcc/x86_64-unknown-linux-gnu/7.4.0/../../../../include/c++/7.4.0/bits/std_function.h:706:14
[task 2021-03-03T14:10:12.038Z] 14:10:12     INFO - GECKO(1539) |     #22 0x7f7c778af275 in mozilla::IdleTaskRunner::Run() /builds/worker/checkouts/gecko/xpcom/threads/IdleTaskRunner.cpp:54:14
[task 2021-03-03T14:10:12.039Z] 14:10:12     INFO - GECKO(1539) |     #23 0x7f7c778c7c56 in mozilla::RunnableTask::Run() /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:472:16
[task 2021-03-03T14:10:12.040Z] 14:10:12     INFO - GECKO(1539) |     #24 0x7f7c778c4813 in mozilla::TaskController::DoExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&) /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:760:26
[task 2021-03-03T14:10:12.040Z] 14:10:12     INFO - GECKO(1539) |     #25 0x7f7c778c287d in mozilla::TaskController::ExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&) /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:634:15
[task 2021-03-03T14:10:12.042Z] 14:10:12     INFO - GECKO(1539) |     #26 0x7f7c778c2b3d in mozilla::TaskController::ProcessPendingMTTask(bool) /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:395:36
[task 2021-03-03T14:10:12.043Z] 14:10:12     INFO - GECKO(1539) |     #27 0x7f7c778cf291 in operator() /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:133:37
[task 2021-03-03T14:10:12.047Z] 14:10:12     INFO - GECKO(1539) |     #28 0x7f7c778cf291 in mozilla::detail::RunnableFunction<mozilla::TaskController::InitializeInternal()::$_3>::Run() /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.h:534:5
[task 2021-03-03T14:10:12.047Z] 14:10:12     INFO - GECKO(1539) |     #29 0x7f7c778ea754 in nsThread::ProcessNextEvent(bool, bool*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:1158:16
[task 2021-03-03T14:10:12.048Z] 14:10:12     INFO - GECKO(1539) |     #30 0x7f7c778f497c in NS_ProcessNextEvent(nsIThread*, bool) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:548:10
[task 2021-03-03T14:10:12.049Z] 14:10:12     INFO - GECKO(1539) |     #31 0x7f7c789e56da in mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) /builds/worker/checkouts/gecko/ipc/glue/MessagePump.cpp:87:21
[task 2021-03-03T14:10:12.049Z] 14:10:12     INFO - GECKO(1539) |     #32 0x7f7c78910651 in RunInternal /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:335:10
[task 2021-03-03T14:10:12.050Z] 14:10:12     INFO - GECKO(1539) |     #33 0x7f7c78910651 in RunHandler /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:328:3
[task 2021-03-03T14:10:12.050Z] 14:10:12     INFO - GECKO(1539) |     #34 0x7f7c78910651 in MessageLoop::Run() /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:310:3
[task 2021-03-03T14:10:12.054Z] 14:10:12     INFO - GECKO(1539) |     #35 0x7f7c7e965fc7 in nsBaseAppShell::Run() /builds/worker/checkouts/gecko/widget/nsBaseAppShell.cpp:137:27
[task 2021-03-03T14:10:12.056Z] 14:10:12     INFO - GECKO(1539) |     #36 0x7f7c8215b44f in XRE_RunAppShell() /builds/worker/checkouts/gecko/toolkit/xre/nsEmbedFunctions.cpp:902:20
[task 2021-03-03T14:10:12.056Z] 14:10:12     INFO - GECKO(1539) |     #37 0x7f7c78910651 in RunInternal /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:335:10
[task 2021-03-03T14:10:12.057Z] 14:10:12     INFO - GECKO(1539) |     #38 0x7f7c78910651 in RunHandler /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:328:3
[task 2021-03-03T14:10:12.057Z] 14:10:12     INFO - GECKO(1539) |     #39 0x7f7c78910651 in MessageLoop::Run() /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:310:3
[task 2021-03-03T14:10:12.058Z] 14:10:12     INFO - GECKO(1539) |     #40 0x7f7c8215abdc in XRE_InitChildProcess(int, char**, XREChildData const*) /builds/worker/checkouts/gecko/toolkit/xre/nsEmbedFunctions.cpp:733:34
[task 2021-03-03T14:10:12.062Z] 14:10:12     INFO - GECKO(1539) |     #41 0x562078fb607d in content_process_main(mozilla::Bootstrap*, int, char**) /builds/worker/checkouts/gecko/browser/app/../../ipc/contentproc/plugin-container.cpp:57:28
[task 2021-03-03T14:10:12.063Z] 14:10:12     INFO - GECKO(1539) |     #42 0x562078fb64a1 in main /builds/worker/checkouts/gecko/browser/app/nsBrowserApp.cpp:309:18```