Closed Bug 1512613 Opened 5 years ago Closed 4 years ago

Intermittent TV leakcheck | tab/default xxxxx bytes leaked (ChannelEventQueue, CondVar, ConsoleReportCollector, CopyOnWriteValue, DataStorage, ...)

Categories

(Core :: DOM: HTML Parser, defect, P5)

defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure)

Filed by: ebalazs [at] mozilla.com

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

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

TEST-INFO | leakcheck | tab leaked 12 nsWeakReference
11:00:30     INFO - TEST-UNEXPECTED-FAIL | leakcheck | tab 23924 bytes leaked (ChannelEventQueue, CondVar, ConsoleReportCollector, CopyOnWriteValue, DataStorage, ...)
11:00:30     INFO - 
11:00:30     INFO - runtests.py | Running tests: end.
11:00:30     INFO - Buffered messages finished
11:00:30     INFO -  0 INFO TEST-START | Shutdown
11:00:30     INFO -  1 INFO Passed:  10775
11:00:30     INFO -  2 INFO Failed:  0
11:00:30     INFO -  3 INFO Todo:    0
11:00:30     INFO -  4 INFO Mode:    e10s
11:00:30     INFO -  5 INFO SimpleTest FINISHED
11:00:30     INFO - Buffered messages finished
11:00:30     INFO - SUITE-END | took 29s
11:00:30     INFO - Checking for ssltunnel processes...
11:00:30     INFO - Checking for xpcshell processes...
11:00:30     INFO - SUITE-START | Running 1 tests
11:00:30     INFO - Running manifest: parser\htmlparser\tests\mochitest\mochitest.ini
11:00:31     INFO -  Z:\task_1544176114\build\tests\bin\pk12util.exe: PKCS12 IMPORT SUCCESSFUL
11:00:31     INFO - MochitestServer : launching [u'Z:\\task_1544176114\\build\\tests\\bin\\xpcshell.exe', '-g', 'Z:\\task_1544176114\\build\\application\\firefox', '-f', 'Z:\\task_1544176114\\build\\tests\\bin\\components\\httpd.js', '-e', "const _PROFILE_PATH = 'c:\\\\users\\\\task_1544176114\\\\appdata\\\\local\\\\temp\\\\tmpq6a3zf.mozrunner'; const _SERVER_PORT = '8888'; const _SERVER_ADDR = '127.0.0.1'; const _TEST_PREFIX = undefined; const _DISPLAY_RESULTS = false;", '-f', 'Z:\\task_1544176114\\build\\tests\\mochitest\\server.js']
11:00:31     INFO - runtests.py | Server pid: 5340
11:00:31     INFO - runtests.py | Websocket server pid: 5412
11:00:31     INFO - runtests.py | SSL tunnel pid: 5068
11:00:31     INFO -  Couldn't convert chrome URL: chrome://branding/locale/brand.properties
11:00:31     INFO -  [5340, Main Thread] WARNING: Failed to get directory to cache.: file z:/build/build/src/security/sandbox/win/src/sandboxbroker/sandboxBroker.cpp, line 80
11:00:31     INFO -  [5340, Main Thread] WARNING: Failed to get directory to cache.: file z:/build/build/src/security/sandbox/win/src/sandboxbroker/sandboxBroker.cpp, line 80
11:00:31     INFO -  [5340, Main Thread] WARNING: Failed to get directory to cache.: file z:/build/build/src/security/sandbox/win/src/sandboxbroker/sandboxBroker.cpp, line 80
11:00:31     INFO -  [5340, Main Thread] WARNING: Failed to get directory to cache.: file z:/build/build/src/security/sandbox/win/src/sandboxbroker/sandboxBroker.cpp, line 80
11:00:31     INFO -  [5340, Main Thread] WARNING: Failed to get directory to cache.: file z:/build/build/src/security/sandbox/win/src/sandboxbroker/sandboxBroker.cpp, line 80
11:00:31     INFO -  [5340, Main Thread] WARNING: Could not get the program name for a cubeb stream.: 'NS_SUCCEEDED(rv)', file z:/build/build/src/dom/media/CubebUtils.cpp, line 358
11:00:31     INFO - runtests.py | Running with e10s: True
11:00:31     INFO - runtests.py | Running with serviceworker_e10s: False
11:00:31     INFO - runtests.py | Running tests: start.
TEST-OK | parser/htmlparser/tests/mochitest/test_img_picture_preload.html | took 3154ms

11:00:10     INFO - GECKO(3712) | [Child 5964, Main Thread] ###!!! ASSERTION: 1 dynamic atom(s) with non-zero refcount: http://mochi.test:8888: 'nonZeroRefcountAtomsCount == 0', file z:/build/build/src/xpcom/ds/nsAtomTable.cpp, line 445
11:00:30     INFO - GECKO(3712) | #01: nsAtomTable::GC(GCKind) [xpcom/ds/nsAtomTable.cpp:363]
11:00:30     INFO - 
11:00:30     INFO - GECKO(3712) | #02: NS_ShutdownAtomTable() [xpcom/ds/nsAtomTable.cpp:484]
11:00:30     INFO - 
11:00:30     INFO - GECKO(3712) | #03: mozilla::ShutdownXPCOM(nsIServiceManager *) [xpcom/build/XPCOMInit.cpp:1028]
11:00:30     INFO - 
11:00:30     INFO - GECKO(3712) | #04: XRE_TermEmbedding() [toolkit/xre/nsEmbedFunctions.cpp:209]
11:00:30     INFO - 
11:00:30     INFO - GECKO(3712) | #05: mozilla::ipc::ScopedXREEmbed::Stop() [ipc/glue/ScopedXREEmbed.cpp:91]
11:00:30     INFO - 
11:00:30     INFO - GECKO(3712) | #06: XRE_InitChildProcess(int,char * * const,XREChildData const *) [toolkit/xre/nsEmbedFunctions.cpp:758]
11:00:30     INFO - 
11:00:30     INFO - GECKO(3712) | #07: mozilla::BootstrapImpl::XRE_InitChildProcess(int,char * * const,XREChildData const *) [toolkit/xre/Bootstrap.cpp:61]
11:00:30     INFO - 
11:00:30     INFO - GECKO(3712) | #08: NS_internal_main(int,char * *,char * *) [browser/app/nsBrowserApp.cpp:265]
11:00:30     INFO - 
11:00:30     INFO - GECKO(3712) | #09: wmain [toolkit/xre/nsWindowsWMain.cpp:129]
11:00:30     INFO - 
11:00:30     INFO - GECKO(3712) | #10: static int __scrt_common_main_seh() [f:/dd/vctools/crt/vcstartup/src/startup/exe_common.inl:288]
11:00:30     INFO - 
11:00:30     INFO - GECKO(3712) | #11: kernel32.dll + 0x53c45
11:00:30     INFO - 
11:00:30     INFO - GECKO(3712) | #12: ntdll.dll + 0x637f5
11:00:30     INFO - 
11:00:30     INFO - GECKO(3712) | #13: ntdll.dll + 0x637c8
11:00:30     INFO - 
11:00:30     INFO - GECKO(3712) | Leaked URLs:
11:00:30     INFO - GECKO(3712) |   http://mochi.test:8888/tests/parser/htmlparser/tests/mochitest?autorun=1&closeWhenDone=1&consoleLevel=INFO&testname=tests/parser/htmlparser/tests/mochitest/test_img_picture_preload.html&manifestFile=tests.json&dumpOutputDirectory=c%3A%5Cusers%5Ctask_1544176114%5Cappdata%5Clocal%5Ctemp&cleanupCrashes=true
11:00:30     INFO - GECKO(3712) |   http://mochi.test:8888/tests/parser/htmlparser/tests/mochitest/test_img_picture_preload.html
11:00:30     INFO - GECKO(3712) |   http://mochi.test:8888/tests/parser/htmlparser/tests/mochitest/file_img_picture_preload.html?1.0
11:00:30     INFO - GECKO(3712) |   http://mochi.test:8888/tests/parser/htmlparser/tests/mochitest/file_img_picture_preload.sjs?img5:source2
11:00:30     INFO - GECKO(3712) |   http://mochi.test:8888/tests/parser/htmlparser/tests/mochitest/file_img_picture_preload.sjs?img3:source2
11:00:30     INFO - GECKO(3712) |   http://mochi.test:8888/tests/parser/htmlparser/tests/mochitest/file_img_picture_preload.sjs?img11:source2
11:00:30     INFO - GECKO(3712) |   http://mochi.test:8888/tests/parser/htmlparser/tests/mochitest/blue.png
11:00:30     INFO - GECKO(3712) |   http://mochi.test:8888/tests/parser/htmlparser/tests/mochitest/blue.png
11:00:30     INFO - GECKO(3712) |   http://mochi.test:8888/tests/parser/htmlparser/tests/mochitest/blue.png
Component: DOM: Service Workers → HTML: Parser
Bug 1392185 made the HTML parser capable of holding references to normal dynamic atoms. I expect its possible to have a case where the parser thread obtains a reference to an atom and doesn't complete the parse before shutdown.
Blocks: 1392185
That explains the assertion, not the leak, right?

Hasn't happened for a year.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.