Closed Bug 620222 Opened 14 years ago Closed 11 years ago

[ANGLE] crash in ConstantUnion::getBConst with this=null, called from TIntermediate::addSelection, from yyparse

Categories

(Core :: Graphics: CanvasWebGL, defect)

x86_64
macOS
defect
Not set
critical

Tracking

()

RESOLVED FIXED
mozilla24
Tracking Status
status1.9.2 --- unaffected
status1.9.1 --- unaffected

People

(Reporter: posidron, Assigned: jgilbert)

References

Details

(Keywords: crash, testcase)

Crash Data

Attachments

(2 files)

// Shader Type: 35632
const highp bvec2 cac;
void main() { if((cac = 4294967295))for(; ; ){} }
Attached file callstack
Please make a directly usable test-case.

This is clearly a ANGLE bug, feel free to report directly to ANGLE, but I'm happy too to do it.
Attached file testcase
Keywords: crash, testcase
Summary: WebGL shader crash during compilation [@ConstantUnion::getBConst] → [ANGLE] WebGL shader crash during compilation [@ConstantUnion::getBConst]
Crash Signature: [@ConstantUnion::getBConst]
Summary: [ANGLE] WebGL shader crash during compilation [@ConstantUnion::getBConst] → [ANGLE] crash in ConstantUnion::getBConst with this=null, called from TIntermediate::addSelection, from yyparse
This was allegedly fixed after r1998, and we're at r2042. Is this fixed?
Flags: needinfo?(cdiehl)
The crash is fixed and returns now:

ERROR: 0:1: 'cac' : variables with qualifier 'const' must be initialized
ERROR: 0:2: '4294967295' : integer overflow
ERROR: 0:2: 'assign' :  l-value required (can't modify a const)
ERROR: 0:2: 'assign' :  cannot convert from 'const mediump int' to 'const highp -component vector of bool'
ERROR: 0:2: '' : boolean expression expected
Flags: needinfo?(cdiehl)
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Assignee: nobody → jgilbert
Depends on: 861039
Target Milestone: --- → mozilla24
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: