New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 647089 link

Starred by 3 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug

Blocked on:
issue 483282
issue 645671
issue 647061



Sign in to add a comment

WebglConformance_deqp_functional_gles3_shaderloop_do_while seems to be crashing WindowServer on Macs with Intel GPUs

Project Member Reported by kbr@chromium.org, Sep 15 2016

Issue description

The WebGL 2.0 conformance test deqp/functional/gles3/shaderloop_do_while.html seems to be crashing the WindowServer on Macs with Intel GPUs. There are ~100 Mac Minis in the Swarming pool running macOS 10.10, and they are somewhat frequently going offline after running this test. It looks like the GPU process crashes while running this test, and the browser fails to establish a connection to the WindowServer afterward. Here are a few example failing Swarming jobs:

https://chromium-swarm.appspot.com/user/task/3125494ab1cade11
https://chromium-swarm.appspot.com/user/task/312565134b7a3211
https://chromium-swarm.appspot.com/user/task/3125c057364d3511

The log from the last one is attached. See the excerpt below.

The Swarming service should be made more robust to handle this situation, but we should consider skipping this test on this configuration to avoid the problem. Ideally the root cause would be found and fixed, however. It's not clear that upgrading these machines to 10.11 would be a good idea, since it was recently found in Issue 645671 (sorry, not publicly visible) that upgrading the AMD Retina MacBook Pros to this OS release destabilized them.

-----

