Closed
Bug 1021367
Opened 10 years ago
Closed 10 years ago
Assertion failure in GetShaderConfigFor
Categories
(Core :: Graphics: Layers, defect)
Tracking
()
RESOLVED
FIXED
mozilla36
People
(Reporter: dougc, Assigned: dougc)
Details
Attachments
(2 files)
1.56 KB,
patch
|
nical
:
review+
|
Details | Diff | Splinter Review |
1.48 KB,
patch
|
gal
:
feedback+
|
Details | Diff | Splinter Review |
Running the BananaBench asm.js demo on a Nexus 7 (older model), Android 4.4, crashes on the following assertion: gfx/layers/opengl/CompositorOGL.cpp:907 907 MOZ_ASSERT_IF(source->GetTextureTarget() == LOCAL_GL_TEXTURE_EXTERNAL, 908 source->GetFormat() == gfx::SurfaceFormat::R8G8B8A8);
Assignee | ||
Comment 1•10 years ago
|
||
fwiw this assertion was added in Bug 926128.
Assignee | ||
Comment 2•10 years ago
|
||
I am having trouble reproducing this on the Nexus 7 using the current m-c, perhaps some other regression over the last week. The demo now just stops, like there is a deadlock in the graphics pipe, but other tabs can be opened. However I got a similar failure on a Nexus 4: Assertion failure: source->GetFormat() == gfx::SurfaceFormat::R8G8B8A8, at gfx/layers/opengl/CompositorOGL.cpp:926 The unexpected value of source->GetFormat() on the Nexus 4 is R8G8B8X8, and adding this at least allows the demo to proceed.
Assignee | ||
Comment 3•10 years ago
|
||
Got it running again on the Nexus 7. Upgraded to 4.4.3 and did a clean install of Firefox, and perhaps this helped. The demo causes exactly the same failure on the Nexus 7 as the Nexus 4, and the same patch gets it running.
Assignee | ||
Comment 4•10 years ago
|
||
This issue might also affect beta. Would anyone have time to look at this?
Attachment #8441098 -
Flags: feedback?(gal)
Updated•10 years ago
|
Attachment #8441098 -
Flags: feedback?(gal) → feedback+
Comment 5•10 years ago
|
||
Comment on attachment 8436844 [details] [diff] [review] hack patch for the Nexus 4 Review of attachment 8436844 [details] [diff] [review]: ----------------------------------------------------------------- Nical, is this fix correct? This crash is showing up on https://tbpl.mozilla.org/?tree=Try&rev=64cb0111f38c and if it's easy to fix we should do that.
Attachment #8436844 -
Flags: review?(nical.bugzilla)
Updated•10 years ago
|
Attachment #8436844 -
Flags: review?(nical.bugzilla) → review+
Updated•10 years ago
|
Assignee: nobody → dtc-moz
Comment 7•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/e394d04ba98a
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla36
You need to log in
before you can comment on or make changes to this bug.
Description
•