Open Bug 1522883 Opened 1 year ago Updated 2 months ago

Intermittent leakcheck | tab 15564 bytes leaked (BeaconStreamListener, BrowsingContext, BrowsingContextGroup, ChannelEventQueue, CondVar, ...)

Categories

(Core :: DOM: Service Workers, defect, P2)

defect

Tracking

()

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Depends on 1 open bug)

Details

(Keywords: intermittent-failure, Whiteboard: [waiting on Service Worker refactoring][stockwell unknown])

#[markdown(off)]
Filed by: ncsoregi [at] mozilla.com

https://treeherder.mozilla.org/logviewer.html#?job_id=224026752&repo=mozilla-inbound

https://queue.taskcluster.net/v1/task/L4_NsXvmRfebpxn3uVnWtA/runs/0/artifacts/public/logs/live_backing.log

15:27:36 INFO - TEST-INFO | leakcheck | tab leaked 5 nsStandardURL
15:27:36 INFO - TEST-INFO | leakcheck | tab leaked 33 nsStringBuffer
15:27:36 INFO - TEST-INFO | leakcheck | tab leaked 64 nsTArray_base
15:27:36 INFO - TEST-INFO | leakcheck | tab leaked 14 nsWeakReference
15:27:36 INFO - TEST-INFO | leakcheck | tab leaked 1 nsWebNavigationInfo
15:27:36 INFO - TEST-UNEXPECTED-FAIL | leakcheck | tab 15564 bytes leaked (BeaconStreamListener, BrowsingContext, BrowsingContextGroup, ChannelEventQueue, CondVar, ...)
15:27:36 INFO -
15:27:36 INFO - leakcheck | Processing leak log file c:\users\task_1548425139\appdata\local\temp\tmp9rlbme.mozrunner\runtests_leaks_1264_tab_pid504.log
15:27:36 INFO -
15:27:36 INFO - == BloatView: ALL (cumulative) LEAK AND BLOAT STATISTICS, tab process 504
15:27:36 INFO -
15:27:36 INFO - |<----------------Class--------------->|<-----Bytes------>|<----Objects---->|
15:27:36 INFO - | | Per-Inst Leaked| Total Rem|
15:27:36 INFO - 0 |TOTAL | 28 0| 37688 0|
15:27:36 INFO -
15:27:36 INFO - nsTraceRefcnt::DumpStatistics: 904 entries
15:27:36 INFO - TEST-PASS | leakcheck | tab no leaks detected!
15:27:36 INFO - leakcheck | Processing leak log file c:\users\task_1548425139\appdata\local\temp\tmp9rlbme.mozrunner\runtests_leaks_1264_tab_pid5132.log
15:27:36 INFO -
15:27:36 INFO - == BloatView: ALL (cumulative) LEAK AND BLOAT STATISTICS, tab process 5132
15:27:36 INFO -
15:27:36 INFO - |<----------------Class--------------->|<-----Bytes------>|<----Objects---->|
15:27:36 INFO - | | Per-Inst Leaked| Total Rem|
15:27:36 INFO - 0 |TOTAL | 29 0| 77745 0|
15:27:36 INFO -
15:27:36 INFO - nsTraceRefcnt::DumpStatistics: 1118 entries
15:27:36 INFO - TEST-PASS | leakcheck | tab no leaks detected!
15:27:36 INFO - leakcheck | Processing leak log file c:\users\task_1548425139\appdata\local\temp\tmp9rlbme.mozrunner\runtests_leaks_1264_tab_pid5220.log
15:27:36 INFO -
15:27:36 INFO - == BloatView: ALL (cumulative) LEAK AND BLOAT STATISTICS, tab process 5220
15:27:36 INFO -
15:27:36 INFO - |<----------------Class--------------->|<-----Bytes------>|<----Objects---->|
15:27:36 INFO - | | Per-Inst Leaked| Total Rem|
15:27:36 INFO - 0 |TOTAL | 28 0| 40436 0|
15:27:36 INFO -
15:27:36 INFO - nsTraceRefcnt::DumpStatistics: 947 entries
15:27:36 INFO - TEST-PASS | leakcheck | tab no leaks detected!
15:27:36 INFO - leakcheck | Processing leak log file c:\users\task_1548425139\appdata\local\temp\tmp9rlbme.mozrunner\runtests_leaks_1264_tab_pid5332.log
15:27:36 INFO -
15:27:36 INFO - == BloatView: ALL (cumulative) LEAK AND BLOAT STATISTICS, tab process 5332
15:27:36 INFO -
15:27:36 INFO - |<----------------Class--------------->|<-----Bytes------>|<----Objects---->|
15:27:36 INFO - | | Per-Inst Leaked| Total Rem|
15:27:36 INFO - 0 |TOTAL | 29 0| 39436 0|
15:27:36 INFO -
15:27:36 INFO - nsTraceRefcnt::DumpStatistics: 944 entries
15:27:36 INFO - TEST-PASS | leakcheck | tab no leaks detected!
15:27:36 INFO - leakcheck | Processing leak log file c:\users\task_1548425139\appdata\local\temp\tmp9rlbme.mozrunner\runtests_leaks_1264_tab_pid5512.log
15:27:36 INFO -
15:27:36 INFO - == BloatView: ALL (cumulative) LEAK AND BLOAT STATISTICS, tab process 5512
15:27:36 INFO -
15:27:36 INFO - |<----------------Class--------------->|<-----Bytes------>|<----Objects---->|
15:27:36 INFO - | | Per-Inst Leaked| Total Rem|
15:27:36 INFO - 0 |TOTAL | 28 0| 46584 0|
15:27:36 INFO -
15:27:36 INFO - nsTraceRefcnt::DumpStatistics: 959 entries
15:27:36 INFO - TEST-PASS | leakcheck | tab no leaks detected!
15:27:36 INFO - leakcheck | Processing leak log file c:\users\task_1548425139\appdata\local\temp\tmp9rlbme.mozrunner\runtests_leaks_1264_tab_pid5596.log
15:27:36 INFO -
15:27:36 INFO - == BloatView: ALL (cumulative) LEAK AND BLOAT STATISTICS, tab process 5596
15:27:36 INFO -
15:27:36 INFO - |<----------------Class--------------->|<-----Bytes------>|<----Objects---->|
15:27:36 INFO - | | Per-Inst Leaked| Total Rem|
15:27:36 INFO - 0 |TOTAL | 28 0| 37487 0|
15:27:36 INFO -
15:27:36 INFO - nsTraceRefcnt::DumpStatistics: 904 entries
15:27:36 INFO - TEST-PASS | leakcheck | tab no leaks detected!
15:27:36 INFO - leakcheck | Processing leak log file c:\users\task_1548425139\appdata\local\temp\tmp9rlbme.mozrunner\runtests_leaks_1264_tab_pid5692.log
15:27:36 INFO -

Last executed test before the leak is /url/urlsearchparams-stringifier.any.worker.html , something in /url/ should trigger the leak.

Summary: Intermittent leakcheck | tab 15564 bytes leaked (BeaconStreamListener, BrowsingContext, BrowsingContextGroup, ChannelEventQueue, CondVar, ...) → Intermittent windows7 debug leakcheck | tab 15564 bytes leaked (BeaconStreamListener, BrowsingContext, BrowsingContextGroup, ChannelEventQueue, CondVar, ...)

There are 50 failures on this bug over the last 7 days. These happen on windows7-32, linux64, osx-10-10, windows10-64.

This is the latest failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=226348031&repo=autoland&lineNumber=124216

01:23:56 INFO - nsTraceRefcnt::DumpStatistics: 1037 entries
01:23:56 INFO - TEST-INFO | leakcheck | tab leaked 3 BeaconStreamListener
01:23:56 INFO - TEST-INFO | leakcheck | tab leaked 1 BrowsingContext
01:23:56 INFO - TEST-INFO | leakcheck | tab leaked 1 BrowsingContextGroup
01:23:56 INFO - TEST-INFO | leakcheck | tab leaked 3 ChannelEventQueue
01:23:56 INFO - TEST-INFO | leakcheck | tab leaked 2 CondVar
01:23:56 INFO - TEST-INFO | leakcheck | tab leaked 3 ConsoleReportCollector
01:23:56 INFO - TEST-INFO | leakcheck | tab leaked 2 DataStorage
01:23:56 INFO - TEST-INFO | leakcheck | tab leaked 3 HttpChannelChild
01:23:56 INFO - TEST-INFO | leakcheck | tab leaked 3 LoadInfo
01:23:56 INFO - TEST-INFO | leakcheck | tab leaked 19 Mutex
01:23:56 INFO - TEST-INFO | leakcheck | tab leaked 3 PHttpChannelChild
01:23:56 INFO - TEST-INFO | leakcheck | tab leaked 1 PollableEvent
01:23:56 INFO - TEST-INFO | leakcheck | tab leaked 4 RequestContext
01:23:56 INFO - TEST-INFO | leakcheck | tab leaked 1 RequestContextService
01:23:56 INFO - TEST-INFO | leakcheck | tab leaked 1 SchedulerEventTarget
01:23:56 INFO - TEST-INFO | leakcheck | tab leaked 1 ServiceWorkerInterceptController
01:23:56 INFO - TEST-INFO | leakcheck | tab leaked 1 SessionStorageManager
01:23:56 INFO - TEST-INFO | leakcheck | tab leaked 1 TabGroup
01:23:56 INFO - TEST-INFO | leakcheck | tab leaked 2 WeakReference<BrowsingContext>
01:23:56 INFO - TEST-INFO | leakcheck | tab leaked 1 WeakReference<WebExtensionPolicy>
01:23:56 INFO - TEST-INFO | leakcheck | tab leaked 1 WeakReference<nsDocShell>
01:23:56 INFO - TEST-INFO | leakcheck | tab leaked 1 nsAuthURLParser
01:23:56 INFO - TEST-INFO | leakcheck | tab leaked 1 nsDSURIContentListener
01:23:56 INFO - TEST-INFO | leakcheck | tab leaked 1 nsDefaultURIFixup
01:23:56 INFO - TEST-INFO | leakcheck | tab leaked 1 nsDocLoader
01:23:56 INFO - TEST-INFO | leakcheck | tab leaked 1 nsDocShell
01:23:56 INFO - TEST-INFO | leakcheck | tab leaked 1 nsDocShell::InterfaceRequestorProxy
01:23:56 INFO - TEST-INFO | leakcheck | tab leaked 2 nsHttpAuthCache::OriginClearObserver
01:23:56 INFO - TEST-INFO | leakcheck | tab leaked 1 nsHttpHandler
01:23:56 INFO - TEST-INFO | leakcheck | tab leaked 3 nsHttpRequestHead
01:23:56 INFO - TEST-INFO | leakcheck | tab leaked 1 nsIOService
01:23:56 INFO - TEST-INFO | leakcheck | tab leaked 2 nsJSPrincipals
01:23:56 INFO - TEST-INFO | leakcheck | tab leaked 2 nsLayoutHistoryState
01:23:56 INFO - TEST-INFO | leakcheck | tab leaked 4 nsLoadGroup
01:23:56 INFO - TEST-INFO | leakcheck | tab leaked 2 nsMainThreadPtrHolder<T>
01:23:56 INFO - TEST-INFO | leakcheck | tab leaked 2 nsSHEntry
01:23:56 INFO - TEST-INFO | leakcheck | tab leaked 2 nsSHEntryShared
01:23:56 INFO - TEST-INFO | leakcheck | tab leaked 1 nsSiteSecurityService
01:23:56 INFO - TEST-INFO | leakcheck | tab leaked 1 nsSocketTransportService
01:23:56 INFO - TEST-INFO | leakcheck | tab leaked 5 nsStandardURL
01:23:56 INFO - TEST-INFO | leakcheck | tab leaked 33 nsStringBuffer
01:23:56 INFO - TEST-INFO | leakcheck | tab leaked 64 nsTArray_base
01:23:56 INFO - TEST-INFO | leakcheck | tab leaked 14 nsWeakReference
01:23:56 INFO - TEST-INFO | leakcheck | tab leaked 1 nsWebNavigationInfo
01:23:56 INFO - TEST-UNEXPECTED-FAIL | leakcheck | tab 15196 bytes leaked (BeaconStreamListener, BrowsingContext, BrowsingContextGroup, ChannelEventQueue, CondVar, ...)

Flags: needinfo?(overholt)

We're very close to landing a major Service Worker refactoring so I'd like to postpone investigating this until we land that as it could easily change things here.

Flags: needinfo?(overholt)
Priority: -- → P2
Whiteboard: [stockwell needswork:owner] → [stockwell needswork:owner] [waiting on Service Worker refactoring]
Summary: Intermittent windows7 debug leakcheck | tab 15564 bytes leaked (BeaconStreamListener, BrowsingContext, BrowsingContextGroup, ChannelEventQueue, CondVar, ...) → Intermittent leakcheck | tab 15564 bytes leaked (BeaconStreamListener, BrowsingContext, BrowsingContextGroup, ChannelEventQueue, CondVar, ...)

Tentatively moving all bugs whose summaries mention "Fission" (or other Fission-related keywords) but are not assigned to a Fission Milestone to the "?" triage milestone.

This will generate a lot of bugmail, so you can filter your bugmail for the following UUID and delete them en masse:

0ee3c76a-bc79-4eb2-8d12-05dc0b68e732

Fission Milestone: --- → ?
Fission Milestone: ? → ---
You need to log in before you can comment on or make changes to this bug.