Closed Bug 1630917 Opened 4 years ago Closed 9 months ago

Intermittent LeakSanitizer | leak at CustomElementReactionsStack, mozilla::dom::Document_Binding::createElement, mozilla::dom::binding_detail::GenericMethod, CallJSNative

Categories

(Core :: DOM: Core & HTML, defect)

defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: intermittent-failure, Whiteboard: [stockwell unknown])

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


[task 2020-04-17T10:31:48.730Z] 10:31:48 INFO - TEST-START | /fetch/metadata/redirect/same-site-redirect.https.sub.html
[task 2020-04-17T10:31:48.738Z] 10:31:48 INFO - Closing window 42
[task 2020-04-17T10:31:50.092Z] 10:31:50 INFO - PID 19919 | -----------------------------------------------------
[task 2020-04-17T10:31:50.093Z] 10:31:50 INFO - PID 19919 | Suppressions used:
[task 2020-04-17T10:31:50.093Z] 10:31:50 INFO - PID 19919 | count bytes template
[task 2020-04-17T10:31:50.093Z] 10:31:50 INFO - PID 19919 | 27 832 nsComponentManagerImpl
[task 2020-04-17T10:31:50.105Z] 10:31:50 INFO - PID 19919 | 633 18287 libfontconfig.so
[task 2020-04-17T10:31:50.105Z] 10:31:50 INFO - PID 19919 | 1 11 libglib-2.0.so
[task 2020-04-17T10:31:50.105Z] 10:31:50 INFO - PID 19919 | -----------------------------------------------------
[task 2020-04-17T10:31:50.913Z] 10:31:50 INFO - ...............
[task 2020-04-17T10:31:50.913Z] 10:31:50 INFO - TEST-OK | /fetch/metadata/redirect/same-site-redirect.https.sub.html | took 2181ms
[task 2020-04-17T10:31:50.914Z] 10:31:50 INFO - Restarting browser for new test environment
[task 2020-04-17T10:31:50.957Z] 10:31:50 INFO - PID 19919 | 1587119510952 Marionette INFO Stopped listening on port 35631
[task 2020-04-17T10:31:51.712Z] 10:31:51 INFO - PID 19919 | ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
[task 2020-04-17T10:31:53.530Z] 10:31:53 INFO - PID 19919 | -----------------------------------------------------
[task 2020-04-17T10:31:53.530Z] 10:31:53 INFO - PID 19919 | Suppressions used:
[task 2020-04-17T10:31:53.530Z] 10:31:53 INFO - PID 19919 | count bytes template
[task 2020-04-17T10:31:53.530Z] 10:31:53 INFO - PID 19919 | 27 832 nsComponentManagerImpl
[task 2020-04-17T10:31:53.532Z] 10:31:53 INFO - PID 19919 | 2 288 libfontconfig.so
[task 2020-04-17T10:31:53.533Z] 10:31:53 INFO - PID 19919 | -----------------------------------------------------
[task 2020-04-17T10:31:53.745Z] 10:31:53 INFO - PID 19919 | -----------------------------------------------------
[task 2020-04-17T10:31:53.746Z] 10:31:53 INFO - PID 19919 | Suppressions used:
[task 2020-04-17T10:31:53.746Z] 10:31:53 INFO - PID 19919 | count bytes template
[task 2020-04-17T10:31:53.747Z] 10:31:53 INFO - PID 19919 | 27 832 nsComponentManagerImpl
[task 2020-04-17T10:31:53.747Z] 10:31:53 INFO - PID 19919 | 633 18287 libfontconfig.so
[task 2020-04-17T10:31:53.747Z] 10:31:53 INFO - PID 19919 | 1 11 libglib-2.0.so
[task 2020-04-17T10:31:53.748Z] 10:31:53 INFO - PID 19919 | -----------------------------------------------------
[task 2020-04-17T10:31:53.756Z] 10:31:53 INFO - PID 19919 | -----------------------------------------------------
[task 2020-04-17T10:31:53.757Z] 10:31:53 INFO - PID 19919 | Suppressions used:
[task 2020-04-17T10:31:53.759Z] 10:31:53 INFO - PID 19919 | count bytes template
[task 2020-04-17T10:31:53.762Z] 10:31:53 INFO - PID 19919 | 27 832 nsComponentManagerImpl
[task 2020-04-17T10:31:53.764Z] 10:31:53 INFO - PID 19919 | 633 18287 libfontconfig.so
[task 2020-04-17T10:31:53.765Z] 10:31:53 INFO - PID 19919 | 1 11 libglib-2.0.so
[task 2020-04-17T10:31:53.766Z] 10:31:53 INFO - PID 19919 | -----------------------------------------------------
[task 2020-04-17T10:31:53.847Z] 10:31:53 INFO - PID 19919 | -----------------------------------------------------
[task 2020-04-17T10:31:53.847Z] 10:31:53 INFO - PID 19919 | Suppressions used:
[task 2020-04-17T10:31:53.847Z] 10:31:53 INFO - PID 19919 | count bytes template
[task 2020-04-17T10:31:53.847Z] 10:31:53 INFO - PID 19919 | 27 832 nsComponentManagerImpl
[task 2020-04-17T10:31:53.847Z] 10:31:53 INFO - PID 19919 | 633 18287 libfontconfig.so
[task 2020-04-17T10:31:53.847Z] 10:31:53 INFO - PID 19919 | 1 11 libglib-2.0.so
[task 2020-04-17T10:31:53.847Z] 10:31:53 INFO - PID 19919 | -----------------------------------------------------
[task 2020-04-17T10:31:54.048Z] 10:31:54 INFO - PID 20699 | 1587119514036 Marionette INFO Listening on port 44448
[task 2020-04-17T10:31:55.102Z] 10:31:55 INFO - TEST-START | /generic-sensor/SensorErrorEvent-constructor.https.html
[task 2020-04-17T10:31:55.423Z] 10:31:55 INFO - PID 19919 | -----------------------------------------------------
[task 2020-04-17T10:31:55.423Z] 10:31:55 INFO - PID 19919 | Suppressions used:
[task 2020-04-17T10:31:55.424Z] 10:31:55 INFO - PID 19919 | count bytes template
[task 2020-04-17T10:31:55.425Z] 10:31:55 INFO - PID 19919 | 24 728 nsComponentManagerImpl
[task 2020-04-17T10:31:55.425Z] 10:31:55 INFO - PID 19919 | 633 18083 libfontconfig.so
[task 2020-04-17T10:31:55.426Z] 10:31:55 INFO - PID 19919 | 38 233 libglib-2.0.so
[task 2020-04-17T10:31:55.427Z] 10:31:55 INFO - PID 19919 | 4 832 mozJSComponentLoader
[task 2020-04-17T10:31:55.427Z] 10:31:55 INFO - PID 19919 | -----------------------------------------------------
[task 2020-04-17T10:31:55.585Z] 10:31:55 INFO - Browser exited with return code 0
[task 2020-04-17T10:31:55.585Z] 10:31:55 INFO - PROCESS LEAKS None
[task 2020-04-17T10:31:55.586Z] 10:31:55 INFO - ERROR | LeakSanitizer | SUMMARY: AddressSanitizer: 4142 byte(s) leaked in 36 allocation(s).
[task 2020-04-17T10:31:55.586Z] 10:31:55 INFO - LeakSanitizer | To show the addresses of leaked objects add report_objects=1 to LSAN_OPTIONS
[task 2020-04-17T10:31:55.586Z] 10:31:55 INFO - This can be done in testing/mozbase/mozrunner/mozrunner/utils.py
[task 2020-04-17T10:31:55.587Z] 10:31:55 INFO - Allowed depth was 4
[task 2020-04-17T10:31:55.588Z] 10:31:55 INFO - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at CustomElementReactionsStack, mozilla::dom::Document_Binding::createElement, mozilla::dom::binding_detail::GenericMethod, CallJSNative
[task 2020-04-17T10:31:55.588Z] 10:31:55 INFO - TEST-FAIL | LeakSanitizer | leak at Alloc, nsTSubstring, nsTSubstring, nsTSubstring
[task 2020-04-17T10:31:55.588Z] 10:31:55 INFO - INFO | LeakSanitizer | Frame Alloc matched a expected leak
[task 2020-04-17T10:31:55.589Z] 10:31:55 INFO - TEST-FAIL | LeakSanitizer | leak at Realloc, nsTArray_base, nsTArray_base, nsTArray_Impl
[task 2020-04-17T10:31:55.589Z] 10:31:55 INFO - INFO | LeakSanitizer | Frame Realloc matched a expected leak
[task 2020-04-17T10:31:55.589Z] 10:31:55 INFO - TEST-FAIL | LeakSanitizer | leak at nsPrefetchService::Preload, mozilla::dom::HTMLLinkElement::TryDNSPrefetchOrPreconnectOrPrefetchOrPreloadOrPrerender, mozilla::dom::HTMLLinkElement::BindToTree, nsINode::InsertChildBefore
[task 2020-04-17T10:31:55.589Z] 10:31:55 INFO - INFO | LeakSanitizer | Frame nsPrefetchService::Preload matched a expected leak
[task 2020-04-17T10:31:55.590Z] 10:31:55 INFO - TEST-FAIL | LeakSanitizer | leak at mozilla::Permission::Create, mozilla::net::CookieJarSettings::CookiePermission, CheckCookiePermissionForPrincipal, mozilla::ContentBlocking::ShouldAllowAccessFor
[task 2020-04-17T10:31:55.590Z] 10:31:55 INFO - INFO | LeakSanitizer | Frame mozilla::Permission::Create matched a expected leak
[task 2020-04-17T10:31:55.590Z] 10:31:55 INFO - TEST-FAIL | LeakSanitizer | leak at Alloc, nsTSubstring, nsTSubstring, mozilla::net::nsStandardURL::BuildNormalizedSpec
[task 2020-04-17T10:31:55.591Z] 10:31:55 INFO - INFO | LeakSanitizer | Frame Alloc matched a expected leak
[task 2020-04-17T10:31:55.591Z] 10:31:55 INFO - TEST-FAIL | LeakSanitizer | leak at mozilla::dom::HTMLLinkElement::TryDNSPrefetchOrPreconnectOrPrefetchOrPreloadOrPrerender, mozilla::dom::HTMLLinkElement::BindToTree, nsINode::InsertChildBefore, nsINode::ReplaceOrInsertBefore
[task 2020-04-17T10:31:55.591Z] 10:31:55 INFO - INFO | LeakSanitizer | Frame mozilla::dom::HTMLLinkElement::TryDNSPrefetchOrPreconnectOrPrefetchOrPreloadOrPrerender matched a expected leak
[task 2020-04-17T10:31:55.591Z] 10:31:55 INFO - TEST-FAIL | LeakSanitizer | leak at Realloc, nsTArray_base, RefPtr, mozilla::net::CookieJarSettings::Merge
[task 2020-04-17T10:31:55.592Z] 10:31:55 INFO - INFO | LeakSanitizer | Frame Realloc matched a expected leak
[task 2020-04-17T10:31:55.593Z] 10:31:55 INFO - TEST-FAIL | LeakSanitizer | leak at mozilla::BasePrincipal::CreateContentPrincipal, mozilla::BasePrincipal::CreateContentPrincipal, nsScriptSecurityManager::GetChannelURIPrincipal, nsScriptSecurityManager::GetChannelResultPrincipal
[task 2020-04-17T10:31:55.593Z] 10:31:55 INFO - INFO | LeakSanitizer | Frame mozilla::BasePrincipal::CreateContentPrincipal matched a expected leak
[task 2020-04-17T10:31:55.593Z] 10:31:55 INFO - TEST-FAIL | LeakSanitizer | leak at mozilla::BasePrincipal::CreateContentPrincipal, mozilla::BasePrincipal::CreateContentPrincipal, mozilla::Permission::ClonePrincipalForPermission, mozilla::Permission::Create
[task 2020-04-17T10:31:55.593Z] 10:31:55 INFO - INFO | LeakSanitizer | Frame mozilla::BasePrincipal::CreateContentPrincipal matched a expected leak
[task 2020-04-17T10:31:55.593Z] 10:31:55 INFO - TEST-FAIL | LeakSanitizer | leak at mozilla::Permission::Create, mozilla::net::CookieJarSettings::Merge, mozilla::ipc::MergeParentLoadInfoForwarder, mozilla::net::HttpChannelChild::OnStartRequest
[task 2020-04-17T10:31:55.593Z] 10:31:55 INFO - INFO | LeakSanitizer | Frame mozilla::Permission::Create matched a expected leak
[task 2020-04-17T10:31:55.593Z] 10:31:55 INFO - TEST-FAIL | LeakSanitizer | leak at nsDynamicAtom::Create, nsAtomTable::Atomize, mozilla::BasePrincipal::FinishInit, mozilla::ContentPrincipal::Init
[task 2020-04-17T10:31:55.594Z] 10:31:55 INFO - INFO | LeakSanitizer | Frame mozilla::ContentPrincipal::Init matched a expected leak
[task 2020-04-17T10:31:55.594Z] 10:31:55 INFO - TEST-FAIL | LeakSanitizer | leak at mozilla::net::nsStandardURL::TemplatedMutator, mozilla::net::nsStandardURL::TemplatedMutator, std::function, operator
[task 2020-04-17T10:31:55.594Z] 10:31:55 INFO - INFO | LeakSanitizer | Frame mozilla::net::nsStandardURL::TemplatedMutator matched a expected leak
[task 2020-04-17T10:31:55.594Z] 10:31:55 INFO - TEST-FAIL | LeakSanitizer | leak at nsNodeSupportsWeakRefTearoff::GetWeakReference, NS_GetWeakReference, do_GetWeakReference, nsPrefetchNode::nsPrefetchNode
[task 2020-04-17T10:31:55.594Z] 10:31:55 INFO - INFO | LeakSanitizer | Frame nsNodeSupportsWeakRefTearoff::GetWeakReference matched a expected leak
[task 2020-04-17T10:31:55.595Z] 10:31:55 INFO - TEST-FAIL | LeakSanitizer | leak at mozilla::dom::DocGroup::DocGroup, mozilla::dom::DocGroup::Create, mozilla::dom::BrowsingContextGroup::AddDocument, mozilla::dom::Document::SetScopeObject
[task 2020-04-17T10:31:55.595Z] 10:31:55 INFO - INFO | LeakSanitizer | Frame mozilla::dom::DocGroup::Create matched a expected leak
[task 2020-04-17T10:31:55.595Z] 10:31:55 INFO - TEST-FAIL | LeakSanitizer | leak at Alloc, nsTSubstring, nsTSubstring, Assign
[task 2020-04-17T10:31:55.596Z] 10:31:55 INFO - INFO | LeakSanitizer | Frame Alloc matched a expected leak
[task 2020-04-17T10:31:55.596Z] 10:31:55 INFO - TEST-FAIL | LeakSanitizer | leak at mozilla::WeakPtr, WeakPtr, mozilla::Maybe, mozilla::ContentPrincipal::AddonPolicy
[task 2020-04-17T10:31:55.596Z] 10:31:55 INFO - INFO | LeakSanitizer | Frame mozilla::WeakPtr matched a expected leak
[task 2020-04-17T10:31:55.596Z] 10:31:55 INFO - TEST-FAIL | LeakSanitizer | leak at Alloc, nsTSubstring, Gecko_StartBulkWriteCString, nsstring::nsACString::start_bulk_write_impl
[task 2020-04-17T10:31:55.596Z] 10:31:55 INFO - INFO | LeakSanitizer | Frame Alloc matched a expected leak
[task 2020-04-17T10:31:55.596Z] 10:31:55 INFO - TEST-FAIL | LeakSanitizer | leak at Malloc, nsTArray_base, nsCOMPtr, nsPrefetchNode::nsPrefetchNode
[task 2020-04-17T10:31:55.596Z] 10:31:55 INFO - INFO | LeakSanitizer | Frame Malloc matched a expected leak
[task 2020-04-17T10:31:55.596Z] 10:31:55 INFO - TEST-FAIL | LeakSanitizer | leak at mozilla::dom::DocGroup::Create, mozilla::dom::BrowsingContextGroup::AddDocument, mozilla::dom::Document::SetScopeObject, mozilla::dom::Document::SetScriptGlobalObject
[task 2020-04-17T10:31:55.597Z] 10:31:55 INFO - INFO | LeakSanitizer | Frame mozilla::dom::DocGroup::Create matched a expected leak
[task 2020-04-17T10:31:55.599Z] 10:31:55 INFO - Closing logging queue
[task 2020-04-17T10:31:55.600Z] 10:31:55 INFO - queue closed
[task 2020-04-17T10:31:55.641Z] 10:31:55 INFO - INFO | runtests.py | ASan using symbolizer at /builds/worker/workspace/build/application/firefox/llvm-symbolizer
[task 2020-04-17T10:31:55.658Z] 10:31:55 INFO - LSan enabled.
[task 2020-04-17T10:31:55.658Z] 10:31:55 INFO - INFO | runtests.py | ASan running in default memory configuration
[task 2020-04-17T10:31:55.658Z] 10:31:55 INFO - UBSan enabled.
[task 2020-04-17T10:31:55.658Z] 10:31:55 INFO - Application command: /builds/worker/workspace/build/application/firefox/firefox --marionette about:blank -profile /tmp/tmpjqye6C
[task 2020-04-17T10:31:55.674Z] 10:31:55 INFO - Starting runner
[task 2020-04-17T10:31:57.417Z] 10:31:57 INFO - PID 21147 | defineSharedArrayBufferConstructor: 1
[task 2020-04-17T10:31:57.631Z] 10:31:57 INFO - ..
[task 2020-04-17T10:31:57.632Z] 10:31:57 INFO - TEST-OK | /generic-sensor/SensorErrorEvent-constructor.https.html | took 2530ms
[task 2020-04-17T10:31:57.632Z] 10:31:57 INFO - TEST-START | /generic-sensor/generic-sensor-permission.https.html
[task 2020-04-17T10:31:57.640Z] 10:31:57 INFO - Closing window 24
[task 2020-04-17T10:31:57.838Z] 10:31:57 INFO - PID 20699 | ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
[task 2020-04-17T10:31:59.004Z] 10:31:59 INFO - PID 20699 | -----------------------------------------------------
[task 2020-04-17T10:31:59.004Z] 10:31:59 INFO - PID 20699 | Suppressions used:
[task 2020-04-17T10:31:59.004Z] 10:31:59 INFO - PID 20699 | count bytes template
[task 2020-04-17T10:31:59.004Z] 10:31:59 INFO - PID 20699 | 27 832 nsComponentManagerImpl
[task 2020-04-17T10:31:59.004Z] 10:31:59 INFO - PID 20699 | 633 18287 libfontconfig.so
[task 2020-04-17T10:31:59.004Z] 10:31:59 INFO - PID 20699 | 1 11 libglib-2.0.so
[task 2020-04-17T10:31:59.004Z] 10:31:59 INFO - PID 20699 | -----------------------------------------------------
[task 2020-04-17T10:31:59.444Z] 10:31:59 WARNING - Action set_permission not implemented
[task 2020-04-17T10:31:59.515Z] 10:31:59 WARNING - Action set_permission not implemented
[task 2020-04-17T10:31:59.560Z] 10:31:59 WARNING - Action set_permission not implemented
[task 2020-04-17T10:31:59.601Z] 10:31:59 WARNING - Action set_permission not implemented
[task 2020-04-17T10:31:59.639Z] 10:31:59 WARNING - Action set_permission not implemented
[task 2020-04-17T10:31:59.732Z] 10:31:59 WARNING - Action set_permission not implemented
[task 2020-04-17T10:31:59.773Z] 10:31:59 WARNING - Action set_permission not implemented
[task 2020-04-17T10:31:59.830Z] 10:31:59 WARNING - Action set_permission not implemented
[task 2020-04-17T10:31:59.915Z] 10:31:59 INFO - ........

Severity: normal → --
Component: DOM: Networking → DOM: Core & HTML
Priority: P5 → --

James, this is permafailing since Bug 1636118 landed here.
and the leaks happend on /mixed-content/ tests https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=302598884&repo=autoland&lineNumber=6733
Aryx, as this is on tier 1 jobs should we consider backing out Bug 1636118?

Flags: needinfo?(james)
Flags: needinfo?(aryx.bugmail)
Flags: needinfo?(james)
Flags: needinfo?(aryx.bugmail)
Blocks: LSan

No failures for more than a month.

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