Closed Bug 1753351 Opened 3 years ago Closed 1 year ago

Intermittent LeakSanitizer | leak at already_AddRefed, mozilla::ipc::MessageChannel::PostErrorNotifyTask, mozilla::ipc::PortLink::OnPortStatusChanged, mozilla::ipc::PortLink::PortObserverThunk::OnPortStatusChanged

Categories

(Core :: IPC, defect, P5)

defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: intermittent-failure)

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


[task 2022-02-03T01:15:56.963Z] 01:15:56     INFO - TEST-START | dom/ipc/tests/browser_wpi_isolate_nothing.js
<...>
[task 2022-02-03T01:17:06.093Z] 01:17:06     INFO - GECKO(3223) | -----------------------------------------------------
[task 2022-02-03T01:17:06.096Z] 01:17:06     INFO - GECKO(3223) | Suppressions used:
[task 2022-02-03T01:17:06.097Z] 01:17:06     INFO - GECKO(3223) |   count      bytes template
[task 2022-02-03T01:17:06.098Z] 01:17:06     INFO - GECKO(3223) |      13        416 nsComponentManagerImpl
[task 2022-02-03T01:17:06.099Z] 01:17:06     INFO - GECKO(3223) |       2        288 libfontconfig.so
[task 2022-02-03T01:17:06.099Z] 01:17:06     INFO - GECKO(3223) | -----------------------------------------------------
[task 2022-02-03T01:17:06.155Z] 01:17:06     INFO - GECKO(3223) | Waiting in WillDestroyCurrentMessageLoop for pid 3366
[task 2022-02-03T01:17:06.156Z] 01:17:06     INFO - GECKO(3223) | Waiting in WillDestroyCurrentMessageLoop for pid 4379
[task 2022-02-03T01:17:06.163Z] 01:17:06     INFO - GECKO(3223) | Waiting in WillDestroyCurrentMessageLoop for pid 7339
[task 2022-02-03T01:17:06.163Z] 01:17:06     INFO - GECKO(3223) | Waiting in WillDestroyCurrentMessageLoop for pid 7340
[task 2022-02-03T01:17:06.164Z] 01:17:06     INFO - GECKO(3223) | Waiting in WillDestroyCurrentMessageLoop for pid 7342
[task 2022-02-03T01:17:09.851Z] 01:17:09     INFO - GECKO(3223) | -----------------------------------------------------
[task 2022-02-03T01:17:09.851Z] 01:17:09     INFO - GECKO(3223) | Suppressions used:
[task 2022-02-03T01:17:09.852Z] 01:17:09     INFO - GECKO(3223) |   count      bytes template
[task 2022-02-03T01:17:09.853Z] 01:17:09     INFO - GECKO(3223) |      13        400 nsComponentManagerImpl
[task 2022-02-03T01:17:09.853Z] 01:17:09     INFO - GECKO(3223) |     633      18115 libfontconfig.so
[task 2022-02-03T01:17:09.853Z] 01:17:09     INFO - GECKO(3223) |       1          9 libglib-2.0.so
[task 2022-02-03T01:17:09.854Z] 01:17:09     INFO - GECKO(3223) |       2        416 mozJSComponentLoader
[task 2022-02-03T01:17:09.854Z] 01:17:09     INFO - GECKO(3223) |       2         48 XPCWrappedNativeJSOps
[task 2022-02-03T01:17:09.854Z] 01:17:09     INFO - GECKO(3223) | -----------------------------------------------------
[task 2022-02-03T01:17:10.071Z] 01:17:10     INFO - TEST-INFO | Main app process: exit 0
[task 2022-02-03T01:17:10.074Z] 01:17:10     INFO - TEST-INFO | LeakSanitizer | To show the addresses of leaked objects add report_objects=1 to LSAN_OPTIONS
[task 2022-02-03T01:17:10.074Z] 01:17:10     INFO - TEST-INFO | LeakSanitizer | This can be done in testing/mozbase/mozrunner/mozrunner/utils.py
[task 2022-02-03T01:17:10.074Z] 01:17:10    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at already_AddRefed, mozilla::ipc::MessageChannel::PostErrorNotifyTask, mozilla::ipc::PortLink::OnPortStatusChanged, mozilla::ipc::PortLink::PortObserverThunk::OnPortStatusChanged
[task 2022-02-03T01:17:10.076Z] 01:17:10     INFO - runtests.py | Application ran for: 0:04:53.349403
[task 2022-02-03T01:17:10.076Z] 01:17:10     INFO - zombiecheck | Reading PID log: /tmp/tmpcbhl2r49pidlog
[task 2022-02-03T01:17:10.077Z] 01:17:10     INFO - ==> process 3223 launched child process 3240
<...>

Looks like a ipc::MessageChannel::OnNotifyMaybeChannelError runnable leaking.

Component: General → IPC
Blocks: LSan
See Also: → 1758495

This hasn't happened for more than a year.

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.