Closed Bug 1594985 Opened 6 years ago Closed 5 years ago

Intermittent leakcheck | default 1788 bytes leaked (BackstagePass, CondVar, IdlePeriod, Mutex, ThreadEventTarget, ...)

Categories

(Core :: Widget, defect, P5)

defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure)

Filed by: nerli [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=275248963&repo=autoland
Full log: https://queue.taskcluster.net/v1/task/ZewO35JORPSTAZn2T2U73A/runs/0/artifacts/public/logs/live_backing.log
Reftest URL: https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://queue.taskcluster.net/v1/task/ZewO35JORPSTAZn2T2U73A/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1


task 2019-11-08T04:42:31.387Z] 04:42:31 INFO - TEST-INFO | leakcheck | default leaked 1 nsThread
[task 2019-11-08T04:42:31.387Z] 04:42:31 INFO - TEST-INFO | leakcheck | default leaked 2 nsTimer
[task 2019-11-08T04:42:31.388Z] 04:42:31 INFO - TEST-INFO | leakcheck | default leaked 2 nsTimerImpl
[task 2019-11-08T04:42:31.388Z] 04:42:31 INFO - TEST-INFO | leakcheck | default leaked 4 nsXPCWrappedJS
[task 2019-11-08T04:42:31.388Z] 04:42:31 INFO - TEST-UNEXPECTED-FAIL | leakcheck | default 1788 bytes leaked (BackstagePass, CondVar, IdlePeriod, Mutex, ThreadEventTarget, ...)
[task 2019-11-08T04:42:31.389Z] 04:42:31 INFO -
[task 2019-11-08T04:42:31.389Z] 04:42:31 INFO - leakcheck | Processing leak log file c:\users\task_1573184015\appdata\local\temp\tmpfnhrll.mozrunner\runtests_leaks_3992_tab_pid4264.log
[task 2019-11-08T04:42:31.389Z] 04:42:31 INFO -
[task 2019-11-08T04:42:31.390Z] 04:42:31 INFO - == BloatView: ALL (cumulative) LEAK AND BLOAT STATISTICS, tab process 4264
[task 2019-11-08T04:42:31.390Z] 04:42:31 INFO -
[task 2019-11-08T04:42:31.391Z] 04:42:31 INFO - |<----------------Class--------------->|<-----Bytes------>|<----Objects---->|
[task 2019-11-08T04:42:31.391Z] 04:42:31 INFO - | | Per-Inst Leaked| Total Rem|
[task 2019-11-08T04:42:31.391Z] 04:42:31 INFO - 0 |TOTAL | 29 0| 55604 0|
[task 2019-11-08T04:42:31.392Z] 04:42:31 INFO -
[task 2019-11-08T04:42:31.392Z] 04:42:31 INFO - nsTraceRefcnt::DumpStatistics: 917 entries
[task 2019-11-08T04:42:31.392Z] 04:42:31 INFO - TEST-PASS | leakcheck | tab no leaks detected!
[task 2019-11-08T04:42:31.393Z] 04:42:31 INFO - leakcheck | Processing leak log file c:\users\task_1573184015\appdata\local\temp\tmpfnhrll.mozrunner\runtests_leaks_3992_tab_pid4960.log
[task 2019-11-08T04:42:31.393Z] 04:42:31 INFO -
[task 2019-11-08T04:42:31.393Z] 04:42:31 INFO - == BloatView: ALL (cumulative) LEAK AND BLOAT STATISTICS, tab process 4960
[task 2019-11-08T04:42:31.393Z] 04:42:31 INFO -
[task 2019-11-08T04:42:31.393Z] 04:42:31 INFO - |<----------------Class--------------->|<-----Bytes------>|<----Objects---->|
[task 2019-11-08T04:42:31.393Z] 04:42:31 INFO - | | Per-Inst Leaked| Total Rem|
[task 2019-11-08T04:42:31.394Z] 04:42:31 INFO - 0 |TOTAL | 29 0| 66543 0|
[task 2019-11-08T04:42:31.394Z] 04:42:31 INFO -
[task 2019-11-08T04:42:31.394Z] 04:42:31 INFO - nsTraceRefcnt::DumpStatistics: 832 entries
[task 2019-11-08T04:42:31.394Z] 04:42:31 INFO - TEST-PASS | leakcheck | tab no leaks detected!
[task 2019-11-08T04:42:31.394Z] 04:42:31 INFO - leakcheck | Processing leak log file c:\users\task_1573184015\appdata\local\temp\tmpfnhrll.mozrunner\runtests_leaks_3992_tab_pid5380.log
[task 2019-11-08T04:42:31.394Z] 04:42:31 INFO -
[task 2019-11-08T04:42:31.394Z] 04:42:31 INFO - == BloatView: ALL (cumulative) LEAK AND BLOAT STATISTICS, tab process 5380
[task 2019-11-08T04:42:31.395Z] 04:42:31 INFO -
[task 2019-11-08T04:42:31.395Z] 04:42:31 INFO - |<----------------Class--------------->|<-----Bytes------>|<----Objects---->|
[task 2019-11-08T04:42:31.395Z] 04:42:31 INFO - | | Per-Inst Leaked| Total Rem|
[task 2019-11-08T04:42:31.395Z] 04:42:31 INFO - 0 |TOTAL | 27 0| 178067 0|
[task 2019-11-08T04:42:31.396Z] 04:42:31 INFO -
[task 2019-11-08T04:42:31.396Z] 04:42:31 INFO - nsTraceRefcnt::DumpStatistics: 1135 entries
[task 2019-11-08T04:42:31.396Z] 04:42:31 INFO - TEST-PASS | leakcheck | tab no leaks detected!

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 6 years ago5 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---

This looks like a variation of bug 1576498 where we leak some extra stuff. Hopefully it will also be fixed by bug 1612364.

Component: Notifications and Alerts → XPConnect
Depends on: 1612364
Product: Toolkit → Core
See Also: → 1576498

I'll assume this is fixed for now.

Status: REOPENED → RESOLVED
Closed: 5 years ago5 years ago
Resolution: --- → FIXED
Flags: needinfo?(continuation)

Yeah, that makes sense.

Looking at what is leaking, maybe nsIdleService is keeping other stuff alive.

Status: RESOLVED → REOPENED
Component: XPConnect → Widget
Flags: needinfo?(continuation)
Resolution: FIXED → ---

My guess would be that some JSM creates a new idle service after we start shutting down, and whatever existing code there is to stop this is failing to catch this case. Given how rarely this happens (0-1 times a week), it doesn't look like a high priority.

Status: REOPENED → RESOLVED
Closed: 5 years ago5 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 5 years ago5 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 5 years ago5 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.