You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Program received signal SIGSEGV, Segmentation fault.
[Switching to LWP 1261]
0x76d82ce4 in strlen () from /lib/libc.so.6
(gdb) where
#0 0x76d82ce4 in strlen () from /lib/libc.so.6
#1 0x61e0ca44 in __glim_GetShaderiv (shader=1, pname=35716, params=0x6a252ce8) at gc_gl_shader.c:1143
#2 0x00005be2 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
commit 26da701251567547191ca66a29424bac4054f97b
Author: Takuro Ashie <ashie@homa.ne.jp>
Date: Fri May 13 18:12:03 2016 +0900
Avoid crash which occurs when GLX is enabled on vivante GPU
diff --git a/gfx/layers/opengl/OGLShaderProgram.cpp b/gfx/layers/opengl/OGLShaderProgram.cpp
index a9f79e2..5c474ff 100644
--- a/gfx/layers/opengl/OGLShaderProgram.cpp+++ b/gfx/layers/opengl/OGLShaderProgram.cpp@@ -570,17 +570,13 @@ ShaderProgramOGL::CreateShader(GLenum aShaderType, const char *aShaderSource)
mGL->fShaderSource(sh, 1, (const GLchar**)&aShaderSource, nullptr);
mGL->fCompileShader(sh);
mGL->fGetShaderiv(sh, LOCAL_GL_COMPILE_STATUS, &success);
- mGL->fGetShaderiv(sh, LOCAL_GL_INFO_LOG_LENGTH, (GLint*) &len);
/* Even if compiling is successful, there may still be warnings. Print them
* in a debug build. The > 10 is to catch silly compilers that might put
* some whitespace in the log but otherwise leave it empty.
*/
- if (!success-#ifdef DEBUG- || (len > 10 && gfxEnv::DebugShaders())-#endif- )+ if (!success)
{
+ mGL->fGetShaderiv(sh, LOCAL_GL_INFO_LOG_LENGTH, (GLint*) &len);
nsAutoCString log;
log.SetCapacity(len);
mGL->fGetShaderInfoLog(sh, len, (GLint*) &len, (char*) log.BeginWriting());
i.MX6ではEGLを使ってCompositorOGLを使うことができているが、GLXも有効化できるようにしたい。
現状では、GLXを有効化するとクラッシュする。
落ちている箇所は以下
ドライバの問題と思われる。
上記を回避するようにすると起動することはできるが、表示が大きく乱れる。
The text was updated successfully, but these errors were encountered: