Bug: Intermittent LeakSanitizer | leak at Alloc, nsTSubstring, nsTSubstring, mozilla::net::nsSimpleURI::SetPathQueryRefInternal
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2023-07-04 11:35:39+00:00
Resolved: 2024-05-08 12:03:11+00:00

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

---
```
[task 2023-07-04T11:06:17.719Z] 11:06:17     INFO - TEST-START | Shutdown
[task 2023-07-04T11:06:17.721Z] 11:06:17     INFO - Browser Chrome Test Summary
[task 2023-07-04T11:06:17.721Z] 11:06:17     INFO - Passed:  620
[task 2023-07-04T11:06:17.722Z] 11:06:17     INFO - Failed:  0
[task 2023-07-04T11:06:17.723Z] 11:06:17     INFO - Todo:    0
[task 2023-07-04T11:06:17.724Z] 11:06:17     INFO - Mode:    e10s
[task 2023-07-04T11:06:17.725Z] 11:06:17     INFO - *** End BrowserChrome Test Results ***
[task 2023-07-04T11:06:18.852Z] 11:06:18     INFO - GECKO(7993) | 1688468778851	Marionette	TRACE	Received observer notification quit-application
[task 2023-07-04T11:06:18.854Z] 11:06:18     INFO - GECKO(7993) | 1688468778851	Marionette	INFO	Stopped listening on port 2828
[task 2023-07-04T11:06:18.855Z] 11:06:18     INFO - GECKO(7993) | 1688468778854	Marionette	DEBUG	Marionette stopped listening
[task 2023-07-04T11:06:19.205Z] 11:06:19     INFO - GECKO(7993) | -----------------------------------------------------
[task 2023-07-04T11:06:19.206Z] 11:06:19     INFO - GECKO(7993) | Suppressions used:
[task 2023-07-04T11:06:19.207Z] 11:06:19     INFO - GECKO(7993) |   count      bytes template
[task 2023-07-04T11:06:19.207Z] 11:06:19     INFO - GECKO(7993) |       2        288 libfontconfig.so
[task 2023-07-04T11:06:19.207Z] 11:06:19     INFO - GECKO(7993) | -----------------------------------------------------
[task 2023-07-04T11:06:19.325Z] 11:06:19     INFO - GECKO(7993) | -----------------------------------------------------
[task 2023-07-04T11:06:19.325Z] 11:06:19     INFO - GECKO(7993) | Suppressions used:
[task 2023-07-04T11:06:19.326Z] 11:06:19     INFO - GECKO(7993) |   count      bytes template
[task 2023-07-04T11:06:19.326Z] 11:06:19     INFO - GECKO(7993) |       2        288 libfontconfig.so
[task 2023-07-04T11:06:19.326Z] 11:06:19     INFO - GECKO(7993) | -----------------------------------------------------
[task 2023-07-04T11:06:19.333Z] 11:06:19     INFO - GECKO(7993) | -----------------------------------------------------
[task 2023-07-04T11:06:19.333Z] 11:06:19     INFO - GECKO(7993) | Suppressions used:
[task 2023-07-04T11:06:19.334Z] 11:06:19     INFO - GECKO(7993) |   count      bytes template
[task 2023-07-04T11:06:19.334Z] 11:06:19     INFO - GECKO(7993) |       2        288 libfontconfig.so
[task 2023-07-04T11:06:19.334Z] 11:06:19     INFO - GECKO(7993) | -----------------------------------------------------
[task 2023-07-04T11:06:19.417Z] 11:06:19     INFO - GECKO(7993) | -----------------------------------------------------
[task 2023-07-04T11:06:19.418Z] 11:06:19     INFO - GECKO(7993) | Suppressions used:
[task 2023-07-04T11:06:19.418Z] 11:06:19     INFO - GECKO(7993) |   count      bytes template
[task 2023-07-04T11:06:19.418Z] 11:06:19     INFO - GECKO(7993) |       2        288 libfontconfig.so
[task 2023-07-04T11:06:19.418Z] 11:06:19     INFO - GECKO(7993) | -----------------------------------------------------
[task 2023-07-04T11:06:20.944Z] 11:06:20     INFO - GECKO(7993) | -----------------------------------------------------
[task 2023-07-04T11:06:20.945Z] 11:06:20     INFO - GECKO(7993) | Suppressions used:
[task 2023-07-04T11:06:20.945Z] 11:06:20     INFO - GECKO(7993) |   count      bytes template
[task 2023-07-04T11:06:20.945Z] 11:06:20     INFO - GECKO(7993) |       4        128 nsComponentManagerImpl
[task 2023-07-04T11:06:20.946Z] 11:06:20     INFO - GECKO(7993) |     633      18115 libfontconfig.so
[task 2023-07-04T11:06:20.946Z] 11:06:20     INFO - GECKO(7993) |       2      16393 libglib-2.0.so
[task 2023-07-04T11:06:20.946Z] 11:06:20     INFO - GECKO(7993) | -----------------------------------------------------
[task 2023-07-04T11:06:21.005Z] 11:06:21     INFO - TEST-INFO | Main app process: exit 0
[task 2023-07-04T11:06:21.008Z] 11:06:21     INFO - TEST-INFO | LeakSanitizer | To show the addresses of leaked objects add report_objects=1 to LSAN_OPTIONS
[task 2023-07-04T11:06:21.008Z] 11:06:21     INFO - TEST-INFO | LeakSanitizer | This can be done in testing/mozbase/mozrunner/mozrunner/utils.py
[task 2023-07-04T11:06:21.008Z] 11:06:21    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at Alloc, nsTSubstring, nsTSubstring, mozilla::net::nsSimpleURI::SetPathQueryRefInternal
[task 2023-07-04T11:06:21.008Z] 11:06:21    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at CopyOnWrite, mozilla::image::ProgressTracker::ProgressTracker, imgRequest::imgRequest, NewRequestAndEntry
[task 2023-07-04T11:06:21.008Z] 11:06:21    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at MakeNotNull, RasterImage, mozilla::image::ImageFactory::CreateRasterImage, mozilla::image::ImageFactory::CreateImage
[task 2023-07-04T11:06:21.008Z] 11:06:21    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at Chunk, CreateChunk, mozilla::image::SourceBuffer::ExpectLength, SetSourceSizeHint
[task 2023-07-04T11:06:21.009Z] 11:06:21    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at Create, InitFromSpec, SetSpec, SetSpec
[task 2023-07-04T11:06:21.010Z] 11:06:21    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::image::ImageFactory::CreateRasterImage, mozilla::image::ImageFactory::CreateImage, PrepareForNewPart, imgRequest::OnDataAvailable
[task 2023-07-04T11:06:21.011Z] 11:06:21    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::image::ProgressTracker::ProgressTracker, imgRequest::imgRequest, NewRequestAndEntry, imgLoader::LoadImage
[task 2023-07-04T11:06:21.011Z] 11:06:21    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at PLDHashTable::MakeEntryHandle, PLDHashTable::MakeEntryHandle, std::invoke_result, WithEntryHandle
[task 2023-07-04T11:06:21.012Z] 11:06:21    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at Alloc, nsTSubstring, nsTSubstring, nsTSubstring
[task 2023-07-04T11:06:21.012Z] 11:06:21    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at imgRequest::imgRequest, NewRequestAndEntry, imgLoader::LoadImage, nsContentUtils::LoadImage
[task 2023-07-04T11:06:21.012Z] 11:06:21     INFO - runtests.py | Application ran for: 0:01:15.876215
[task 2023-07-04T11:06:21.015Z] 11:06:21     INFO - zombiecheck | Reading PID log: /tmp/tmp90lnvn_4pidlog
[task 2023-07-04T11:06:21.015Z] 11:06:21     INFO - ==> process 7993 launched child process 8013
[task 2023-07-04T11:06:21.015Z] 11:06:21     INFO - ==> process 7993 launched child process 8059
[task 2023-07-04T11:06:21.015Z] 11:06:21     INFO - ==> process 7993 launched child process 8083
[task 2023-07-04T11:06:21.015Z] 11:06:21     INFO - ==> process 7993 launched child process 8138
```