Closed Bug 1717647 Opened 3 years ago Closed 3 years ago

Intermittent LeakSanitizer | leak at NS_NewRunnableFunction, mozilla::image::IDecodingTask::NotifyDecodeComplete, mozilla::image::DecodedSurfaceProvider::FinishDecoding, mozilla::image::DecodedSurfaceProvider::Run

Categories

(Core :: Graphics: ImageLib, defect)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1717629

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure, Whiteboard: [retriggered][stockwell needswork:owner])

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


[task 2021-06-22T15:05:28.333Z] 15:05:28     INFO - GECKO(12585) | -----------------------------------------------------
[task 2021-06-22T15:05:28.418Z] 15:05:28     INFO - TEST-INFO | Main app process: exit 0
[task 2021-06-22T15:05:28.418Z] 15:05:28     INFO - TEST-INFO | LeakSanitizer | To show the addresses of leaked objects add report_objects=1 to LSAN_OPTIONS
[task 2021-06-22T15:05:28.418Z] 15:05:28     INFO - TEST-INFO | LeakSanitizer | This can be done in testing/mozbase/mozrunner/mozrunner/utils.py
[task 2021-06-22T15:05:28.418Z] 15:05:28    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at NS_NewRunnableFunction, mozilla::image::IDecodingTask::NotifyDecodeComplete, mozilla::image::DecodedSurfaceProvider::FinishDecoding, mozilla::image::DecodedSurfaceProvider::Run
[task 2021-06-22T15:05:28.418Z] 15:05:28    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at already_AddRefed, mozilla::image::SurfaceCacheImpl::ReleaseImageOnMainThread, mozilla::image::SurfaceCache::ReleaseImageOnMainThread, mozilla::image::DecodedSurfaceProvider::Run
[task 2021-06-22T15:05:28.418Z] 15:05:28    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::CreateMediumHighRunnable, mozilla::image::IDecodingTask::NotifyDecodeComplete, mozilla::image::DecodedSurfaceProvider::FinishDecoding, mozilla::image::DecodedSurfaceProvider::Run
[task 2021-06-22T15:05:28.418Z] 15:05:28     INFO - runtests.py | Application ran for: 0:01:07.136434

Update:

There have been 35 failures within the last 7 days, all of them on Linux 18.04 x64 asan opt.

Recent failure log: https://treeherder.mozilla.org/logviewer?job_id=344820106&repo=autoland&lineNumber=3041

[task 2021-07-09T21:22:59.674Z] 21:22:59     INFO - GECKO(2419) | -----------------------------------------------------
[task 2021-07-09T21:22:59.789Z] 21:22:59     INFO - GECKO(2419) | 1625865779787	RemoteAgent	ERROR	unable to stop listener: TypeError: can't access property "destructor", this.targetList is null(chrome://remote/content/cdp/CDP.jsm:92:5) JS Stack trace: stop@CDP.jsm:92:5
[task 2021-07-09T21:22:59.790Z] 21:22:59     INFO - GECKO(2419) | close@RemoteAgent.jsm:138:21
[task 2021-07-09T21:22:59.812Z] 21:22:59     INFO - GECKO(2419) | -----------------------------------------------------
[task 2021-07-09T21:22:59.813Z] 21:22:59     INFO - GECKO(2419) | Suppressions used:
[task 2021-07-09T21:22:59.813Z] 21:22:59     INFO - GECKO(2419) |   count      bytes template
[task 2021-07-09T21:22:59.813Z] 21:22:59     INFO - GECKO(2419) |      14        448 nsComponentManagerImpl
[task 2021-07-09T21:22:59.813Z] 21:22:59     INFO - GECKO(2419) |       2        288 libfontconfig.so
[task 2021-07-09T21:22:59.814Z] 21:22:59     INFO - GECKO(2419) | -----------------------------------------------------
[task 2021-07-09T21:22:59.838Z] 21:22:59     INFO - GECKO(2419) | -----------------------------------------------------
[task 2021-07-09T21:22:59.838Z] 21:22:59     INFO - GECKO(2419) | Suppressions used:
[task 2021-07-09T21:22:59.838Z] 21:22:59     INFO - GECKO(2419) |   count      bytes template
[task 2021-07-09T21:22:59.839Z] 21:22:59     INFO - GECKO(2419) |      14        448 nsComponentManagerImpl
[task 2021-07-09T21:22:59.839Z] 21:22:59     INFO - GECKO(2419) |       2        288 libfontconfig.so
[task 2021-07-09T21:22:59.839Z] 21:22:59     INFO - GECKO(2419) | -----------------------------------------------------
[task 2021-07-09T21:22:59.853Z] 21:22:59     INFO - GECKO(2419) | -----------------------------------------------------
[task 2021-07-09T21:22:59.854Z] 21:22:59     INFO - GECKO(2419) | Suppressions used:
[task 2021-07-09T21:22:59.854Z] 21:22:59     INFO - GECKO(2419) |   count      bytes template
[task 2021-07-09T21:22:59.855Z] 21:22:59     INFO - GECKO(2419) |      14        448 nsComponentManagerImpl
[task 2021-07-09T21:22:59.855Z] 21:22:59     INFO - GECKO(2419) |       2        288 libfontconfig.so
[task 2021-07-09T21:22:59.856Z] 21:22:59     INFO - GECKO(2419) | -----------------------------------------------------
[task 2021-07-09T21:23:00.717Z] 21:23:00     INFO - GECKO(2419) | -----------------------------------------------------
[task 2021-07-09T21:23:00.718Z] 21:23:00     INFO - GECKO(2419) | Suppressions used:
[task 2021-07-09T21:23:00.718Z] 21:23:00     INFO - GECKO(2419) |   count      bytes template
[task 2021-07-09T21:23:00.718Z] 21:23:00     INFO - GECKO(2419) |       1         32 nsComponentManagerImpl
[task 2021-07-09T21:23:00.719Z] 21:23:00     INFO - GECKO(2419) | -----------------------------------------------------
[task 2021-07-09T21:23:01.615Z] 21:23:01     INFO - GECKO(2419) | -----------------------------------------------------
[task 2021-07-09T21:23:01.617Z] 21:23:01     INFO - GECKO(2419) | Suppressions used:
[task 2021-07-09T21:23:01.617Z] 21:23:01     INFO - GECKO(2419) |   count      bytes template
[task 2021-07-09T21:23:01.618Z] 21:23:01     INFO - GECKO(2419) |      14        432 nsComponentManagerImpl
[task 2021-07-09T21:23:01.618Z] 21:23:01     INFO - GECKO(2419) |     633      18083 libfontconfig.so
[task 2021-07-09T21:23:01.619Z] 21:23:01     INFO - GECKO(2419) |       7         45 libglib-2.0.so
[task 2021-07-09T21:23:01.620Z] 21:23:01     INFO - GECKO(2419) |       3        624 mozJSComponentLoader
[task 2021-07-09T21:23:01.620Z] 21:23:01     INFO - GECKO(2419) | -----------------------------------------------------
[task 2021-07-09T21:23:01.703Z] 21:23:01     INFO - TEST-INFO | Main app process: exit 0
[task 2021-07-09T21:23:01.703Z] 21:23:01     INFO - TEST-INFO | LeakSanitizer | To show the addresses of leaked objects add report_objects=1 to LSAN_OPTIONS
[task 2021-07-09T21:23:01.703Z] 21:23:01     INFO - TEST-INFO | LeakSanitizer | This can be done in testing/mozbase/mozrunner/mozrunner/utils.py
[task 2021-07-09T21:23:01.704Z] 21:23:01    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at NS_NewRunnableFunction, mozilla::image::IDecodingTask::NotifyDecodeComplete, mozilla::image::DecodedSurfaceProvider::FinishDecoding, mozilla::image::DecodedSurfaceProvider::Run
[task 2021-07-09T21:23:01.704Z] 21:23:01    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::CreateMediumHighRunnable, mozilla::image::IDecodingTask::NotifyDecodeComplete, mozilla::image::DecodedSurfaceProvider::FinishDecoding, mozilla::image::DecodedSurfaceProvider::Run
[task 2021-07-09T21:23:01.704Z] 21:23:01     INFO - runtests.py | Application ran for: 0:01:08.236916

Bryce, as the owner of the component, could you help us assign it to someone?
Thank you.

Flags: needinfo?(bvandyk)

This looks to have appeared after bug 1714299 landed - link.

Bryce, could you please take a look?

Whiteboard: [retriggered]

Moving this over to imagelib.

Eden, since you worked on bug 1714299, do you have any insight here?

Component: Audio/Video → ImageLib
Flags: needinfo?(bvandyk) → needinfo?(echuang)

Putting this on triage owners radar.

Flags: needinfo?(aosmond)

Probably fixed by bug 1719108.

Depends on: 1719108

I think it has the same root cause as bug 1717629. Set as duplicated.

Status: NEW → RESOLVED
Closed: 3 years ago
Flags: needinfo?(echuang)
Flags: needinfo?(aosmond)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.