WebGL Crash with Mesa EGL desktop X86

RESOLVED INCOMPLETE

Status

()

defect
--
critical
RESOLVED INCOMPLETE
6 years ago
3 years ago

People

(Reporter: romaxa, Unassigned)

Tracking

(Blocks 1 bug, {crash})

Firefox Tracking Flags

(Not tracked)

Details

()

Attachments

(1 attachment)

[gl:0x7f3688532940] > void mozilla::gl::GLContext::fBindTexture(GLenum, GLuint)
[gl:0x7f3688532940] < void mozilla::gl::GLContext::fBindTexture(GLenum, GLuint) [0x0000]
[egl] > void* mozilla::gl::GLLibraryEGL::fGetCurrentContext()
[egl] < void* mozilla::gl::GLLibraryEGL::fGetCurrentContext()
[gl:0x7f3688532940] > void mozilla::gl::GLContext::raw_fDrawElements(GLenum, GLsizei, GLenum, const GLvoid*)
Segmentation fault (core dumped)

#0  0x00007f36a161fefb in raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:42
#1  0x00007f36906f954c in nsProfileLock::FatalSignalHandler (signo=11, info=0x7fff858d1f30, context=0x7fff858d1e00)
    at /home/romaxa/build/xulrunner-package/objdir-desktop/toolkit/profile/nsProfileLock.cpp:180
#2  <signal handler called>
#3  0x00007f3695f11d77 in nv50_screen_fence_update (pscreen=0x1d66290) at nv50_screen.c:321
#4  0x00007f3695fa8cb5 in nouveau_fence_update (screen=screen@entry=0x1d66290, flushed=flushed@entry=1 '\001') at nouveau_fence.c:141
#5  0x00007f3695f1842f in nv50_default_kick_notify (push=<optimized out>) at nv50_context.c:64
#6  0x00007f3699f0f09c in pushbuf_submit (push=push@entry=0x1d666c0, chan=<error reading variable: Unhandled dwarf expression opcode 0xfa>, 
    chan=<error reading variable: Unhandled dwarf expression opcode 0xfa>) at ../../nouveau/pushbuf.c:325
#7  0x00007f3699f0f30e in pushbuf_flush (push=push@entry=0x1d666c0) at ../../nouveau/pushbuf.c:400
#8  0x00007f3699f0fe20 in nouveau_pushbuf_kick (push=0x1d666c0, chan=<optimized out>) at ../../nouveau/pushbuf.c:771
#9  0x00007f3695fa8e11 in nouveau_fence_wait (fence=0x3625d20) at nouveau_fence.c:199
#10 0x00007f369605964c in st_finish (st=st@entry=0x1d37b10) at ../../../../src/mesa/state_tracker/st_cb_flush.c:100
#11 0x00007f3696059680 in st_glFinish (ctx=<optimized out>) at ../../../../src/mesa/state_tracker/st_cb_flush.c:135
#12 0x00007f369106cf22 in mozilla::gl::GLContext::AfterGLCall (this=0x3317e60, glFunction=
    0x7f3693a65060 "void mozilla::gl::GLContext::raw_fTexImage2D(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid*)")
    at ../../../dist/include/GLContext.h:1456
#13 0x00007f369107b207 in mozilla::gl::GLContext::raw_fTexImage2D (this=0x3317e60, target=3553, level=0, internalformat=6408, width=256, height=256, 
    border=0, format=6408, type=5121, pixels=0x7f36887259a0) at ../../../dist/include/GLContext.h:2181
#14 0x00007f369107b299 in mozilla::gl::GLContext::fTexImage2D (this=0x3317e60, target=3553, level=0, internalformat=6408, width=256, height=256, border=
    0, format=6408, type=5121, pixels=0x7f36887259a0) at ../../../dist/include/GLContext.h:2194
#15 0x00007f36925efc87 in mozilla::layers::TiledTextureHostOGL::Update (this=0x3626c20, aReusableSurface=0x7f368869e830, aFlags=16, aSize=...)
    at /gfx/layers/opengl/TextureHostOGL.cpp:557
#16 0x00007f36925f51d3 in mozilla::layers::TiledTexture::Validate (this=0x7fff858d2840, aReusableSurface=0x7f36886
it works on lesson 1,2 and start crashing on lesson 3
[gl:0x2b18770] > void mozilla::gl::GLContext::raw_fDrawArrays(GLenum, GLint, GLsizei)
[gl:0x2b18770] < void mozilla::gl::GLContext::raw_fDrawArrays(GLenum, GLint, GLsizei) [0x0000]
[egl] > void* mozilla::gl::GLLibraryEGL::fGetCurrentContext()
[egl] < void* mozilla::gl::GLLibraryEGL::fGetCurrentContext()
[gl:0x2b18770] > void mozilla::gl::GLContext::fDisableVertexAttribArray(GLuint)
This looks like a driver bug and should probably be reported to upstream mesa.
Severity: normal → critical
Keywords: crash
so is it a driver bug then? i do know that this url worked for me. http://learningwebgl.com/lessons/lesson05/index.html
eh. i realized i should have mentioned a bit more info: I'm using fedora 21 beta with intel drivers.
so has this bug been reported to mesa?
(In reply to Oleg Romashin (:romaxa) from comment #0)
romaxa, is this bug still reproducible?
Flags: needinfo?(romaxa)
I haven't tried to reproduce it on recent mozilla upstream, also don't have egl mesa drivers installed (only nvidia binary).
Status: NEW → RESOLVED
Closed: 3 years ago
Flags: needinfo?(romaxa)
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.