Closed Bug 1624185 Opened 4 years ago Closed 4 years ago

Intermittent LeakSanitizer | leak at mozilla::dom::Console::CreateInstance, mozilla::dom::console_Binding::createInstance, CallJSNative, js::InternalCallOrConstruct

Categories

(Core :: DOM: Core & HTML, defect, P3)

defect

Tracking

()

RESOLVED FIXED
Tracking Status
firefox-esr68 --- unaffected
firefox75 --- unaffected
firefox76 --- fixed
firefox77 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: mccr8)

References

Details

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

Attachments

(1 file)

Filed by: cbrindusan [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=294250768&repo=try
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/fXYggXknTD6g0EX3j4GoLg/runs/0/artifacts/public/logs/live_backing.log


[task 2020-03-22T12:48:24.870Z] 12:48:24 INFO - TEST-OK | /html/browsers/offline/introduction-4/event_progress.https.html | took 2297ms
[task 2020-03-22T12:48:25.037Z] 12:48:25 INFO - PID 11639 | 1584881305031 Marionette INFO Stopped listening on port 53523
[task 2020-03-22T12:48:25.651Z] 12:48:25 INFO - PID 11639 | ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
[task 2020-03-22T12:48:27.445Z] 12:48:27 INFO - PID 11639 | -----------------------------------------------------
[task 2020-03-22T12:48:27.447Z] 12:48:27 INFO - PID 11639 | Suppressions used:
[task 2020-03-22T12:48:27.448Z] 12:48:27 INFO - PID 11639 | count bytes template
[task 2020-03-22T12:48:27.451Z] 12:48:27 INFO - PID 11639 | 26 800 nsComponentManagerImpl
[task 2020-03-22T12:48:27.452Z] 12:48:27 INFO - PID 11639 | 2 288 libfontconfig.so
[task 2020-03-22T12:48:27.453Z] 12:48:27 INFO - PID 11639 | -----------------------------------------------------
[task 2020-03-22T12:48:27.651Z] 12:48:27 INFO - PID 11639 | -----------------------------------------------------
[task 2020-03-22T12:48:27.653Z] 12:48:27 INFO - PID 11639 | Suppressions used:
[task 2020-03-22T12:48:27.659Z] 12:48:27 INFO - PID 11639 | count bytes template
[task 2020-03-22T12:48:27.661Z] 12:48:27 INFO - PID 11639 | 26 800 nsComponentManagerImpl
[task 2020-03-22T12:48:27.662Z] 12:48:27 INFO - PID 11639 | 633 18287 libfontconfig.so
[task 2020-03-22T12:48:27.663Z] 12:48:27 INFO - PID 11639 | 1 11 libglib-2.0.so
[task 2020-03-22T12:48:27.665Z] 12:48:27 INFO - PID 11639 | -----------------------------------------------------
[task 2020-03-22T12:48:27.810Z] 12:48:27 INFO - PID 11639 | -----------------------------------------------------
[task 2020-03-22T12:48:27.811Z] 12:48:27 INFO - PID 11639 | Suppressions used:
[task 2020-03-22T12:48:27.813Z] 12:48:27 INFO - PID 11639 | count bytes template
[task 2020-03-22T12:48:27.814Z] 12:48:27 INFO - PID 11639 | 26 800 nsComponentManagerImpl
[task 2020-03-22T12:48:27.815Z] 12:48:27 INFO - PID 11639 | 633 18287 libfontconfig.so
[task 2020-03-22T12:48:27.817Z] 12:48:27 INFO - PID 11639 | 1 11 libglib-2.0.so
[task 2020-03-22T12:48:27.818Z] 12:48:27 INFO - PID 11639 | -----------------------------------------------------
[task 2020-03-22T12:48:27.969Z] 12:48:27 INFO - PID 11639 | -----------------------------------------------------
[task 2020-03-22T12:48:27.969Z] 12:48:27 INFO - PID 11639 | Suppressions used:[task 2020-03-22T12:48:27.969Z] 12:48:27 INFO - PID 11639 | count bytes template
[task 2020-03-22T12:48:27.969Z] 12:48:27 INFO - PID 11639 | 26 800 nsComponentManagerImpl
[task 2020-03-22T12:48:27.969Z] 12:48:27 INFO - PID 11639 | 633 18287 libfontconfig.so
[task 2020-03-22T12:48:27.969Z] 12:48:27 INFO - PID 11639 | 1 11 libglib-2.0.so
[task 2020-03-22T12:48:27.969Z] 12:48:27 INFO - PID 11639 | -----------------------------------------------------
[task 2020-03-22T12:48:38.368Z] 12:48:38 INFO - PID 11639 | =================================================================
[task 2020-03-22T12:48:38.369Z] 12:48:38 INFO - PID 11639 | LeakSanitizer: detected memory leaks
[task 2020-03-22T12:48:38.369Z] 12:48:38 INFO - PID 11639 | Direct leak of 4096 byte(s) in 1 object(s) allocated from:
[task 2020-03-22T12:48:38.370Z] 12:48:38 INFO - PID 11639 | #0 0x56039a82fbf9 in realloc /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:164:3
[task 2020-03-22T12:48:38.371Z] 12:48:38 INFO - PID 11639 | #1 0x7fe3003108fa in js_arena_realloc /builds/worker/workspace/obj-build/dist/include/js/Utility.h:419:10
[task 2020-03-22T12:48:38.372Z] 12:48:38 INFO - PID 11639 | #2 0x7fe3003108fa in js_pod_arena_realloc<unsigned char> /builds/worker/workspace/obj-build/dist/include/js/Utility.h:623:26
[task 2020-03-22T12:48:38.373Z] 12:48:38 INFO - PID 11639 | #3 0x7fe3003108fa in maybe_pod_arena_realloc<unsigned char> /builds/worker/checkouts/gecko/js/src/vm/MallocProvider.h:72:12
[task 2020-03-22T12:48:38.373Z] 12:48:38 INFO - PID 11639 | #4 0x7fe3003108fa in unsigned char* js::MallocProvider<JS::Zone>::pod_arena_realloc<unsigned char>(unsigned long, unsigned char*, unsigned long, unsigned long) /builds/worker/checkouts/gecko/js/src/vm/MallocProvider.h:208:12
[task 2020-03-22T12:48:38.373Z] 12:48:38 INFO - PID 11639 | #5 0x7fe3002f4592 in pod_realloc<unsigned char> /builds/worker/checkouts/gecko/js/src/vm/MallocProvider.h:227:12
[task 2020-03-22T12:48:38.373Z] 12:48:38 INFO - PID 11639 | #6 0x7fe3002f4592 in js::Nursery::reallocateBuffer(JSObject*, void*, unsigned long, unsigned long) /builds/worker/checkouts/gecko/js/src/gc/Nursery.cpp:631:25
[task 2020-03-22T12:48:38.373Z] 12:48:38 INFO - PID 11639 | #7 0x7fe2ffb0abe4 in js::HeapSlot* js::ReallocateObjectBuffer<js::HeapSlot>(JSContext*, JSObject*, js::HeapSlot*, unsigned int, unsigned int) /builds/worker/checkouts/gecko/js/src/gc/Nursery-inl.h:133:45
[task 2020-03-22T12:48:38.374Z] 12:48:38 INFO - PID 11639 | #8 0x7fe2ffb0a8fe in js::NativeObject::growSlots(JSContext*, unsigned int, unsigned int) /builds/worker/checkouts/gecko/js/src/vm/NativeObject.cpp:373:7
[task 2020-03-22T12:48:38.374Z] 12:48:38 INFO - PID 11639 | #9 0x7fe2ffbf81fe in updateSlotsForSpan /builds/worker/checkouts/gecko/js/src/vm/NativeObject-inl.h:568:33
[task 2020-03-22T12:48:38.375Z] 12:48:38 INFO - PID 11639 | #10 0x7fe2ffbf81fe in setLastProperty /builds/worker/checkouts/gecko/js/src/vm/NativeObject-inl.h:606:7
[task 2020-03-22T12:48:38.375Z] 12:48:38 INFO - PID 11639 | #11 0x7fe2ffbf81fe in getChildDataProperty /builds/worker/checkouts/gecko/js/src/vm/Shape.cpp:447:13
[task 2020-03-22T12:48:38.378Z] 12:48:38 INFO - PID 11639 | #12 0x7fe2ffbf81fe in js::NativeObject::addDataPropertyInternal(JSContext*, JS::Handle<js::NativeObject*>, JS::Handle<JS::PropertyKey>, unsigned int, unsigned int, js::ShapeTable*, js::ShapeTable::Entry*, js::AutoKeepShapeCaches const&) /builds/worker/checkouts/gecko/js/src/vm/Shape.cpp:731:13
[task 2020-03-22T12:48:38.378Z] 12:48:38 INFO - PID 11639 | #13 0x7fe2ffb15c87 in addDataProperty /builds/worker/checkouts/gecko/js/src/vm/Shape-inl.h:436:10[task 2020-03-22T12:48:38.379Z] 12:48:38 INFO - PID 11639 | #14 0x7fe2ffb15c87 in AddOrChangeProperty<IsAddOrChange::Add> /builds/worker/checkouts/gecko/js/src/vm/NativeObject.cpp:1440:15
[task 2020-03-22T12:48:38.381Z] 12:48:38 INFO - PID 11639 | #15 0x7fe2ffb15c87 in js::NativeDefineProperty(JSContext*, JS::Handle<js::NativeObject*>, JS::Handle<JS::PropertyKey>, JS::Handle<JS::PropertyDescriptor>, JS::ObjectOpResult&) /builds/worker/checkouts/gecko/js/src/vm/NativeObject.cpp:1748:10
[task 2020-03-22T12:48:38.382Z] 12:48:38 INFO - PID 11639 | #16 0x7fe2ffa8f203 in js::DefineProperty(JSContext*, JS::Handle<JSObject*>, JS::Handle<JS::PropertyKey>, JS::Handle<JS::PropertyDescriptor>, JS::ObjectOpResult&) /builds/worker/checkouts/gecko/js/src/vm/JSObject.cpp:2926:10
[task 2020-03-22T12:48:38.382Z] 12:48:38 INFO - PID 11639 | #17 0x7fe2ff7ec0a9 in js::ForwardingProxyHandler::defineProperty(JSContext*, JS::Handle<JSObject*>, JS::Handle<JS::PropertyKey>, JS::Handle<JS::PropertyDescriptor>, JS::ObjectOpResult&) const /builds/worker/checkouts/gecko/js/src/proxy/Wrapper.cpp:59:10
[task 2020-03-22T12:48:38.384Z] 12:48:38 INFO - PID 11639 | #18 0x7fe2f7cf369d in nsOuterWindowProxy::definePropertySameOrigin(JSContext*, JS::Handle<JSObject*>, JS::Handle<JS::PropertyKey>, JS::Handle<JS::PropertyDescriptor>, JS::ObjectOpResult&) const /builds/worker/checkouts/gecko/dom/base/nsGlobalWindowOuter.cpp:713:26
[task 2020-03-22T12:48:38.384Z] 12:48:38 INFO - PID 11639 | #19 0x7fe2f7fca128 in mozilla::dom::MaybeCrossOriginObject<js::Wrapper>::defineProperty(JSContext*, JS::Handle<JSObject*>, JS::Handle<JS::PropertyKey>, JS::Handle<JS::PropertyDescriptor>, JS::ObjectOpResult&) const /builds/worker/checkouts/gecko/dom/base/MaybeCrossOriginObject.cpp:442:10
[task 2020-03-22T12:48:38.384Z] 12:48:38 INFO - PID 11639 | #20 0x7fe2ff7cbdc0 in js::Proxy::defineProperty(JSContext*, JS::Handle<JSObject*>, JS::Handle<JS::PropertyKey>, JS::Handle<JS::PropertyDescriptor>, JS::ObjectOpResult&) /builds/worker/checkouts/gecko/js/src/proxy/Proxy.cpp:106:46
[task 2020-03-22T12:48:38.386Z] 12:48:38 INFO - PID 11639 | #21 0x7fe2ffa8fbb7 in js::DefineDataProperty(JSContext*, JS::Handle<JSObject*>, JS::Handle<JS::PropertyKey>, JS::Handle<JS::Value>, unsigned int, JS::ObjectOpResult&) /builds/worker/checkouts/gecko/js/src/vm/JSObject.cpp:2954:12
[task 2020-03-22T12:48:38.386Z] 12:48:38 INFO - PID 11639 | #22 0x7fe2ffb2c978 in js::SetPropertyByDefining(JSContext*, JS::Handle<JS::PropertyKey>, JS::Handle<JS::Value>, JS::Handle<JS::Value>, JS::ObjectOpResult&) /builds/worker/checkouts/gecko/js/src/vm/NativeObject.cpp:2643:10
[task 2020-03-22T12:48:38.388Z] 12:48:38 INFO - PID 11639 | #23 0x7fe2ffb2e519 in SetNonexistentProperty<js::Qualified> /builds/worker/checkouts/gecko/js/src/vm/NativeObject.cpp:2715:10
[task 2020-03-22T12:48:38.388Z] 12:48:38 INFO - PID 11639 | #24 0x7fe2ffb2e519 in bool js::NativeSetProperty<(js::QualifiedBool)1>(JSContext*, JS::Handle<js::NativeObject*>, JS::Handle<JS::PropertyKey>, JS::Handle<JS::Value>, JS::Handle<JS::Value>, JS::ObjectOpResult&) /builds/worker/checkouts/gecko/js/src/vm/NativeObject.cpp:2842:14
[task 2020-03-22T12:48:38.389Z] 12:48:38 INFO - PID 11639 | #25 0x7fe2ff602410 in js::SetProperty(JSContext*, JS::Handle<JSObject*>, JS::Handle<JS::PropertyKey>, JS::Handle<JS::Value>, JS::Handle<JS::Value>, JS::ObjectOpResult&) /builds/worker/checkouts/gecko/js/src/vm/ObjectOperations-inl.h:283:10
[task 2020-03-22T12:48:38.390Z] 12:48:38 INFO - PID 11639 | #26 0x7fe2ff7bec98 in js::SetPropertyIgnoringNamedGetter(JSContext*, JS::Handle<JSObject*>, JS::Handle<JS::PropertyKey>, JS::Handle<JS::Value>, JS::Handle<JS::Value>, JS::Handle<JS::PropertyDescriptor>, JS::ObjectOpResult&) /builds/worker/checkouts/gecko/js/src/proxy/BaseProxyHandler.cpp:166:14
[task 2020-03-22T12:48:38.391Z] 12:48:38 INFO - PID 11639 | #27 0x7fe2ff7be891 in js::BaseProxyHandler::set(JSContext*, JS::Handle<JSObject*>, JS::Handle<JS::PropertyKey>, JS::Handle<JS::Value>, JS::Handle<JS::Value>, JS::ObjectOpResult&) const /builds/worker/checkouts/gecko/js/src/proxy/BaseProxyHandler.cpp:146:10
[task 2020-03-22T12:48:38.391Z] 12:48:38 INFO - PID 11639 | #28 0x7fe2ff7d12c0 in setInternal /builds/worker/checkouts/gecko/js/src/proxy/Proxy.cpp:379:39
[task 2020-03-22T12:48:38.392Z] 12:48:38 INFO - PID 11639 | #29 0x7fe2ff7d12c0 in js::Proxy::set(JSContext*, JS::Handle<JSObject*>, JS::Handle<JS::PropertyKey>, JS::Handle<JS::Value>, JS::Handle<JS::Value>, JS::ObjectOpResult&) /builds/worker/checkouts/gecko/js/src/proxy/Proxy.cpp:390:10
[task 2020-03-22T12:48:38.393Z] 12:48:38 INFO - PID 11639 | #30 0x7fe2ffa77898 in JSObject::nonNativeSetProperty(JSContext*, JS::Handle<JSObject*>, JS::Handle<JS::PropertyKey>, JS::Handle<JS::Value>, JS::Handle<JS::Value>, JS::ObjectOpResult&) /builds/worker/checkouts/gecko/js/src/vm/JSObject.cpp:1244:10
[task 2020-03-22T12:48:38.394Z] 12:48:38 INFO - PID 11639 | #31 0x7fe2ff6023e8 in js::SetProperty(JSContext*, JS::Handle<JSObject*>, JS::Handle<JS::PropertyKey>, JS::Handle<JS::Value>, JS::Handle<JS::Value>, JS::ObjectOpResult&) /builds/worker/checkouts/gecko/js/src/vm/ObjectOperations-inl.h:280:12
[task 2020-03-22T12:48:38.395Z] 12:48:38 INFO - PID 11639 | #32 0x7fe2ffb2e59b in bool js::NativeSetProperty<(js::QualifiedBool)1>(JSContext*, JS::Handle<js::NativeObject*>, JS::Handle<JS::PropertyKey>, JS::Handle<JS::Value>, JS::Handle<JS::Value>, JS::ObjectOpResult&) /builds/worker/checkouts/gecko/js/src/vm/NativeObject.cpp:2867:14
[task 2020-03-22T12:48:38.396Z] 12:48:38 INFO - PID 11639 | #33 0x7fe2ff602410 in js::SetProperty(JSContext*, JS::Handle<JSObject*>, JS::Handle<JS::PropertyKey>, JS::Handle<JS::Value>, JS::Handle<JS::Value>, JS::ObjectOpResult&) /builds/worker/checkouts/gecko/js/src/vm/ObjectOperations-inl.h:283:10
[task 2020-03-22T12:48:38.396Z] 12:48:38 INFO - PID 11639 | #34 0x7fe2ff7eeecd in js::ForwardingProxyHandler::set(JSContext*, JS::Handle<JSObject*>, JS::Handle<JS::PropertyKey>, JS::Handle<JS::Value>, JS::Handle<JS::Value>, JS::ObjectOpResult&) const /builds/worker/checkouts/gecko/js/src/proxy/Wrapper.cpp:149:10
[task 2020-03-22T12:48:38.398Z] 12:48:38 INFO - PID 11639 | #35 0x7fe2f7cf7c73 in nsOuterWindowProxy::set(JSContext*, JS::Handle<JSObject*>, JS::Handle<JS::PropertyKey>, JS::Handle<JS::Value>, JS::Handle<JS::Value>, JS::ObjectOpResult&) const /builds/worker/checkouts/gecko/dom/base/nsGlobalWindowOuter.cpp:997:23
[task 2020-03-22T12:48:38.398Z] 12:48:38 INFO - PID 11639 | #36 0x7fe2ff7d2045 in setInternal /builds/worker/checkouts/gecko/js/src/proxy/Proxy.cpp:382:19
[task 2020-03-22T12:48:38.399Z] 12:48:38 INFO - PID 11639 | #37 0x7fe2ff7d2045 in js::ProxySetPropertyByValue(JSContext*, JS::Handle<JSObject*>, JS::Handle<JS::Value>, JS::Handle<JS::Value>, bool) /builds/worker/checkouts/gecko/js/src/proxy/Proxy.cpp:413:8
[task 2020-03-22T12:48:38.400Z] 12:48:38 INFO - PID 11639 | #38 0x18fbf72ec8a5 (<unknown module>)
[task 2020-03-22T12:48:38.400Z] 12:48:38 INFO - PID 11639 | #39 0x6210004a1c67 (<unknown module>)
[task 2020-03-22T12:48:38.402Z] 12:48:38 INFO - PID 11639 | #40 0x18fbf72e748e (<unknown module>)[task 2020-03-22T12:48:38.403Z] 12:48:38 INFO - PID 11639 | #41 0x7fe300794cb9 in EnterJit /builds/worker/checkouts/gecko/js/src/jit/Jit.cpp:109:5
[task 2020-03-22T12:48:38.403Z] 12:48:38 INFO - PID 11639 | #42 0x7fe300794cb9 in js::jit::MaybeEnterJit(JSContext*, js::RunState&) /builds/worker/checkouts/gecko/js/src/jit/Jit.cpp:200:10[task 2020-03-22T12:48:54.942Z] 12:48:54 INFO - Browser exited with return code 0
[task 2020-03-22T12:48:54.942Z] 12:48:54 INFO - PROCESS LEAKS None
[task 2020-03-22T12:48:54.942Z] 12:48:54 INFO - ERROR | LeakSanitizer | SUMMARY: AddressSanitizer: 87681 byte(s) leaked in 809 allocation(s).
[task 2020-03-22T12:48:54.943Z] 12:48:54 INFO - LeakSanitizer | To show the addresses of leaked objects add report_objects=1 to LSAN_OPTIONS
[task 2020-03-22T12:48:54.943Z] 12:48:54 INFO - This can be done in testing/mozbase/mozrunner/mozrunner/utils.py
[task 2020-03-22T12:48:54.944Z] 12:48:54 INFO - Allowed depth was 4
[task 2020-03-22T12:48:54.945Z] 12:48:54 INFO - TEST-FAIL | LeakSanitizer | leak at Alloc, nsTSubstring, Gecko_StartBulkWriteString, nsstring::nsAString::start_bulk_write_impl
[task 2020-03-22T12:48:54.945Z] 12:48:54 INFO - INFO | LeakSanitizer | Frame Alloc matched a expected leak
[task 2020-03-22T12:48:54.945Z] 12:48:54 INFO - TEST-FAIL | LeakSanitizer | leak at js_arena_malloc, js_pod_arena_malloc, maybe_pod_arena_malloc, pod_arena_malloc
[task 2020-03-22T12:48:54.945Z] 12:48:54 INFO - INFO | LeakSanitizer | Frame js_arena_malloc matched a expected leak
[task 2020-03-22T12:48:54.946Z] 12:48:54 INFO - TEST-FAIL | LeakSanitizer | leak at mozilla::dom::ProtoAndIfaceCache::PageTableCache::EntrySlotOrCreate, mozilla::dom::ProtoAndIfaceCache::EntrySlotOrCreate, mozilla::dom::BrowsingContext_Binding::CreateInterfaceObjects, mozilla::dom::GetPerInterfaceObjectHandle
[task 2020-03-22T12:48:54.946Z] 12:48:54 INFO - INFO | LeakSanitizer | Frame mozilla::dom::ProtoAndIfaceCache::PageTableCache::EntrySlotOrCreate matched a expected leak
[task 2020-03-22T12:48:54.946Z] 12:48:54 INFO - TEST-FAIL | LeakSanitizer | leak at js_arena_malloc, js_pod_arena_malloc, maybe_pod_arena_malloc, pod_malloc
[task 2020-03-22T12:48:54.946Z] 12:48:54 INFO - INFO | LeakSanitizer | Frame js_arena_malloc matched a expected leak
[task 2020-03-22T12:48:54.946Z] 12:48:54 INFO - TEST-FAIL | LeakSanitizer | leak at mozilla::net::nsStandardURL::TemplatedMutator, mozilla::net::nsStandardURL::TemplatedMutator, std::function, operator
[task 2020-03-22T12:48:54.946Z] 12:48:54 INFO - INFO | LeakSanitizer | Frame mozilla::net::nsStandardURL::TemplatedMutator matched a expected leak
[task 2020-03-22T12:48:54.947Z] 12:48:54 INFO - TEST-FAIL | LeakSanitizer | leak at js_arena_malloc, js_new, MakeUnique, MakeShapeSet
[task 2020-03-22T12:48:54.947Z] 12:48:54 INFO - INFO | LeakSanitizer | Frame js_arena_malloc matched a expected leak[task 2020-03-22T12:48:54.947Z] 12:48:54 INFO - TEST-FAIL | LeakSanitizer | leak at nsSupportsWeakReference::GetWeakReference, NS_GetWeakReference, do_GetWeakReference, nsMaybeWeakPtrArray
[task 2020-03-22T12:48:54.947Z] 12:48:54 INFO - INFO | LeakSanitizer | Frame nsSupportsWeakReference::GetWeakReference matched a expected leak
[task 2020-03-22T12:48:54.947Z] 12:48:54 INFO - TEST-FAIL | LeakSanitizer | leak at js_arena_calloc, js_pod_arena_calloc, maybe_pod_arena_calloc, pod_calloc
[task 2020-03-22T12:48:54.948Z] 12:48:54 INFO - INFO | LeakSanitizer | Frame js_arena_calloc matched a expected leak
[task 2020-03-22T12:48:54.948Z] 12:48:54 INFO - TEST-FAIL | LeakSanitizer | leak at Alloc, nsTSubstring, nsTSubstring, NonVoidStringToJsval
[task 2020-03-22T12:48:54.948Z] 12:48:54 INFO - INFO | LeakSanitizer | Frame Alloc matched a expected leak
[task 2020-03-22T12:48:54.948Z] 12:48:54 INFO - TEST-FAIL | LeakSanitizer | leak at Malloc, nsTArray_base, nsTArray_Impl, nsCOMArray_base::InsertObjectAt
[task 2020-03-22T12:48:54.948Z] 12:48:54 INFO - INFO | LeakSanitizer | Frame Malloc matched a expected leak
[task 2020-03-22T12:48:54.948Z] 12:48:54 INFO - TEST-FAIL | LeakSanitizer | leak at js_arena_malloc, js_pod_arena_malloc, maybe_pod_arena_malloc, js::AllocateObjectBuffer
[task 2020-03-22T12:48:54.949Z] 12:48:54 INFO - INFO | LeakSanitizer | Frame js_arena_malloc matched a expected leak
[task 2020-03-22T12:48:54.949Z] 12:48:54 INFO - TEST-FAIL | LeakSanitizer | leak at mozilla::detail::HashTable, mozilla::detail::HashTable, reserve, reserve
[task 2020-03-22T12:48:54.949Z] 12:48:54 INFO - INFO | LeakSanitizer | Frame reserve matched a expected leak
[task 2020-03-22T12:48:54.949Z] 12:48:54 INFO - TEST-FAIL | LeakSanitizer | leak at js_arena_malloc, js_pod_arena_malloc, maybe_pod_arena_malloc, js::detail::OrderedHashTable
[task 2020-03-22T12:48:54.949Z] 12:48:54 INFO - INFO | LeakSanitizer | Frame js_arena_malloc matched a expected leak
[task 2020-03-22T12:48:54.950Z] 12:48:54 INFO - TEST-FAIL | LeakSanitizer | leak at AllocateProtoAndIfaceCache, mozilla::dom::CreateGlobal, mozilla::dom::Window_Binding::Wrap, CreateNativeGlobalForInner
[task 2020-03-22T12:48:54.950Z] 12:48:54 INFO - INFO | LeakSanitizer | Frame AllocateProtoAndIfaceCache matched a expected leak
[task 2020-03-22T12:48:54.950Z] 12:48:54 INFO - TEST-FAIL | LeakSanitizer | leak at mozilla::dom::PerformanceMainThread::CreateNavigationTimingEntry, mozilla::dom::Performance::CreateForMainThread, nsPIDOMWindowInner::CreatePerformanceObjectIfNeeded, nsPIDOMWindowInner::GetPerformance
[task 2020-03-22T12:48:54.950Z] 12:48:54 INFO - INFO | LeakSanitizer | Frame mozilla::dom::PerformanceMainThread::CreateNavigationTimingEntry matched a expected leak
[task 2020-03-22T12:48:54.950Z] 12:48:54 INFO - TEST-FAIL | LeakSanitizer | leak at mozilla::detail::HashTable, mozilla::detail::HashTable, putNew, putNew
[task 2020-03-22T12:48:54.951Z] 12:48:54 INFO - INFO | LeakSanitizer | Frame putNew matched a expected leak
[task 2020-03-22T12:48:54.952Z] 12:48:54 INFO - TEST-FAIL | LeakSanitizer | leak at Realloc, nsTArray_base, nsTArray_Impl, mozilla::dom::ChromeUtils::GenerateQI
[task 2020-03-22T12:48:54.952Z] 12:48:54 INFO - INFO | LeakSanitizer | Frame mozilla::dom::ChromeUtils::GenerateQI matched a expected leak
[task 2020-03-22T12:48:54.953Z] 12:48:54 INFO - TEST-FAIL | LeakSanitizer | leak at nsGlobalWindowInner::GetApplicationCache, mozilla::dom::Window_Binding::get_applicationCache, mozilla::dom::binding_detail::GenericGetter, CallJSNative
[task 2020-03-22T12:48:54.953Z] 12:48:54 INFO - INFO | LeakSanitizer | Frame nsGlobalWindowInner::GetApplicationCache matched a expected leak
[task 2020-03-22T12:48:54.954Z] 12:48:54 INFO - TEST-FAIL | LeakSanitizer | leak at js_arena_realloc, js_pod_arena_realloc, maybe_pod_arena_realloc, pod_realloc
[task 2020-03-22T12:48:54.955Z] 12:48:54 INFO - INFO | LeakSanitizer | Frame js_arena_realloc matched a expected leak[task 2020-03-22T12:48:54.955Z] 12:48:54 INFO - TEST-FAIL | LeakSanitizer | leak at Alloc, nsTSubstring, nsTSubstring, nsTSubstring
[task 2020-03-22T12:48:54.955Z] 12:48:54 INFO - INFO | LeakSanitizer | Frame Alloc matched a expected leak
[task 2020-03-22T12:48:54.956Z] 12:48:54 INFO - TEST-FAIL | LeakSanitizer | leak at js_arena_calloc, js_pod_arena_calloc, maybe_pod_arena_calloc, maybe_pod_calloc
[task 2020-03-22T12:48:54.956Z] 12:48:54 INFO - INFO | LeakSanitizer | Frame js_arena_calloc matched a expected leak
[task 2020-03-22T12:48:54.957Z] 12:48:54 INFO - TEST-FAIL | LeakSanitizer | leak at Alloc, nsTSubstring, nsTSubstring, mozilla::net::nsStandardURL::BuildNormalizedSpec
[task 2020-03-22T12:48:54.958Z] 12:48:54 INFO - INFO | LeakSanitizer | Frame Alloc matched a expected leak
[task 2020-03-22T12:48:54.959Z] 12:48:54 INFO - TEST-FAIL | LeakSanitizer | leak at std::sys::unix::alloc::_$LT$impl$u20$core..alloc..GlobalAlloc$u20$for$u20$std..alloc..System$GT$::alloc, __rdl_alloc, alloc::alloc::alloc, _$LT$alloc..alloc..Global$u20$as$u20$core..alloc..Alloc$GT$::alloc
[task 2020-03-22T12:48:54.959Z] 12:48:54 INFO - INFO | LeakSanitizer | Frame alloc::alloc::alloc::h60447f72c515ace6 matched a expected leak
[task 2020-03-22T12:48:54.960Z] 12:48:54 INFO - TEST-FAIL | LeakSanitizer | leak at js_arena_malloc, js::irregexp::BoyerMooreLookahead::EmitSkipInstructions, js::irregexp::ChoiceNode::Emit, js::irregexp::RegExpCompiler::Assemble
[task 2020-03-22T12:48:54.960Z] 12:48:54 INFO - INFO | LeakSanitizer | Frame js_arena_malloc matched a expected leak
[task 2020-03-22T12:48:54.961Z] 12:48:54 INFO - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::dom::Console::CreateInstance, mozilla::dom::console_Binding::createInstance, CallJSNative, js::InternalCallOrConstruct

This almost permafails on beta since Gecko 76 merged to it. The issue is reported after /html/browsers/offline/introduction-4/* ran.

Hsin-Yi, can this be evaluated if this represents an issue with the product or the tests?

Flags: needinfo?(htsai)

The test case is about window.applicationCache and we have a plan to remove that in bug 1619673. Do you know if we have made changes recently? Or do we even care about the test? Valentin should have a better thought, thanks!

Flags: needinfo?(htsai) → needinfo?(valentin.gosu)

(In reply to Hsin-Yi Tsai [:hsinyi] from comment #6)

The test case is about window.applicationCache and we have a plan to remove that in bug 1619673. Do you know if we have made changes recently? Or do we even care about the test? Valentin should have a better thought, thanks!

I don't know of any recent changes to the appcache code.
It looks to me that we're leaking a mozilla::dom::Console but from the logs it's not 100% clear that it's only coming from the /offline WPT.
And since it's also happening on trunk, I would say that it's not going to be fixed by flipping the pref on beta&release.

Flags: needinfo?(valentin.gosu)
Priority: -- → P3

This directory is extremely leaky. Presumably some compiler inlining changed cause something to get through the whitelist.

Assignee: nobody → continuation

Ideally we'd have a way to just ignore all LSan leaks in a directory.

Pushed by amccreight@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/15cddc5b00e0
Add more things to the whitelist in html/browsers/offline/introduction-4/. r=jgraham

This can be uplifted to beta. It is test-only (just ignore more leaks), so I don't think this needs beta approval.

I don't see any failures in the last 30 days on beta, so maybe we don't need to uplift it.

Status: NEW → RESOLVED
Closed: 4 years ago
Keywords: leave-open
Resolution: --- → FIXED
See Also: → 1524052

Ok. Feel free to uplift my patch to beta.

Flags: needinfo?(continuation)
See Also: → 1631819
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: