Open Bug 1161840 Opened 7 years ago Updated 7 years ago

layout/xul/test/ has a leak when --run-by-dir is enabled for osx 10.10

Categories

(Core :: XUL, defect)

defect
Not set
normal

Tracking

()

Tracking Status
firefox40 --- affected

People

(Reporter: jmaher, Unassigned)

References

Details

osx 10.10 brings out some fun stuff.  This needs to be bisected down a bit, but overall I see about 20% of the time a leak like so (https://treeherder.mozilla.org/#/jobs?repo=try&revision=c12c99b8117c&filter-searchStr=osx%20debug%2010.10):

09:11:51     INFO -  TEST-INFO | leakcheck | default process: leak threshold set at 0 bytes
09:11:51     INFO -  TEST-INFO | leakcheck | plugin process: leak threshold set at 0 bytes
09:11:51     INFO -  TEST-INFO | leakcheck | tab process: leak threshold set at 100000 bytes
09:11:51     INFO -  TEST-INFO | leakcheck | geckomediaplugin process: leak threshold set at 20000 bytes
09:11:51     INFO -  == BloatView: ALL (cumulative) LEAK AND BLOAT STATISTICS, default process 2387
09:11:51     INFO -       |<----------------Class--------------->|<-----Bytes------>|<----Objects---->|
09:11:51     INFO -       |                                      | Per-Inst   Leaked|   Total      Rem|
09:11:51     INFO -     0 |TOTAL                                 |       19     5680| 9024228       44|
09:11:51     INFO -    34 |BasicColorLayer                       |      648      648|      18        1|
09:11:51     INFO -    35 |BasicContainerLayer                   |      656      656|      47        1|
09:11:51     INFO -    36 |BasicImplData                         |       16       48|     125        3|
09:11:51     INFO -    37 |BasicLayerManager                     |      200      200|      35        1|
09:11:51     INFO -    38 |BasicPaintedLayer                     |      656      656|      60        1|
09:11:51     INFO -   104 |CompositableClient                    |       48       96|     360        2|
09:11:51     INFO -   304 |Layer                                 |      584     1752|     655        3|
09:11:51     INFO -   305 |LayerManager                          |      144      144|      65        1|
09:11:51     INFO -   306 |LayerManagerData                      |       72       72|      46        1|
09:11:51     INFO -   334 |Mutex                                 |       32       64|    1528        2|
09:11:51     INFO -   452 |RotatedContentBuffer                  |      112      112|      53        1|
09:11:51     INFO -   505 |TextInputHandlerBase                  |       64       64|      44        1|
09:11:51     INFO -   692 |nsBaseWidget                          |      272      544|      73        2|
09:11:51     INFO -   748 |nsCocoaWindow                         |      440      440|      29        1|
09:11:51     INFO -  1149 |nsTArray_base                         |        8      184| 1452451       23|
09:11:51     INFO -  nsTraceRefcnt::DumpStatistics: 1273 entries
09:11:51     INFO -  TEST-INFO | leakcheck | default process: leaked 1 BasicColorLayer (648 bytes)
09:11:51     INFO -  TEST-INFO | leakcheck | default process: leaked 1 BasicContainerLayer (656 bytes)
09:11:51     INFO -  TEST-INFO | leakcheck | default process: leaked 3 BasicImplData (48 bytes)
09:11:51     INFO -  TEST-INFO | leakcheck | default process: leaked 1 BasicLayerManager (200 bytes)
09:11:51     INFO -  TEST-INFO | leakcheck | default process: leaked 1 BasicPaintedLayer (656 bytes)
09:11:51     INFO -  TEST-INFO | leakcheck | default process: leaked 2 CompositableClient (96 bytes)
09:11:51     INFO -  TEST-INFO | leakcheck | default process: leaked 3 Layer (1752 bytes)
09:11:51     INFO -  TEST-INFO | leakcheck | default process: leaked 1 LayerManager (144 bytes)
09:11:51     INFO -  TEST-INFO | leakcheck | default process: leaked 1 LayerManagerData (72 bytes)
09:11:51     INFO -  TEST-INFO | leakcheck | default process: leaked 2 Mutex (64 bytes)
09:11:51     INFO -  TEST-INFO | leakcheck | default process: leaked 1 RotatedContentBuffer (112 bytes)
09:11:51     INFO -  TEST-INFO | leakcheck | default process: leaked 1 TextInputHandlerBase (64 bytes)
09:11:51     INFO -  TEST-INFO | leakcheck | default process: leaked 2 nsBaseWidget (544 bytes)
09:11:51     INFO -  TEST-INFO | leakcheck | default process: leaked 1 nsCocoaWindow (440 bytes)
09:11:51     INFO -  TEST-INFO | leakcheck | default process: leaked 23 nsTArray_base (184 bytes)
09:11:51  WARNING -  TEST-UNEXPECTED-FAIL | leakcheck | default process: 5680 bytes leaked (BasicColorLayer, BasicContainerLayer, BasicImplData, BasicLayerManager, BasicPaintedLayer, ...)
The question is what keeps what alive here.  It could be some kind of layer issue, or maybe some cocoa problem.
it is either:
[test_stack.xul]
[test_windowminmaxsize.xul]


which are the last two tests, but this try push shows green:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=ffbf8ea28b79

I will bisect a bit more
and the winner is:
test_windowminmaxsize.xul

lucky test- your history was erased in 2013 when you were moved!  now I don't have a person to bug about owning the test.
You need to log in before you can comment on or make changes to this bug.