Bug: Intermittent LeakSanitizer leak at MakeAndAddRef, mozilla::layers::SharedSurfacesChild::Share, mozilla::gfx::SourceSurfaceSharedData::Init, mozilla::image::AllocateBufferForImage | single tracking bug
Status: REOPENED
Priority: P5
Created: 2024-09-16 10:23:37+00:00
Resolved: 2025-03-03 06:17:02+00:00

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

---
```
[task 2024-09-16T09:47:08.526Z] 09:47:08     INFO - TEST-START | Shutdown
[task 2024-09-16T09:47:08.528Z] 09:47:08     INFO - Browser Chrome Test Summary
[task 2024-09-16T09:47:08.530Z] 09:47:08     INFO - Passed:  1476
[task 2024-09-16T09:47:08.531Z] 09:47:08     INFO - Failed:  0
[task 2024-09-16T09:47:08.533Z] 09:47:08     INFO - Todo:    0
[task 2024-09-16T09:47:08.534Z] 09:47:08     INFO - Mode:    e10s
[task 2024-09-16T09:47:08.534Z] 09:47:08     INFO - *** End BrowserChrome Test Results ***
[task 2024-09-16T09:47:08.757Z] 09:47:08     INFO - GECKO(28773) | 1726480028756	Marionette	TRACE	Received observer notification quit-application
[task 2024-09-16T09:47:08.760Z] 09:47:08     INFO - GECKO(28773) | 1726480028756	Marionette	INFO	Stopped listening on port 2828
[task 2024-09-16T09:47:08.764Z] 09:47:08     INFO - GECKO(28773) | 1726480028760	Marionette	DEBUG	Marionette stopped listening
[task 2024-09-16T09:47:08.912Z] 09:47:08     INFO - GECKO(28773) | JavaScript error: resource://testing-common/BrowserTestUtils.sys.mjs, line 501: Error: The window unloaded while we were waiting for the browser to load - this should never happen.
[task 2024-09-16T09:47:08.926Z] 09:47:08     INFO - GECKO(28773) | -----------------------------------------------------
[task 2024-09-16T09:47:08.927Z] 09:47:08     INFO - GECKO(28773) | Suppressions used:
[task 2024-09-16T09:47:08.928Z] 09:47:08     INFO - GECKO(28773) |   count      bytes template
[task 2024-09-16T09:47:08.929Z] 09:47:08     INFO - GECKO(28773) |      31      16288 nsComponentManagerImpl
[task 2024-09-16T09:47:08.929Z] 09:47:08     INFO - GECKO(28773) |       2        288 libfontconfig.so
[task 2024-09-16T09:47:08.930Z] 09:47:08     INFO - GECKO(28773) | -----------------------------------------------------
[task 2024-09-16T09:47:09.260Z] 09:47:09     INFO - GECKO(28773) | -----------------------------------------------------
[task 2024-09-16T09:47:09.261Z] 09:47:09     INFO - GECKO(28773) | Suppressions used:
[task 2024-09-16T09:47:09.262Z] 09:47:09     INFO - GECKO(28773) |   count      bytes template
[task 2024-09-16T09:47:09.262Z] 09:47:09     INFO - GECKO(28773) |      31      16288 nsComponentManagerImpl
[task 2024-09-16T09:47:09.263Z] 09:47:09     INFO - GECKO(28773) |       2        288 libfontconfig.so
[task 2024-09-16T09:47:09.263Z] 09:47:09     INFO - GECKO(28773) | -----------------------------------------------------
[task 2024-09-16T09:47:09.310Z] 09:47:09     INFO - GECKO(28773) | -----------------------------------------------------
[task 2024-09-16T09:47:09.311Z] 09:47:09     INFO - GECKO(28773) | Suppressions used:
[task 2024-09-16T09:47:09.311Z] 09:47:09     INFO - GECKO(28773) |   count      bytes template
[task 2024-09-16T09:47:09.311Z] 09:47:09     INFO - GECKO(28773) |      31      16288 nsComponentManagerImpl
[task 2024-09-16T09:47:09.312Z] 09:47:09     INFO - GECKO(28773) |       2        288 libfontconfig.so
[task 2024-09-16T09:47:09.313Z] 09:47:09     INFO - GECKO(28773) | -----------------------------------------------------
[task 2024-09-16T09:47:11.276Z] 09:47:11     INFO - GECKO(28773) | [Parent 28773, IPC I/O Parent] WARNING: Process 28849 may be hanging at shutdown; will wait for up to 40000ms: file /builds/worker/checkouts/gecko/ipc/chromium/src/chrome/common/process_watcher_posix_sigchld.cc:184
[task 2024-09-16T09:47:12.003Z] 09:47:12     INFO - GECKO(28773) | -----------------------------------------------------
[task 2024-09-16T09:47:12.005Z] 09:47:12     INFO - GECKO(28773) | Suppressions used:
[task 2024-09-16T09:47:12.005Z] 09:47:12     INFO - GECKO(28773) |   count      bytes template
[task 2024-09-16T09:47:12.006Z] 09:47:12     INFO - GECKO(28773) |      31      16288 nsComponentManagerImpl
[task 2024-09-16T09:47:12.007Z] 09:47:12     INFO - GECKO(28773) |       2        288 libfontconfig.so
[task 2024-09-16T09:47:12.007Z] 09:47:12     INFO - GECKO(28773) |       1       9496 style::sharing::SHARING_CACHE_KEY
[task 2024-09-16T09:47:12.008Z] 09:47:12     INFO - GECKO(28773) |       1       4104 style::bloom::BLOOM_KEY
[task 2024-09-16T09:47:12.008Z] 09:47:12     INFO - GECKO(28773) | -----------------------------------------------------
[task 2024-09-16T09:47:12.212Z] 09:47:12     INFO - GECKO(28773) | -----------------------------------------------------
[task 2024-09-16T09:47:12.214Z] 09:47:12     INFO - GECKO(28773) | Suppressions used:
[task 2024-09-16T09:47:12.214Z] 09:47:12     INFO - GECKO(28773) |   count      bytes template
[task 2024-09-16T09:47:12.215Z] 09:47:12     INFO - GECKO(28773) |      31      16288 nsComponentManagerImpl
[task 2024-09-16T09:47:12.216Z] 09:47:12     INFO - GECKO(28773) |       2        288 libfontconfig.so
[task 2024-09-16T09:47:12.216Z] 09:47:12     INFO - GECKO(28773) |       1       9496 style::sharing::SHARING_CACHE_KEY
[task 2024-09-16T09:47:12.217Z] 09:47:12     INFO - GECKO(28773) |       1       4104 style::bloom::BLOOM_KEY
[task 2024-09-16T09:47:12.218Z] 09:47:12     INFO - GECKO(28773) | -----------------------------------------------------
[task 2024-09-16T09:47:12.266Z] 09:47:12     INFO - GECKO(28773) | -----------------------------------------------------
[task 2024-09-16T09:47:12.267Z] 09:47:12     INFO - GECKO(28773) | Suppressions used:
[task 2024-09-16T09:47:12.268Z] 09:47:12     INFO - GECKO(28773) |   count      bytes template
[task 2024-09-16T09:47:12.268Z] 09:47:12     INFO - GECKO(28773) |      31      16288 nsComponentManagerImpl
[task 2024-09-16T09:47:12.269Z] 09:47:12     INFO - GECKO(28773) |       2        288 libfontconfig.so
[task 2024-09-16T09:47:12.270Z] 09:47:12     INFO - GECKO(28773) |       1       9496 style::sharing::SHARING_CACHE_KEY
[task 2024-09-16T09:47:12.270Z] 09:47:12     INFO - GECKO(28773) |       1       4104 style::bloom::BLOOM_KEY
[task 2024-09-16T09:47:12.271Z] 09:47:12     INFO - GECKO(28773) | -----------------------------------------------------
[task 2024-09-16T09:47:12.277Z] 09:47:12     INFO - GECKO(28773) | [Parent 28773, IPC I/O Parent] WARNING: Process 28993 may be hanging at shutdown; will wait for up to 39000ms: file /builds/worker/checkouts/gecko/ipc/chromium/src/chrome/common/process_watcher_posix_sigchld.cc:184
[task 2024-09-16T09:47:12.347Z] 09:47:12     INFO - GECKO(28773) | -----------------------------------------------------
[task 2024-09-16T09:47:12.348Z] 09:47:12     INFO - GECKO(28773) | Suppressions used:
[task 2024-09-16T09:47:12.348Z] 09:47:12     INFO - GECKO(28773) |   count      bytes template
[task 2024-09-16T09:47:12.348Z] 09:47:12     INFO - GECKO(28773) |      31      16288 nsComponentManagerImpl
[task 2024-09-16T09:47:12.348Z] 09:47:12     INFO - GECKO(28773) |       2        288 libfontconfig.so
[task 2024-09-16T09:47:12.348Z] 09:47:12     INFO - GECKO(28773) |       1       9496 style::sharing::SHARING_CACHE_KEY
[task 2024-09-16T09:47:12.348Z] 09:47:12     INFO - GECKO(28773) |       1       4104 style::bloom::BLOOM_KEY
[task 2024-09-16T09:47:12.348Z] 09:47:12     INFO - GECKO(28773) | -----------------------------------------------------
[task 2024-09-16T09:47:12.441Z] 09:47:12     INFO - GECKO(28773) | -----------------------------------------------------
[task 2024-09-16T09:47:12.442Z] 09:47:12     INFO - GECKO(28773) | Suppressions used:
[task 2024-09-16T09:47:12.443Z] 09:47:12     INFO - GECKO(28773) |   count      bytes template
[task 2024-09-16T09:47:12.443Z] 09:47:12     INFO - GECKO(28773) |      31      16288 nsComponentManagerImpl
[task 2024-09-16T09:47:12.444Z] 09:47:12     INFO - GECKO(28773) |       2        288 libfontconfig.so
[task 2024-09-16T09:47:12.445Z] 09:47:12     INFO - GECKO(28773) |       1       9496 style::sharing::SHARING_CACHE_KEY
[task 2024-09-16T09:47:12.445Z] 09:47:12     INFO - GECKO(28773) |       1       4104 style::bloom::BLOOM_KEY
[task 2024-09-16T09:47:12.445Z] 09:47:12     INFO - GECKO(28773) | -----------------------------------------------------
[task 2024-09-16T09:47:13.982Z] 09:47:13     INFO - GECKO(28773) | -----------------------------------------------------
[task 2024-09-16T09:47:13.983Z] 09:47:13     INFO - GECKO(28773) | Suppressions used:
[task 2024-09-16T09:47:13.983Z] 09:47:13     INFO - GECKO(28773) |   count      bytes template
[task 2024-09-16T09:47:13.984Z] 09:47:13     INFO - GECKO(28773) |      38      13680 nsComponentManagerImpl
[task 2024-09-16T09:47:13.984Z] 09:47:13     INFO - GECKO(28773) |     633      18115 libfontconfig.so
[task 2024-09-16T09:47:13.985Z] 09:47:13     INFO - GECKO(28773) |       3      28488 style::sharing::SHARING_CACHE_KEY
[task 2024-09-16T09:47:13.986Z] 09:47:13     INFO - GECKO(28773) |       3      12312 style::bloom::BLOOM_KEY
[task 2024-09-16T09:47:13.986Z] 09:47:13     INFO - GECKO(28773) |    1027      22978 libglib-2.0.so
[task 2024-09-16T09:47:13.986Z] 09:47:13     INFO - GECKO(28773) | -----------------------------------------------------
[task 2024-09-16T09:47:14.094Z] 09:47:14     INFO - TEST-INFO | Main app process: exit 0
[task 2024-09-16T09:47:14.094Z] 09:47:14     INFO - TEST-INFO | LeakSanitizer | To show the addresses of leaked objects add report_objects=1 to LSAN_OPTIONS
[task 2024-09-16T09:47:14.095Z] 09:47:14     INFO - TEST-INFO | LeakSanitizer | This can be done in testing/mozbase/mozrunner/mozrunner/utils.py
[task 2024-09-16T09:47:14.095Z] 09:47:14    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer leak at MakeAndAddRef, mozilla::layers::SharedSurfacesChild::Share, mozilla::gfx::SourceSurfaceSharedData::Init, mozilla::image::AllocateBufferForImage | uriloader/exthandler/tests/mochitest/browser_download_urlescape.js
[task 2024-09-16T09:47:14.096Z] 09:47:14    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer leak at SupportsThreadSafeWeakPtr, SourceSurface, DataSourceSurface, SourceSurfaceSharedData | uriloader/exthandler/tests/mochitest/browser_download_urlescape.js
[task 2024-09-16T09:47:14.096Z] 09:47:14    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer leak at mozilla::gfx::SourceSurfaceSharedData::Init, mozilla::image::AllocateBufferForImage, mozilla::image::imgFrame::InitForDecoder, mozilla::image::Decoder::AllocateFrameInternal | uriloader/exthandler/tests/mochitest/browser_download_urlescape.js
[task 2024-09-16T09:47:14.097Z] 09:47:14    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer leak at mozilla::image::AllocateBufferForImage, mozilla::image::imgFrame::InitForDecoder, mozilla::image::Decoder::AllocateFrameInternal, mozilla::image::Decoder::AllocateFrame | uriloader/exthandler/tests/mochitest/browser_download_urlescape.js
[task 2024-09-16T09:47:14.097Z] 09:47:14     INFO - runtests.py | Application ran for: 0:05:58.027183
[task 2024-09-16T09:47:14.098Z] 09:47:14     INFO - zombiecheck | Reading PID log: /tmp/tmpdli7fs7cpidlog
[task 2024-09-16T09:47:14.098Z] 09:47:14     INFO - ==> process 28773 launched child process 28849
[task 2024-09-16T09:47:14.098Z] 09:47:14     INFO - ==> process 28773 launched child process 28879
```