Bug: Intermittent LeakSanitizer | leak at PLDHashTable::MakeEntryHandle, PLDHashTable::MakeEntryHandle, std::invoke_result, WithEntryHandle
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2023-06-08 00:32:54+00:00
Resolved: 2024-01-31 12:00:35+00:00

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

---
```
[task 2023-06-07T23:39:49.372Z] 23:39:49     INFO - TEST-START | browser/components/screenshots/tests/browser/browser_screenshots_test_visible.js
[task 2023-06-07T23:39:49.690Z] 23:39:49     INFO - GECKO(3113) | console.error: (new Error("Unexpected content-type \"text/plain;charset=US-ASCII\"", "resource://services-settings/Utils.sys.mjs", 399))
[task 2023-06-07T23:39:49.852Z] 23:39:49     INFO - GECKO(3113) | JavaScript error: resource://gre/modules/XULStore.sys.mjs, line 60: Error: Can't find profile directory.
[task 2023-06-07T23:39:51.156Z] 23:39:51     INFO - GECKO(3113) | -----------------------------------------------------
[task 2023-06-07T23:39:51.157Z] 23:39:51     INFO - GECKO(3113) | Suppressions used:
[task 2023-06-07T23:39:51.158Z] 23:39:51     INFO - GECKO(3113) |   count      bytes template
[task 2023-06-07T23:39:51.158Z] 23:39:51     INFO - GECKO(3113) |       2        288 libfontconfig.so
[task 2023-06-07T23:39:51.159Z] 23:39:51     INFO - GECKO(3113) | -----------------------------------------------------
[task 2023-06-07T23:39:51.429Z] 23:39:51     INFO - GECKO(3113) | console.error: (new Error("Unexpected content-type \"text/plain;charset=US-ASCII\"", "resource://services-settings/Utils.sys.mjs", 399))
[task 2023-06-07T23:39:51.545Z] 23:39:51     INFO - GECKO(3113) | JavaScript error: resource://gre/modules/XULStore.sys.mjs, line 60: Error: Can't find profile directory.
[task 2023-06-07T23:39:52.597Z] 23:39:52     INFO - GECKO(3113) | -----------------------------------------------------
<...>
[task 2023-06-07T23:39:59.982Z] 23:39:59     INFO - GECKO(3113) | Completed ShutdownLeaks collections in process 3113
[task 2023-06-07T23:39:59.984Z] 23:39:59     INFO - TEST-START | Shutdown
[task 2023-06-07T23:39:59.985Z] 23:39:59     INFO - Browser Chrome Test Summary
[task 2023-06-07T23:39:59.988Z] 23:39:59     INFO - Passed:  620
[task 2023-06-07T23:39:59.988Z] 23:39:59     INFO - Failed:  0
[task 2023-06-07T23:39:59.992Z] 23:39:59     INFO - Todo:    0
[task 2023-06-07T23:39:59.993Z] 23:39:59     INFO - Mode:    e10s
[task 2023-06-07T23:39:59.994Z] 23:39:59     INFO - *** End BrowserChrome Test Results ***
[task 2023-06-07T23:40:01.135Z] 23:40:01     INFO - GECKO(3113) | 1686181201134	Marionette	TRACE	Received observer notification quit-application
[task 2023-06-07T23:40:01.136Z] 23:40:01     INFO - GECKO(3113) | 1686181201134	Marionette	INFO	Stopped listening on port 2828
[task 2023-06-07T23:40:01.139Z] 23:40:01     INFO - GECKO(3113) | 1686181201137	Marionette	DEBUG	Marionette stopped listening
[task 2023-06-07T23:40:01.627Z] 23:40:01     INFO - GECKO(3113) | -----------------------------------------------------
[task 2023-06-07T23:40:01.628Z] 23:40:01     INFO - GECKO(3113) | Suppressions used:
[task 2023-06-07T23:40:01.629Z] 23:40:01     INFO - GECKO(3113) |   count      bytes template
[task 2023-06-07T23:40:01.629Z] 23:40:01     INFO - GECKO(3113) |       2        288 libfontconfig.so
[task 2023-06-07T23:40:01.630Z] 23:40:01     INFO - GECKO(3113) | -----------------------------------------------------
[task 2023-06-07T23:40:01.645Z] 23:40:01     INFO - GECKO(3113) | -----------------------------------------------------
[task 2023-06-07T23:40:01.646Z] 23:40:01     INFO - GECKO(3113) | Suppressions used:
[task 2023-06-07T23:40:01.647Z] 23:40:01     INFO - GECKO(3113) |   count      bytes template
[task 2023-06-07T23:40:01.648Z] 23:40:01     INFO - GECKO(3113) |       2        288 libfontconfig.so
[task 2023-06-07T23:40:01.649Z] 23:40:01     INFO - GECKO(3113) | -----------------------------------------------------
[task 2023-06-07T23:40:01.685Z] 23:40:01     INFO - GECKO(3113) | -----------------------------------------------------
[task 2023-06-07T23:40:01.687Z] 23:40:01     INFO - GECKO(3113) | Suppressions used:
[task 2023-06-07T23:40:01.688Z] 23:40:01     INFO - GECKO(3113) |   count      bytes template
[task 2023-06-07T23:40:01.690Z] 23:40:01     INFO - GECKO(3113) |       2        288 libfontconfig.so
[task 2023-06-07T23:40:01.691Z] 23:40:01     INFO - GECKO(3113) | -----------------------------------------------------
[task 2023-06-07T23:40:01.758Z] 23:40:01     INFO - GECKO(3113) | -----------------------------------------------------
[task 2023-06-07T23:40:01.759Z] 23:40:01     INFO - GECKO(3113) | Suppressions used:
[task 2023-06-07T23:40:01.760Z] 23:40:01     INFO - GECKO(3113) |   count      bytes template
[task 2023-06-07T23:40:01.760Z] 23:40:01     INFO - GECKO(3113) |       2        288 libfontconfig.so
[task 2023-06-07T23:40:01.761Z] 23:40:01     INFO - GECKO(3113) | -----------------------------------------------------
[task 2023-06-07T23:40:03.413Z] 23:40:03     INFO - GECKO(3113) | -----------------------------------------------------
[task 2023-06-07T23:40:03.414Z] 23:40:03     INFO - GECKO(3113) | Suppressions used:
[task 2023-06-07T23:40:03.414Z] 23:40:03     INFO - GECKO(3113) |   count      bytes template
[task 2023-06-07T23:40:03.415Z] 23:40:03     INFO - GECKO(3113) |       4        128 nsComponentManagerImpl
[task 2023-06-07T23:40:03.415Z] 23:40:03     INFO - GECKO(3113) |     633      18115 libfontconfig.so
[task 2023-06-07T23:40:03.415Z] 23:40:03     INFO - GECKO(3113) |       2      16393 libglib-2.0.so
[task 2023-06-07T23:40:03.415Z] 23:40:03     INFO - GECKO(3113) | -----------------------------------------------------
[task 2023-06-07T23:40:03.472Z] 23:40:03     INFO - TEST-INFO | Main app process: exit 0
[task 2023-06-07T23:40:03.472Z] 23:40:03     INFO - TEST-INFO | LeakSanitizer | To show the addresses of leaked objects add report_objects=1 to LSAN_OPTIONS
[task 2023-06-07T23:40:03.472Z] 23:40:03     INFO - TEST-INFO | LeakSanitizer | This can be done in testing/mozbase/mozrunner/mozrunner/utils.py
[task 2023-06-07T23:40:03.472Z] 23:40:03    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at PLDHashTable::MakeEntryHandle, PLDHashTable::MakeEntryHandle, std::invoke_result, WithEntryHandle
[task 2023-06-07T23:40:03.472Z] 23:40:03    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::image::ImageFactory::CreateRasterImage, mozilla::image::ImageFactory::CreateImage, PrepareForNewPart, imgRequest::OnDataAvailable
[task 2023-06-07T23:40:03.472Z] 23:40:03    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at Alloc, nsTSubstring, nsTSubstring, mozilla::net::nsSimpleURI::SetPathQueryRefInternal
[task 2023-06-07T23:40:03.472Z] 23:40:03    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at Chunk, CreateChunk, mozilla::image::SourceBuffer::ExpectLength, SetSourceSizeHint
[task 2023-06-07T23:40:03.472Z] 23:40:03    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::dom::DocGroup::DocGroup, mozilla::dom::DocGroup::Create, operator, OrInsertWith
[task 2023-06-07T23:40:03.472Z] 23:40:03    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at Alloc, nsTSubstring, AssignNonDependent, nsTSubstring
[task 2023-06-07T23:40:03.472Z] 23:40:03    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at MakeNotNull, RasterImage, mozilla::image::ImageFactory::CreateRasterImage, mozilla::image::ImageFactory::CreateImage
[task 2023-06-07T23:40:03.472Z] 23:40:03    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at CopyOnWrite, mozilla::image::ProgressTracker::ProgressTracker, imgRequest::imgRequest, NewRequestAndEntry
[task 2023-06-07T23:40:03.472Z] 23:40:03    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at BaseURIMutator, InitFromSpec, mozilla::dom::BlobURL::Mutator::SetSpec, SetSpec
[task 2023-06-07T23:40:03.474Z] 23:40:03    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at Alloc, nsTSubstring, nsTSubstring, nsTSubstring
[task 2023-06-07T23:40:03.474Z] 23:40:03    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::image::ProgressTracker::ProgressTracker, imgRequest::imgRequest, NewRequestAndEntry, imgLoader::LoadImage
[task 2023-06-07T23:40:03.476Z] 23:40:03    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::dom::DocGroup::Create, operator, OrInsertWith, operator
[task 2023-06-07T23:40:03.476Z] 23:40:03    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at imgRequest::imgRequest, NewRequestAndEntry, imgLoader::LoadImage, nsContentUtils::LoadImage
[task 2023-06-07T23:40:03.476Z] 23:40:03     INFO - runtests.py | Application ran for: 0:01:22.653737
[task 2023-06-07T23:40:03.476Z] 23:40:03     INFO - zombiecheck | Reading PID log: /tmp/tmprd7jpmtwpidlog
```