Closed Bug 1234114 Opened 8 years ago Closed 8 years ago

Intermittent leakcheck | tab process: 6720 bytes leaked (AsyncLatencyLogger, CondVar, GraphDriver, MediaSegment, MediaStream, ...)

Categories

(Core :: Audio/Video: MediaStreamGraph, defect, P2)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1239873
Tracking Status
firefox46 --- affected

People

(Reporter: nigelb, Unassigned)

References

()

Details

(Keywords: intermittent-failure, memory-leak)

https://treeherder.mozilla.org/logviewer.html#?job_id=6266272&repo=fx-team


 12:23:59     INFO -  TEST-INFO | leakcheck | default process: leak threshold set at 0 bytes
 12:23:59     INFO -  TEST-INFO | leakcheck | plugin process: leak threshold set at 0 bytes
 12:23:59     INFO -  TEST-INFO | leakcheck | tab process: leak threshold set at 10000 bytes
 12:23:59     INFO -  TEST-INFO | leakcheck | geckomediaplugin process: leak threshold set at 20000 bytes
 12:23:59     INFO -  == BloatView: ALL (cumulative) LEAK AND BLOAT STATISTICS, default process 16230
 12:23:59     INFO -       |<----------------Class--------------->|<-----Bytes------>|<----Objects---->|
 12:23:59     INFO -       |                                      | Per-Inst   Leaked|   Total      Rem|
 12:23:59     INFO -     0 |TOTAL                                 |       27        0| 1661784        0|
 12:23:59     INFO -  nsTraceRefcnt::DumpStatistics: 1316 entries
 12:23:59     INFO -  TEST-PASS | leakcheck | default process: no leaks detected!
 12:23:59     INFO -  == BloatView: ALL (cumulative) LEAK AND BLOAT STATISTICS, tab process 16289
 12:23:59     INFO -       |<----------------Class--------------->|<-----Bytes------>|<----Objects---->|
 12:23:59     INFO -       |                                      | Per-Inst   Leaked|   Total      Rem|
 12:23:59     INFO -     0 |TOTAL                                 |       23     6720|  526644       85|
 12:23:59     INFO -    13 |AsyncLatencyLogger                    |       72       72|       1        1|
 12:23:59     INFO -    14 |AsyncTransactionTrackersHolder        |       72       72|       3        1|
 12:23:59     INFO -    53 |CompositorChild                       |      880      880|       1        1|
 12:23:59     INFO -    55 |CondVar                               |       40      240|     156        6|
 12:23:59     INFO -   132 |GraphDriver                           |       72       72|       2        1|
 12:23:59     INFO -   152 |IPC::Channel                          |       16       32|       6        2|
 12:23:59     INFO -   186 |MediaSegment                          |       24       24|    2976        1|
 12:23:59     INFO -   189 |MediaStream                           |      232      464|     128        2|
 12:23:59     INFO -   190 |MediaStreamGraph                      |       24       24|       1        1|
 12:23:59     INFO -   191 |MediaStreamGraphImpl                  |      480      480|       1        1|
 12:23:59     INFO -   193 |MediaStreamListener                   |       16       32|      59        2|
 12:23:59     INFO -   200 |MessagePump                           |       16       16|      20        1|
 12:23:59     INFO -   206 |Mutex                                 |       32      224|    4372        7|
 12:23:59     INFO -   220 |PCompositorChild                      |      776      776|       1        1|
 12:23:59     INFO -   226 |PImageBridgeChild                     |      920      920|       1        1|
 12:23:59     INFO -   274 |RefCountedMonitor                     |       80      160|       5        2|
 12:23:59     INFO -   275 |RefCountedTask                        |       16       64|      10        4|
 12:23:59     INFO -   317 |StoreRef                              |       16       32|       6        2|
 12:23:59     INFO -   318 |StreamBuffer                          |       40       40|      64        1|
 12:23:59     INFO -   344 |Track                                 |       24       24|      64        1|
 12:23:59     INFO -   362 |WaitableEventKernel                   |       72       72|      23        1|
 12:23:59     INFO -   368 |WeakReference<MessageListener>        |       16       32|     109        2|
 12:23:59     INFO -   395 |base::Thread                          |       48       48|       3        1|
 12:23:59     INFO -   418 |ipc::MessageChannel                   |      512     1024|       5        2|
 12:23:59     INFO -   645 |nsNameThreadRunnable                  |       40       40|       4        1|
 12:23:59     INFO -   684 |nsRunnable                            |       24       72|   29162        3|
 12:23:59     INFO -   715 |nsStringBuffer                        |        8        8|   28602        1|
 12:23:59     INFO -   749 |nsTArray_base                         |        8      264|  215648       33|
 12:23:59     INFO -   753 |nsThread                              |      256      512|      19        2|
 12:23:59     INFO -  nsTraceRefcnt::DumpStatistics: 815 entries
 12:23:59     INFO -  WARNING | leakcheck | tab process: leaked too many AsyncLatencyLogger (expected 0, got 1)
 12:23:59     INFO -  TEST-INFO | leakcheck | tab process: leaked 1 AsyncTransactionTrackersHolder
 12:23:59     INFO -  TEST-INFO | leakcheck | tab process: leaked 1 CompositorChild
 12:23:59     INFO -  WARNING | leakcheck | tab process: leaked too many CondVar (expected 3, got 6)
 12:23:59     INFO -  WARNING | leakcheck | tab process: leaked too many GraphDriver (expected 0, got 1)
 12:23:59     INFO -  TEST-INFO | leakcheck | tab process: leaked 2 IPC::Channel
 12:23:59     INFO -  WARNING | leakcheck | tab process: leaked too many MediaSegment (expected 0, got 1)
 12:23:59     INFO -  WARNING | leakcheck | tab process: leaked too many MediaStream (expected 0, got 2)
 12:23:59     INFO -  WARNING | leakcheck | tab process: leaked too many MediaStreamGraph (expected 0, got 1)
 12:23:59     INFO -  WARNING | leakcheck | tab process: leaked too many MediaStreamGraphImpl (expected 0, got 1)
 12:23:59     INFO -  WARNING | leakcheck | tab process: leaked too many MediaStreamListener (expected 0, got 2)
 12:23:59     INFO -  TEST-INFO | leakcheck | tab process: leaked 1 MessagePump
 12:23:59     INFO -  WARNING | leakcheck | tab process: leaked too many Mutex (expected 3, got 7)
 12:23:59     INFO -  TEST-INFO | leakcheck | tab process: leaked 1 PCompositorChild
 12:23:59     INFO -  TEST-INFO | leakcheck | tab process: leaked 1 PImageBridgeChild
 12:23:59     INFO -  TEST-INFO | leakcheck | tab process: leaked 2 RefCountedMonitor
 12:23:59     INFO -  TEST-INFO | leakcheck | tab process: leaked 4 RefCountedTask
 12:23:59     INFO -  TEST-INFO | leakcheck | tab process: leaked 2 StoreRef
 12:23:59     INFO -  WARNING | leakcheck | tab process: leaked too many StreamBuffer (expected 0, got 1)
 12:23:59     INFO -  WARNING | leakcheck | tab process: leaked too many Track (expected 0, got 1)
 12:23:59     INFO -  TEST-INFO | leakcheck | tab process: leaked 1 WaitableEventKernel
 12:23:59     INFO -  TEST-INFO | leakcheck | tab process: leaked 2 WeakReference<MessageListener>
 12:23:59     INFO -  TEST-INFO | leakcheck | tab process: leaked 1 base::Thread
 12:23:59     INFO -  TEST-INFO | leakcheck | tab process: leaked 2 ipc::MessageChannel
 12:23:59     INFO -  WARNING | leakcheck | tab process: leaked too many nsNameThreadRunnable (expected 0, got 1)
 12:23:59     INFO -  WARNING | leakcheck | tab process: leaked too many nsRunnable (expected 0, got 3)
 12:23:59     INFO -  WARNING | leakcheck | tab process: leaked too many nsStringBuffer (expected 0, got 1)
 12:23:59     INFO -  WARNING | leakcheck | tab process: leaked too many nsTArray_base (expected 9, got 33)
 12:23:59     INFO -  WARNING | leakcheck | tab process: leaked too many nsThread (expected 1, got 2)
 12:23:59  WARNING -  TEST-UNEXPECTED-FAIL | leakcheck | tab process: 6720 bytes leaked (AsyncLatencyLogger, CondVar, GraphDriver, MediaSegment, MediaStream, ...)
 12:23:59     INFO -  runtests.py | Running tests: end.
 12:23:59     INFO -  470 INFO TEST-START | Shutdown
 12:23:59     INFO -  471 INFO Passed:  88
 12:23:59     INFO -  472 INFO Failed:  0
 12:23:59     INFO -  473 INFO Todo:    0
 12:23:59     INFO -  474 INFO Slowest: 10332ms - /tests/dom/media/webspeech/recognition/test/test_timeout.html
 12:23:59     INFO -  475 INFO SimpleTest FINISHED
 12:23:59     INFO -  476 INFO TEST-INFO | Ran 1 Loops
 12:23:59     INFO -  477 INFO SimpleTest FINISHED
 12:23:59     INFO -  dir: dom/media/webspeech/synth/test
Is this a known MSG issue, or is this something new?
Component: General → Audio/Video: MediaStreamGraph
Flags: needinfo?(rjesup)
Product: Firefox → Core
We are just about to start a rewrite of the MSG shutdown code to address Bug 1235968.  This bug will likely also be fixed by that rewrite.
Rank: 25
Priority: -- → P2
See Also: → 1239873
There appear to be no failures since bug 1239873 landed
Status: NEW → RESOLVED
Closed: 8 years ago
Flags: needinfo?(rjesup)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.