(WARNING) 2016-09-08 20:15:34,197 gpu_integration_test._RestartBrowser:55  Restarting browser due to expected test failure
[7755:1299:0908/201534:WARNING:url_request_context_getter.cc(43)] URLRequestContextGetter leaking due to no owning thread.
(WARNING) 2016-09-08 20:15:34,320 gpu_integration_test.StartBrowser:38  Starting browser, attempt 1 of 3
(INFO) 2016-09-08 20:15:34,320 desktop_browser_backend.GetBrowserStartupArgs:250  Requested remote debugging port: 0
(INFO) 2016-09-08 20:15:34,320 desktop_browser_backend.Start:285  Starting Chrome ['/b/s/w/ir4YzCYn/out/Release/Chromium.app/Contents/MacOS/Chromium', '--enable-unsafe-es3-apis', '--test-type=gpu', '--disable-domain-blocking-for-3d-apis', '--disable-gesture-requirement-for-media-playback', '--disable-gpu-process-crash-limit', '--disable-accelerated-video-decode', '--enable-experimental-canvas-features', '--js-flags=--expose-gc', '--enable-logging=stderr', '--enable-net-benchmarking', '--metrics-recording-only', '--no-default-browser-check', '--no-first-run', '--enable-gpu-benchmarking', '--disable-background-networking', '--disable-component-extensions-with-background-pages', '--disable-default-apps', '--remote-debugging-port=0', '--enable-crash-reporter-for-testing', '--window-size=1280,1024', '--user-data-dir=/b/s/w/itpWuGqU/tmpX529Aq', 'about:blank']
_RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL.
[7803:28675:0908/201542:ERROR:mach_port_broker.mm(100)] bootstrap_check_in: unknown error code (124)
[7803:28675:0908/201542:ERROR:mach_broker_mac.mm(52)] Failed to initialize the MachListenerThreadDelegate
2016-09-08 20:15:42.648 Chromium[7803:60257] Could not rendezvous with font server (error 268435459)
2016-09-08 20:15:42.648 Chromium[7803:60257] XType: unable to make a connection to the font daemon!
2016-09-08 20:15:42.648 Chromium[7803:60257] registering /System/Library/Fonts/*, /System/Library/Fonts/Base/*, and /Library/Fonts/* locally
(INFO) 2016-09-08 20:15:42,731 desktop_browser_backend.HasBrowserFinishedLaunching:237  Discovered ephemeral port 51897
[0908/201542:ERROR:mach_port_broker.mm(43)] bootstrap_look_up: unknown error code (124)
[7830:1299:0908/201542:ERROR:gl_initializer_mac.cc(58)] Error choosing pixel format.
[7830:1299:0908/201542:ERROR:gl_initializer_mac.cc(137)] GLSurfaceCGL::InitializeOneOff failed.
[20:15:42.778] vtDecompressionDuctCreate signalled err=-8973 (err) (Could not select and open decoder instance) at /SourceCache/CoreMedia_frameworks/CoreMedia-1562.240/Sources/VideoToolbox/VTDecompressionSession.c line 1181
[7830:1299:0908/201542:WARNING:vt_video_decode_accelerator_mac.cc(164)] Failed to create VTDecompressionSession: Error Domain=NSOSStatusErrorDomain Code=-8973 "The operation couldn’t be completed. (OSStatus error -8973.)" (codecOpenErr) (-8973)
[7830:1299:0908/201542:WARNING:vt_video_decode_accelerator_mac.cc(199)] Failed to create hardware VideoToolbox session
[20:15:42.829] VTCompressionSessionCreate signalled err=-8973 (err) (VTVideoEncoderStartSession failed) at /SourceCache/CoreMedia_frameworks/CoreMedia-1562.240/Sources/VideoToolbox/VTCompressionSession.c line 967
<<<< VTVideoEncoderSelection >>>> VTSelectAndCreateVideoEncoderInstanceInternal: no video encoder accepted for 'avc1'

[20:15:42.829] VTSelectAndCreateVideoEncoderInstanceInternal signalled err=-12908 (err) (Video encoder not accepted) at /SourceCache/CoreMedia_frameworks/CoreMedia-1562.240/Sources/VideoToolbox/VTVideoEncoderSelection.c line 1241
[20:15:42.829] VTCompressionSessionCreate signalled err=-8973 (err) (Could not select and open encoder instance) at /SourceCache/CoreMedia_frameworks/CoreMedia-1562.240/Sources/VideoToolbox/VTCompressionSession.c line 946
[7830:1299:0909/031542:ERROR:vt_video_encode_accelerator_mac.cc(540)]  VTCompressionSessionCreate failed: -8973
[7830:1299:0909/031542:ERROR:gpu_child_thread.cc(331)] Exiting GPU process due to errors during initialization
2016-09-08 20:15:43.143 Chromium[7803:60257] NSWindow warning: adding an unknown subview: <FullSizeContentView: 0x7fc3a290b8e0>
2016-09-08 20:15:43.144 Chromium[7803:60257] Call stack:
(
    "+callStackSymbols disabled for performance reasons"
)
2016-09-08 20:15:43.288 Chromium[7803:60257] An uncaught exception was raised
2016-09-08 20:15:43.288 Chromium[7803:60257] Error (1000) creating CGSWindow
2016-09-08 20:15:43.289 Chromium[7803:60257] (
	0   CoreFoundation                      0x00007fff9371603c __exceptionPreprocess + 172
	1   Chromium Framework                  0x0000000105bf12f4 _ZN30chrome_browser_application_mac12_GLOBAL__N_121ExceptionPreprocessorEP11objc_object + 308
	2   libobjc.A.dylib                     0x00007fff8def376e objc_exception_throw + 43
	3   CoreFoundation                      0x00007fff93715eed +[NSException raise:format:] + 205
	4   AppKit                              0x00007fff921b9206 _NXCreateWindowWithStyleMask + 457
	5   AppKit                              0x00007fff921b8fa2 _NSCreateWindow + 187
	6   AppKit                              0x00007fff92016d8d -[NSWindow _commonAwake] + 1434
	7   AppKit                              0x00007fff91fa370a -[NSWindow _commonInitFrame:styleMask:backing:defer:] + 864
	8   AppKit                              0x00007fff91fa2ca0 -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 1487
	9   AppKit                              0x00007fff91fa26cb -[NSWindow initWithContentRect:styleMask:backing:defer:] + 45
	10  Chromium Framework                  0x0000000108dfb2a8 _ZN15StatusBubbleMac6CreateEv + 184
	11  Chromium Framework                  0x0000000108dfb169 _ZN15StatusBubbleMacC2EP8NSWindowP11objc_object + 153
	12  Chromium Framework                  0x0000000108d50f3f -[BrowserWindowController initWithBrowser:takeOwnership:] + 2367
	13  Chromium Framework                  0x0000000108d5b602 _ZN13BrowserWindow19CreateBrowserWindowEP7Browser + 50
	14  Chromium Framework                  0x0000000108b8a58d _ZN7BrowserC2ERKNS_12CreateParamsE + 2557
	15  Chromium Framework                  0x0000000108bc6d65 _ZN25StartupBrowserCreatorImpl17OpenTabsInBrowserEP7BrowserbRKNSt3__16vectorI10StartupTabNS2_9allocatorIS4_EEEE + 197
	16  Chromium Framework                  0x0000000108bc6113 _ZN25StartupBrowserCreatorImpl20ProcessSpecifiedURLsERKNSt3__16vectorI4GURLNS0_9allocatorIS2_EEEE + 515
	17  Chromium Framework                  0x0000000108bc5c3d _ZN25StartupBrowserCreatorImpl18ProcessStartupURLsERKNSt3__16vectorI4GURLNS0_9allocatorIS2_EEEE + 461
	18  Chromium Framework                  0x0000000108bc52f0 _ZN25StartupBrowserCreatorImpl17ProcessLaunchURLsEbRKNSt3__16vectorI4GURLNS0_9allocatorIS2_EEEE + 192
	19  Chromium Framework                  0x0000000108bc4e02 _ZN25StartupBrowserCreatorImpl6LaunchEP7ProfileRKNSt3__16vectorI4GURLNS2_9allocatorIS4_EEEEb + 946
	20  Chromium Framework                  0x0000000108bc24ba _ZN21StartupBrowserCreator13LaunchBrowserERKN4base11CommandLineEP7ProfileRKNS0_8FilePathEN6chrome7startup16IsProcessStartupENSA_10IsFirstRunE + 410
	21  Chromium Framework                  0x0000000108bc2132 _ZN21StartupBrowserCreator18ProcessCmdLineImplERKN4base11CommandLineERKNS0_8FilePathEbP7ProfileRKNSt3__16vectorIS8_NS9_9allocatorIS8_EEEE + 2722
	22  Chromium Framework                  0x0000000108bc1525 _ZN21StartupBrowserCreator5StartERKN4base11CommandLineERKNS0_8FilePathEP7ProfileRKNSt3__16vectorIS8_NS9_9allocatorIS8_EEEE + 101
	23  Chromium Framework                  0x0000000105bf7151 _ZN22ChromeBrowserMainParts25PreMainMessageLoopRunImplEv + 4177
	24  Chromium Framework                  0x0000000105bf5fce _ZN22ChromeBrowserMainParts21PreMainMessageLoopRunEv + 62
	25  Chromium Framework                  0x0000000104e98703 _ZN7content15BrowserMainLoop21PreMainMessageLoopRunEv + 67
	26  Chromium Framework                  0x000000010528927f _ZN7content17StartupTaskRunner14RunAllTasksNowEv + 47
	27  Chromium Framework                  0x0000000104e96d67 _ZN7content15BrowserMainLoop18CreateStartupTasksEv + 647
	28  Chromium Framework                  0x0000000104e9b6ee _ZN7content21BrowserMainRunnerImpl10InitializeERKNS_18MainFunctionParamsE + 590
	29  Chromium Framework                  0x0000000104e94344 _ZN7content11BrowserMainERKNS_18MainFunctionParamsE + 100
	30  Chromium Framework                  0x0000000105b9d73e _ZN7content21ContentMainRunnerImpl3RunEv + 798
	31  Chromium Framework                  0x0000000105b9c6e6 _ZN7content11ContentMainERKNS_17ContentMainParamsE + 54
	32  Chromium Framework                  0x0000000103d8c4ba ChromeMain + 58
	33  Chromium                            0x0000000103d24d5a main + 522
	34  Chromium                            0x0000000103d24b44 start + 52
	35  ???                                 0x0000000000000017 0x0 + 23
)

 
stdout.txt
101 KB View Download

Comment 1 by kbr@chromium.org, Sep 15 2016

Blocking: 483282

Comment 2 by kbr@chromium.org, Sep 15 2016

See also Issue 644669, where failures in deqp/functional/gles3/shaderloop_for.html and deqp/functional/gles3/shaderloop_while.html are being worked around for Intel GPUs on macOS.

Comment 3 by yang...@intel.com, Sep 15 2016

This case can pass on Mac 10.11, while Issue 644669 not. 

Comment 4 by kbr@chromium.org, Oct 4 2016

Blocking: -483282

Comment 5 by kbr@chromium.org, Oct 4 2016

Blockedon: 483282
Status: Available (was: Untriaged)
Project Member

Comment 7 by sheriffbot@chromium.org, Feb 21 2018

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 8 by kbr@chromium.org, Feb 21 2018

Labels: -Hotlist-Recharge-Cold
Status: Available (was: Untriaged)

Sign in to add a comment