04-21 15:00:57.872: W/ResourceType(10824): Found multiple library tables, ignoring...
04-21 15:00:57.912: I/Adreno-EGL(10824): <qeglDrvAPI_eglInitialize:410>: EGL 1.4 QUALCOMM build: AU_LINUX_ANDROID_LA.BF.1.1.1_RB1.05.00.02.042.013_msm8974_LA.BF.1.1.1_RB1__release_AU ()
04-21 15:00:57.912: I/Adreno-EGL(10824): OpenGL ES Shader Compiler Version: E031.25.03.00
04-21 15:00:57.912: I/Adreno-EGL(10824): Build Date: 01/21/15 Wed
04-21 15:00:57.912: I/Adreno-EGL(10824): Local Branch: mybranch7061829
04-21 15:00:57.912: I/Adreno-EGL(10824): Remote Branch: quic/LA.BF.1.1.1_rb1.7
04-21 15:00:57.912: I/Adreno-EGL(10824): Local Patches: NONE
04-21 15:00:57.912: I/Adreno-EGL(10824): Reconstruct Branch: AU_LINUX_ANDROID_LA.BF.1.1.1_RB1.05.00.02.042.013 + NOTHING
04-21 15:00:57.954: I/AndroidInput(10824): sensor listener setup
04-21 15:00:57.970: D/OpenGLRenderer(10824): Render dirty regions requested: true
04-21 15:00:57.978: D/Atlas(10824): Validating map...
04-21 15:00:58.000: I/Adreno-EGL(10824): <qeglDrvAPI_eglInitialize:410>: EGL 1.4 QUALCOMM build: AU_LINUX_ANDROID_LA.BF.1.1.1_RB1.05.00.02.042.013_msm8974_LA.BF.1.1.1_RB1__release_AU ()
04-21 15:00:58.000: I/Adreno-EGL(10824): OpenGL ES Shader Compiler Version: E031.25.03.00
04-21 15:00:58.000: I/Adreno-EGL(10824): Build Date: 01/21/15 Wed
04-21 15:00:58.000: I/Adreno-EGL(10824): Local Branch: mybranch7061829
04-21 15:00:58.000: I/Adreno-EGL(10824): Remote Branch: quic/LA.BF.1.1.1_rb1.7
04-21 15:00:58.000: I/Adreno-EGL(10824): Local Patches: NONE
04-21 15:00:58.000: I/Adreno-EGL(10824): Reconstruct Branch: AU_LINUX_ANDROID_LA.BF.1.1.1_RB1.05.00.02.042.013 + NOTHING
04-21 15:00:58.000: I/OpenGLRenderer(10824): Initialized EGL, version 1.4
04-21 15:00:58.021: D/OpenGLRenderer(10824): Enabling debug mode 0
04-21 15:00:58.044: W/GL2JNIView(10824): creating OpenGL ES 2.0 context
04-21 15:00:58.058: I/GL2(10824): all initialized 2
04-21 15:00:58.059: I/AndroidGraphics(10824): OGL renderer: Adreno (TM) 330
04-21 15:00:58.059: I/AndroidGraphics(10824): OGL vendor: Qualcomm
04-21 15:00:58.059: I/AndroidGraphics(10824): OGL extensions: GL_AMD_compressed_ATC_texture GL_AMD_performance_monitor GL_AMD_program_binary_Z400 GL_EXT_debug_label GL_EXT_debug_marker GL_EXT_discard_framebuffer GL_EXT_robustness GL_EXT_texture_format_BGRA8888 GL_EXT_texture_type_2_10_10_10_REV GL_NV_fence GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth_texture GL_OES_depth24 GL_OES_EGL_image GL_OES_EGL_sync GL_OES_EGL_image_external GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_fragment_precision_high GL_OES_get_program_binary GL_OES_packed_depth_stencil GL_OES_depth_texture_cube_map GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_texture_3D GL_OES_texture_float GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_half_float GL_OES_vertex_type_10_10_10_2 GL_OES_vertex_array_object GL_QCOM_alpha_test GL_QCOM_binning_control GL_QCOM_driver_control GL_QCOM_perfmon_global_mode GL_QCOM_extended_get GL_QCOM_extended_get2 GL_QCOM_tiled_rendering GL_QCOM_writeonly_rendering GL_EXT_sRGB GL_EXT_sRGB_write_control GL_EXT_texture_sRGB_decode GL_EXT_texture_filter_anisotropic GL_EXT_multisampled_render_to_texture GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_EXT_disjoint_timer_query
04-21 15:00:58.059: W/Adreno-EGL(10824): <qeglDrvAPI_eglGetConfigAttrib:632>: EGL_BAD_ATTRIBUTE
04-21 15:00:58.059: W/Adreno-EGL(10824): <qeglDrvAPI_eglGetConfigAttrib:632>: EGL_BAD_ATTRIBUTE
04-21 15:00:58.059: I/AndroidGraphics(10824): framebuffer: (5, 6, 5, 0)
04-21 15:00:58.059: I/AndroidGraphics(10824): depthbuffer: (16)
04-21 15:00:58.060: I/AndroidGraphics(10824): stencilbuffer: (0)
04-21 15:00:58.060: I/AndroidGraphics(10824): samples: (0)
04-21 15:00:58.060: I/AndroidGraphics(10824): coverage sampling: (false)
04-21 15:00:58.064: I/AndroidGraphics(10824): Managed meshes/app: { }
04-21 15:00:58.065: I/AndroidGraphics(10824): Managed textures/app: { }
04-21 15:00:58.065: I/AndroidGraphics(10824): Managed cubemap/app: { }
04-21 15:00:58.068: I/AndroidGraphics(10824): Managed shaders/app: { }
04-21 15:00:58.068: I/AndroidGraphics(10824): Managed buffers/app: { }
04-21 15:00:58.069: W/System.err(10824): Test
04-21 15:00:58.078: W/System.err(10824): Compile log:
04-21 15:00:58.078: W/System.err(10824): ...
04-21 15:00:58.081: W/System.err(10824): Compile log:
04-21 15:00:58.081: W/System.err(10824): ...
04-21 15:00:58.081: W/System.err(10824): vertexShaderHandle = 1
04-21 15:00:58.081: W/System.err(10824): fragmentShaderHandle = 2
04-21 15:00:58.081: W/System.err(10824): program = 3
04-21 15:00:58.081: W/System.err(10824): ...
04-21 15:00:58.082: A/libc(10824): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x4 in tid 10857 (GLThread 17101)
04-21 15:00:58.087: I/Timeline(10824): Timeline: Activity_idle id: android.os.BinderProxy@32caa99d time:99198433
Hello David, and apologies for the late response.
We were able to reproduce the issue and it is being investigated.
We'll keep you informed of any resolution regarding the segmentation fault.
Many thanks for the report.
Hello David.
The problem is caused by the use of the non constant initializers "v_texCoords" and "v_faceSize":
It reads:
"In declarations of global variables with no storage qualifier or with a const qualifier, any initializer must be a constant expression."
The compiler should not crash with a segmentation fault, and should have returned errors of the form:
That will be fixed, however even though other compilers might support the initialization of the "texPos" with non constant expressions, it is unlikely that will be changed. Sorry for the bad news.
Hello Ayo,
Thank you for your feedback. I am not very experienced, so I am not very surprised that I had made an error.
I am quite happy with your solution, it is not bad news at all. The shader code can be changed to follow specifications, so the main thing is that the compiler can tell me what I do wrong.
Best regards,
David