Closed
Bug 1516300
Opened 6 years ago
Closed 3 years ago
Intermittent LeakSanitizer | leak at mozilla::net::WebSocketChannelChild::AsyncOpen, mozilla::dom::WebSocketImpl::AsyncOpen, mozilla::dom::WebSocket::ConstructorCommon, mozilla::dom::WebSocket::Constructor, mozilla::dom::WebSocket_Binding::
Categories
(Core :: Networking: WebSockets, defect, P3)
Core
Networking: WebSockets
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: intermittent-bug-filer, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: intermittent-failure, memory-leak, Whiteboard: [necko-triaged])
Filed by: apavel [at] mozilla.com
https://treeherder.mozilla.org/logviewer.html#?job_id=218711138&repo=autoland
https://queue.taskcluster.net/v1/task/Ck5GF1UdTbGXiW8DxlozWA/runs/0/artifacts/public/logs/live_backing.log
[task 2018-12-24T22:15:59.102Z] 22:15:59 INFO - TEST-START | /websockets/binary/005.html?wss
[task 2018-12-24T22:16:04.002Z] 22:16:04 INFO - ERROR | LeakSanitizer | SUMMARY: AddressSanitizer: 3124 byte(s) leaked in 27 allocation(s).
[task 2018-12-24T22:16:04.002Z] 22:16:04 INFO - LeakSanitizer | To show the addresses of leaked objects add report_objects=1 to LSAN_OPTIONS
[task 2018-12-24T22:16:04.003Z] 22:16:04 INFO - This can be done in testing/mozbase/mozrunner/mozrunner/utils.py
[task 2018-12-24T22:16:04.003Z] 22:16:04 INFO - Allowed depth was 7
[task 2018-12-24T22:16:04.003Z] 22:16:04 INFO - TEST-FAIL | LeakSanitizer | leak at Alloc, nsTSubstring, nsTSubstring, nsTSubstring, operator=, nsContentUtils::GetASCIIOrigin, nsContentUtils::GetASCIIOrigin
[task 2018-12-24T22:16:04.003Z] 22:16:04 INFO - INFO | LeakSanitizer | Frame Alloc matched a expected leak
[task 2018-12-24T22:16:04.004Z] 22:16:04 INFO - TEST-FAIL | LeakSanitizer | leak at Alloc, nsTSubstring, Gecko_StartBulkWriteString, nsstring::nsAString::start_bulk_write_impl, nsstring::nsAString::bulk_write, nsstring::conversions::_$LT$impl$u20$nsstring..nsAString$GT$::fallible_append_utf8_impl, nsstring_fallible_append_utf8_impl
[task 2018-12-24T22:16:04.004Z] 22:16:04 INFO - INFO | LeakSanitizer | Frame Alloc matched a expected leak
[task 2018-12-24T22:16:04.004Z] 22:16:04 INFO - TEST-FAIL | LeakSanitizer | leak at Alloc, nsTSubstring, nsTSubstring, mozilla::net::nsStandardURL::BuildNormalizedSpec, mozilla::net::nsStandardURL::SetSpecWithEncoding, mozilla::net::nsStandardURL::Init, Init
[task 2018-12-24T22:16:04.005Z] 22:16:04 INFO - INFO | LeakSanitizer | Frame Alloc matched a expected leak
[task 2018-12-24T22:16:04.005Z] 22:16:04 INFO - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::net::WebSocketChannelChild::AsyncOpen, mozilla::dom::WebSocketImpl::AsyncOpen, mozilla::dom::WebSocket::ConstructorCommon, mozilla::dom::WebSocket::Constructor, mozilla::dom::WebSocket_Binding::_constructor, CallJSNative, CallJSNativeConstructor
[task 2018-12-24T22:16:04.005Z] 22:16:04 INFO - TEST-FAIL | LeakSanitizer | leak at Alloc, nsTSubstring, nsTSubstring, nsTSubstring, operator=, mozilla::dom::WebSocketImpl::ParseURL, mozilla::dom::WebSocketImpl::Init
[task 2018-12-24T22:16:04.006Z] 22:16:04 INFO - INFO | LeakSanitizer | Frame Alloc matched a expected leak
[task 2018-12-24T22:16:04.007Z] 22:16:04 INFO - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::dom::WebSocket::ConstructorCommon, mozilla::dom::WebSocket::Constructor, mozilla::dom::WebSocket_Binding::_constructor, CallJSNative, CallJSNativeConstructor, InternalConstruct, Interpret
[task 2018-12-24T22:16:04.008Z] 22:16:04 INFO - TEST-FAIL | LeakSanitizer | leak at nsDocShell::Create, nsWebBrowser::Create, mozilla::dom::TabChild::Init, mozilla::dom::ContentChild::ProvideWindowCommon, mozilla::dom::TabChild::ProvideWindow, nsWindowWatcher::OpenWindowInternal, OpenWindow2
[task 2018-12-24T22:16:04.008Z] 22:16:04 INFO - INFO | LeakSanitizer | Frame nsDocShell::Create matched a expected leak
[task 2018-12-24T22:16:04.009Z] 22:16:04 INFO - TEST-FAIL | LeakSanitizer | leak at mozilla::WeakPtr, WeakPtr, mozilla::Maybe, mozilla::ContentPrincipal::AddonPolicy, nsIDocument::InitCSP, nsDocument::StartDocumentLoad, nsHTMLDocument::StartDocumentLoad
[task 2018-12-24T22:16:04.009Z] 22:16:04 INFO - INFO | LeakSanitizer | Frame mozilla::WeakPtr matched a expected leak
[task 2018-12-24T22:16:04.010Z] 22:16:04 INFO - TEST-FAIL | LeakSanitizer | leak at Alloc, nsTSubstring, nsTSubstring, nsTSubstring, operator=, mozilla::dom::WebSocketImpl::Init, mozilla::dom::WebSocket::ConstructorCommon
[task 2018-12-24T22:16:04.010Z] 22:16:04 INFO - INFO | LeakSanitizer | Frame Alloc matched a expected leak
[task 2018-12-24T22:16:04.011Z] 22:16:04 INFO - TEST-FAIL | LeakSanitizer | leak at nsSupportsWeakReference::GetWeakReference, NS_GetWeakReference, do_GetWeakReference, mozilla::net::nsLoadGroup::SetGroupObserver, NS_NewLoadGroup, nsDocLoader::Init, nsDocShell::Create
[task 2018-12-24T22:16:04.012Z] 22:16:04 INFO - INFO | LeakSanitizer | Frame nsDocShell::Create matched a expected leak
[task 2018-12-24T22:16:04.012Z] 22:16:04 INFO - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::net::WebSocketEventService::GetOrCreate, mozilla::dom::WebSocketImpl::Init, mozilla::dom::WebSocket::ConstructorCommon, mozilla::dom::WebSocket::Constructor, mozilla::dom::WebSocket_Binding::_constructor, CallJSNative, CallJSNativeConstructor
[task 2018-12-24T22:16:04.013Z] 22:16:04 INFO - TEST-FAIL | LeakSanitizer | leak at mozilla::dom::WebSocket::WebSocket, mozilla::dom::WebSocket::ConstructorCommon, mozilla::dom::WebSocket::Constructor, mozilla::dom::WebSocket_Binding::_constructor, CallJSNative, CallJSNativeConstructor, InternalConstruct
[task 2018-12-24T22:16:04.014Z] 22:16:04 INFO - INFO | LeakSanitizer | Frame mozilla::dom::WebSocket::WebSocket matched a expected leak
[task 2018-12-24T22:16:04.015Z] 22:16:04 INFO - TEST-FAIL | LeakSanitizer | leak at Alloc, nsTSubstring, nsTSubstring, nsTSubstring, nsTSubstring, operator=, nsContentUtils::GetUTFOrigin
[task 2018-12-24T22:16:04.016Z] 22:16:04 INFO - INFO | LeakSanitizer | Frame Alloc matched a expected leak
[task 2018-12-24T22:16:04.017Z] 22:16:04 INFO - TEST-FAIL | LeakSanitizer | leak at mozilla::net::nsStandardURL::TemplatedMutator, Init, mozilla::net::nsStandardURL::TemplatedMutator, operator, std::_Function_handler, operator, Apply
[task 2018-12-24T22:16:04.017Z] 22:16:04 INFO - INFO | LeakSanitizer | Frame mozilla::net::nsStandardURL::TemplatedMutator matched a expected leak
[task 2018-12-24T22:16:04.018Z] 22:16:04 INFO - TEST-FAIL | LeakSanitizer | leak at mozilla::SchedulerGroup::CreateEventTargetFor, mozilla::SchedulerGroup::CreateEventTargets, mozilla::dom::TabGroup::TabGroup, mozilla::dom::nsIContentChild::GetConstructedEventTarget, mozilla::ipc::IToplevelProtocol::ToplevelState::GetMessageEventTarget, GetMessageEventTarget, mozilla::ipc::MessageChannel::MessageTask::Post
[task 2018-12-24T22:16:04.018Z] 22:16:04 INFO - INFO | LeakSanitizer | Frame mozilla::SchedulerGroup::CreateEventTargetFor matched a expected leak
[task 2018-12-24T22:16:04.018Z] 22:16:04 INFO - TEST-FAIL | LeakSanitizer | leak at Alloc, nsTSubstring, Gecko_StartBulkWriteCString, nsstring::nsACString::start_bulk_write_impl, nsstring::nsACString::bulk_write, nsstring::conversions::_$LT$impl$u20$nsstring..nsACString$GT$::fallible_append_utf16_to_utf8_impl, nscstring_fallible_append_utf16_to_utf8_impl
[task 2018-12-24T22:16:04.019Z] 22:16:04 INFO - INFO | LeakSanitizer | Frame Alloc matched a expected leak
[task 2018-12-24T22:16:04.019Z] 22:16:04 INFO - TEST-FAIL | LeakSanitizer | leak at Create, nsAtomTable::Atomize, mozilla::BasePrincipal::FinishInit, mozilla::ContentPrincipal::Init, mozilla::BasePrincipal::CreateCodebasePrincipal, mozilla::BasePrincipal::CreateCodebasePrincipal, nsScriptSecurityManager::GetChannelURIPrincipal
[task 2018-12-24T22:16:04.019Z] 22:16:04 INFO - INFO | LeakSanitizer | Frame Create matched a expected leak
[task 2018-12-24T22:16:04.022Z] 22:16:04 INFO - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at MakeUnique, mozilla::dom::ClientInfo::operator=, emplace, GetClientInfo, nsPIDOMWindowInner::GetClientInfo, nsIDocument::GetClientInfo, mozilla::net::LoadInfo::LoadInfo
[task 2018-12-24T22:16:04.023Z] 22:16:04 INFO - TEST-FAIL | LeakSanitizer | leak at nsSupportsWeakReference::GetWeakReference, NS_GetWeakReference, do_GetWeakReference, nsIDocument::ResetToURI, nsHTMLDocument::ResetToURI, nsContentDLF::CreateBlankDocument, nsDocShell::CreateAboutBlankContentViewer
[task 2018-12-24T22:16:04.023Z] 22:16:04 INFO - INFO | LeakSanitizer | Frame nsDocShell::CreateAboutBlankContentViewer matched a expected leak
[task 2018-12-24T22:16:04.023Z] 22:16:04 INFO - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::net::BaseWebSocketChannel::InitLoadInfo, mozilla::dom::WebSocketImpl::InitializeConnection, mozilla::dom::WebSocket::ConstructorCommon, mozilla::dom::WebSocket::Constructor, mozilla::dom::WebSocket_Binding::_constructor, CallJSNative, CallJSNativeConstructor
[task 2018-12-24T22:16:04.024Z] 22:16:04 INFO - TEST-FAIL | LeakSanitizer | leak at mozilla::BasePrincipal::CreateCodebasePrincipal, mozilla::BasePrincipal::CreateCodebasePrincipal, nsScriptSecurityManager::GetChannelURIPrincipal, nsScriptSecurityManager::GetChannelResultPrincipal, nsIDocument::Reset, nsHTMLDocument::Reset, nsDocument::StartDocumentLoad
[task 2018-12-24T22:16:04.024Z] 22:16:04 INFO - INFO | LeakSanitizer | Frame mozilla::BasePrincipal::CreateCodebasePrincipal matched a expected leak
[task 2018-12-24T22:16:04.025Z] 22:16:04 INFO - Closing logging queue
[task 2018-12-24T22:16:04.025Z] 22:16:04 INFO - queue closed
[task 2018-12-24T22:16:04.026Z] 22:16:04 INFO - INFO | runtests.py | ASan using symbolizer at /builds/worker/workspace/build/application/firefox/llvm-symbolizer
[task 2018-12-24T22:16:04.030Z] 22:16:04 INFO - LSan enabled.
[task 2018-12-24T22:16:04.030Z] 22:16:04 INFO - LSan using suppression file /builds/worker/workspace/build/tests/web-platform/prefs/lsan_suppressions.txt
[task 2018-12-24T22:16:04.031Z] 22:16:04 INFO - INFO | runtests.py | ASan running in default memory configuration
[task 2018-12-24T22:16:04.051Z] 22:16:04 INFO - Setting up ssl
[task 2018-12-24T22:16:04.108Z] 22:16:04 INFO - certutil |
[task 2018-12-24T22:16:04.169Z] 22:16:04 INFO - certutil |
[task 2018-12-24T22:16:04.211Z] 22:16:04 INFO - certutil |
[task 2018-12-24T22:16:04.211Z] 22:16:04 INFO - Certificate Nickname Trust Attributes
[task 2018-12-24T22:16:04.212Z] 22:16:04 INFO - SSL,S/MIME,JAR/XPI
[task 2018-12-24T22:16:04.212Z] 22:16:04 INFO -
[task 2018-12-24T22:16:04.213Z] 22:16:04 INFO - web-platform-tests CT,,
[task 2018-12-24T22:16:04.214Z] 22:16:04 INFO -
[task 2018-12-24T22:16:04.230Z] 22:16:04 INFO - Application command: /builds/worker/workspace/build/application/firefox/firefox --marionette about:blank -profile /tmp/tmpZ0MHJO.mozrunner
[task 2018-12-24T22:16:04.246Z] 22:16:04 INFO - Starting runner
[task 2018-12-24T22:16:05.782Z] 22:16:05 INFO - PID 18543 | 1545689765769 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid host permission: resource://pdf.js/
[task 2018-12-24T22:16:05.782Z] 22:16:05 INFO - PID 18543 | 1545689765771 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid host permission: about:reader*
[task 2018-12-24T22:16:11.987Z] 22:16:11 INFO - PID 18543 | 1545689771982 Marionette INFO Listening on port 2828
[task 2018-12-24T22:16:12.309Z] 22:16:12 INFO - TEST-START | /webstorage/document-domain.html
[task 2018-12-24T22:16:13.430Z] 22:16:13 INFO - PID 18543 | JavaScript error: , line 0: Error: Permission denied to access object
[task 2018-12-24T22:16:43.039Z] 22:16:43 INFO - PID 18543 | JavaScript error: tests/web-platform/tests/tools/wptrunner/wptrunner/executors/executormarionette.py, line 77: SecurityError: Permission denied to access property "timeout" on cross-origin object
[task 2018-12-24T22:16:47.854Z] 22:16:47 INFO - TEST-TIMEOUT | /webstorage/document-domain.html | took 35546ms
Updated•6 years ago
|
Priority: P5 → P3
Whiteboard: [necko-triaged]
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 3•6 years ago
|
||
The leak is happening in the /websockets/binary/ directory of WPT. I recently removed a lot of white lists for WPT leaks, so this is likely a consequence of that. The permaleaks in the /websockets/ directory might be related (bug 1517601).
Blocks: 1517309
Keywords: memory-leak
Comment 4•6 years ago
|
||
Oh, never mind, this bug is actually older, so it can't be a consequence of my unwhitelisting.
Comment hidden (Intermittent Failures Robot) |
Updated•6 years ago
|
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 hidden (Intermittent Failures Robot) |
Comment 13•3 years ago
|
||
Bulk closing some old intermittents.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•