Closed Bug 1827434 Opened 2 years ago Closed 2 years ago

Intermittent LeakSanitizer | leak at mozilla::detail::HashTable, changeTableSize, mozilla::detail::HashTable, reserve

Categories

(Core :: General, defect, P5)

defect

Tracking

()

RESOLVED FIXED
114 Branch
Tracking Status
firefox114 --- fixed

People

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

References

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

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


[task 2023-04-11T13:57:17.866Z] 13:57:17     INFO - ERROR | LeakSanitizer | SUMMARY: AddressSanitizer: 90358 byte(s) leaked in 348 allocation(s).
[task 2023-04-11T13:57:17.866Z] 13:57:17     INFO - LeakSanitizer | To show the addresses of leaked objects add report_objects=1 to LSAN_OPTIONS
[task 2023-04-11T13:57:17.866Z] 13:57:17     INFO - This can be done in testing/mozbase/mozrunner/mozrunner/utils.py
[task 2023-04-11T13:57:17.866Z] 13:57:17     INFO - Allowed depth was 4
[task 2023-04-11T13:57:17.866Z] 13:57:17     INFO - TEST-FAIL | LeakSanitizer | leak at js_arena_malloc, js_new, MakeUnique, js::SharedPropMap::addChild
[task 2023-04-11T13:57:17.866Z] 13:57:17     INFO - INFO | LeakSanitizer | Frame js_arena_malloc matched a expected leak
[task 2023-04-11T13:57:17.866Z] 13:57:17     INFO - TEST-FAIL | LeakSanitizer | leak at js_arena_realloc, js_pod_arena_realloc, maybe_pod_arena_realloc, pod_arena_realloc
[task 2023-04-11T13:57:17.866Z] 13:57:17     INFO - INFO | LeakSanitizer | Frame js_arena_realloc matched a expected leak
[task 2023-04-11T13:57:17.866Z] 13:57:17     INFO - TEST-FAIL | LeakSanitizer | leak at AllocateProtoAndIfaceCache, mozilla::dom::CreateGlobal, mozilla::dom::Window_Binding::Wrap, CreateNativeGlobalForInner
[task 2023-04-11T13:57:17.866Z] 13:57:17     INFO - INFO | LeakSanitizer | Frame AllocateProtoAndIfaceCache matched a expected leak
[task 2023-04-11T13:57:17.867Z] 13:57:17     INFO - TEST-FAIL | LeakSanitizer | leak at mozilla::dom::PerformanceMainThread::CreateNavigationTimingEntry, mozilla::dom::Performance::CreateForMainThread, nsPIDOMWindowInner::CreatePerformanceObjectIfNeeded, nsPIDOMWindowInner::GetPerformance
[task 2023-04-11T13:57:17.867Z] 13:57:17     INFO - INFO | LeakSanitizer | Frame mozilla::dom::PerformanceMainThread::CreateNavigationTimingEntry matched a expected leak
[task 2023-04-11T13:57:17.869Z] 13:57:17     INFO - TEST-FAIL | LeakSanitizer | leak at mozilla::net::nsStandardURL::TemplatedMutator, Init, mozilla::net::nsStandardURL::TemplatedMutator, Apply
[task 2023-04-11T13:57:17.869Z] 13:57:17     INFO - INFO | LeakSanitizer | Frame mozilla::net::nsStandardURL::TemplatedMutator matched a expected leak
[task 2023-04-11T13:57:17.870Z] 13:57:17     INFO - TEST-FAIL | LeakSanitizer | leak at mozilla::dom::Performance::CreateForMainThread, nsPIDOMWindowInner::CreatePerformanceObjectIfNeeded, nsPIDOMWindowInner::GetPerformance, mozilla::dom::Window_Binding::get_performance
[task 2023-04-11T13:57:17.870Z] 13:57:17     INFO - INFO | LeakSanitizer | Frame mozilla::dom::Performance::CreateForMainThread matched a expected leak
[task 2023-04-11T13:57:17.875Z] 13:57:17     INFO - TEST-FAIL | LeakSanitizer | leak at nsDynamicAtom::Create, nsAtomTable::Atomize, nsLanguageAtomService::LookupLanguage, gfxFcPlatformFontList::TryLangForGroup
[task 2023-04-11T13:57:17.875Z] 13:57:17     INFO - INFO | LeakSanitizer | Frame nsDynamicAtom::Create matched a expected leak
[task 2023-04-11T13:57:17.875Z] 13:57:17     INFO - TEST-FAIL | LeakSanitizer | leak at ProtoAndIfaceCache, AllocateProtoAndIfaceCache, mozilla::dom::CreateGlobal, mozilla::dom::Window_Binding::Wrap
[task 2023-04-11T13:57:17.875Z] 13:57:17     INFO - INFO | LeakSanitizer | Frame AllocateProtoAndIfaceCache matched a expected leak
[task 2023-04-11T13:57:17.875Z] 13:57:17     INFO - TEST-FAIL | LeakSanitizer | leak at nsDynamicAtom::Create, nsAtomTable::Atomize, PerformanceEntry, mozilla::dom::PerformanceResourceTiming::PerformanceResourceTiming
[task 2023-04-11T13:57:17.875Z] 13:57:17     INFO - INFO | LeakSanitizer | Frame nsDynamicAtom::Create matched a expected leak
[task 2023-04-11T13:57:17.875Z] 13:57:17     INFO - TEST-FAIL | LeakSanitizer | leak at js_arena_malloc, js_pod_arena_malloc, maybe_pod_arena_malloc, pod_arena_malloc
[task 2023-04-11T13:57:17.875Z] 13:57:17     INFO - INFO | LeakSanitizer | Frame js_arena_malloc matched a expected leak
[task 2023-04-11T13:57:17.875Z] 13:57:17     INFO - TEST-FAIL | LeakSanitizer | leak at Alloc, nsTSubstring, Gecko_StartBulkWriteString, nsstring::nsAString::start_bulk_write_impl
[task 2023-04-11T13:57:17.875Z] 13:57:17     INFO - INFO | LeakSanitizer | Frame Alloc matched a expected leak
[task 2023-04-11T13:57:17.875Z] 13:57:17     INFO - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::detail::HashTable, changeTableSize, mozilla::detail::HashTable, reserve
[task 2023-04-11T13:57:17.875Z] 13:57:17     INFO - TEST-FAIL | LeakSanitizer | leak at js_arena_malloc, js_pod_arena_malloc, maybe_pod_arena_malloc, js::detail::OrderedHashTable
[task 2023-04-11T13:57:17.875Z] 13:57:17     INFO - INFO | LeakSanitizer | Frame js_arena_malloc matched a expected leak
[task 2023-04-11T13:57:17.875Z] 13:57:17     INFO - TEST-FAIL | LeakSanitizer | leak at Alloc, nsTSubstring, nsTSubstring, mozilla::net::nsStandardURL::BuildNormalizedSpec
[task 2023-04-11T13:57:17.875Z] 13:57:17     INFO - INFO | LeakSanitizer | Frame Alloc matched a expected leak
[task 2023-04-11T13:57:17.876Z] 13:57:17     INFO - TEST-FAIL | LeakSanitizer | leak at js_arena_malloc, js_pod_arena_malloc, maybe_pod_arena_malloc, mozilla::detail::HashTable
[task 2023-04-11T13:57:17.876Z] 13:57:17     INFO - INFO | LeakSanitizer | Frame js_arena_malloc matched a expected leak
[task 2023-04-11T13:57:17.876Z] 13:57:17     INFO - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::detail::HashTable, changeTableSize, rehashIfOverloaded, mozilla::detail::HashTable
[task 2023-04-11T13:57:17.877Z] 13:57:17     INFO - Closing logging queue
[task 2023-04-11T13:57:17.877Z] 13:57:17     INFO - queue closed

While running [task 2023-04-11T13:57:17.266Z] 13:57:17 INFO - TEST-START | /WebCryptoAPI/generateKey/successes_AES-CTR.https.any.worker.html

See Also: → 1827457

(In reply to Natalia Csoregi [:nataliaCs] from comment #1)

While running [task 2023-04-11T13:57:17.266Z] 13:57:17 INFO - TEST-START | /WebCryptoAPI/generateKey/successes_AES-CTR.https.any.worker.html

It looks like this leak isn't actually happening in that directory, because the other stuff it is ignoring is not on an .ini file for that directory. It is rather confusing. I looked back earlier in the log around when the WebCryptoAPI tests were running, and there are some /browsing-topics/ tests running. That directory has an .ini file that is ignoring some stuff showing up there, including some hash table stuff, so I assume that's the culprit. I'll fix up all of the places that are ignoring leaks with createTable, as that seems like the most similar thing.

Assignee: nobody → continuation
Status: NEW → ASSIGNED
Pushed by amccreight@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c46af0322237 Ignore changeTableSize everywhere we ignore createTable. r=intermittent-reviewers,jmaher
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 114 Branch
See Also: → 1851444
See Also: → 1851751
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: