about:support is blank, error getting a GL context

RESOLVED FIXED in Firefox 51

Status

()

defect
RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: benjamin, Assigned: dvander)

Tracking

unspecified
mozilla51
Points:
---

Firefox Tracking Flags

(firefox51 fixed)

Details

(Whiteboard: [gfx-noted])

Attachments

(1 attachment)

Reporter

Description

3 years ago
STR:
open about:support on my Firefox

Actual:
No data shows up in about:support

Diagnostics in browser console:
Error: WebGL: Failed to create WebGL context: WebGL creation failed: 
* Error during native OpenGL init.
* Error during native OpenGL init.
* Error during native OpenGL init.
* Error during native OpenGL init.
* Error during native OpenGL init.
* Exhausted GL driver options.
Troubleshoot.jsm:449:18

Which points at http://searchfox.org/mozilla-central/rev/d83f1528dbcb1e837d99cf5b6c36a90b03bf0e77/toolkit/modules/Troubleshoot.jsm#449

I don't know whether canvas.getContext throwing an error is "normal", but we should probably protect against it in any case.
Component: General → Graphics
Product: Toolkit → Core
I suppose you can't send us the content of your about:support, but what kind of hardware are you on, and is this failing in all trains, or just some of them?
Flags: needinfo?(benjamin)
Assignee: nobody → dvander
Flags: needinfo?(dvander)
Whiteboard: [gfx-noted]
If its just the rendering that's broken then select all (CMD+A) and copy should let you grab the data easily.
Reporter

Comment 3

3 years ago
This bug is about the JS exception, which causes about:support to be unfilled, which we should presumably fix with a try/catch block. It's not a rendering error.

If you want, I can file a separate bug about the underlying GFX error.
Component: Graphics → General
Flags: needinfo?(benjamin)
Product: Core → Toolkit
(In reply to Benjamin Smedberg [:bsmedberg] from comment #3)
> This bug is about the JS exception, which causes about:support to be
> unfilled, which we should presumably fix with a try/catch block. It's not a
> rendering error.
> 
> If you want, I can file a separate bug about the underlying GFX error.

Right - that's bug 1296345, and I wanted to see what kind of hardware you have, so we can continue conversation there.
Flags: needinfo?(dvander)

Comment 6

3 years ago
mozreview-review
Comment on attachment 8782579 [details]
Bug 1294529 - Wrap .getContext in a try/catch block so that if it throws it doesn't break the rest of about:support,

https://reviewboard.mozilla.org/r/72682/#review71206
Attachment #8782579 - Flags: review?(jmuizelaar) → review+

Comment 7

3 years ago
Pushed by bsmedberg@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/262a474652ff
Wrap .getContext in a try/catch block so that if it throws it doesn't break the rest of about:support, r=jrmuizel

Comment 8

3 years ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/262a474652ff
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla51
You need to log in before you can comment on or make changes to this bug.