Closed Bug 1519356 Opened 6 years ago Closed 5 years ago

Intermittent LeakSanitizer | leak at Alloc, nsTSubstring, nsTSubstring, NonVoidStringToJsval

Categories

(Core :: Disability Access APIs, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1532189

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Blocks 1 open bug)

Details

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

Filed by: rmaries [at] mozilla.com

https://treeherder.mozilla.org/logviewer.html#?job_id=221284364&repo=mozilla-central

https://queue.taskcluster.net/v1/task/FSDiaVckS8a_Lh6HR4xqsw/runs/0/artifacts/public/logs/live_backing.log

https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://queue.taskcluster.net/v1/task/FSDiaVckS8a_Lh6HR4xqsw/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1

[task 2019-01-11T10:31:23.105Z] 10:31:23 INFO - PROCESS LEAKS None
[task 2019-01-11T10:31:23.106Z] 10:31:23 INFO - LeakSanitizer | To show the addresses of leaked objects add report_objects=1 to LSAN_OPTIONS
[task 2019-01-11T10:31:23.107Z] 10:31:23 INFO - This can be done in testing/mozbase/mozrunner/mozrunner/utils.py
[task 2019-01-11T10:31:23.107Z] 10:31:23 INFO - Allowed depth was 4
[task 2019-01-11T10:31:23.108Z] 10:31:23 INFO - TEST-FAIL | LeakSanitizer | leak at js_arena_calloc, js_pod_arena_calloc, maybe_pod_calloc, AllocScriptData
[task 2019-01-11T10:31:23.109Z] 10:31:23 INFO - INFO | LeakSanitizer | Frame js_arena_calloc matched a expected leak
[task 2019-01-11T10:31:23.109Z] 10:31:23 INFO - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at Alloc, nsTSubstring, nsTSubstring, NonVoidStringToJsval
[task 2019-01-11T10:31:23.110Z] 10:31:23 INFO - TEST-FAIL | LeakSanitizer | leak at js_arena_malloc, js_pod_arena_malloc, maybe_pod_malloc, pod_malloc
[task 2019-01-11T10:31:23.110Z] 10:31:23 INFO - INFO | LeakSanitizer | Frame js_arena_malloc matched a expected leak
[task 2019-01-11T10:31:23.112Z] 10:31:23 INFO - TEST-FAIL | LeakSanitizer | leak at js_arena_malloc, js_pod_arena_malloc, js_pod_malloc, maybe_pod_malloc
[task 2019-01-11T10:31:23.112Z] 10:31:23 INFO - INFO | LeakSanitizer | Frame js_arena_malloc matched a expected leak
[task 2019-01-11T10:31:23.113Z] 10:31:23 INFO - TEST-FAIL | LeakSanitizer | leak at js_arena_malloc, js_pod_arena_malloc, maybe_pod_malloc, JSScript::createPrivateScriptData
[task 2019-01-11T10:31:23.114Z] 10:31:23 INFO - INFO | LeakSanitizer | Frame js_arena_malloc matched a expected leak
[task 2019-01-11T10:31:23.114Z] 10:31:23 INFO - TEST-FAIL | LeakSanitizer | leak at js_arena_malloc, js_pod_arena_malloc, maybe_pod_malloc, tryNewTenuredObject
[task 2019-01-11T10:31:23.115Z] 10:31:23 INFO - INFO | LeakSanitizer | Frame js_arena_malloc matched a expected leak
[task 2019-01-11T10:31:23.115Z] 10:31:23 INFO - TEST-FAIL | LeakSanitizer | leak at js_arena_calloc, js_pod_arena_calloc, maybe_pod_calloc, js::ShapeTable::init
[task 2019-01-11T10:31:23.116Z] 10:31:23 INFO - INFO | LeakSanitizer | Frame js_arena_calloc matched a expected leak
[task 2019-01-11T10:31:23.117Z] 10:31:23 INFO - TEST-FAIL | LeakSanitizer | leak at js_arena_realloc, js_pod_realloc, maybe_pod_realloc, js::Nursery::reallocateBuffer
[task 2019-01-11T10:31:23.118Z] 10:31:23 INFO - INFO | LeakSanitizer | Frame js_pod_realloc matched a expected leak
[task 2019-01-11T10:31:23.118Z] 10:31:23 INFO - TEST-FAIL | LeakSanitizer | leak at js_arena_malloc, js_pod_arena_malloc, js_pod_malloc, MakeUTF8AtomHelper
[task 2019-01-11T10:31:23.118Z] 10:31:23 INFO - INFO | LeakSanitizer | Frame js_arena_malloc matched a expected leak
[task 2019-01-11T10:31:23.119Z] 10:31:23 INFO - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::dom::ChromeUtils::GenerateQI, mozilla::dom::ChromeUtils_Binding::generateQI, CallJSNative, js::InternalCallOrConstruct
[task 2019-01-11T10:31:23.119Z] 10:31:23 INFO - TEST-FAIL | LeakSanitizer | leak at js_arena_malloc, js_pod_arena_malloc, maybe_pod_malloc, NewEmptyScopeData
[task 2019-01-11T10:31:23.120Z] 10:31:23 INFO - INFO | LeakSanitizer | Frame js_arena_malloc matched a expected leak
[task 2019-01-11T10:31:23.120Z] 10:31:23 INFO - TEST-FAIL | LeakSanitizer | leak at js_arena_malloc, js_pod_arena_malloc, maybe_pod_malloc, mozilla::UniquePtr
[task 2019-01-11T10:31:23.120Z] 10:31:23 INFO - INFO | LeakSanitizer | Frame js_arena_malloc matched a expected leak
[task 2019-01-11T10:31:23.122Z] 10:31:23 INFO - TEST-FAIL | LeakSanitizer | leak at js_arena_malloc, js_pod_arena_malloc, maybe_pod_malloc, js::LazyScript::CreateRaw
[task 2019-01-11T10:31:23.122Z] 10:31:23 INFO - INFO | LeakSanitizer | Frame js_arena_malloc matched a expected leak
[task 2019-01-11T10:31:23.123Z] 10:31:23 INFO - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::net::nsStandardURL::TemplatedMutator, Init, mozilla::net::nsStandardURL::TemplatedMutator, operator
[task 2019-01-11T10:31:23.123Z] 10:31:23 INFO - TEST-FAIL | LeakSanitizer | leak at js_arena_malloc, js_pod_arena_malloc, maybe_pod_malloc, AllocateObjectBuffer
[task 2019-01-11T10:31:23.123Z] 10:31:23 INFO - INFO | LeakSanitizer | Frame js_arena_malloc matched a expected leak
[task 2019-01-11T10:31:23.124Z] 10:31:23 INFO - TEST-FAIL | LeakSanitizer | leak at js_arena_malloc, js_pod_arena_malloc, maybe_pod_malloc, js::detail::OrderedHashTable
[task 2019-01-11T10:31:23.125Z] 10:31:23 INFO - INFO | LeakSanitizer | Frame js_arena_malloc matched a expected leak
[task 2019-01-11T10:31:23.125Z] 10:31:23 INFO - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::dom::PerformanceMainThread::CreateNavigationTimingEntry, mozilla::dom::Performance::CreateForMainThread, nsPIDOMWindowInner::CreatePerformanceObjectIfNeeded, nsPIDOMWindowInner::GetPerformance

[task 2019-01-11T10:30:06.451Z] 10:30:06 INFO - TEST-START | /css/css-fonts/font-display/font-display.html

Component: Mozbase → Layout: Text and Fonts
Product: Testing → Core
Version: Version 3 → unspecified

Looks like the types getting leaked here are DOM and JS types.

Component: Layout: Text and Fonts → JavaScript Engine

I recently removed a lot of whitelisting for leaks in web platform tests, so this was presumably triggered by that.

The JS stuff leaking is likely incidental. Among the other stuff I see leaked is PerformanceMainThread, so I'll move it to DOM. I'm not sure if there are other things in there or not.

Component: JavaScript Engine → DOM
Blocks: 1517309
Keywords: memory-leak

These are happening in wpt5, in the /trusted-types/ directory.

Blocks: 1523989
No longer blocks: 1517309
Component: DOM → DOM: Core & HTML

The leaks that started yesterday are in accessible/tests/browser/events/, so this is just an alternate starring of bug 1532189.

Status: NEW → RESOLVED
Closed: 5 years ago
Component: DOM: Core & HTML → Disability Access APIs
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.