In bug 656215 we're fixing crashes by properly detecting when textures/renderbuffers that we try to create exceed the maximum supported size. However we still don't handle the case where despite having an allowed size, they can't be created because we're out of video memory. Whenever we create a texture or a renderbuffer, i.e. whenever we call glTexImage2D, glRenderbufferStorage and friends, we should check for GL errors, especially for GL_OUT_OF_MEMORY. Most importantly, in GLContext::ResizeOffscreenFBO().
You need to log in before you can comment on or make changes to this bug.