Closed Bug 1596262 Opened 6 years ago Closed 5 years ago

Intermittent LeakSanitizer | leak at nsDynamicAtom::Create, nsAtomTable::Atomize, mozilla::BasePrincipal::FinishInit, mozilla::ContentPrincipal::Init

Categories

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

defect

Tracking

()

RESOLVED FIXED
mozilla72
Tracking Status
firefox72 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: mccr8)

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

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


[task 2019-11-13T20:56:14.893Z] 20:56:14 INFO - ERROR | LeakSanitizer | SUMMARY: AddressSanitizer: 3062 byte(s) leaked in 25 allocation(s).
[task 2019-11-13T20:56:14.894Z] 20:56:14 INFO - LeakSanitizer | To show the addresses of leaked objects add report_objects=1 to LSAN_OPTIONS
[task 2019-11-13T20:56:14.894Z] 20:56:14 INFO - This can be done in testing/mozbase/mozrunner/mozrunner/utils.py
[task 2019-11-13T20:56:14.894Z] 20:56:14 INFO - Allowed depth was 4
[task 2019-11-13T20:56:14.895Z] 20:56:14 INFO - TEST-FAIL | LeakSanitizer | leak at nsNodeSupportsWeakRefTearoff::GetWeakReference, NS_GetWeakReference, do_GetWeakReference, nsPrefetchNode::nsPrefetchNode
[task 2019-11-13T20:56:14.895Z] 20:56:14 INFO - INFO | LeakSanitizer | Frame nsNodeSupportsWeakRefTearoff::GetWeakReference matched a expected leak
[task 2019-11-13T20:56:14.895Z] 20:56:14 INFO - TEST-FAIL | LeakSanitizer | leak at Alloc, nsTSubstring, nsTSubstring, nsTSubstring
[task 2019-11-13T20:56:14.896Z] 20:56:14 INFO - INFO | LeakSanitizer | Frame Alloc matched a expected leak
[task 2019-11-13T20:56:14.896Z] 20:56:14 INFO - TEST-FAIL | LeakSanitizer | leak at mozilla::SchedulerGroup::CreateEventTargetFor, mozilla::SchedulerGroup::CreateEventTargets, mozilla::dom::TabGroup::TabGroup, mozilla::dom::ContentChild::GetSpecificMessageEventTarget
[task 2019-11-13T20:56:14.896Z] 20:56:14 INFO - INFO | LeakSanitizer | Frame mozilla::SchedulerGroup::CreateEventTargetFor matched a expected leak
[task 2019-11-13T20:56:14.897Z] 20:56:14 INFO - TEST-FAIL | LeakSanitizer | leak at Alloc, nsTSubstring, nsTSubstring, mozilla::net::nsStandardURL::BuildNormalizedSpec
[task 2019-11-13T20:56:14.897Z] 20:56:14 INFO - INFO | LeakSanitizer | Frame Alloc matched a expected leak
[task 2019-11-13T20:56:14.897Z] 20:56:14 INFO - TEST-FAIL | LeakSanitizer | leak at mozilla::dom::HTMLLinkElement::TryDNSPrefetchOrPreconnectOrPrefetchOrPreloadOrPrerender, mozilla::dom::HTMLLinkElement::BindToTree, nsINode::InsertChildBefore, nsINode::ReplaceOrInsertBefore
[task 2019-11-13T20:56:14.898Z] 20:56:14 INFO - INFO | LeakSanitizer | Frame mozilla::dom::HTMLLinkElement::TryDNSPrefetchOrPreconnectOrPrefetchOrPreloadOrPrerender matched a expected leak
[task 2019-11-13T20:56:14.898Z] 20:56:14 INFO - TEST-FAIL | LeakSanitizer | leak at mozilla::BasePrincipal::CreateContentPrincipal, mozilla::BasePrincipal::CreateContentPrincipal, nsScriptSecurityManager::GetChannelURIPrincipal, nsScriptSecurityManager::GetChannelResultPrincipal
[task 2019-11-13T20:56:14.898Z] 20:56:14 INFO - INFO | LeakSanitizer | Frame mozilla::BasePrincipal::CreateContentPrincipal matched a expected leak
[task 2019-11-13T20:56:14.898Z] 20:56:14 INFO - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at nsDynamicAtom::Create, nsAtomTable::Atomize, mozilla::BasePrincipal::FinishInit, mozilla::ContentPrincipal::Init
[task 2019-11-13T20:56:14.902Z] 20:56:14 INFO - TEST-FAIL | LeakSanitizer | leak at mozilla::net::nsStandardURL::TemplatedMutator, Init, mozilla::net::nsStandardURL::TemplatedMutator, operator
[task 2019-11-13T20:56:14.902Z] 20:56:14 INFO - INFO | LeakSanitizer | Frame mozilla::net::nsStandardURL::TemplatedMutator matched a expected leak
[task 2019-11-13T20:56:14.902Z] 20:56:14 INFO - TEST-FAIL | LeakSanitizer | leak at nsPrefetchService::Preload, mozilla::dom::HTMLLinkElement::TryDNSPrefetchOrPreconnectOrPrefetchOrPreloadOrPrerender, mozilla::dom::HTMLLinkElement::BindToTree, nsINode::InsertChildBefore
[task 2019-11-13T20:56:14.903Z] 20:56:14 INFO - INFO | LeakSanitizer | Frame nsPrefetchService::Preload matched a expected leak
[task 2019-11-13T20:56:14.903Z] 20:56:14 INFO - TEST-FAIL | LeakSanitizer | leak at Alloc, nsTSubstring, Gecko_StartBulkWriteCString, nsstring::nsACString::start_bulk_write_impl
[task 2019-11-13T20:56:14.903Z] 20:56:14 INFO - INFO | LeakSanitizer | Frame Alloc matched a expected leak
[task 2019-11-13T20:56:14.904Z] 20:56:14 INFO - TEST-FAIL | LeakSanitizer | leak at mozilla::WeakPtr, WeakPtr, emplace, mozilla::ContentPrincipal::AddonPolicy
[task 2019-11-13T20:56:14.904Z] 20:56:14 INFO - INFO | LeakSanitizer | Frame mozilla::WeakPtr matched a expected leak
[task 2019-11-13T20:56:14.904Z] 20:56:14 INFO - TEST-FAIL | LeakSanitizer | leak at Malloc, nsTArray_base, AppendElement, nsPrefetchNode::nsPrefetchNode
[task 2019-11-13T20:56:14.904Z] 20:56:14 INFO - INFO | LeakSanitizer | Frame Malloc matched a expected leak
[task 2019-11-13T20:56:14.904Z] 20:56:14 INFO - TEST-FAIL | LeakSanitizer | leak at Realloc, nsTArray_base, ExtendCapacity, nsTArray_Impl
[task 2019-11-13T20:56:14.905Z] 20:56:14 INFO - INFO | LeakSanitizer | Frame Realloc matched a expected leak
[task 2019-11-13T20:56:14.905Z] 20:56:14 INFO - Closing logging queue
[task 2019-11-13T20:56:14.906Z] 20:56:14 INFO - queue closed

last test run: /fetch/metadata/redirect/same-site-redirect.tentative.https.sub.html | took 2067ms

nsDynamicAtom seems to be part of XPCOM.

Component: JavaScript Engine → XPCOM

These leaks are all in fetch/metadata/redirect/ WPT. There are already a ton of leaks whitelisted in that directory, so presumably this particular failure is just a sign of some leaks that should be whitelisted, but of course it would be nice to actually fix these leaks.

Component: XPCOM → DOM: Networking
Component: DOM: Networking → DOM: Core & HTML
Assignee: nobody → continuation

Let's just paper this over. I can't imagine anybody is going to get around to this intermittent leak any time soon.

Pushed by amccreight@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/94beea6a8956 More whitelisting in fetch/metadata/redirect/. r=jgraham
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: