Status: New
Owner: ----
Priority: Medium
Type: Defect
New issue 5701 by akihi...@
gmail.com: A shader which takes too long crashes on M1 Mac
https://bugs.chromium.org/p/angleproject/issues/detail?id=5701What steps will reproduce the problem?
1. Visit
https://www.shadertoy.com/view/WlKBzK on Google Chrome on M1 Mac. It has the following shader:
void mainImage( out vec4 fragColor, in vec2 fragCoord )
{
float f = 0.0;
for (int i = 0; i < 9999999; i++) {
f++;
}
fragColor = vec4(f, 1.0, 1.0, 1.0);
}
What is the expected output? What do you see instead?
The browser tab doesn't crash. It crashes with stderr instead:
2021-03-02 22:07:53.314 Google Chrome Helper (GPU)[5345:340598] GLDRendererMetal command buffer completion error: Error Domain=MTLCommandBufferErrorDomain Code=2 "Caused GPU Hang Error (IOAF code 3)" UserInfo={NSLocalizedDescription=Caused GPU Hang Error (IOAF code 3)}
2021-03-02 22:07:53.571 Google Chrome Helper (GPU)[5345:340601] GLDRendererMetal command buffer completion error: Error Domain=MTLCommandBufferErrorDomain Code=2 "Caused GPU Hang Error (IOAF code 3)" UserInfo={NSLocalizedDescription=Caused GPU Hang Error (IOAF code 3)}
2021-03-02 22:07:53.598 Google Chrome Helper (GPU)[5345:340598] GLDRendererMetal command buffer completion error: Error Domain=MTLCommandBufferErrorDomain Code=4 "Ignored (for causing prior/excessive GPU errors) (IOAF code 4)" UserInfo={NSLocalizedDescription=Ignored (for causing prior/excessive GPU errors) (IOAF code 4)}
[0302/220753.604993:WARNING:process_memory_mac.cc(93)] mach_vm_read(0x16afdc000, 0x8000): (os/kern) protection failure (2)
What version of the product are you using? On what operating system?
Google Chrome 88.0.4324.192 on macOS
--
You received this message because:
1. The project was configured to send all issue notifications to this address
You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings