Closed Bug 1725514 Opened 4 years ago Closed 4 years ago

Intermittent LeakSanitizer | leak at js::ExecuteKernel, ExecuteInExtensibleLexicalEnvironment, js::ExecuteInFrameScriptEnvironment, nsMessageManagerScriptExecutor::LoadScriptInternal

Categories

(Core :: JavaScript: Standard Library, defect, P5)

defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

Filed by: nbeleuzu [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=348224078&repo=mozilla-esr78
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/LTvHWz3gTSKGj7AL-bRJSQ/runs/0/artifacts/public/logs/live_backing.log


[task 2021-08-12T13:23:56.413Z] 13:23:56     INFO - PID 10986 | Indirect leak of 16 byte(s) in 1 object(s) allocated from:
[task 2021-08-12T13:23:56.413Z] 13:23:56     INFO - PID 10986 |     #0 0x560e013b737d in malloc /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:145:3
[task 2021-08-12T13:23:56.415Z] 13:23:56     INFO - PID 10986 |     #1 0x7fac6ebdf481 in js_arena_malloc /builds/worker/workspace/obj-build/dist/include/js/Utility.h:384:10
[task 2021-08-12T13:23:56.416Z] 13:23:56     INFO - PID 10986 |     #2 0x7fac6ebdf481 in js_pod_arena_malloc<js::detail::OrderedHashTable<js::OrderedHashMap<js::HashableValue, js::HeapPtr<JS::Value>, js::HashableValue::Hasher, js::ZoneAllocPolicy>::Entry, js::OrderedHashMap<js::HashableValue, js::HeapPtr<JS::Value>, js::HashableValue::Hasher, js::ZoneAllocPolicy>::MapOps, js::ZoneAllocPolicy>::Data *> /builds/worker/workspace/obj-build/dist/include/js/Utility.h:592:26
[task 2021-08-12T13:23:56.417Z] 13:23:56     INFO - PID 10986 |     #3 0x7fac6ebdf481 in maybe_pod_arena_malloc<js::detail::OrderedHashTable<js::OrderedHashMap<js::HashableValue, js::HeapPtr<JS::Value>, js::HashableValue::Hasher, js::ZoneAllocPolicy>::Entry, js::OrderedHashMap<js::HashableValue, js::HeapPtr<JS::Value>, js::HashableValue::Hasher, js::ZoneAllocPolicy>::MapOps, js::ZoneAllocPolicy>::Data *> /builds/worker/checkouts/gecko/js/src/vm/MallocProvider.h:53:12
[task 2021-08-12T13:23:56.418Z] 13:23:56     INFO - PID 10986 |     #4 0x7fac6ebdf481 in js::detail::OrderedHashTable<js::OrderedHashMap<js::HashableValue, js::HeapPtr<JS::Value>, js::HashableValue::Hasher, js::ZoneAllocPolicy>::Entry, js::OrderedHashMap<js::HashableValue, js::HeapPtr<JS::Value>, js::HashableValue::Hasher, js::ZoneAllocPolicy>::MapOps, js::ZoneAllocPolicy>::Data** js::MallocProvider<js::ZoneAllocPolicy>::pod_arena_malloc<js::detail::OrderedHashTable<js::OrderedHashMap<js::HashableValue, js::HeapPtr<JS::Value>, js::HashableValue::Hasher, js::ZoneAllocPolicy>::Entry, js::OrderedHashMap<js::HashableValue, js::HeapPtr<JS::Value>, js::HashableValue::Hasher, js::ZoneAllocPolicy>::MapOps, js::ZoneAllocPolicy>::Data*>(unsigned long, unsigned long) /builds/worker/checkouts/gecko/js/src/vm/MallocProvider.h:105:12
[task 2021-08-12T13:23:56.418Z] 13:23:56     INFO - PID 10986 |     #5 0x7fac6ebdfc0d in pod_malloc<js::detail::OrderedHashTable<js::OrderedHashMap<js::HashableValue, js::HeapPtr<JS::Value>, js::HashableValue::Hasher, js::ZoneAllocPolicy>::Entry, js::OrderedHashMap<js::HashableValue, js::HeapPtr<JS::Value>, js::HashableValue::Hasher, js::ZoneAllocPolicy>::MapOps, js::ZoneAllocPolicy>::Data *> /builds/worker/checkouts/gecko/js/src/vm/MallocProvider.h:123:12
[task 2021-08-12T13:23:56.420Z] 13:23:56     INFO - PID 10986 |     #6 0x7fac6ebdfc0d in js::detail::OrderedHashTable<js::OrderedHashMap<js::HashableValue, js::HeapPtr<JS::Value>, js::HashableValue::Hasher, js::ZoneAllocPolicy>::Entry, js::OrderedHashMap<js::HashableValue, js::HeapPtr<JS::Value>, js::HashableValue::Hasher, js::ZoneAllocPolicy>::MapOps, js::ZoneAllocPolicy>::init() /builds/worker/checkouts/gecko/js/src/ds/OrderedHashTable.h:119:40
[task 2021-08-12T13:23:56.420Z] 13:23:56     INFO - PID 10986 |     #7 0x7fac6eb735f5 in init /builds/worker/checkouts/gecko/js/src/ds/OrderedHashTable.h:804:42
[task 2021-08-12T13:23:56.421Z] 13:23:56     INFO - PID 10986 |     #8 0x7fac6eb735f5 in js::MapObject::create(JSContext*, JS::Handle<JSObject*>) /builds/worker/checkouts/gecko/js/src/builtin/MapObject.cpp:603:13
[task 2021-08-12T13:23:56.421Z] 13:23:56     INFO - PID 10986 |     #9 0x7fac6eb742c5 in js::MapObject::construct(JSContext*, unsigned int, JS::Value*) /builds/worker/checkouts/gecko/js/src/builtin/MapObject.cpp:662:30
[task 2021-08-12T13:23:56.423Z] 13:23:56     INFO - PID 10986 |     #10 0x7fac6eaa967c in CallJSNative /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:493:13
[task 2021-08-12T13:23:56.423Z] 13:23:56     INFO - PID 10986 |     #11 0x7fac6eaa967c in CallJSNativeConstructor /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:509:8
[task 2021-08-12T13:23:56.424Z] 13:23:56     INFO - PID 10986 |     #12 0x7fac6eaa967c in InternalConstruct(JSContext*, js::AnyConstructArgs const&) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:692:14
[task 2021-08-12T13:23:56.424Z] 13:23:56     INFO - PID 10986 |     #13 0x7fac6ea8313e in Interpret(JSContext*, js::RunState&) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:3302:16
[task 2021-08-12T13:23:56.426Z] 13:23:56     INFO - PID 10986 |     #14 0x7fac6ea76ea0 in js::RunScript(JSContext*, js::RunState&) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:465:10
[task 2021-08-12T13:23:56.426Z] 13:23:56     INFO - PID 10986 |     #15 0x7fac6eaa6c37 in js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:620:13
[task 2021-08-12T13:23:56.427Z] 13:23:56     INFO - PID 10986 |     #16 0x7fac6eaa8b6a in InternalCall(JSContext*, js::AnyInvokeArgs const&, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:648:10
[task 2021-08-12T13:23:56.428Z] 13:23:56     INFO - PID 10986 |     #17 0x7fac6eaa8de9 in js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:665:8
[task 2021-08-12T13:23:56.430Z] 13:23:56     INFO - PID 10986 |     #18 0x7fac6f8b26bc in js::jit::InvokeFunction(JSContext*, JS::Handle<JSObject*>, bool, bool, unsigned int, JS::Value*, JS::MutableHandle<JS::Value>) /builds/worker/checkouts/gecko/js/src/jit/VMFunctions.cpp:269:10
[task 2021-08-12T13:23:56.430Z] 13:23:56     INFO - PID 10986 |     #19 0x7fac6f8b3191 in js::jit::InvokeFromInterpreterStub(JSContext*, js::jit::InterpreterStubExitFrameLayout*) /builds/worker/checkouts/gecko/js/src/jit/VMFunctions.cpp:289:8
[task 2021-08-12T13:23:56.430Z] 13:23:56     INFO - PID 10986 |     #20 0x26e764332fb3  (<unknown module>)
[task 2021-08-12T13:23:56.431Z] 13:23:56     INFO - PID 10986 |     #21 0x625000259c0f  (<unknown module>)
[task 2021-08-12T13:23:56.431Z] 13:23:56     INFO - PID 10986 |     #22 0x26e76433269e  (<unknown module>)
[task 2021-08-12T13:23:56.434Z] 13:23:56     INFO - PID 10986 |     #23 0x7fac6fc6125b in EnterJit /builds/worker/checkouts/gecko/js/src/jit/Jit.cpp:105:5
[task 2021-08-12T13:23:56.435Z] 13:23:56     INFO - PID 10986 |     #24 0x7fac6fc6125b in js::jit::MaybeEnterJit(JSContext*, js::RunState&) /builds/worker/checkouts/gecko/js/src/jit/Jit.cpp:196:10
[task 2021-08-12T13:23:56.435Z] 13:23:56     INFO - PID 10986 |     #25 0x7fac6ea917f1 in Interpret(JSContext*, js::RunState&) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:3358:40
[task 2021-08-12T13:23:56.436Z] 13:23:56     INFO - PID 10986 |     #26 0x7fac6ea76ea0 in js::RunScript(JSContext*, js::RunState&) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:465:10
[task 2021-08-12T13:23:56.436Z] 13:23:56     INFO - PID 10986 |     #27 0x7fac6eaa6c37 in js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:620:13
[task 2021-08-12T13:23:56.436Z] 13:23:56     INFO - PID 10986 |     #28 0x7fac6eaa8b6a in InternalCall(JSContext*, js::AnyInvokeArgs const&, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:648:10
[task 2021-08-12T13:23:56.437Z] 13:23:56     INFO - PID 10986 |     #29 0x7fac6f8538ff in js::jit::DoCallFallback(JSContext*, js::jit::BaselineFrame*, js::jit::ICCall_Fallback*, unsigned int, JS::Value*, JS::MutableHandle<JS::Value>) /builds/worker/checkouts/gecko/js/src/jit/BaselineIC.cpp:2984:10
[task 2021-08-12T13:23:56.437Z] 13:23:56     INFO - PID 10986 |     #30 0x26e764334cb7  (<unknown module>)
[task 2021-08-12T13:23:56.439Z] 13:23:56     INFO - PID 10986 |     #31 0x621000365bc7  (<unknown module>)
[task 2021-08-12T13:23:56.440Z] 13:23:56     INFO - PID 10986 |     #32 0x26e76433269e  (<unknown module>)
[task 2021-08-12T13:23:56.440Z] 13:23:56     INFO - PID 10986 |     #33 0x7fac6f9e57dd in EnterBaseline /builds/worker/checkouts/gecko/js/src/jit/BaselineJIT.cpp:114:5
[task 2021-08-12T13:23:56.441Z] 13:23:56     INFO - PID 10986 |     #34 0x7fac6f9e57dd in js::jit::EnterBaselineInterpreterAtBranch(JSContext*, js::InterpreterFrame*, unsigned char*) /builds/worker/checkouts/gecko/js/src/jit/BaselineJIT.cpp:187:26
[task 2021-08-12T13:23:56.442Z] 13:23:56     INFO - PID 10986 |     #35 0x7fac6ea9a617 in Interpret(JSContext*, js::RunState&) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:2223:17
[task 2021-08-12T13:23:56.443Z] 13:23:56     INFO - PID 10986 |     #36 0x7fac6ea76ea0 in js::RunScript(JSContext*, js::RunState&) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:465:10
[task 2021-08-12T13:23:56.444Z] 13:23:56     INFO - PID 10986 |     #37 0x7fac6eaaad2e in js::ExecuteKernel(JSContext*, JS::Handle<JSScript*>, JS::Handle<JSObject*>, JS::Handle<JS::Value>, js::AbstractFramePtr, JS::MutableHandle<JS::Value>) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:840:13
[task 2021-08-12T13:23:56.447Z] 13:23:56     INFO - PID 10986 |     #38 0x7fac6eb27482 in ExecuteInExtensibleLexicalEnvironment(JSContext*, JS::Handle<JSScript*>, JS::Handle<JSObject*>) /builds/worker/checkouts/gecko/js/src/builtin/Eval.cpp:510:10
[task 2021-08-12T13:23:56.448Z] 13:23:56     INFO - PID 10986 | -----------------------------------------------------
[task 2021-08-12T13:23:56.448Z] 13:23:56     INFO - PID 10986 | Suppressions used:
[task 2021-08-12T13:23:56.449Z] 13:23:56     INFO - PID 10986 |   count      bytes template
[task 2021-08-12T13:23:56.449Z] 13:23:56     INFO - PID 10986 |     840      76853 libc.so
[task 2021-08-12T13:23:56.450Z] 13:23:56     INFO - PID 10986 |      23        712 nsComponentManagerImpl
[task 2021-08-12T13:23:56.450Z] 13:23:56     INFO - PID 10986 |     633      18287 libfontconfig.so
[task 2021-08-12T13:23:56.450Z] 13:23:56     INFO - PID 10986 |    2354     110256 js::frontend::BytecodeEmitter:
[task 2021-08-12T13:23:56.451Z] 13:23:56     INFO - PID 10986 |     447      16361 js::frontend::GeneralParser
[task 2021-08-12T13:23:56.451Z] 13:23:56     INFO - PID 10986 |     417      15580 js::frontend::Parse
[task 2021-08-12T13:23:56.453Z] 13:23:56     INFO - PID 10986 |      27        756 xpc::CIGSHelper
[task 2021-08-12T13:23:56.453Z] 13:23:56     INFO - PID 10986 |    1814     159766 mozJSComponentLoader
[task 2021-08-12T13:23:56.453Z] 13:23:56     INFO - PID 10986 |     155       9501 XPCWrappedNativeJSOps
[task 2021-08-12T13:23:56.454Z] 13:23:56     INFO - PID 10986 | -----------------------------------------------------
[task 2021-08-12T13:23:56.454Z] 13:23:56     INFO - PID 10986 | SUMMARY: AddressSanitizer: 109643 byte(s) leaked in 1008 allocation(s).
[task 2021-08-12T13:23:56.455Z] 13:23:56     INFO - PID 10986 | -----------------------------------------------------
[task 2021-08-12T13:23:56.455Z] 13:23:56     INFO - PID 10986 | Suppressions used:
[task 2021-08-12T13:23:56.455Z] 13:23:56     INFO - PID 10986 |   count      bytes template
[task 2021-08-12T13:23:56.456Z] 13:23:56     INFO - PID 10986 |      20        608 nsComponentManagerImpl
[task 2021-08-12T13:23:56.456Z] 13:23:56     INFO - PID 10986 |     633      18083 libfontconfig.so
[task 2021-08-12T13:23:56.456Z] 13:23:56     INFO - PID 10986 |       3        576 mozJSComponentLoader
[task 2021-08-12T13:23:56.457Z] 13:23:56     INFO - PID 10986 | -----------------------------------------------------
[task 2021-08-12T13:23:56.457Z] 13:23:56     INFO - Browser exited with return code 0
[task 2021-08-12T13:23:56.457Z] 13:23:56     INFO - PROCESS LEAKS None
[task 2021-08-12T13:23:56.458Z] 13:23:56     INFO - ERROR | LeakSanitizer | SUMMARY: AddressSanitizer: 109702 byte(s) leaked in 1009 allocation(s).
[task 2021-08-12T13:23:56.458Z] 13:23:56     INFO - LeakSanitizer | To show the addresses of leaked objects add report_objects=1 to LSAN_OPTIONS
[task 2021-08-12T13:23:56.458Z] 13:23:56     INFO - This can be done in testing/mozbase/mozrunner/mozrunner/utils.py
[task 2021-08-12T13:23:56.458Z] 13:23:56     INFO - Allowed depth was 4
[task 2021-08-12T13:23:56.459Z] 13:23:56     INFO - TEST-FAIL | LeakSanitizer | leak at Alloc, nsTSubstring, Gecko_StartBulkWriteString, nsstring::nsAString::start_bulk_write_impl
[task 2021-08-12T13:23:56.459Z] 13:23:56     INFO - INFO | LeakSanitizer | Frame Alloc matched a expected leak
[task 2021-08-12T13:23:56.459Z] 13:23:56     INFO - TEST-FAIL | LeakSanitizer | leak at js_arena_malloc, js_pod_arena_malloc, Interpret, js::RunScript
[task 2021-08-12T13:23:56.459Z] 13:23:56     INFO - INFO | LeakSanitizer | Frame js_arena_malloc matched a expected leak
[task 2021-08-12T13:23:56.460Z] 13:23:56     INFO - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at js::ExecuteKernel, ExecuteInExtensibleLexicalEnvironment, js::ExecuteInFrameScriptEnvironment, nsMessageManagerScriptExecutor::LoadScriptInternal
[task 2021-08-12T13:23:56.460Z] 13:23:56     INFO - TEST-FAIL | LeakSanitizer | leak at mozilla::net::nsStandardURL::TemplatedMutator, mozilla::net::nsStandardURL::TemplatedMutator, std::function, operator
[task 2021-08-12T13:23:56.460Z] 13:23:56     INFO - INFO | LeakSanitizer | Frame mozilla::net::nsStandardURL::TemplatedMutator matched a expected leak
[task 2021-08-12T13:23:56.461Z] 13:23:56     INFO - TEST-FAIL | LeakSanitizer | leak at js::Call, js::jit::InvokeFunction, js_arena_malloc, js_pod_arena_malloc
[task 2021-08-12T13:23:56.461Z] 13:23:56     INFO - INFO | LeakSanitizer | Frame js_arena_malloc matched a expected leak
[task 2021-08-12T13:23:56.461Z] 13:23:56     INFO - TEST-FAIL | LeakSanitizer | leak at js::fun_apply, CallJSNative, js::InternalCallOrConstruct, InternalCall
[task 2021-08-12T13:23:56.461Z] 13:23:56     INFO - INFO | LeakSanitizer | Frame CallJSNative matched a expected leak
[task 2021-08-12T13:23:56.461Z] 13:23:56     INFO - TEST-FAIL | LeakSanitizer | leak at js::NativeObject::growSlots, js_arena_malloc, js_pod_arena_malloc, maybe_pod_arena_malloc
[task 2021-08-12T13:23:56.462Z] 13:23:56     INFO - INFO | LeakSanitizer | Frame js_arena_malloc matched a expected leak
[task 2021-08-12T13:23:56.462Z] 13:23:56     INFO - TEST-FAIL | LeakSanitizer | leak at pod_malloc, js::PrivateScriptData::new_, js_arena_malloc, js_pod_arena_malloc
[task 2021-08-12T13:23:56.462Z] 13:23:56     INFO - INFO | LeakSanitizer | Frame js_arena_malloc matched a expected leak
[task 2021-08-12T13:23:56.462Z] 13:23:56     INFO - TEST-FAIL | LeakSanitizer | leak at js_arena_malloc, js_pod_arena_malloc, maybe_pod_arena_malloc, js::AllocateObjectBuffer
[task 2021-08-12T13:23:56.462Z] 13:23:56     INFO - INFO | LeakSanitizer | Frame js_arena_malloc matched a expected leak
[task 2021-08-12T13:23:56.463Z] 13:23:56     INFO - TEST-FAIL | LeakSanitizer | leak at mozilla::detail::HashTable, mozilla::detail::HashTable, reserve, reserve
[task 2021-08-12T13:23:56.463Z] 13:23:56     INFO - INFO | LeakSanitizer | Frame reserve matched a expected leak
[task 2021-08-12T13:23:56.464Z] 13:23:56     INFO - TEST-FAIL | LeakSanitizer | leak at js::RunScript, js::InternalCallOrConstruct, js_arena_malloc, js_pod_arena_malloc
[task 2021-08-12T13:23:56.464Z] 13:23:56     INFO - INFO | LeakSanitizer | Frame js::InternalCallOrConstruct matched a expected leak
[task 2021-08-12T13:23:56.464Z] 13:23:56     INFO - TEST-FAIL | LeakSanitizer | leak at mozilla::detail::HashTable, mozilla::detail::HashTable, putNew, putNew
[task 2021-08-12T13:23:56.464Z] 13:23:56     INFO - INFO | LeakSanitizer | Frame putNew matched a expected leak
[task 2021-08-12T13:23:56.465Z] 13:23:56     INFO - TEST-FAIL | LeakSanitizer | leak at js_arena_calloc, js_pod_arena_calloc, maybe_pod_arena_calloc, EnterJit
[task 2021-08-12T13:23:56.465Z] 13:23:56     INFO - INFO | LeakSanitizer | Frame js_arena_calloc matched a expected leak
[task 2021-08-12T13:23:56.465Z] 13:23:56     INFO - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at js::NativeObject::putDataProperty, AddOrChangeProperty, js::NativeDefineProperty, js::DefineDataProperty
[task 2021-08-12T13:23:56.466Z] 13:23:56     INFO - TEST-FAIL | LeakSanitizer | leak at js_arena_calloc, AllocateNewAtom, atomizeAndCopyChars, AtomizeAndCopyCharsFromLookup
[task 2021-08-12T13:23:56.466Z] 13:23:56     INFO - INFO | LeakSanitizer | Frame js_arena_calloc matched a expected leak
[task 2021-08-12T13:23:56.466Z] 13:23:56     INFO - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at EnterJit, js::jit::MaybeEnterJit, Interpret, js::RunScript
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.