OS X Debug + abort on GL error = unreproducible startup crash

NEW
Unassigned

Status

()

3 years ago
3 years ago

People

(Reporter: milan, Unassigned)

Tracking

43 Branch
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [gfx-noted])

Not reproducible, but I got this once at start up on OS X (with the "abort on GL error" set) and may as well record it:

[987] WARNING: Framebuffer not complete -- CheckFramebufferStatus returned 0x8219, GLContext=12d54b000, IsOffscreen()=0, mFBO=0, aFBOTextureTarget=0x0, aRect.width=1806, aRect.height=1734: file /Users/msreckovic/Repos/mozilla-central/gfx/layers/opengl/CompositingRenderTargetOGL.cpp, line 64
[gl:0x12d54b000] void mozilla::gl::GLContext::raw_fClear(GLbitfield): Generated unexpected GL_INVALID_FRAMEBUFFER_OPERATION error. (0x0506)
Hit MOZ_CRASH(MOZ_GL_DEBUG_ABORT_ON_ERROR) at /Users/msreckovic/Repos/mozilla-central/gfx/gl/GLContext.h:750
#01: mozilla::gl::GLContext::AfterGLCall(char const*)[/Users/msreckovic/Repos/mozilla-central/obj-x86_64-apple-darwin15.0.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x17bdd5c]
#02: mozilla::gl::GLContext::raw_fClear(unsigned int)[/Users/msreckovic/Repos/mozilla-central/obj-x86_64-apple-darwin15.0.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x17fde67]
#03: mozilla::gl::GLContext::fClear(unsigned int)[/Users/msreckovic/Repos/mozilla-central/obj-x86_64-apple-darwin15.0.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x17ea788]
#04: mozilla::layers::CompositorOGL::BeginFrame(mozilla::gfx::IntRegionTyped<mozilla::gfx::UnknownUnits> const&, mozilla::gfx::RectTyped<mozilla::gfx::UnknownUnits, float> const*, mozilla::gfx::RectTyped<mozilla::gfx::UnknownUnits, float> const&, mozilla::gfx:[/Users/msreckovic/Repos/mozilla-central/obj-x86_64-apple-darwin15.0.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x19b5339]
#05: mozilla::layers::LayerManagerComposite::Render(mozilla::gfx::IntRegionTyped<mozilla::gfx::UnknownUnits> const&)[/Users/msreckovic/Repos/mozilla-central/obj-x86_64-apple-darwin15.0.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x1930642]
Whiteboard: [gfx-noted]
Comment from :jgilbert:
"0x8219 is GL_FRAMEBUFFER_UNDEFINED, which means (iirc) that we're asking about the default framebuffer (framebuffer 0, 'backbuffer'), but there's no default framebuffer attached. (The GL context is headless)

We either shouldn't count this as an error case if we're expecting it, or we're doing something wrong, and we really aren't expecting an incomplete framebuffer here.
You need to log in before you can comment on or make changes to this bug.