Closed Bug 1750417 Opened 2 years ago Closed 1 year ago

Intermittent LeakSanitizer | leak at mozilla::dom::ServiceWorkerShutdownBlocker::CreateAndRegisterOn, mozilla::dom::ServiceWorkerManager::Init, mozilla::dom::ServiceWorkerManager::GetInstance, mozilla::dom::Document::DispatchContentLoadedEvents

Categories

(Core :: DOM: Service Workers, defect, P5)

defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: intermittent-failure)

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


[task 2022-01-16T06:59:30.200Z] 06:59:30     INFO - TEST-START | /css/css-sizing/min-content-negative-margin-crash.html
<...>
[task 2022-01-16T06:59:38.512Z] 06:59:38     INFO - PID 9318 | Indirect leak of 32 byte(s) in 1 object(s) allocated from:
[task 2022-01-16T06:59:38.513Z] 06:59:38     INFO - PID 9318 |     #0 0x55c48c82ad8d in malloc /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cpp:129:3
[task 2022-01-16T06:59:38.514Z] 06:59:38     INFO - PID 9318 |     #1 0x55c48c865bdd in moz_xmalloc /builds/worker/checkouts/gecko/memory/mozalloc/mozalloc.cpp:52:15
[task 2022-01-16T06:59:38.514Z] 06:59:38     INFO - PID 9318 |     #2 0x7f7e590f8f26 in operator new /builds/worker/workspace/obj-build/dist/include/mozilla/cxxalloc.h:33:10
[task 2022-01-16T06:59:38.515Z] 06:59:38     INFO - PID 9318 |     #3 0x7f7e590f8f26 in nsTimer::WithEventTarget(nsIEventTarget*) /builds/worker/checkouts/gecko/xpcom/threads/nsTimerImpl.cpp:791:20
[task 2022-01-16T06:59:38.516Z] 06:59:38     INFO - PID 9318 |     #4 0x7f7e590f9710 in NS_NewTimerWithCallback(nsITimer**, nsITimerCallback*, unsigned int, unsigned int, nsIEventTarget*) /builds/worker/checkouts/gecko/xpcom/threads/nsTimerImpl.cpp:179:16
[task 2022-01-16T06:59:38.516Z] 06:59:38     INFO - PID 9318 |     #5 0x7f7e60051961 in mozilla::dom::ServiceWorkerManager::Init(mozilla::dom::ServiceWorkerRegistrar*) /builds/worker/checkouts/gecko/dom/serviceworkers/ServiceWorkerManager.cpp:515:3
[task 2022-01-16T06:59:38.517Z] 06:59:38     INFO - PID 9318 |     #6 0x7f7e6004adb7 in mozilla::dom::ServiceWorkerManager::GetInstance() /builds/worker/checkouts/gecko/dom/serviceworkers/ServiceWorkerManager.cpp:1436:16
[task 2022-01-16T06:59:38.518Z] 06:59:38     INFO - PID 9318 |     #7 0x7f7e5be40e09 in mozilla::dom::Document::DispatchContentLoadedEvents() /builds/worker/checkouts/gecko/dom/base/Document.cpp:7985:40
[task 2022-01-16T06:59:38.518Z] 06:59:38     INFO - PID 9318 |     #8 0x7f7e5be42231 in mozilla::dom::Document::UnblockDOMContentLoaded() /builds/worker/checkouts/gecko/dom/base/Document.cpp:8096:5
[task 2022-01-16T06:59:38.519Z] 06:59:38     INFO - PID 9318 |     #9 0x7f7e5be41c31 in mozilla::dom::Document::EndLoad() /builds/worker/checkouts/gecko/dom/base/Document.cpp:8049:3
[task 2022-01-16T06:59:38.520Z] 06:59:38     INFO - PID 9318 |     #10 0x7f7e5f73f96b in mozilla::dom::PrototypeDocumentContentSink::DoneWalking() /builds/worker/checkouts/gecko/dom/prototype/PrototypeDocumentContentSink.cpp:688:14
[task 2022-01-16T06:59:38.520Z] 06:59:38     INFO - PID 9318 |     #11 0x7f7e5f73f556 in mozilla::dom::PrototypeDocumentContentSink::MaybeDoneWalking() /builds/worker/checkouts/gecko/dom/prototype/PrototypeDocumentContentSink.cpp:645:10
[task 2022-01-16T06:59:38.521Z] 06:59:38     INFO - PID 9318 |     #12 0x7f7e601e1a87 in mozilla::dom::DocumentL10n::InitialTranslationCompleted(bool) /builds/worker/checkouts/gecko/dom/l10n/DocumentL10n.cpp:321:19
[task 2022-01-16T06:59:38.522Z] 06:59:38     INFO - PID 9318 |     #13 0x7f7e601ea45a in L10nReadyHandler::ResolvedCallback(JSContext*, JS::Handle<JS::Value>) /builds/worker/checkouts/gecko/dom/l10n/DocumentL10n.cpp:73:20
[task 2022-01-16T06:59:38.522Z] 06:59:38     INFO - PID 9318 |     #14 0x7f7e5fc619b0 in mozilla::dom::(anonymous namespace)::PromiseNativeHandlerShim::ResolvedCallback(JSContext*, JS::Handle<JS::Value>) /builds/worker/checkouts/gecko/dom/promise/Promise.cpp:385:12
[task 2022-01-16T06:59:38.523Z] 06:59:38     INFO - PID 9318 |     #15 0x7f7e5fc622f7 in mozilla::dom::NativeHandlerCallback(JSContext*, unsigned int, JS::Value*) /builds/worker/checkouts/gecko/dom/promise/Promise.cpp
[task 2022-01-16T06:59:38.523Z] 06:59:38     INFO - PID 9318 |     #16 0x7f7e6488f774 in CallJSNative /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:425:13
[task 2022-01-16T06:59:38.524Z] 06:59:38     INFO - PID 9318 |     #17 0x7f7e6488f774 in js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:512:12
[task 2022-01-16T06:59:38.525Z] 06:59:38     INFO - PID 9318 |     #18 0x7f7e648919fb 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:589:8
[task 2022-01-16T06:59:38.526Z] 06:59:38     INFO - PID 9318 |     #19 0x7f7e64c2228a in Call /builds/worker/checkouts/gecko/js/src/vm/Interpreter.h:106:10
[task 2022-01-16T06:59:38.526Z] 06:59:38     INFO - PID 9318 |     #20 0x7f7e64c2228a in PromiseReactionJob(JSContext*, unsigned int, JS::Value*) /builds/worker/checkouts/gecko/js/src/builtin/Promise.cpp:2067:10
[task 2022-01-16T06:59:38.527Z] 06:59:38     INFO - PID 9318 |     #21 0x7f7e6488f774 in CallJSNative /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:425:13
[task 2022-01-16T06:59:38.528Z] 06:59:38     INFO - PID 9318 |     #22 0x7f7e6488f774 in js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:512:12
[task 2022-01-16T06:59:38.528Z] 06:59:38     INFO - PID 9318 |     #23 0x7f7e648919fb 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:589:8
[task 2022-01-16T06:59:38.529Z] 06:59:38     INFO - PID 9318 |     #24 0x7f7e64ab7d0d in JS::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, JS::HandleValueArray const&, JS::MutableHandle<JS::Value>) /builds/worker/checkouts/gecko/js/src/vm/CallAndConstruct.cpp:117:10
[task 2022-01-16T06:59:38.530Z] 06:59:38     INFO - PID 9318 |     #25 0x7f7e5c92dd5c in mozilla::dom::PromiseJobCallback::Call(mozilla::dom::BindingCallContext&, JS::Handle<JS::Value>, mozilla::ErrorResult&) /builds/worker/workspace/obj-build/dom/bindings/PromiseBinding.cpp:35:8
[task 2022-01-16T06:59:38.530Z] 06:59:38     INFO - PID 9318 |     #26 0x7f7e58eb48d7 in Call /builds/worker/workspace/obj-build/dist/include/mozilla/dom/PromiseBinding.h:89:12
[task 2022-01-16T06:59:38.531Z] 06:59:38     INFO - PID 9318 |     #27 0x7f7e58eb48d7 in Call /builds/worker/workspace/obj-build/dist/include/mozilla/dom/PromiseBinding.h:102:12
[task 2022-01-16T06:59:38.532Z] 06:59:38     INFO - PID 9318 |     #28 0x7f7e58eb48d7 in mozilla::PromiseJobRunnable::Run(mozilla::AutoSlowOperation&) /builds/worker/checkouts/gecko/xpcom/base/CycleCollectedJSContext.cpp:213:18
[task 2022-01-16T06:59:38.533Z] 06:59:38     INFO - PID 9318 |     #29 0x7f7e58e94957 in mozilla::CycleCollectedJSContext::PerformMicroTaskCheckPoint(bool) /builds/worker/checkouts/gecko/xpcom/base/CycleCollectedJSContext.cpp:674:17
[task 2022-01-16T06:59:38.533Z] 06:59:38     INFO - PID 9318 |     #30 0x7f7e58e9562f in mozilla::CycleCollectedJSContext::AfterProcessTask(unsigned int) /builds/worker/checkouts/gecko/xpcom/base/CycleCollectedJSContext.cpp:463:3
[task 2022-01-16T06:59:38.534Z] 06:59:38     INFO - PID 9318 |     #31 0x7f7e5ac688c6 in XPCJSContext::AfterProcessTask(unsigned int) /builds/worker/checkouts/gecko/js/xpconnect/src/XPCJSContext.cpp:1478:28
[task 2022-01-16T06:59:38.535Z] 06:59:38     INFO - PID 9318 |     #32 0x7f7e590bb7e8 in nsThread::ProcessNextEvent(bool, bool*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:1232:24
[task 2022-01-16T06:59:38.535Z] 06:59:38     INFO - PID 9318 |     #33 0x7f7e590c63bc in NS_ProcessNextEvent(nsIThread*, bool) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:467:10
[task 2022-01-16T06:59:38.536Z] 06:59:38     INFO - PID 9318 |     #34 0x7f7e5a267658 in mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) /builds/worker/checkouts/gecko/ipc/glue/MessagePump.cpp:85:21
[task 2022-01-16T06:59:38.536Z] 06:59:38     INFO - PID 9318 |     #35 0x7f7e5a174e11 in RunInternal /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:331:10
[task 2022-01-16T06:59:38.537Z] 06:59:38     INFO - PID 9318 |     #36 0x7f7e5a174e11 in RunHandler /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:324:3
[task 2022-01-16T06:59:38.537Z] 06:59:38     INFO - PID 9318 |     #37 0x7f7e5a174e11 in MessageLoop::Run() /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:306:3
[task 2022-01-16T06:59:38.538Z] 06:59:38     INFO - PID 9318 | -----------------------------------------------------
[task 2022-01-16T06:59:38.539Z] 06:59:38     INFO - PID 9318 | Suppressions used:
[task 2022-01-16T06:59:38.539Z] 06:59:38     INFO - PID 9318 |   count      bytes template
[task 2022-01-16T06:59:38.540Z] 06:59:38     INFO - PID 9318 |       4        728 libc.so
[task 2022-01-16T06:59:38.540Z] 06:59:38     INFO - PID 9318 |      10        312 nsComponentManagerImpl
[task 2022-01-16T06:59:38.541Z] 06:59:38     INFO - PID 9318 |     633      18083 libfontconfig.so
[task 2022-01-16T06:59:38.541Z] 06:59:38     INFO - PID 9318 |       1          9 libglib-2.0.so
[task 2022-01-16T06:59:38.542Z] 06:59:38     INFO - PID 9318 |       2        416 mozJSComponentLoader
[task 2022-01-16T06:59:38.543Z] 06:59:38     INFO - PID 9318 |       3         80 XPCWrappedNativeJSOps
[task 2022-01-16T06:59:38.543Z] 06:59:38     INFO - PID 9318 | -----------------------------------------------------
[task 2022-01-16T06:59:38.687Z] 06:59:38     INFO - Browser exited with return code 0
[task 2022-01-16T06:59:38.689Z] 06:59:38     INFO - ERROR | LeakSanitizer | SUMMARY: AddressSanitizer: 472 byte(s) leaked in 4 allocation(s).
[task 2022-01-16T06:59:38.689Z] 06:59:38     INFO - LeakSanitizer | To show the addresses of leaked objects add report_objects=1 to LSAN_OPTIONS
[task 2022-01-16T06:59:38.690Z] 06:59:38     INFO - This can be done in testing/mozbase/mozrunner/mozrunner/utils.py
[task 2022-01-16T06:59:38.691Z] 06:59:38     INFO - Allowed depth was 4
[task 2022-01-16T06:59:38.691Z] 06:59:38     INFO - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::dom::ServiceWorkerShutdownBlocker::CreateAndRegisterOn, mozilla::dom::ServiceWorkerManager::Init, mozilla::dom::ServiceWorkerManager::GetInstance, mozilla::dom::Document::DispatchContentLoadedEvents
[task 2022-01-16T06:59:38.691Z] 06:59:38     INFO - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at nsTimer::WithEventTarget, NS_NewTimerWithCallback, mozilla::dom::ServiceWorkerManager::Init, mozilla::dom::ServiceWorkerManager::GetInstance
[task 2022-01-16T06:59:38.691Z] 06:59:38     INFO - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::dom::ServiceWorkerManager::GetInstance, mozilla::dom::Document::DispatchContentLoadedEvents, mozilla::dom::Document::UnblockDOMContentLoaded, mozilla::dom::Document::EndLoad
[task 2022-01-16T06:59:38.692Z] 06:59:38     INFO - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at nsTimer::nsTimer, nsTimer::WithEventTarget, NS_NewTimerWithCallback, mozilla::dom::ServiceWorkerManager::Init
[task 2022-01-16T06:59:38.694Z] 06:59:38     INFO - Closing logging queue
[task 2022-01-16T06:59:38.695Z] 06:59:38     INFO - queue closed
[task 2022-01-16T06:59:38.707Z] 06:59:38     INFO - INFO | runtests.py | ASan using symbolizer at /builds/worker/workspace/build/application/firefox/llvm-symbolizer
[task 2022-01-16T06:59:38.713Z] 06:59:38     INFO - LSan enabled.
[task 2022-01-16T06:59:38.713Z] 06:59:38     INFO - INFO | runtests.py | ASan running in default memory configuration
[task 2022-01-16T06:59:38.714Z] 06:59:38     INFO - UBSan enabled.
[task 2022-01-16T06:59:38.714Z] 06:59:38     INFO - Application command: /builds/worker/workspace/build/application/firefox/firefox --marionette about:blank -profile /tmp/tmpe44x2xvv
[task 2022-01-16T06:59:38.721Z] 06:59:38     INFO - Starting runner
[task 2022-01-16T06:59:39.200Z] 06:59:39     INFO - PID 9786 | 1642316379199	Marionette	INFO	Marionette enabled
[task 2022-01-16T06:59:40.067Z] 06:59:40     INFO - PID 9837 | 1642316380066	Marionette	INFO	Marionette enabled
[task 2022-01-16T06:59:44.647Z] 06:59:44     INFO - PID 9786 | console.warn: SearchSettings: "get: No settings file exists, new profile?" (new NotFoundError("Could not open the file at /tmp/tmp3dtdwe6r/search.json.mozlz4", (void 0)))
[task 2022-01-16T06:59:45.666Z] 06:59:45     INFO - PID 9837 | console.warn: SearchSettings: "get: No settings file exists, new profile?" (new NotFoundError("Could not open the file at /tmp/tmpe44x2xvv/search.json.mozlz4", (void 0)))
[task 2022-01-16T06:59:46.791Z] 06:59:46     INFO - PID 9786 | 1642316386790	Marionette	INFO	Listening on port 41418
[task 2022-01-16T06:59:47.019Z] 06:59:47     INFO - TEST-START | /css/css-tables/crashtests/caption-with-multicol-table-cell.html

The Bugbug bot thinks this bug should belong to the 'Core::DOM: Service Workers' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: General → DOM: Service Workers
Blocks: LSan

Not sure if this just mutated into something else, but here it stopped.

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.