Closed Bug 601086 Opened 14 years ago Closed 14 years ago

WebGL shader crash due to endless loop [@TOutputGLSL::visitLoop]

Categories

(Core :: Graphics: CanvasWebGL, defect)

x86_64
macOS
defect
Not set
critical

Tracking

()

RESOLVED FIXED
Tracking Status
blocking2.0 --- final+

People

(Reporter: posidron, Assigned: bjacob)

References

Details

Attachments

(2 files)

Attached file testcase
      No description provided.
Attached file callstack
Wait... this isn't a valid GLSL ES shader: indeed I don't think that the GLSL ES language allows infinite loop. So your shader should be rejected by the ANGLE shader validator. Since you say you're on Mac it should be enabled by default. Can you go to about:config and check the value of webgl.shader_validator ?
Oh! i see! your stack trace points to ANGLE. Well congrats, you've found a nice ANGLE bug! Will reproduce later today on Windows and forward your bug to the ANGLE project; but do feel free to do that yourself, it will save me time!

http://code.google.com/p/angleproject/issues
blocking2.0: --- → ?
blocking2.0: ? → final+
Assignee: nobody → bjacob
Reported upstream:
http://code.google.com/p/angleproject/issues/detail?id=50
Status: NEW → ASSIGNED
(and confirmed here)
This is fixed upstream in ANGLE, and since we recently synced our ANGLE copy, should be fixed for us too.

Please reopen if you can still reproduce this crash.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: