Closed Bug 1636817 Opened 4 years ago Closed 4 years ago

Permafailing tier 2 leakcheck | tab 24244 bytes leaked (AtomTablesReporter, BackstagePass, ChannelCountReporter, CondVar, D3DSharedTexturesReporter, ...)

Categories

(DevTools :: Console, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure, memory-leak)

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


[task 2020-05-10T23:02:51.691Z] 23:02:51 INFO - == BloatView: ALL (cumulative) LEAK AND BLOAT STATISTICS, tab process 4384
[task 2020-05-10T23:02:51.691Z] 23:02:51 INFO -
[task 2020-05-10T23:02:51.691Z] 23:02:51 INFO - |<----------------Class--------------->|<-----Bytes------>|<----Objects---->|
[task 2020-05-10T23:02:51.692Z] 23:02:51 INFO - | | Per-Inst Leaked| Total Rem|
[task 2020-05-10T23:02:51.692Z] 23:02:51 INFO - 0 |TOTAL | 27 24244| 53727 2149|
[task 2020-05-10T23:02:51.692Z] 23:02:51 INFO - 21 |AtomTablesReporter | 12 12| 1 1|
[task 2020-05-10T23:02:51.693Z] 23:02:51 INFO - 27 |BackstagePass | 72 288| 5 4|
[task 2020-05-10T23:02:51.693Z] 23:02:51 INFO - 44 |ChannelCountReporter | 12 12| 2 1|
[task 2020-05-10T23:02:51.693Z] 23:02:51 INFO - 76 |CondVar | 36 36| 155 1|
[task 2020-05-10T23:02:51.694Z] 23:02:51 INFO - 92 |D3DSharedTexturesReporter | 12 12| 1 1|
[task 2020-05-10T23:02:51.694Z] 23:02:51 INFO - 93 |DMDReporter | 12 12| 1 1|
[task 2020-05-10T23:02:51.695Z] 23:02:51 INFO - 95 |DOMEventListenerManagersHashReporter | 12 12| 1 1|
[task 2020-05-10T23:02:51.695Z] 23:02:51 INFO - 109 |DataStorageMemoryReporter | 12 12| 1 1|
[task 2020-05-10T23:02:51.695Z] 23:02:51 INFO - 110 |DeadlockDetectorReporter | 12 12| 1 1|
[task 2020-05-10T23:02:51.696Z] 23:02:51 INFO - 159 |GPUAdapterReporter | 12 12| 1 1|
[task 2020-05-10T23:02:51.696Z] 23:02:51 INFO - 161 |GeckoProfilerReporter | 12 12| 1 1|
[task 2020-05-10T23:02:51.696Z] 23:02:51 INFO - 163 |GfxD2DVramReporter | 12 12| 1 1|
[task 2020-05-10T23:02:51.697Z] 23:02:51 INFO - 166 |GfxMemoryImageReporter | 12 12| 1 1|
[task 2020-05-10T23:02:51.697Z] 23:02:51 INFO - 168 |GfxTexturesReporter | 12 12| 1 1|
[task 2020-05-10T23:02:51.697Z] 23:02:51 INFO - 191 |ICUReporter | 12 12| 1 1|
[task 2020-05-10T23:02:51.698Z] 23:02:51 INFO - 200 |IdlePeriod | 12 12| 1 1|
[task 2020-05-10T23:02:51.698Z] 23:02:51 INFO - 205 |IdleSchedulerChild | 68 68| 1 1|
[task 2020-05-10T23:02:51.699Z] 23:02:51 INFO - 215 |JS Object | 8 576| 72 72|
[task 2020-05-10T23:02:51.699Z] 23:02:51 INFO - 221 |JSMainRuntimeRealmsReporter | 12 12| 1 1|
[task 2020-05-10T23:02:51.699Z] 23:02:51 INFO - 222 |JSMainRuntimeTemporaryPeakReporter | 12 12| 1 1|
[task 2020-05-10T23:02:51.700Z] 23:02:51 INFO - 227 |JemallocHeapReporter | 12 12| 1 1|
[task 2020-05-10T23:02:51.700Z] 23:02:51 INFO - 249 |LowEventsReporter | 12 12| 1 1|
[task 2020-05-10T23:02:51.700Z] 23:02:51 INFO - 259 |MemoryReportingMLGPU | 12 12| 1 1|
[task 2020-05-10T23:02:51.701Z] 23:02:51 INFO - 263 |MessageManagerReporter | 12 12| 1 1|
[task 2020-05-10T23:02:51.701Z] 23:02:51 INFO - 272 |Mutex | 44 528| 605 12|
[task 2020-05-10T23:02:51.701Z] 23:02:51 INFO - 281 |OggReporter | 12 12| 1 1|
[task 2020-05-10T23:02:51.702Z] 23:02:51 INFO - 360 |PIdleSchedulerChild | 32 32| 1 1|
[task 2020-05-10T23:02:51.702Z] 23:02:51 INFO - 394 |PendingResponseReporter | 12 12| 2 1|
[task 2020-05-10T23:02:51.702Z] 23:02:51 INFO - 407 |PollableEvent | 40 40| 1 1|
[task 2020-05-10T23:02:51.703Z] 23:02:51 INFO - 412 |PreferenceServiceReporter | 12 12| 1 1|
[task 2020-05-10T23:02:51.703Z] 23:02:51 INFO - 413 |Preferences | 44 44| 1 1|
[task 2020-05-10T23:02:51.703Z] 23:02:51 INFO - 416 |PrivateReporter | 12 12| 1 1|
[task 2020-05-10T23:02:51.703Z] 23:02:51 INFO - 442 |ResidentReporter | 12 12| 1 1|
[task 2020-05-10T23:02:51.704Z] 23:02:51 INFO - 443 |ResidentUniqueReporter | 12 12| 1 1|
[task 2020-05-10T23:02:51.704Z] 23:02:51 INFO - 486 |SharedPrefMap | 36 36| 1 1|
[task 2020-05-10T23:02:51.704Z] 23:02:51 INFO - 494 |ShmemReporter | 12 12| 1 1|
[task 2020-05-10T23:02:51.705Z] 23:02:51 INFO - 502 |SkMemoryReporter | 12 12| 1 1|
[task 2020-05-10T23:02:51.705Z] 23:02:51 INFO - 519 |SurfaceMemoryReporter | 12 12| 1 1|
[task 2020-05-10T23:02:51.705Z] 23:02:51 INFO - 521 |SystemHeapReporter | 12 12| 1 1|
[task 2020-05-10T23:02:51.706Z] 23:02:51 INFO - 523 |TelemetryImpl | 284 284| 1 1|
[task 2020-05-10T23:02:51.706Z] 23:02:51 INFO - 530 |ThreadEventTarget | 24 24| 20 1|
[task 2020-05-10T23:02:51.706Z] 23:02:51 INFO - 534 |ThreadTargetSink | 8 8| 20 1|
[task 2020-05-10T23:02:51.707Z] 23:02:51 INFO - 535 |ThreadsReporter | 12 12| 1 1|
[task 2020-05-10T23:02:51.707Z] 23:02:51 INFO - 561 |VsizeMaxContiguousReporter | 12 12| 1 1|
[task 2020-05-10T23:02:51.707Z] 23:02:51 INFO - 562 |VsizeReporter | 12 12| 1 1|
[task 2020-05-10T23:02:51.708Z] 23:02:51 INFO - 572 |WeakReference<PIdleSchedulerChild> | 16 16| 1 1|
[task 2020-05-10T23:02:51.708Z] 23:02:51 INFO - 592 |WindowsAddressSpaceReporter | 12 12| 1 1|
[task 2020-05-10T23:02:51.708Z] 23:02:51 INFO - 594 |WorkerDebuggerManager | 68 68| 1 1|
[task 2020-05-10T23:02:51.709Z] 23:02:51 INFO - 602 |XPCNativeInterface | 28 868| 59 31|
[task 2020-05-10T23:02:51.709Z] 23:02:51 INFO - 603 |XPCNativeMember | 8 248| 2423 31|
[task 2020-05-10T23:02:51.709Z] 23:02:51 INFO - 604 |XPCNativeSet | 16 448| 73 28|
[task 2020-05-10T23:02:51.709Z] 23:02:51 INFO - 607 |XPCWrappedNative | 48 2160| 120 45|
[task 2020-05-10T23:02:51.710Z] 23:02:51 INFO - 608 |XPCWrappedNativeProto | 20 500| 52 25|
[task 2020-05-10T23:02:51.710Z] 23:02:51 INFO - 610 |XPCWrappedNativeTearOff | 16 944| 149 59|
[task 2020-05-10T23:02:51.710Z] 23:02:51 INFO - 624 |gfxFontCache::MemoryReporter | 12 12| 1 1|
[task 2020-05-10T23:02:51.711Z] 23:02:51 INFO - 632 |gfxPlatformFontList::MemoryReporter | 12 12| 1 1|
[task 2020-05-10T23:02:51.711Z] 23:02:51 INFO - 652 |mozJSSubScriptLoader | 12 12| 1 1|
[task 2020-05-10T23:02:51.712Z] 23:02:51 INFO - 684 |nsCategoryObserver | 64 64| 2 1|
[task 2020-05-10T23:02:51.712Z] 23:02:51 INFO - 689 |nsComponentManagerImpl | 204 204| 1 1|
[task 2020-05-10T23:02:51.712Z] 23:02:51 INFO - 690 |nsConsoleService | 112 112| 1 1|
[task 2020-05-10T23:02:51.713Z] 23:02:51 INFO - 704 |nsDOMWindowUtils | 24 24| 1 1|
[task 2020-05-10T23:02:51.713Z] 23:02:51 INFO - 792 |nsHttpActivityDistributor | 64 64| 1 1|
[task 2020-05-10T23:02:51.713Z] 23:02:51 INFO - 799 |nsIOService | 228 228| 1 1|
[task 2020-05-10T23:02:51.714Z] 23:02:51 INFO - 814 |nsJSPrincipals | 16 16| 55 1|
[task 2020-05-10T23:02:51.714Z] 23:02:51 INFO - 826 |nsMemoryReporterManager | 152 152| 1 1|
[task 2020-05-10T23:02:51.714Z] 23:02:51 INFO - 838 |nsObserverService | 48 48| 1 1|
[task 2020-05-10T23:02:51.714Z] 23:02:51 INFO - 848 |nsPrefBranch | 68 136| 4 2|
[task 2020-05-10T23:02:51.715Z] 23:02:51 INFO - 865 |nsScriptSecurityManager | 36 36| 1 1|
[task 2020-05-10T23:02:51.715Z] 23:02:51 INFO - 878 |nsSocketTransportService | 248 248| 1 1|
[task 2020-05-10T23:02:51.715Z] 23:02:51 INFO - 884 |nsStreamTransportService | 76 76| 1 1|
[task 2020-05-10T23:02:51.715Z] 23:02:51 INFO - 885 |nsStringBuffer | 8 13720| 13733 1715|
[task 2020-05-10T23:02:51.716Z] 23:02:51 INFO - 918 |nsTArray_base | 4 108| 16019 27|
[task 2020-05-10T23:02:51.716Z] 23:02:51 INFO - 921 |nsThread | 272 272| 33 1|
[task 2020-05-10T23:02:51.717Z] 23:02:51 INFO - 927 |nsTimer | 16 16| 56 1|
[task 2020-05-10T23:02:51.717Z] 23:02:51 INFO - 929 |nsTimerImpl | 128 128| 56 1|
[task 2020-05-10T23:02:51.717Z] 23:02:51 INFO - 936 |nsWeakReference | 20 260| 66 13|
[task 2020-05-10T23:02:51.718Z] 23:02:51 INFO - 939 |nsWindowMediator | 52 52| 1 1|
[task 2020-05-10T23:02:51.718Z] 23:02:51 INFO - 940 |nsWindowMemoryReporter | 96 96| 1 1|
[task 2020-05-10T23:02:51.718Z] 23:02:51 INFO - 945 |nsXPCComponents | 44 176| 7 4|
[task 2020-05-10T23:02:51.719Z] 23:02:51 INFO - 946 |nsXPCComponents_Classes | 20 60| 7 3|
[task 2020-05-10T23:02:51.719Z] 23:02:51 INFO - 947 |nsXPCComponents_Constructor | 20 20| 1 1|
[task 2020-05-10T23:02:51.720Z] 23:02:51 INFO - 949 |nsXPCComponents_Interfaces | 20 60| 7 3|
[task 2020-05-10T23:02:51.720Z] 23:02:51 INFO - 950 |nsXPCComponents_Results | 20 60| 7 3|
[task 2020-05-10T23:02:51.720Z] 23:02:51 INFO - 951 |nsXPCComponents_Utils | 20 60| 7 3|
[task 2020-05-10T23:02:51.721Z] 23:02:51 INFO - 952 |nsXPCComponents_utils_Sandbox | 16 16| 2 1|
[task 2020-05-10T23:02:51.721Z] 23:02:51 INFO - 953 |nsXPCWrappedJS | 56 56| 78 1|
[task 2020-05-10T23:02:51.722Z] 23:02:51 INFO - 963 |xpcJSWeakReference | 16 16| 1 1|
[task 2020-05-10T23:02:51.722Z] 23:02:51 INFO -
[task 2020-05-10T23:02:51.722Z] 23:02:51 INFO - nsTraceRefcnt::DumpStatistics: 963 entries

[task 2020-05-10T23:02:51.754Z] 23:02:51 INFO - TEST-UNEXPECTED-FAIL | leakcheck | tab 24244 bytes leaked (AtomTablesReporter, BackstagePass, ChannelCountReporter, CondVar, D3DSharedTexturesReporter, ...)
[task 2020-05-10T23:02:51.754Z] 23:02:51 INFO -

This is happening in the devtools/client/webconsole/test/browser/ directory, so I think this is the same leak as bug 1607569.

Component: General → Console
Product: Core → DevTools
See Also: → 1607569

(In reply to Natalia Csoregi [:nataliaCs] from comment #2)

The issue could've been triggered by Bug 1164187 or Bug 1614653.

:dminor, :rpl, is there any chance one of you could take a look at this?
Thank you.

Based on the test files that seem to be part of that run (devtools/client/inspector/, devtools/client/netmonitor/, devtools/client/webconsole/ mochitests) and the fact that Bug 1614653 patches are just removing some dead code which wasn't used by default anymore (on the testing side nothing changes, besides just not running the same test cases twice because one of the two modes suppported by the related feature has been removed), Bug 1614653 should not be able to trigger this failure (nor increasing its frequency).

The dead code removed was part of about:addons, and it would have been activated (and then eventually triggering a shutdown leak failure) only by opening or navigating a tab to about:addons in one of the tests, which none of the tests in that run seems to be doing.

(I briefly looked to Bug 1164187, and at a first glance it also doesn't seem something that could trigger that leak, but I'd leave to :dminor to comment on that, as I'm not experienced on that part of our internals and I may be missing something that he may see).

Flags: needinfo?(lgreco)

I'm not familiar with the tests in question, but unless they are using WebRTC, the code added in Bug 1164187 would not be active. I checked searchfox and I'm not seeing any references to RTCPeerConnection under devtools so I don't think those tests are using WebRTC. Just to be safe, I ran the win7 debug fis dt2 job on my last try push prior to landing on Friday, and it is green there [1].

[1] https://treeherder.mozilla.org/#/jobs?repo=try&selectedTaskRun=Q0cAmHZOTrCCOy2NcHDjCw-0&author=dminor%40mozilla.com

Flags: needinfo?(dminor)

I guess I'll build locally to figure out which of the two landings is at fault.

Wait, I think I spoke too soon. Looking at one of the failure logs, the failure happens during a process created while running devtools/client/inspector/test/browser_inspector_highlighter-cssshape_02.js. If I look at the log for the last time where it was green, this test does not run at all. Also, looking at things more closely, I think this perma leak is the Windows version of bug 1607569, which is Linux-only. So I think something changed that made us start to run this directory on Windows.

The patch for Bug 1608837 mentions devtools/client/inspector/test/browser.ini, though I don't know why it might cause us to start running additional tests on Windows.

Bug 1577110 involves changing how something happens with testing, so maybe that could cause us to start running additional tests.

egao and catlee, could either of your changes have caused us to run additional devtools tests on Windows (with Fission enabled)? Thanks.

Flags: needinfo?(egao)
Flags: needinfo?(catlee)

I don't think the geckodriver changes would have changed this, but I'll double check.

Joel, maybe you know if something has changed with how we run these tests?

Flags: needinfo?(catlee) → needinfo?(jmaher)

I was not involved in Bug 1577110 nor have I modified the manifest related to this test.

Bug 1608837 updates the manifest-runtime value which is used to help mochitest suites chunk in the decision task. It is just a status update that does not change what platforms the test runs on.

Flags: needinfo?(egao)

I don't see win7/dt-fis running on autoland or central as of today, I assume this was fixed?

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