Closed Bug 1314505 Opened 8 years ago Closed 8 years ago

signal 11 was received by running dom/canvas/test/webgl-conf/checkout/deqp/functional/gles3/indexedstatequery.html

Categories

(Core :: Graphics: CanvasWebGL, defect)

ARM
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla52
Tracking Status
firefox51 + fixed
firefox52 --- fixed

People

(Reporter: vliu, Assigned: vliu)

References

Details

Attachments

(2 files, 1 obsolete file)

Assignee: nobody → vliu
Attached file stack-dump.log
Stack dump was attached.
Hi Morris, The crash happens because linkInfo became dangling but still operating its member functions. Could you please have a review? Thanks.
Attachment #8806618 - Flags: review?(mtseng)
Comment on attachment 8806618 [details] [diff] [review] Add raw pointer check to avoid operating with nullptr. Review of attachment 8806618 [details] [diff] [review]: ----------------------------------------------------------------- You should check IsLinked() and return invalid operation like http://searchfox.org/mozilla-central/source/dom/canvas/WebGLProgram.cpp#863-866
Attachment #8806618 - Flags: review?(mtseng) → review-
Thanks the comments for the patch. Could you please also have a review?
Attachment #8806646 - Flags: review?(mtseng)
Attachment #8806618 - Attachment is obsolete: true
Attachment #8806646 - Flags: review?(mtseng) → review+
Pushed by vliu@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/4b1de4471e4b Execute ErrorInvalidOperation if IsLinked() returns false. r=mtseng
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla52
[Tracking Requested - why for this release]:This bug is for fixing webgl2 conformance test crashed. We need this fix uplift to FF-51.
Track 51+ as this is Web GL 2 conformance test. Hi :vliu, Do you think this is worth uplifting to 51 aurora?
Flags: needinfo?(vliu)
Comment on attachment 8806646 [details] [diff] [review] Execute ErrorInvalidOperation if IsLinked() returns false. Approval Request Comment [Feature/regressing bug #]: webgl2 [User impact if declined]: [Describe test coverage new/current, TreeHerder]: [Risks and why]: [String/UUID change made/needed]:
Flags: needinfo?(vliu)
Attachment #8806646 - Flags: approval-mozilla-aurora?
Comment on attachment 8806646 [details] [diff] [review] Execute ErrorInvalidOperation if IsLinked() returns false. Crash fix for WebGL2, let's uplift to aurora.
Attachment #8806646 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Blocks: webgl2
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: