Closed Bug 1320620 Opened 8 years ago Closed 7 years ago

Crash in deqp/functional/gles3/shadertexturefunction/texturesize.html

Categories

(Core :: Graphics: CanvasWebGL, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: vliu, Assigned: vliu)

References

Details

Attachments

(1 file, 1 obsolete file)

The crash happens when I run test on Khronos 2.0.1 webgl conformance test.
Assignee: nobody → vliu
Attached file crash-stack.log
The crash-stack was attached.
More analysis from GDB, I found the textarget passed into fFramebufferTexture2D was illegal. When crash happens, textarget was 35866 (LOCAL_GL_TEXTURE_2D_ARRAY). The legal value was defined on page 205 in ES spec 3.0.3

1, height=2) + 612 at WebGLContext.cpp:2262, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
    frame #0: 0x000000010534cb54 XUL`mozilla::ZeroTexImageWithClear(webgl=0x000000012af86800, gl=0x000000012a8db000, target=(mValue = 35866), tex=2, level=0, usage=0x000000012a7bc768, width=1, height=2) + 612 at WebGLContext.cpp:2262
   2259	        gl->fFramebufferTexture2D(LOCAL_GL_FRAMEBUFFER, attachPoint, target.get(), tex,
   2260	                                  level);
   2261	        if (errorScope.GetError()) {
-> 2262	            MOZ_ASSERT(false);
   2263	            return false;
   2264	        }
   2265	    }
(lldb) bt
* thread #1: tid = 0x178e3, 0x000000010534cb54 XUL`mozilla::ZeroTexImageWithClear(webgl=0x000000012af86800, gl=0x000000012a8db000, target=(mValue = 35866), tex=2, level=0, usage=0x000000012a7bc768, width=1, height=2) + 61
This looks like it's solved by the changes in bug 1305832.
Depends on: 1305832
Please retest against Nightly.
Flags: needinfo?(vliu)
Please re-open if top-of-tree Nightly still has this crash.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Attachment #8817746 - Flags: review?(jgilbert)
Attachment #8817746 - Attachment is obsolete: true
Flags: needinfo?(vliu)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: