Closed Bug 504340 Opened 15 years ago Closed 15 years ago

mochitest-chrome: intermittently leaks "the world"

Categories

(Firefox :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 538462

People

(Reporter: sgautherie, Unassigned)

Details

(Keywords: memory-leak, Whiteboard: [are you really seeing bug 538462 instead?])

I never cared to file that FF bug before. But recently, it looks like people are starting to spam unrelated bugs with it... So here it is now :-> ***** Example: { http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1247643832.1247651664.24027.gz&fulltext=1 OS X 10.5.2 mozilla-central unit test on 2009/07/15 00:43:52 TEST-UNEXPECTED-FAIL | runtests-leaks | leaked 510651 bytes during test execution } I noticed { leaked 581 instances of nsHtml5AttributeName with size 16 bytes each leaked 392 instances of nsHtml5ElementName leaked 1 instance of nsHtml5HtmlAttributes } but that may mean nothing as it's +/- a "leak the world"!?
Flags: wanted-firefox3.6?
Blocks: 438871
Whiteboard: [orange]
This recent leak looks possibly related: { http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1248375192.1248384964.25919.gz WINNT 5.2 mozilla-central unit test on 2009/07/23 11:53:12 TEST-UNEXPECTED-FAIL | runtests-leaks | leaked 1811467 bytes during test execution } In particular, the counts of HTML5 objects exactly match those in comment 0: { leaked 581 instances of nsHtml5AttributeName with size 16 bytes each leaked 392 instances of nsHtml5ElementName with size 28 bytes each leaked 1 instance of nsHtml5HtmlAttributes with size 24 bytes } Though as Serge said, that could just be a product of "leaking the world". The total number of bytes leaked is higher in this log, though that could perhaps be due to the platform difference (Mac vs Windows).
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1248469821.1248478122.1578.gz OS X 10.5.2 mozilla-central unit test on 2009/07/24 13:47:23 TEST-UNEXPECTED-FAIL | runtests-leaks | leaked 510795 bytes during test execution
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox-Unittest/1248475175.1248476888.20647.gz OS X 10.5.2 mozilla-central test everythingelse on 2009/07/24 15:39:35 TEST-UNEXPECTED-FAIL | runtests-leaks | leaked 336137 bytes during test execution (with same "html5" part, fwiw)
Summary: mochitest-chrome: intermittent 500 kB leak → mochitest-chrome: intermittently leaks "the world", (related to html5??)
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1248575684.1248580657.9984.gz OS X 10.5.2 mozilla-central unit test on 2009/07/25 19:34:44 TEST-UNEXPECTED-FAIL | runtests-leaks | leaked 510695 bytes during test execution
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox-Unittest/1249343470.1249345216.28359.gz OS X 10.5.2 mozilla-central test everythingelse on 2009/08/03 16:51:10 TEST-UNEXPECTED-FAIL | runtests-leaks | leaked 356221 bytes during test execution
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox-Unittest/1249584068.1249586060.5163.gz OS X 10.5.2 mozilla-central test everythingelse on 2009/08/06 11:41:08 TEST-UNEXPECTED-FAIL | runtests-leaks | leaked 349373 bytes during test execution
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox-Unittest/1249608676.1249610149.26342.gz WINNT 5.2 mozilla-central test mochitests TEST-UNEXPECTED-FAIL | runtests-leaks | leaked 324223 bytes during test execution (threshold set at 484 bytes)
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox-Unittest/1250155893.1250157737.22608.gz OS X 10.5.2 mozilla-central test everythingelse on 2009/08/13 02:31:33
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox-Unittest/1250199254.1250200545.29999.gz OS X 10.5.2 mozilla-central test everythingelse on 2009/08/13 14:34:14
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1251040241.1251046473.23226.gz OS X 10.5.2 mozilla-central unit test on 2009/08/23 08:10:41
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox3.6/1252846444.1252851684.8772.gz OS X 10.5.2 mozilla-1.9.2 unit test on 2009/09/13 05:54:04
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox-Unittest/1256524389.1256526477.23129.gz OS X 10.5.2 mozilla-central test everythingelse on 2009/10/25 19:33:09
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox-Unittest/1256672195.1256674430.19799.gz OS X 10.5.2 mozilla-central test everythingelse on 2009/10/27 12:36:35
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox-Unittest/1257033461.1257035647.2196.gz#err0 OS X 10.5.2 mozilla-central test everythingelse on 2009/10/31 16:57:41
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox-Unittest/1258247608.1258250364.23335.gz OS X 10.5.2 mozilla-central test everythingelse on 2009/11/14 17:13:28 s: moz2-darwin9-slave17
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox-Unittest/1258424121.1258430196.22212.gz OS X 10.5.2 mozilla-central test everythingelse on 2009/11/16 18:15:21 s: moz2-darwin9-slave13
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox-Unittest/1258762358.1258765354.4574.gz OS X 10.5.2 mozilla-central test everythingelse on 2009/11/20 16:12:38 s: moz2-darwin9-slave09
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox-Unittest/1259009978.1259012917.28957.gz OS X 10.5.2 mozilla-central test everythingelse on 2009/11/23 12:59:38 s: moz2-darwin9-slave02
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1262635964.1262638897.11951.gz OS X 10.5.2 mozilla-central test everythingelse on 2010/01/04 12:12:44 s: moz2-darwin9-slave10
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1263319409.1263325676.3001.gz OS X 10.5.2 mozilla-central debug test everythingelse on 2010/01/12 10:03:29 s: moz2-darwin9-slave17
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1263392973.1263398994.9558.gz OS X 10.5.2 mozilla-central debug test everythingelse on 2010/01/13 06:29:33 s: moz2-darwin9-slave02
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1263414273.1263422790.18119.gz OS X 10.5.2 mozilla-central debug test everythingelse on 2010/01/13 12:24:33 s: moz2-darwin9-slave16
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1263582205.1263583362.16926.gz OS X 10.5.2 mozilla-central test mochitest-other on 2010/01/15 11:03:25 s: moz2-darwin9-slave11
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1263684320.1263686171.18048.gz OS X 10.5.2 mozilla-central debug test mochitest-other on 2010/01/16 15:25:20 s: moz2-darwin9-slave07
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1263796554.1263798789.17288.gz OS X 10.5.2 mozilla-central debug test mochitest-other on 2010/01/17 22:35:54 s: moz2-darwin9-slave13
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1263823760.1263825371.24561.gz Linux mozilla-central debug test mochitest-other on 2010/01/18 06:09:20
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1263831599.1263833345.17481.gz OS X 10.5.2 mozilla-central debug test mochitest-other on 2010/01/18 08:19:59 s: moz2-darwin9-slave09
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1263848555.1263851724.27888.gz WINNT 5.2 mozilla-central debug test crashtest on 2010/01/18 13:02:35 s: win32-slave06
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1263924853.1263926403.16107.gz&fulltext=1 OS X 10.5.2 mozilla-central debug test mochitest-other on 2010/01/19 10:14:13
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1263954486.1263955952.12706.gz OS X 10.5.2 mozilla-central debug test mochitest-other on 2010/01/19 18:28:06 s: moz2-darwin9-slave07
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1264016561.1264018595.9527.gz OS X 10.5.2 mozilla-central debug test mochitest-other on 2010/01/20 11:42:41 s: moz2-darwin9-slave19
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1264021132.1264022669.22800.gz OS X 10.5.2 mozilla-central debug test mochitest-other on 2010/01/20 12:58:52 s: moz2-darwin9-slave23
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1264000423.1264001861.12576.gz OS X 10.5.2 mozilla-central debug test mochitest-other on 2010/01/20 07:13:43 s: moz2-darwin9-slave02
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1264085193.1264087046.1368.gz OS X 10.5.2 mozilla-central debug test mochitest-other on 2010/01/21 06:46:33 s: moz2-darwin9-slave09
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1264112060.1264113595.16415.gz OS X 10.5.2 mozilla-central debug test mochitest-other on 2010/01/21 14:14:20 s: bm-xserve19
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1264141160.1264142774.25819.gz OS X 10.5.2 mozilla-central debug test mochitest-other on 2010/01/21 22:19:20 s: moz2-darwin9-slave19
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1264203299.1264205966.17977.gz OS X 10.5.2 mozilla-central debug test mochitest-other on 2010/01/22 15:34:59 s: moz2-darwin9-slave06
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1264255005.1264256441.1210.gz OS X 10.5.2 mozilla-central debug test mochitest-other on 2010/01/23 05:56:45 s: moz2-darwin9-slave16
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1264352652.1264354590.30603.gz OS X 10.5.2 mozilla-central debug test mochitest-other on 2010/01/24 09:04:12 s: moz2-darwin9-slave02
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1264355598.1264357175.26934.gz OS X 10.5.2 mozilla-central debug test mochitest-other on 2010/01/24 09:53:18 s: moz2-darwin9-slave05
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1264485202.1264486696.15392.gz OS X 10.5.2 mozilla-central debug test mochitest-other on 2010/01/25 21:53:22 s: moz2-darwin9-slave07
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1264542448.1264543957.24860.gz OS X 10.5.2 mozilla-central debug test mochitest-other on 2010/01/26 13:47:28 s: moz2-darwin9-slave02
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1264580266.1264581880.1610.gz OS X 10.5.2 mozilla-central debug test mochitest-other on 2010/01/27 00:17:46 s: moz2-darwin9-slave22
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1264583345.1264585511.8298.gz OS X 10.5.2 mozilla-central debug test mochitest-other on 2010/01/27 01:09:05 s: moz2-darwin9-slave07
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1264683795.1264685511.986.gz OS X 10.5.2 mozilla-central debug test mochitest-other on 2010/01/28 05:03:15 s: moz2-darwin9-slave22
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1264774314.1264779183.25814.gz OS X 10.5.2 mozilla-central debug test mochitest-other on 2010/01/29 06:11:54 s: moz2-darwin9-slave21
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1264861229.1264863403.22142.gz OS X 10.5.2 mozilla-central debug test mochitest-other on 2010/01/30 06:20:29 s: moz2-darwin9-slave24
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1264879182.1264880652.26784.gz OS X 10.5.2 mozilla-central debug test mochitest-other on 2010/01/30 11:19:42 s: moz2-darwin9-slave18
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1264886705.1264888569.20872.gz OS X 10.5.2 mozilla-central debug test mochitest-other on 2010/01/30 13:25:05 s: moz2-darwin9-slave19
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1265051450.1265054692.977.gz OS X 10.5.2 mozilla-central debug test mochitest-other on 2010/02/01 11:10:50 s: moz2-darwin9-slave19
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1265068162.1265069964.8463.gz OS X 10.5.2 mozilla-central debug test mochitest-other on 2010/02/01 15:49:22 s: moz2-darwin9-slave22
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1265072057.1265074321.23988.gz OS X 10.5.2 mozilla-central debug test mochitest-other on 2010/02/01 16:54:17 s: moz2-darwin9-slave21
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1265110016.1265111840.17269.gz OS X 10.5.2 mozilla-central debug test mochitest-other on 2010/02/02 03:26:56 s: moz2-darwin9-slave16
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1265159279.1265161308.11934.gz OS X 10.5.2 mozilla-central debug test mochitest-other on 2010/02/02 17:07:59 s: moz2-darwin9-slave05
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1265219046.1265222954.3421.gz OS X 10.5.2 mozilla-central debug test mochitest-other on 2010/02/03 09:44:06 s: moz2-darwin9-slave06
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1265249381.1265250915.3096.gz OS X 10.5.2 mozilla-central debug test mochitest-other on 2010/02/03 18:09:41 s: moz2-darwin9-slave07
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1265299851.1265302526.15089.gz OS X 10.5.2 mozilla-central debug test mochitest-other on 2010/02/04 08:10:51 s: moz2-darwin9-slave21
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1265301278.1265303915.31457.gz OS X 10.5.2 mozilla-central debug test mochitest-other on 2010/02/04 08:34:38 s: moz2-darwin9-slave07
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1265350940.1265352756.21881.gz OS X 10.5.2 mozilla-central debug test mochitest-other on 2010/02/04 22:22:20 s: moz2-darwin9-slave17
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1265391511.1265393216.29347.gz OS X 10.5.2 mozilla-central debug test mochitest-other on 2010/02/05 09:38:31 s: moz2-darwin9-slave19
OS X 10.5.2 mozilla-central debug test mochitest-other on 2010/02/17 15:16:33 http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1266448593.1266450460.6733.gz
OS X 10.5.2 mozilla-central debug test mochitest-other [testfailed] Started 07:51, finished 08:25 http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1267026666.1267028695.27523.gz&fulltext=1
blocking2.0: --- → ?
status1.9.2: --- → ?
Flags: wanted-firefox3.6?
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1267241581.1267243553.7384.gz OS X 10.5.2 mozilla-central debug test mochitest-other on 2010/02/26 19:33:01 s: moz2-darwin9-slave02
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1267583111.1267584654.12893.gz OS X 10.5.2 mozilla-central debug test mochitest-other on 2010/03/02 18:25:11 s: bm-xserve09
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1267815852.1267818320.23927.gz OS X 10.5.2 mozilla-central debug test mochitest-other on 2010/03/05 11:04:12 s: moz2-darwin9-slave19
That one, and one of the few of mine above for which there's still a log available, are actually bug 538462. Unfortunately, it's a pain to determine that, since you have to download the full log, and grep/script-grovel through it to find out whether it's a domwindow from test_unkownContentType that leaked.
Whiteboard: [orange] → [orange][are you really seeing bug 538462 instead?]
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1268007643.1268009408.24948.gz OS X 10.5.2 mozilla-central debug test mochitest-other moz2-darwin9-slave02
This is happening quite a bit this afternoon: * moz2-darwin9-slave23 on 2010/03/07, 13:06 PST http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1267996677.1267998615.3919.gz&fulltext=1 * moz2-darwin9-slave19 on 2010/03/07, 14:34 PST: http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1268002014.1268003983.14242.gz&fulltext=1
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1269278267.1269280538.6549.gz OS X 10.5.2 mozilla-central debug test mochitest-other on 2010/03/22 10:17:47
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1269292608.1269295027.16045.gz OS X 10.5.2 mozilla-central debug test mochitest-other on 2010/03/22 14:16:48
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1269891677.1269893473.23823.gz OS X 10.5.2 mozilla-central debug test mochitest-other on 2010/03/29 12:41:17
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1270156765.1270158902.21263.gz OS X 10.5.2 mozilla-central debug test mochitest-other on 2010/04/01 14:19:25
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1270585606.1270587198.3891.gz OS X 10.5.2 mozilla-central debug test mochitest-other
The log from comment 75 is a crashtest, and this bug is a mochitest-chrome leak (which in almost every case is actually bug 538462), so it ain't this.
Depends on: 538462
(In reply to comment #0) > I noticed > { > leaked 581 instances of nsHtml5AttributeName with size 16 bytes each > leaked 392 instances of nsHtml5ElementName > leaked 1 instance of nsHtml5HtmlAttributes > } > but that may mean nothing as it's +/- a "leak the world"!? The exact one instance of nsHtml5Html5Attributes is a singleton empty attribute holder. Those nsHtml5AttributeNames and nsHtml5ElementNames are the pre-interned ones. These objects are created when the layout module starts up and released when the layout module shuts down regardless of the value of the html5.enable pref. Therefore, it's perfectly normal for them to leak when the layout module leaks "the world".
Summary: mochitest-chrome: intermittently leaks "the world", (related to html5??) → mochitest-chrome: intermittently leaks "the world"
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1270745501.1270747376.30175.gz OS X 10.5.2 mozilla-central debug test mochitest-other on 2010/04/08 09:51:41 http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1270742746.1270744486.19604.gz OS X 10.5.2 mozilla-central debug test mochitest-other on 2010/04/08 09:05:46
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1271015440.1271017195.12441.gz OS X 10.5.2 mozilla-central debug test mochitest-other on 2010/04/11 12:50:40
Comment 79 is actually bug 538462 Both logs in comment 78 are actually bug 538462 Comment 74 is actually bug 538462 Comment 73 is actually bug 538462 Comment 72 is actually bug 538462 Comment 71 is actually bug 538462 Comment 70 is actually bug 538462 Both logs in comment 69 are actually bug 538462 Comment 68 is actually bug 538462 Since the only things this bug can do are * siphon off instances of bug 538462 * siphon off instances of leaks that leak domwindows other than from test_unknownContentType_dialog_layout.xul, like bug 557883 or other as-yet-unknown ones * hide the fact that there might be a mochitest-chrome leak that doesn't leak any domwindows at all, by throwing it in this garbage heap I'm duping this forward to bug 538462, which is what this mostly was. If your Mac leak instance is really that (as determined by the method in bug 538462 comment 3 or bug 538462 comment 16), please put it there; if it's leaking domwindows from some other test, please put it with a bug for that test or file a new one; if it's leaking without having leaked any domwindows, please file a new bug that makes it clear how it differs from the existing ones.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
No longer blocks: mlkTests, 438871
blocking2.0: ? → ---
status1.9.2: ? → ---
No longer depends on: 538462
Whiteboard: [orange][are you really seeing bug 538462 instead?] → [are you really seeing bug 538462 instead?]
You need to log in before you can comment on or make changes to this bug.