Closed Bug 1400994 Opened 8 years ago Closed 7 years ago

Intermittent dom/canvas/test/webgl-mochitest/test_capture.html | Error: Shader program linking failed:

Categories

(Core :: Graphics: CanvasWebGL, defect, P3)

defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure, Whiteboard: [gfx-noted][stockwell unknown])

Priority: P5 → P3
Whiteboard: [gfx-noted]
this has been consistently failing on windows7-debug mochitest-webgl-8, we are now at 31 failures in the last 7 days. here is a recent log: https://treeherder.mozilla.org/logviewer.html#?repo=mozilla-inbound&job_id=138487432 sadly the screenshots have errors in them, so I cannot show one, but here is a link: https://public-artifacts.taskcluster.net/NvFAkwtbR7e1hZ95X7-nJg/0/public/test_info/mozilla-test-fail-screenshot_r8qp7p.png here is related data from the above log file: 13:50:43 INFO - 670 INFO None671 INFO TEST-START | dom/canvas/test/webgl-mochitest/test_capture.html 13:50:43 INFO - GECKO(5028) | ++DOMWINDOW == 64 (139BC000) [pid = 5028] [serial = 64] [outer = 26CB5400] 13:50:43 INFO - GECKO(5028) | [5028, Main Thread] WARNING: NS_ENSURE_TRUE(ParseTypeAttribute(type, &version)) failed: file z:/build/build/src/dom/script/ScriptLoader.cpp, line 1281 13:50:43 INFO - GECKO(5028) | [5028, Main Thread] WARNING: NS_ENSURE_TRUE(ParseTypeAttribute(type, &version)) failed: file z:/build/build/src/dom/script/ScriptLoader.cpp, line 1281 13:50:43 INFO - GECKO(5028) | JavaScript warning: http://mochi.test:8888/tests/dom/canvas/test/webgl-mochitest/webgl-util.js, line 44: Error: WebGL warning: Exceeded 16 live WebGL contexts for this principal, losing the least recently used one. 13:50:43 INFO - GECKO(5028) | WebGL(15248800)::ForceLoseContext 13:50:43 INFO - GECKO(5028) | Destroying context 0D980000 surface 171D89D0 on display 26330F10 13:50:43 INFO - GECKO(5028) | Initializing context 0D980000 surface 171D89D0 on display 26330F10 13:50:43 INFO - GECKO(5028) | JavaScript warning: http://mochi.test:8888/tests/dom/canvas/test/webgl-mochitest/webgl-util.js, line 147: Error: WebGL warning: linkProgram: Failed to link, leaving the following log: 13:50:43 INFO - GECKO(5028) | error X8000: D3D11 Internal Compiler Error: Invalid Bytecode: Failed to parse shader using reference shader parser: 0x8007000e 13:50:43 INFO - GECKO(5028) | Warning: D3D shader compilation failed with default flags. (ps_5_0) 13:50:43 INFO - GECKO(5028) | Retrying with skip validation 13:50:43 INFO - GECKO(5028) | error X8000: D3D11 Internal Compiler Error: Invalid Bytecode: Failed to parse shader using reference shader parser: 0x8007000e 13:50:43 INFO - GECKO(5028) | Warning: D3D shader compilation failed with skip validation flags. (ps_5_0) 13:50:43 INFO - GECKO(5028) | Retrying with skip optimization 13:50:43 INFO - GECKO(5028) | error X8000: D3D11 Internal Compiler Error: Invalid Bytecode: Failed to parse shader using reference shader parser: 0x8007000e 13:50:43 INFO - GECKO(5028) | Warning: D3D shader compilation failed with skip optimization flags. (ps_5_0) 13:50:43 INFO - GECKO(5028) | Failed to create D3D shaders. 13:50:43 INFO - TEST-INFO | started process screenshot 13:50:43 INFO - TEST-INFO | screenshot: exit 1 13:50:43 ERROR - 672 INFO TEST-UNEXPECTED-FAIL | dom/canvas/test/webgl-mochitest/test_capture.html | Error: Shader program linking failed: 13:50:43 INFO - Shader program info log: 13:50:43 INFO - error X8000: D3D11 Internal Compiler Error: Invalid Bytecode: Failed to parse shader using reference shader parser: 0x8007000e 13:50:43 INFO - Warning: D3D shader compilation failed with default flags. (ps_5_0) 13:50:43 INFO - Retrying with skip validation 13:50:43 INFO - error X8000: D3D11 Internal Compiler Error: Invalid Bytecode: Failed to parse shader using reference shader parser: 0x8007000e 13:50:43 INFO - Warning: D3D shader compilation failed with skip validation flags. (ps_5_0) 13:50:43 INFO - Retrying with skip optimization 13:50:43 INFO - error X8000: D3D11 Internal Compiler Error: Invalid Bytecode: Failed to parse shader using reference shader parser: 0x8007000e 13:50:43 INFO - Warning: D3D shader compilation failed with skip optimization flags. (ps_5_0) 13:50:43 INFO - Failed to create D3D shaders. 13:50:43 INFO - Vert shader log: 13:50:43 INFO - Frag shader log: 13:50:43 INFO - errorFunc@dom/canvas/test/webgl-mochitest/test_capture.html:165:5 13:50:43 INFO - warning@dom/canvas/test/webgl-mochitest/webgl-util.js:31:5 13:50:43 INFO - createProgramByIds@dom/canvas/test/webgl-mochitest/webgl-util.js:154:7 13:50:43 INFO - beginTest@dom/canvas/test/webgl-mochitest/test_capture.html:172:10 13:50:43 INFO - @dom/canvas/test/webgl-mochitest/test_capture.html:217:1 13:50:43 INFO - Not taking screenshot here: see the one that was previously logged 13:50:43 ERROR - 673 INFO TEST-UNEXPECTED-FAIL | dom/canvas/test/webgl-mochitest/test_capture.html | Program linking should succeed. 13:50:43 INFO - beginTest@dom/canvas/test/webgl-mochitest/test_capture.html:174:5 13:50:43 INFO - @dom/canvas/test/webgl-mochitest/test_capture.html:217:1 :milan, can you help prioritize this bug as you see fit?
Flags: needinfo?(milan)
Whiteboard: [gfx-noted] → [gfx-noted][stockwell needswork]
See Also: → 1402553, 1404541, 1395805
With retries, the earliest failure I could find is https://treeherder.mozilla.org/#/jobs?repo=autoland&revision=203c1f909ae096450cc1b1d1f4d5d72aefb9c9ab&filter-searchStr=windows+debug+webgl, or perhaps the previous revision (different failure for this test), neither of which appears to be a likely cause.
There is possibly related work happening in bug 1395805.
Yes, lets see what happens once we resolve bug 1395805
Flags: needinfo?(milan)
I cannot reproduce the crash in bug 1395805 anymore, but this fail still persist. The error message: error X8000: D3D11 Internal Compiler Error: Invalid Bytecode: Failed to parse shader using reference shader parser: 0x8007000e 0x8007000e means OOM in Windows https://msdn.microsoft.com/zh-tw/library/windows/desktop/aa378137(v=vs.85).aspx So it seems that D3D11 internal compiler cannot reside in swap memory so enabling pagefile in windows 7 doesn't fix this issue.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.