Closed Bug 1579205 Opened 6 years ago Closed 4 years ago

Intermittent LeakSanitizer | leak at AttemptToExecute, nsHtml5TreeOpExecutor::RunScript, nsHtml5TreeOpExecutor::RunFlushLoop

Categories

(Core :: Networking: WebSockets, defect, P5)

defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure, regression, Whiteboard: [necko-triaged])

Filed by: rmaries [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=265195991&repo=autoland
Full log: https://queue.taskcluster.net/v1/task/asobH9jQSCG3ir33F5oL5Q/runs/0/artifacts/public/logs/live_backing.log


[task 2019-09-05T19:00:42.115Z] 19:00:42 INFO - TEST-START | /websockets/remove-own-iframe-during-onerror.window.html
[task 2019-09-05T19:00:49.741Z] 19:00:49 INFO - INFO | LeakSanitizer | Frame mozilla::BasePrincipal::CreateContentPrincipal matched a expected leak
[task 2019-09-05T19:00:49.742Z] 19:00:49 INFO - TEST-FAIL | LeakSanitizer | leak at mozilla::dom::WebSocket::ConstructorCommon, mozilla::dom::WebSocket::Constructor, mozilla::dom::WebSocket_Binding::_constructor, CallJSNative
[task 2019-09-05T19:00:49.742Z] 19:00:49 INFO - INFO | LeakSanitizer | Frame mozilla::dom::WebSocket::ConstructorCommon matched a expected leak
[task 2019-09-05T19:00:49.743Z] 19:00:49 INFO - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at AttemptToExecute, nsHtml5TreeOpExecutor::RunScript, nsHtml5TreeOpExecutor::RunFlushLoop
[task 2019-09-05T19:00:49.744Z] 19:00:49 INFO - Closing logging queue
[task 2019-09-05T19:00:49.744Z] 19:00:49 INFO - queue closed
[task 2019-09-05T19:00:49.745Z] 19:00:49 INFO - INFO | runtests.py | ASan using symbolizer at /builds/worker/workspace/build/application/firefox/llvm-symbolizer
[task 2019-09-05T19:00:49.748Z] 19:00:49 INFO - LSan enabled.
[task 2019-09-05T19:00:49.748Z] 19:00:49 INFO - LSan using suppression file /builds/worker/workspace/build/tests/web-platform/prefs/lsan_suppressions.txt
[task 2019-09-05T19:00:49.749Z] 19:00:49 INFO - INFO | runtests.py | ASan running in default memory configuration
[task 2019-09-05T19:00:49.769Z] 19:00:49 INFO - Setting up ssl
[task 2019-09-05T19:00:49.825Z] 19:00:49 INFO - certutil |
[task 2019-09-05T19:00:49.886Z] 19:00:49 INFO - certutil |
[task 2019-09-05T19:00:49.931Z] 19:00:49 INFO - certutil |
[task 2019-09-05T19:00:49.931Z] 19:00:49 INFO - Certificate Nickname Trust Attributes
[task 2019-09-05T19:00:49.931Z] 19:00:49 INFO - SSL,S/MIME,JAR/XPI
[task 2019-09-05T19:00:49.931Z] 19:00:49 INFO -
[task 2019-09-05T19:00:49.932Z] 19:00:49 INFO - web-platform-tests CT,,
[task 2019-09-05T19:00:49.932Z] 19:00:49 INFO -
[task 2019-09-05T19:00:49.976Z] 19:00:49 INFO - Application command: /builds/worker/workspace/build/application/firefox/firefox --marionette about:blank -profile /tmp/tmpEk6wMt.mozrunner
[task 2019-09-05T19:00:49.993Z] 19:00:49 INFO - Starting runner
[task 2019-09-05T19:00:51.960Z] 19:00:51 INFO - PID 6941 | 1567710051953 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: mozillaAddons
[task 2019-09-05T19:00:51.961Z] 19:00:51 INFO - PID 6941 | 1567710051954 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: telemetry
[task 2019-09-05T19:00:51.962Z] 19:00:51 INFO - PID 6941 | 1567710051956 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: resource://pdf.js/
[task 2019-09-05T19:00:51.962Z] 19:00:51 INFO - PID 6941 | 1567710051957 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: about:reader*
[task 2019-09-05T19:01:00.607Z] 19:01:00 INFO - PID 6941 | 1567710060596 Marionette INFO Listening on port 45225

[task 2019-09-05T19:00:44.275Z] 19:00:44     INFO - PID 1096 |     #0 0x559f5596f7c3 in __interceptor_malloc /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:146:3
[task 2019-09-05T19:00:44.275Z] 19:00:44     INFO - PID 1096 |     #1 0x559f559a4d8d in moz_xmalloc /builds/worker/workspace/build/src/memory/mozalloc/mozalloc.cpp:52:15
[task 2019-09-05T19:00:44.277Z] 19:00:44     INFO - PID 1096 |     #2 0x7f614896b27a in operator new /builds/worker/workspace/build/src/obj-firefox/dist/include/mozilla/cxxalloc.h:33:10
[task 2019-09-05T19:00:44.277Z] 19:00:44     INFO - PID 1096 |     #3 0x7f614896b27a in mozilla::net::WebSocketEventService::GetOrCreate() /builds/worker/workspace/build/src/netwerk/protocol/websocket/WebSocketEventService.cpp:192
[task 2019-09-05T19:00:44.289Z] 19:00:44     INFO - PID 1096 |     #4 0x7f614ffcda51 in mozilla::dom::WebSocketImpl::Init(JSContext*, nsIPrincipal*, nsIPrincipal*, bool, nsTSubstring<char16_t> const&, nsTArray<nsTString<char16_t> >&, nsTSubstring<char> const&, unsigned int, unsigned int) /builds/worker/workspace/build/src/dom/websocket/WebSocket.cpp:1483:14
[task 2019-09-05T19:00:44.289Z] 19:00:44     INFO - PID 1096 |     #5 0x7f614ffca0de in mozilla::dom::WebSocket::ConstructorCommon(mozilla::dom::GlobalObject const&, nsTSubstring<char16_t> const&, mozilla::dom::Sequence<nsTString<char16_t> > const&, nsITransportProvider*, nsTSubstring<char> const&, mozilla::ErrorResult&) /builds/worker/workspace/build/src/dom/websocket/WebSocket.cpp:1261:26
[task 2019-09-05T19:00:44.290Z] 19:00:44     INFO - PID 1096 |     #6 0x7f614ffc9623 in mozilla::dom::WebSocket::Constructor(mozilla::dom::GlobalObject const&, nsTSubstring<char16_t> const&, mozilla::ErrorResult&) /builds/worker/workspace/build/src/dom/websocket/WebSocket.cpp:928:10
[task 2019-09-05T19:00:44.290Z] 19:00:44     INFO - PID 1096 |     #7 0x7f614cf375dd in mozilla::dom::WebSocket_Binding::_constructor(JSContext*, unsigned int, JS::Value*) /builds/worker/workspace/build/src/obj-firefox/dom/bindings/WebSocketBinding.cpp:1131:59
[task 2019-09-05T19:00:44.290Z] 19:00:44     INFO - PID 1096 |     #8 0x7f6154284d17 in CallJSNative /builds/worker/workspace/build/src/js/src/vm/Interpreter.cpp:447:13
[task 2019-09-05T19:00:44.291Z] 19:00:44     INFO - PID 1096 |     #9 0x7f6154284d17 in CallJSNativeConstructor /builds/worker/workspace/build/src/js/src/vm/Interpreter.cpp:463
[task 2019-09-05T19:00:44.292Z] 19:00:44     INFO - PID 1096 |     #10 0x7f6154284d17 in InternalConstruct(JSContext*, js::AnyConstructArgs const&) /builds/worker/workspace/build/src/js/src/vm/Interpreter.cpp:656
[task 2019-09-05T19:00:44.293Z] 19:00:44     INFO - PID 1096 |     #11 0x7f6154269195 in Interpret(JSContext*, js::RunState&) /builds/worker/workspace/build/src/js/src/vm/Interpreter.cpp:3075:16
[task 2019-09-05T19:00:44.300Z] 19:00:44     INFO - PID 1096 |     #12 0x7f615424a96f in js::RunScript(JSContext*, js::RunState&) /builds/worker/workspace/build/src/js/src/vm/Interpreter.cpp:424:10
[task 2019-09-05T19:00:44.300Z] 19:00:44     INFO - PID 1096 |     #13 0x7f6154281b2f in js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct) /builds/worker/workspace/build/src/js/src/vm/Interpreter.cpp:567:13
[task 2019-09-05T19:00:44.300Z] 19:00:44     INFO - PID 1096 |     #14 0x7f6154283d52 in js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>) /builds/worker/workspace/build/src/js/src/vm/Interpreter.cpp:610:8
[task 2019-09-05T19:00:44.300Z] 19:00:44     INFO - PID 1096 |     #15 0x7f6154675f24 in js::fun_apply(JSContext*, unsigned int, JS::Value*) /builds/worker/workspace/build/src/js/src/vm/JSFunction.cpp:1184:10
[task 2019-09-05T19:00:44.300Z] 19:00:44     INFO - PID 1096 |     #16 0x7f6154281027 in CallJSNative /builds/worker/workspace/build/src/js/src/vm/Interpreter.cpp:447:13
[task 2019-09-05T19:00:44.300Z] 19:00:44     INFO - PID 1096 |     #17 0x7f6154281027 in js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct) /builds/worker/workspace/build/src/js/src/vm/Interpreter.cpp:539
[task 2019-09-05T19:00:44.302Z] 19:00:44     INFO - PID 1096 |     #18 0x7f61542692cc in CallFromStack /builds/worker/workspace/build/src/js/src/vm/Interpreter.cpp:598:10
[task 2019-09-05T19:00:44.302Z] 19:00:44     INFO - PID 1096 |     #19 0x7f61542692cc in Interpret(JSContext*, js::RunState&) /builds/worker/workspace/build/src/js/src/vm/Interpreter.cpp:3084
[task 2019-09-05T19:00:44.306Z] 19:00:44     INFO - PID 1096 |     #20 0x7f615424a96f in js::RunScript(JSContext*, js::RunState&) /builds/worker/workspace/build/src/js/src/vm/Interpreter.cpp:424:10
[task 2019-09-05T19:00:44.307Z] 19:00:44     INFO - PID 1096 |     #21 0x7f61542878ef 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:786:13
[task 2019-09-05T19:00:44.307Z] 19:00:44     INFO - PID 1096 |     #22 0x7f61542880bf in js::Execute(JSContext*, JS::Handle<JSScript*>, JSObject&, JS::Value*) /builds/worker/workspace/build/src/js/src/vm/Interpreter.cpp:819:10
[task 2019-09-05T19:00:44.309Z] 19:00:44     INFO - PID 1096 |     #23 0x7f615454d1ee in ExecuteScript(JSContext*, JS::Handle<JS::StackGCVector<JSObject*, js::TempAllocPolicy> >, JS::Handle<JSScript*>, JS::Value*) /builds/worker/workspace/build/src/js/src/vm/CompilationAndEvaluation.cpp:468:10
[task 2019-09-05T19:00:44.309Z] 19:00:44     INFO - PID 1096 |     #33 0x2566ce66ee03  (<unknown module>)
[task 2019-09-05T19:00:44.311Z] 19:00:44     INFO - PID 1096 |     #24 0x7f614b5bd844 in nsJSUtils::ExecutionContext::ExecScript() /builds/worker/workspace/build/src/dom/base/nsJSUtils.cpp:414:8
[task 2019-09-05T19:00:44.311Z] 19:00:44     INFO - PID 1096 |     #25 0x7f614ff4ab61 in mozilla::dom::ExecuteCompiledScript(JSContext*, mozilla::dom::ScriptLoadRequest*, nsJSUtils::ExecutionContext&) /builds/worker/workspace/build/src/dom/script/ScriptLoader.cpp:2590:16
[task 2019-09-05T19:00:44.312Z] 19:00:44     INFO - PID 1096 |     #26 0x7f614ff47c06 in mozilla::dom::ScriptLoader::EvaluateScript(mozilla::dom::ScriptLoadRequest*) /builds/worker/workspace/build/src/dom/script/ScriptLoader.cpp:2814:20
[task 2019-09-05T19:00:44.312Z] 19:00:44     INFO - PID 1096 |     #27 0x7f614ff404c8 in mozilla::dom::ScriptLoader::ProcessRequest(mozilla::dom::ScriptLoadRequest*) /builds/worker/workspace/build/src/dom/script/ScriptLoader.cpp:2317:10
[task 2019-09-05T19:00:44.316Z] 19:00:44     INFO - PID 1096 |     #28 0x7f614ff3cdc4 in mozilla::dom::ScriptLoader::ProcessInlineScript(nsIScriptElement*, mozilla::dom::ScriptKind) /builds/worker/workspace/build/src/dom/script/ScriptLoader.cpp:1866:10
[task 2019-09-05T19:00:44.318Z] 19:00:44     INFO - PID 1096 |     #29 0x7f614ff1532e in mozilla::dom::ScriptLoader::ProcessScriptElement(nsIScriptElement*) /builds/worker/workspace/build/src/dom/script/ScriptLoader.cpp:1589:10
[task 2019-09-05T19:00:44.318Z] 19:00:44     INFO - PID 1096 |     #30 0x7f614ff145fe in mozilla::dom::ScriptElement::MaybeProcessScript() /builds/worker/workspace/build/src/dom/script/ScriptElement.cpp:118:18
[task 2019-09-05T19:00:44.318Z] 19:00:44     INFO - PID 1096 |     #31 0x7f614a0b056a in AttemptToExecute /builds/worker/workspace/build/src/obj-firefox/dist/include/nsIScriptElement.h:224:18
[task 2019-09-05T19:00:44.319Z] 19:00:44     INFO - PID 1096 |     #32 0x7f614a0b056a in nsHtml5TreeOpExecutor::RunScript(nsIContent*) /builds/worker/workspace/build/src/parser/html/nsHtml5TreeOpExecutor.cpp:729
[task 2019-09-05T19:00:44.319Z] 19:00:44     INFO - PID 1096 |     #33 0x7f614a0a9db3 in nsHtml5TreeOpExecutor::RunFlushLoop() /builds/worker/workspace/build/src/parser/html/nsHtml5TreeOpExecutor.cpp:532:7
[task 2019-09-05T19:00:44.321Z] 19:00:44     INFO - PID 1096 |     #34 0x7f614a0b901f in nsHtml5ExecutorReflusher::Run() /builds/worker/workspace/build/src/parser/html/nsHtml5TreeOpExecutor.cpp:70:16
[task 2019-09-05T19:00:44.322Z] 19:00:44     INFO - PID 1096 |     #35 0x7f6147b69cd1 in mozilla::SchedulerGroup::Runnable::Run() /builds/worker/workspace/build/src/xpcom/threads/SchedulerGroup.cpp:295:32

seems to be just another path that leaks a WS - during a test timeout even.

Whiteboard: [necko-triaged]

Bulk closing some old intermittents.

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.