Open Bug 1700549 Opened 4 years ago Updated 1 year ago

Intermittent leakcheck | tab 4896 bytes leaked (ChannelEventQueue, CondVar, CookieJarSettings, DOMEventTargetHelper, LabellingEventTarget, ...)

Categories

(Core :: DOM: Networking, defect, P3)

defect

Tracking

()

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: intermittent-failure, Whiteboard: [necko-triaged])

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


[task 2021-03-24T05:19:49.521Z] 05:19:49     INFO - TEST-PASS | leakcheck | tab no leaks detected!
[task 2021-03-24T05:19:49.524Z] 05:19:49     INFO - leakcheck | Processing leak log file /tmp/tmpPFDD5e.mozrunner/runtests_leaks_tab_pid1802.log
[task 2021-03-24T05:19:49.525Z] 05:19:49     INFO - 
[task 2021-03-24T05:19:49.525Z] 05:19:49     INFO - == BloatView: ALL (cumulative) LEAK AND BLOAT STATISTICS, tab process 1802
[task 2021-03-24T05:19:49.526Z] 05:19:49     INFO - 
[task 2021-03-24T05:19:49.526Z] 05:19:49     INFO -      |<----------------Class--------------->|<-----Bytes------>|<----Objects---->|
[task 2021-03-24T05:19:49.527Z] 05:19:49     INFO -      |                                      | Per-Inst   Leaked|   Total      Rem|
[task 2021-03-24T05:19:49.528Z] 05:19:49     INFO -    0 |TOTAL                                 |       39     4896|   62708       71|
[task 2021-03-24T05:19:49.529Z] 05:19:49     INFO -   40 |ChannelEventQueue                     |      192      192|       5        1|
[task 2021-03-24T05:19:49.529Z] 05:19:49     INFO -   70 |CondVar                               |       80       80|     137        1|
[task 2021-03-24T05:19:49.530Z] 05:19:49     INFO -   77 |CookieJarSettings                     |       72       72|       5        1|
[task 2021-03-24T05:19:49.530Z] 05:19:49     INFO -   89 |DOMEventTargetHelper                  |      128      128|      13        1|
[task 2021-03-24T05:19:49.531Z] 05:19:49     INFO -  214 |LabellingEventTarget                  |       56       56|       2        1|
[task 2021-03-24T05:19:49.531Z] 05:19:49     INFO -  221 |ListenerAndContextContainer           |       24       24|       2        1|
[task 2021-03-24T05:19:49.532Z] 05:19:49     INFO -  222 |LoadInfo                              |      424      424|     142        1|
[task 2021-03-24T05:19:49.533Z] 05:19:49     INFO -  251 |Mutex                                 |       72      360|     567        5|
[task 2021-03-24T05:19:49.533Z] 05:19:49     INFO -  368 |PWebSocketChild                       |       48       48|       3        1|
[task 2021-03-24T05:19:49.536Z] 05:19:49     INFO -  385 |PerformanceCounter                    |       88       88|       2        1|
[task 2021-03-24T05:19:49.537Z] 05:19:49     INFO -  392 |Permission                            |       72       72|       5        1|
[task 2021-03-24T05:19:49.537Z] 05:19:49     INFO -  430 |RequestContext                        |      112      112|       2        1|
[task 2021-03-24T05:19:49.538Z] 05:19:49     INFO -  431 |RequestContextService                 |       80       80|       1        1|
[task 2021-03-24T05:19:49.538Z] 05:19:49     INFO -  507 |ThreadEventTarget                     |       48       48|      11        1|
[task 2021-03-24T05:19:49.539Z] 05:19:49     INFO -  512 |ThreadTargetSink                      |       16       16|      11        1|
[task 2021-03-24T05:19:49.539Z] 05:19:49     INFO -  538 |WeakReference                         |       32       32|      43        1|
[task 2021-03-24T05:19:49.539Z] 05:19:49     INFO -  541 |WebSocket                             |      312      312|       2        1|
[task 2021-03-24T05:19:49.540Z] 05:19:49     INFO -  542 |WebSocketChannelChild                 |      368      368|       3        1|
[task 2021-03-24T05:19:49.540Z] 05:19:49     INFO -  545 |WebSocketEventService                 |      120      120|       1        1|
[task 2021-03-24T05:19:49.541Z] 05:19:49     INFO -  548 |WebSocketImpl                         |      408      408|       2        1|
[task 2021-03-24T05:19:49.541Z] 05:19:49     INFO -  614 |nsAuthURLParser                       |       24       24|       2        1|
[task 2021-03-24T05:19:49.542Z] 05:19:49     INFO -  673 |nsDocShell::InterfaceRequestorProxy   |       32       32|       1        1|
[task 2021-03-24T05:19:49.544Z] 05:19:49     INFO -  755 |nsJSPrincipals                        |       24       48|      69        2|
[task 2021-03-24T05:19:49.545Z] 05:19:49     INFO -  761 |nsLoadGroup                           |      200      200|       2        1|
[task 2021-03-24T05:19:49.545Z] 05:19:49     INFO -  806 |nsStandardURL                         |      240      720|    1215        3|
[task 2021-03-24T05:19:49.546Z] 05:19:49     INFO -  811 |nsStringBuffer                        |        8      152|   15081       19|
[task 2021-03-24T05:19:49.546Z] 05:19:49     INFO -  844 |nsTArray_base                         |        8      112|   19845       14|
[task 2021-03-24T05:19:49.546Z] 05:19:49     INFO -  847 |nsThread                              |      368      368|      18        1|
[task 2021-03-24T05:19:49.547Z] 05:19:49     INFO -  861 |nsWeakReference                       |       40      200|      63        5|
[task 2021-03-24T05:19:49.547Z] 05:19:49     INFO - 
[task 2021-03-24T05:19:49.548Z] 05:19:49     INFO - nsTraceRefcnt::DumpStatistics: 884 entries
[task 2021-03-24T05:19:49.548Z] 05:19:49     INFO - TEST-INFO | leakcheck | tab leaked 1 ChannelEventQueue
[task 2021-03-24T05:19:49.550Z] 05:19:49     INFO - TEST-INFO | leakcheck | tab leaked 1 CondVar
[task 2021-03-24T05:19:49.550Z] 05:19:49     INFO - TEST-INFO | leakcheck | tab leaked 1 CookieJarSettings
[task 2021-03-24T05:19:49.550Z] 05:19:49     INFO - TEST-INFO | leakcheck | tab leaked 1 DOMEventTargetHelper
[task 2021-03-24T05:19:49.551Z] 05:19:49     INFO - TEST-INFO | leakcheck | tab leaked 1 LabellingEventTarget
[task 2021-03-24T05:19:49.551Z] 05:19:49     INFO - TEST-INFO | leakcheck | tab leaked 1 ListenerAndContextContainer
[task 2021-03-24T05:19:49.553Z] 05:19:49     INFO - TEST-INFO | leakcheck | tab leaked 1 LoadInfo
[task 2021-03-24T05:19:49.554Z] 05:19:49     INFO - TEST-INFO | leakcheck | tab leaked 5 Mutex
[task 2021-03-24T05:19:49.554Z] 05:19:49     INFO - TEST-INFO | leakcheck | tab leaked 1 PWebSocketChild
[task 2021-03-24T05:19:49.554Z] 05:19:49     INFO - TEST-INFO | leakcheck | tab leaked 1 PerformanceCounter
[task 2021-03-24T05:19:49.555Z] 05:19:49     INFO - TEST-INFO | leakcheck | tab leaked 1 Permission
[task 2021-03-24T05:19:49.555Z] 05:19:49     INFO - TEST-INFO | leakcheck | tab leaked 1 RequestContext
[task 2021-03-24T05:19:49.556Z] 05:19:49     INFO - TEST-INFO | leakcheck | tab leaked 1 RequestContextService
[task 2021-03-24T05:19:49.556Z] 05:19:49     INFO - TEST-INFO | leakcheck | tab leaked 1 ThreadEventTarget
[task 2021-03-24T05:19:49.557Z] 05:19:49     INFO - TEST-INFO | leakcheck | tab leaked 1 ThreadTargetSink
[task 2021-03-24T05:19:49.557Z] 05:19:49     INFO - TEST-INFO | leakcheck | tab leaked 1 WeakReference
[task 2021-03-24T05:19:49.558Z] 05:19:49     INFO - TEST-INFO | leakcheck | tab leaked 1 WebSocket
[task 2021-03-24T05:19:49.558Z] 05:19:49     INFO - TEST-INFO | leakcheck | tab leaked 1 WebSocketChannelChild
[task 2021-03-24T05:19:49.558Z] 05:19:49     INFO - TEST-INFO | leakcheck | tab leaked 1 WebSocketEventService
[task 2021-03-24T05:19:49.560Z] 05:19:49     INFO - TEST-INFO | leakcheck | tab leaked 1 WebSocketImpl
[task 2021-03-24T05:19:49.561Z] 05:19:49     INFO - TEST-INFO | leakcheck | tab leaked 1 nsAuthURLParser
[task 2021-03-24T05:19:49.561Z] 05:19:49     INFO - TEST-INFO | leakcheck | tab leaked 1 nsDocShell::InterfaceRequestorProxy
[task 2021-03-24T05:19:49.561Z] 05:19:49     INFO - TEST-INFO | leakcheck | tab leaked 2 nsJSPrincipals
[task 2021-03-24T05:19:49.562Z] 05:19:49     INFO - TEST-INFO | leakcheck | tab leaked 1 nsLoadGroup
[task 2021-03-24T05:19:49.562Z] 05:19:49     INFO - TEST-INFO | leakcheck | tab leaked 3 nsStandardURL
[task 2021-03-24T05:19:49.563Z] 05:19:49     INFO - TEST-INFO | leakcheck | tab leaked 19 nsStringBuffer
[task 2021-03-24T05:19:49.563Z] 05:19:49     INFO - TEST-INFO | leakcheck | tab leaked 14 nsTArray_base
[task 2021-03-24T05:19:49.564Z] 05:19:49     INFO - TEST-INFO | leakcheck | tab leaked 1 nsThread
[task 2021-03-24T05:19:49.564Z] 05:19:49     INFO - TEST-INFO | leakcheck | tab leaked 5 nsWeakReference
[task 2021-03-24T05:19:49.565Z] 05:19:49     INFO - TEST-UNEXPECTED-FAIL | leakcheck | tab 4896 bytes leaked (ChannelEventQueue, CondVar, CookieJarSettings, DOMEventTargetHelper, LabellingEventTarget, ...)

Last execution: devtools/client/netmonitor/test/browser_net_ws-stomp-payload.js

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 4 years ago3 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 3 years ago3 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 3 years ago3 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 3 years ago2 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---

Thanks for the heads up - I'm on it.

Component: Netmonitor → DOM: Networking
Product: DevTools → Core

I believe that with Bug 178846 landed the frequency of this intermittent is back where it was prior to Bug 1748005:
https://treeherder.mozilla.org/intermittent-failures/bugdetails?startday=2022-08-07&endday=2022-09-06&tree=all&bug=1700549

Flags: needinfo?(acreskey)
Priority: P5 → P3
Whiteboard: [necko-triaged]

It seems most of the leaks happen for dom/websocket/tests/test_websocket_mixed_content.html

Flags: needinfo?(valentin.gosu)

I added, dom/websocket/tests/test_websocket_mixed_content.html, let me see what I can find.

Flags: needinfo?(acreskey)

Just pushed Bug 1802227 which includes fixes to these leaks. Will monitor from here.

Flags: needinfo?(acreskey)

No occurrences of any leaks since the patch in Bug 1802227 landed (so far).
So this seems promising.
If this continues, I can apply the technique to other tests in the webSocket suite and follow up to find out why clearing the .src attribute is needed.

This looks to be greatly reduced, with the 7 of 8 leaks reported in branches that don't have the fix. But not entirely fixed as there is one on autoland last week.

Flags: needinfo?(valentin.gosu)
Status: REOPENED → NEW
You need to log in before you can comment on or make changes to this bug.