Closed Bug 1409789 Opened 7 years ago Closed 6 years ago

OffscreenCanvas crash on macOS in mozilla::layers::ImageBridgeChild::Connect

Categories

(Core :: Graphics: CanvasWebGL, defect, P3)

58 Branch
x86_64
macOS
defect

Tracking

()

RESOLVED DUPLICATE of bug 1443671
Tracking Status
firefox58 --- affected

People

(Reporter: jujjyl, Unassigned)

References

Details

(Whiteboard: [gfx-noted])

Attachments

(1 file)

STR:

1. Enable pref gfx.offscreencanvas.enabled;true
2. Visit http://clbri.com/OffscreenCanvas/async_clear_loop_crash/async_clear_loop_crash.html

Observed: The content process crashes, https://crash-stats.mozilla.com/report/index/13b191d3-7509-400a-93ad-c3ea10171018
Attached file console-output.log
The attached file was the console output when I tried to reproduce this issue. From the message, I saw WebGL creation failed to create canvas. [1] was the place for failed return.

"Could not create canvas: WebGL creation failed:"

[1]: http://searchfox.org/mozilla-central/rev/8a6a6bef7c54425970aa4fb039cc6463a19c0b7f/dom/canvas/WebGLContext.cpp#668
Has STR: --- → yes
Looked into more, I found it got failed return on [2]


[2]: http://searchfox.org/mozilla-central/rev/8a6a6bef7c54425970aa4fb039cc6463a19c0b7f/dom/canvas/WebGLContextValidate.cpp#646

:cfu, since [2] was the recent changes you have done on Bug 1217290, could you please have a look to see if this issue is relatives? Thanks.
Flags: needinfo?(cfu)
According to our discussion, it seems that fingerprinting resistance is not the cause of this crash because we encounter the same crash with "privacy.resistFingerprinting" disabled.

Besides, the message "Exhausted GL driver options..." found in console-output.log only appears here
http://searchfox.org/mozilla-central/rev/8a6a6bef7c54425970aa4fb039cc6463a19c0b7f/dom/canvas/WebGLContext.cpp#776
but the function is somehow never referenced
http://searchfox.org/mozilla-central/search?q=symbol:_ZN7mozilla12WebGLContext15CreateAndInitGLEbPSt6vectorINS0_13FailureReasonESaIS2_EE&redirect=false

I think we need someone who is familiar with offscreen canvas help us clarify this problem.
Flags: needinfo?(cfu)
Whiteboard: [gfx-noted]
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: