Closed
Bug 1475122
Opened 7 years ago
Closed 7 years ago
Intermittent LeakSanitizer | leak at NS_strdup, SetName, InitWithName, nsJSCID::Initialize
Categories
(Core :: JavaScript Engine, defect, P5)
Core
JavaScript Engine
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: intermittent-bug-filer, Unassigned)
Details
(Keywords: intermittent-failure)
Filed by: rgurzau [at] mozilla.com
https://treeherder.mozilla.org/logviewer.html#?job_id=187694554&repo=mozilla-central
https://queue.taskcluster.net/v1/task/CHNs5QSoSvuID7jYBVmn-Q/runs/0/artifacts/public/logs/live_backing.log
[task 2018-07-11T23:19:40.278Z] 23:19:40 INFO - TEST-START | Shutdown
[task 2018-07-11T23:19:40.279Z] 23:19:40 INFO - Passed: 2536
[task 2018-07-11T23:19:40.285Z] 23:19:40 INFO - Failed: 0
[task 2018-07-11T23:19:40.285Z] 23:19:40 INFO - Todo: 1
[task 2018-07-11T23:19:40.286Z] 23:19:40 INFO - Mode: e10s
[task 2018-07-11T23:19:40.289Z] 23:19:40 INFO - Slowest: 17644ms - /tests/toolkit/components/extensions/test/mochitest/test_ext_notifications.html
[task 2018-07-11T23:19:40.306Z] 23:19:40 INFO - SimpleTest FINISHED
[task 2018-07-11T23:19:40.306Z] 23:19:40 INFO - TEST-INFO | Ran 1 Loops
[task 2018-07-11T23:19:40.308Z] 23:19:40 INFO - SimpleTest FINISHED
[task 2018-07-11T23:19:41.781Z] 23:19:41 INFO - GECKO(1251) | 1531351181769 Marionette DEBUG Received observer notification xpcom-will-shutdown
[task 2018-07-11T23:19:41.782Z] 23:19:41 INFO - GECKO(1251) | 1531351181769 Marionette INFO Stopped listening on port 2828
[task 2018-07-11T23:19:41.783Z] 23:19:41 INFO - GECKO(1251) | 1531351181770 Marionette DEBUG Remote service is inactive
[task 2018-07-11T23:19:41.799Z] 23:19:41 INFO - GECKO(1251) | *** WIFI GEO: shutdown called
[task 2018-07-11T23:19:42.489Z] 23:19:42 INFO - GECKO(1251) | -----------------------------------------------------
[task 2018-07-11T23:19:42.489Z] 23:19:42 INFO - GECKO(1251) | Suppressions used:
[task 2018-07-11T23:19:42.489Z] 23:19:42 INFO - GECKO(1251) | count bytes template
[task 2018-07-11T23:19:42.489Z] 23:19:42 INFO - GECKO(1251) | 640 20408 nsComponentManagerImpl
[task 2018-07-11T23:19:42.490Z] 23:19:42 INFO - GECKO(1251) | 5 1040 mozJSComponentLoader::LoadModule
[task 2018-07-11T23:19:42.490Z] 23:19:42 INFO - GECKO(1251) | 611 17713 libfontconfig.so
[task 2018-07-11T23:19:42.490Z] 23:19:42 INFO - GECKO(1251) | 1 29 libglib-2.0.so
[task 2018-07-11T23:19:42.490Z] 23:19:42 INFO - GECKO(1251) | -----------------------------------------------------
[task 2018-07-11T23:19:43.482Z] 23:19:43 INFO - GECKO(1251) | -----------------------------------------------------
[task 2018-07-11T23:19:43.482Z] 23:19:43 INFO - GECKO(1251) | Suppressions used:
[task 2018-07-11T23:19:43.486Z] 23:19:43 INFO - GECKO(1251) | count bytes template
[task 2018-07-11T23:19:43.491Z] 23:19:43 INFO - GECKO(1251) | 640 20408 nsComponentManagerImpl
[task 2018-07-11T23:19:43.493Z] 23:19:43 INFO - GECKO(1251) | 9 1872 mozJSComponentLoader::LoadModule
[task 2018-07-11T23:19:43.495Z] 23:19:43 INFO - GECKO(1251) | 611 17713 libfontconfig.so
[task 2018-07-11T23:19:43.497Z] 23:19:43 INFO - GECKO(1251) | 1 29 libglib-2.0.so
[task 2018-07-11T23:19:43.501Z] 23:19:43 INFO - GECKO(1251) | -----------------------------------------------------
[task 2018-07-11T23:19:45.323Z] 23:19:45 INFO - GECKO(1251) | -----------------------------------------------------
[task 2018-07-11T23:19:45.323Z] 23:19:45 INFO - GECKO(1251) | Suppressions used:
[task 2018-07-11T23:19:45.323Z] 23:19:45 INFO - GECKO(1251) | count bytes template
[task 2018-07-11T23:19:45.323Z] 23:19:45 INFO - GECKO(1251) | 652 20776 nsComponentManagerImpl
[task 2018-07-11T23:19:45.323Z] 23:19:45 INFO - GECKO(1251) | 46 9568 mozJSComponentLoader::LoadModule
[task 2018-07-11T23:19:45.323Z] 23:19:45 INFO - GECKO(1251) | 611 17509 libfontconfig.so
[task 2018-07-11T23:19:45.323Z] 23:19:45 INFO - GECKO(1251) | 14 616 _PR_Getfd
[task 2018-07-11T23:19:45.324Z] 23:19:45 INFO - GECKO(1251) | 1 29 libglib-2.0.so
[task 2018-07-11T23:19:45.324Z] 23:19:45 INFO - GECKO(1251) | 2 56 libresolv.so
[task 2018-07-11T23:19:45.325Z] 23:19:45 INFO - GECKO(1251) | -----------------------------------------------------
[task 2018-07-11T23:19:45.515Z] 23:19:45 INFO - TEST-INFO | Main app process: exit 0
[task 2018-07-11T23:19:45.516Z] 23:19:45 INFO - TEST-INFO | LeakSanitizer | To show the addresses of leaked objects add report_objects=1 to LSAN_OPTIONS
[task 2018-07-11T23:19:45.517Z] 23:19:45 INFO - TEST-INFO | LeakSanitizer | This can be done in testing/mozbase/mozrunner/mozrunner/utils.py
[task 2018-07-11T23:19:45.517Z] 23:19:45 ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at NS_strdup, SetName, InitWithName, nsJSCID::Initialize
[task 2018-07-11T23:19:45.518Z] 23:19:45 ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at CreateInner, Create, nsAtomTable::AtomizeMainThread, GetByID
[task 2018-07-11T23:19:45.519Z] 23:19:45 ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at js_pod_malloc, maybe_pod_malloc, pod_malloc, make_unique
[task 2018-07-11T23:19:45.520Z] 23:19:45 ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at js_pod_malloc, maybe_pod_malloc, pod_malloc, mozilla::UniquePtr
[task 2018-07-11T23:19:45.521Z] 23:19:45 ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at NewEmptyScopeData, js::GlobalScope::create, operator, internScope
[task 2018-07-11T23:19:45.522Z] 23:19:45 ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at nsXPCWrappedJSClass::GetNewOrUsed, nsXPCWrappedJS::GetNewOrUsed, XPCConvert::JSObject2NativeInterface, XPCConvert::JSData2Native
[task 2018-07-11T23:19:45.523Z] 23:19:45 ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at XPCWrappedNative::GetNewOrUsed, XPCConvert::NativeInterface2JSObject, NativeInterface2JSObject, nsXPConnect::WrapNativeToJSVal
[task 2018-07-11T23:19:45.524Z] 23:19:45 ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::extensions::MatchPattern::Constructor, mozilla::extensions::MatchPatternSet::Constructor, mozilla::dom::MatchPatternSet_Binding::_constructor, CallJSNative
![]() |
||
Comment 1•7 years ago
|
||
[task 2018-07-11T23:16:02.339Z] 23:16:02 ERROR - GECKO(1251) | ==1370==ERROR: LeakSanitizer: detected memory leaks
[task 2018-07-11T23:16:02.341Z] 23:16:02 INFO - GECKO(1251) | Direct leak of 6144 byte(s) in 3 object(s) allocated from:
[task 2018-07-11T23:16:02.345Z] 23:16:02 INFO - GECKO(1251) | #0 0x4c1873 in malloc /builds/worker/workspace/moz-toolchain/src/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:88:3
[task 2018-07-11T23:16:02.345Z] 23:16:02 INFO - GECKO(1251) | #1 0x7f0841c64687 in js_malloc /builds/worker/workspace/build/src/obj-firefox/dist/include/js/Utility.h:387:12
[task 2018-07-11T23:16:02.345Z] 23:16:02 INFO - GECKO(1251) | #2 0x7f0841c64687 in js_pod_malloc<js::HeapSlot> /builds/worker/workspace/build/src/obj-firefox/dist/include/js/Utility.h:584
[task 2018-07-11T23:16:02.355Z] 23:16:02 INFO - GECKO(1251) | #3 0x7f0841c64687 in maybe_pod_malloc<js::HeapSlot> /builds/worker/workspace/build/src/js/src/vm/MallocProvider.h:54
[task 2018-07-11T23:16:02.356Z] 23:16:02 INFO - GECKO(1251) | #4 0x7f0841c64687 in js::HeapSlot* js::MallocProvider<JS::Zone>::pod_malloc<js::HeapSlot>(unsigned long) /builds/worker/workspace/build/src/js/src/vm/MallocProvider.h:87
[task 2018-07-11T23:16:02.358Z] 23:16:02 INFO - GECKO(1251) | #5 0x7f0842490b3f in tryNewTenuredObject<js::CanGC> /builds/worker/workspace/build/src/js/src/gc/Allocator.cpp:114:29
[task 2018-07-11T23:16:02.359Z] 23:16:02 INFO - GECKO(1251) | #6 0x7f0842490b3f in JSObject* js::Allocate<JSObject, (js::AllowGC)1>(JSContext*, js::gc::AllocKind, unsigned long, js::gc::InitialHeap, js::Class const*) /builds/worker/workspace/build/src/js/src/gc/Allocator.cpp:71
[task 2018-07-11T23:16:02.361Z] 23:16:02 INFO - GECKO(1251) | #7 0x7f084198a475 in js::NativeObject::create(JSContext*, js::gc::AllocKind, js::gc::InitialHeap, JS::Handle<js::Shape*>, JS::Handle<js::ObjectGroup*>) /builds/worker/workspace/build/src/js/src/vm/NativeObject-inl.h:537:21
[task 2018-07-11T23:16:02.363Z] 23:16:02 INFO - GECKO(1251) | #8 0x7f0841c5319e in NewObject(JSContext*, JS::Handle<js::ObjectGroup*>, js::gc::AllocKind, js::NewObjectKind, unsigned int) /builds/worker/workspace/build/src/js/src/vm/JSObject.cpp:751:9
[task 2018-07-11T23:16:02.364Z] 23:16:02 INFO - GECKO(1251) | #9 0x7f0841c526fe in js::NewObjectWithGivenTaggedProto(JSContext*, js::Class const*, JS::Handle<js::TaggedProto>, js::gc::AllocKind, js::NewObjectKind, unsigned int) /builds/worker/workspace/build/src/js/src/vm/JSObject.cpp:812:26
[task 2018-07-11T23:16:02.365Z] 23:16:02 INFO - GECKO(1251) | #10 0x7f0841bafd3c in NewObjectWithGivenTaggedProto /builds/worker/workspace/build/src/js/src/vm/JSObject-inl.h:603:12
[task 2018-07-11T23:16:02.366Z] 23:16:02 INFO - GECKO(1251) | #11 0x7f0841bafd3c in NewObjectWithGivenProto /builds/worker/workspace/build/src/js/src/vm/JSObject-inl.h:648
[task 2018-07-11T23:16:02.368Z] 23:16:02 INFO - GECKO(1251) | #12 0x7f0841bafd3c in js::GlobalObject::createInternal(JSContext*, js::Class const*) /builds/worker/workspace/build/src/js/src/vm/GlobalObject.cpp:468
[task 2018-07-11T23:16:02.371Z] 23:16:02 INFO - GECKO(1251) | #13 0x7f0841bb09f3 in js::GlobalObject::new_(JSContext*, js::Class const*, JSPrincipals*, JS::OnNewGlobalHookOption, JS::RealmOptions const&) /builds/worker/workspace/build/src/js/src/vm/GlobalObject.cpp:516:18
[task 2018-07-11T23:16:02.376Z] 23:16:02 INFO - GECKO(1251) | #14 0x7f08364b9601 in xpc::CreateGlobalObject(JSContext*, JSClass const*, nsIPrincipal*, JS::RealmOptions&) /builds/worker/workspace/build/src/js/xpconnect/src/nsXPConnect.cpp:450:25
[task 2018-07-11T23:16:02.379Z] 23:16:02 INFO - GECKO(1251) | #15 0x7f08364b8071 in XPCWrappedNative::WrapNewGlobal(xpcObjectHelper&, nsIPrincipal*, bool, JS::RealmOptions&, XPCWrappedNative**) /builds/worker/workspace/build/src/js/xpconnect/src/XPCWrappedNative.cpp:184:29
[task 2018-07-11T23:16:02.383Z] 23:16:02 INFO - GECKO(1251) | #16 0x7f083649b7b2 in xpc::InitClassesWithNewWrappedGlobal(JSContext*, nsISupports*, nsIPrincipal*, unsigned int, JS::RealmOptions&, JS::MutableHandle<JSObject*>) /builds/worker/workspace/build/src/js/xpconnect/src/nsXPConnect.cpp:565:9
[task 2018-07-11T23:16:02.384Z] 23:16:02 INFO - GECKO(1251) | #17 0x7f08363b3ae1 in mozJSComponentLoader::CreateLoaderGlobal(JSContext*, nsTSubstring<char> const&, JS::MutableHandle<JSObject*>) /builds/worker/workspace/build/src/js/xpconnect/loader/mozJSComponentLoader.cpp:588:10
[task 2018-07-11T23:16:02.385Z] 23:16:02 INFO - GECKO(1251) | #18 0x7f08363b4cce in mozJSComponentLoader::PrepareObjectForLocation(JSContext*, nsIFile*, nsIURI*, bool*, bool*) /builds/worker/workspace/build/src/js/xpconnect/loader/mozJSComponentLoader.cpp:687:9
[task 2018-07-11T23:16:02.386Z] 23:16:02 INFO - GECKO(1251) | #19 0x7f08363b0cce in mozJSComponentLoader::ObjectForLocation(ComponentLoaderInfo&, nsIFile*, JS::MutableHandle<JSObject*>, JS::MutableHandle<JSScript*>, char**, bool, JS::MutableHandle<JS::Value>) /builds/worker/workspace/build/src/js/xpconnect/loader/mozJSComponentLoader.cpp:799:26
[task 2018-07-11T23:16:02.387Z] 23:16:02 INFO - GECKO(1251) | #20 0x7f08363b97c4 in mozJSComponentLoader::Import(JSContext*, nsTSubstring<char> const&, JS::MutableHandle<JSObject*>, JS::MutableHandle<JSObject*>, bool) /builds/worker/workspace/build/src/js/xpconnect/loader/mozJSComponentLoader.cpp:1354:18
[task 2018-07-11T23:16:02.390Z] 23:16:02 INFO - GECKO(1251) | #21 0x7f08363b6fd3 in mozJSComponentLoader::ImportInto(nsTSubstring<char> const&, JS::Handle<JSObject*>, JSContext*, JS::MutableHandle<JSObject*>) /builds/worker/workspace/build/src/js/xpconnect/loader/mozJSComponentLoader.cpp:1154:5
[task 2018-07-11T23:16:02.393Z] 23:16:02 INFO - GECKO(1251) | #22 0x7f08363b6623 in mozJSComponentLoader::ImportInto(nsTSubstring<char> const&, JS::Handle<JS::Value>, JSContext*, unsigned char, JS::MutableHandle<JS::Value>) /builds/worker/workspace/build/src/js/xpconnect/loader/mozJSComponentLoader.cpp:1020:19
[task 2018-07-11T23:16:02.394Z] 23:16:02 INFO - GECKO(1251) | #23 0x7f0837b03376 in mozilla::dom::ChromeUtils::Import(mozilla::dom::GlobalObject const&, nsTSubstring<char16_t> const&, mozilla::dom::Optional<JS::Handle<JSObject*> > const&, JS::MutableHandle<JSObject*>, mozilla::ErrorResult&) /builds/worker/workspace/build/src/dom/base/ChromeUtils.cpp:409:31
[task 2018-07-11T23:16:02.395Z] 23:16:02 INFO - GECKO(1251) | #24 0x7f083914b88c in mozilla::dom::ChromeUtils_Binding::import(JSContext*, unsigned int, JS::Value*) /builds/worker/workspace/build/src/obj-firefox/dom/bindings/ChromeUtilsBinding.cpp:3157:3
[task 2018-07-11T23:16:02.396Z] 23:16:02 INFO - GECKO(1251) | #25 0x7f0840d60dbe in CallJSNative /builds/worker/workspace/build/src/js/src/vm/Interpreter.cpp:444:15
[task 2018-07-11T23:16:02.397Z] 23:16:02 INFO - GECKO(1251) | #26 0x7f0840d60dbe in js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct) /builds/worker/workspace/build/src/js/src/vm/Interpreter.cpp:532
[task 2018-07-11T23:16:02.398Z] 23:16:02 INFO - GECKO(1251) | #27 0x7f0840d4b76a in CallFromStack /builds/worker/workspace/build/src/js/src/vm/Interpreter.cpp:589:12
[task 2018-07-11T23:16:02.400Z] 23:16:02 INFO - GECKO(1251) | #28 0x7f0840d4b76a in Interpret(JSContext*, js::RunState&) /builds/worker/workspace/build/src/js/src/vm/Interpreter.cpp:3237
[task 2018-07-11T23:16:02.402Z] 23:16:02 INFO - GECKO(1251) | #29 0x7f0840d316da in js::RunScript(JSContext*, js::RunState&) /builds/worker/workspace/build/src/js/src/vm/Interpreter.cpp:424:12
[task 2018-07-11T23:16:02.409Z] 23:16:02 INFO - GECKO(1251) | #30 0x7f0840d65758 in js::ExecuteKernel(JSContext*, JS::Handle<JSScript*>, JSObject&, JS::Value const&, js::AbstractFramePtr, JS::Value*) /builds/worker/workspace/build/src/js/src/vm/Interpreter.cpp:772:15
[task 2018-07-11T23:16:02.410Z] 23:16:02 INFO - GECKO(1251) | #31 0x7f0840de50f0 in ExecuteInExtensibleLexicalEnvironment(JSContext*, JS::Handle<JSScript*>, JS::Handle<JSObject*>) /builds/worker/workspace/build/src/js/src/builtin/Eval.cpp:454:12
[task 2018-07-11T23:16:02.411Z] 23:16:02 INFO - GECKO(1251) | #32 0x7f0840de4a49 in js::ExecuteInGlobalAndReturnScope(JSContext*, JS::Handle<JSObject*>, JS::Handle<JSScript*>, JS::MutableHandle<JSObject*>) /builds/worker/workspace/build/src/js/src/builtin/Eval.cpp:472:10
[task 2018-07-11T23:16:02.413Z] 23:16:02 INFO - GECKO(1251) | #33 0x7f08379f8ae3 in nsMessageManagerScriptExecutor::LoadScriptInternal(JS::Handle<JSObject*>, nsTSubstring<char16_t> const&, bool) /builds/worker/workspace/build/src/dom/base/nsFrameMessageManager.cpp:1272:17
[task 2018-07-11T23:16:02.414Z] 23:16:02 INFO - GECKO(1251) | #34 0x7f083c0536cd in RecvLoadRemoteScript /builds/worker/workspace/build/src/dom/ipc/TabChild.cpp:2312:3
[task 2018-07-11T23:16:02.415Z] 23:16:02 INFO - GECKO(1251) | #35 0x7f083c0536cd in non-virtual thunk to mozilla::dom::TabChild::RecvLoadRemoteScript(nsTString<char16_t> const&, bool const&) /builds/worker/workspace/build/src/dom/ipc/TabChild.cpp
[task 2018-07-11T23:16:02.416Z] 23:16:02 INFO - GECKO(1251) | #36 0x7f08361f797e in mozilla::dom::PBrowserChild::OnMessageReceived(IPC::Message const&) /builds/worker/workspace/build/src/obj-firefox/ipc/ipdl/PBrowserChild.cpp:4607:20
[task 2018-07-11T23:16:02.429Z] 23:16:02 INFO - GECKO(1251) | #37 0x7f0835c161ba in mozilla::dom::PContentChild::OnMessageReceived(IPC::Message const&) /builds/worker/workspace/build/src/obj-firefox/ipc/ipdl/PContentChild.cpp:5408:28
[task 2018-07-11T23:16:02.429Z] 23:16:02 INFO - GECKO(1251) | #38 0x7f0835aaf82e in mozilla::ipc::MessageChannel::DispatchAsyncMessage(IPC::Message const&) /builds/worker/workspace/build/src/ipc/glue/MessageChannel.cpp:2134:25
![]() |
||
Updated•7 years ago
|
Component: Mozbase → JavaScript Engine
Product: Testing → Core
Version: Version 3 → unspecified
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 8•7 years ago
|
||
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•