Closed Bug 1294529 Opened 8 years ago Closed 8 years ago

about:support is blank, error getting a GL context

Categories

(Toolkit :: General, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla51
Tracking Status
firefox51 --- fixed

People

(Reporter: benjamin, Assigned: dvander)

Details

(Whiteboard: [gfx-noted])

Attachments

(1 file)

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.
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 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+
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
https://hg.mozilla.org/mozilla-central/rev/262a474652ff
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla51
You need to log in before you can comment on or make changes to this bug.