-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Emulator crash #2807
Comments
I was able to reproduce this error on a tablet running ICS. On that device I'm constantly seeing:
|
Currently pinpointed that ICS and Jelly bean have this problem, |
To be specific, I haven't had this problem on Lollipop devices (HTC M9 and Samsung S5) nor emulators. |
Just tested on API 16 x86 emulator and got the following crash at startup. Based on what @adam-mapbox said it looks like there's "bad data" (likely Unicode related) getting into the OpenGL shader. 10-26 16:30:10.398 1759-1788/? E/libEGL: call to OpenGL ES API with no current context (logged once per thread)
10-26 16:30:10.398 1759-1788/? I/mbgl: {Map}[Android]: Not deactivating as we are not ready
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: EGL Vendor: Android
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: EGL Version: 1.4 Android META-EGL
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: EGL Client APIs: OpenGL_ES
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: EGL Client Extensions: EGL_KHR_image_base EGL_KHR_fence_sync EGL_ANDROID_image_native_buffer
10-26 16:30:10.638 1759-1759/? W/mbgl: {Main}[Android]: In emulator! Enabling hacks :-(
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: Found 6 configs
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: Config 0:
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Caveat: 12344
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Conformant: 5
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Color: 24
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Red: 8
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Green: 8
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Blue: 8
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Alpha: 0
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Alpha mask: 0
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Depth: 24
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Stencil: 8
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Sample buffers: 0
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Samples: 0
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: Config 1:
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Caveat: 12344
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Conformant: 5
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Color: 24
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Red: 8
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Green: 8
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Blue: 8
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Alpha: 0
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Alpha mask: 0
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Depth: 24
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Stencil: 8
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Sample buffers: 0
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Samples: 0
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: Config 2:
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Caveat: 12344
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Conformant: 5
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Color: 24
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Red: 8
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Green: 8
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Blue: 8
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Alpha: 0
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Alpha mask: 0
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Depth: 24
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Stencil: 8
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Sample buffers: 0
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Samples: 0
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: Config 3:
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Caveat: 12344
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Conformant: 5
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Color: 32
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Red: 8
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Green: 8
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Blue: 8
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Alpha: 8
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Alpha mask: 0
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Depth: 24
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Stencil: 8
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Sample buffers: 0
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Samples: 0
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: Config 4:
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Caveat: 12344
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Conformant: 5
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Color: 32
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Red: 8
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Green: 8
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Blue: 8
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Alpha: 8
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Alpha mask: 0
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Depth: 24
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Stencil: 8
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Sample buffers: 0
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Samples: 0
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: Config 5:
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Caveat: 12344
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Conformant: 5
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Color: 32
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Red: 8
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Green: 8
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Blue: 8
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Alpha: 8
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Alpha mask: 0
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Depth: 24
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Stencil: 8
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Sample buffers: 0
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: ...Samples: 0
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: Chosen config is 0
10-26 16:30:10.638 1759-1759/? I/mbgl: {Main}[OpenGL]: Chosen window format is 2
10-26 16:30:10.898 1759-1759/? W/EGL_emulation: eglSurfaceAttrib not implemented
10-26 16:30:10.928 1759-1759/? I/dalvikvm: Could not find method android.support.v7.widget.LinearLayoutCompat.drawableHotspotChanged, referenced from method android.support.design.internal.ForegroundLinearLayout.drawableHotspotChanged
10-26 16:30:10.928 1759-1759/? W/dalvikvm: VFY: unable to resolve virtual method 15108: Landroid/support/v7/widget/LinearLayoutCompat;.drawableHotspotChanged (FF)V
10-26 16:30:11.108 1759-1759/? I/mbgl: {Main}[OpenGL]: GL Vendor: Google (Intel Inc.)
10-26 16:30:11.138 1759-1759/? I/mbgl: {Main}[OpenGL]: GL Renderer: Android Emulator OpenGL ES Translator (Intel Iris OpenGL Engine)
10-26 16:30:11.138 1759-1759/? I/mbgl: {Main}[OpenGL]: GL Version: OpenGL ES 2.0 (2.1 INTEL-10.8.77)
10-26 16:30:11.138 1759-1759/? I/mbgl: {Main}[OpenGL]: GL Extensions: GL_EXT_debug_marker GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_depth24 GL_OES_depth32 GL_OES_element_index_uint GL_OES_texture_float GL_OES_texture_float_linear GL_OES_compressed_paletted_texture GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth_texture GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_packed_depth_stencil GL_OES_vertex_half_float GL_OES_texture_npot
10-26 16:30:11.138 1759-1788/? D/: HostConnection::get() New Host Connection established 0xb9f41df8, tid 1788
10-26 16:30:11.228 1759-1768/? W/Surface: Surface.finalize() has work. You should have called release() (-1175186224, 0)
10-26 16:30:11.228 1759-1759/? E/libEGL: call to OpenGL ES API with no current context (logged once per thread)
10-26 16:30:11.228 1759-1759/? E/OpenGLRenderer: Error while compiling shader:
10-26 16:30:11.228 1759-1759/? E/OpenGLRenderer: Error while compiling shader:
10-26 16:30:11.228 1759-1759/? E/OpenGLRenderer: Error while compiling shader: ��۹�j�hg�����
10-26 16:30:11.228 1759-1759/? E/OpenGLRenderer: Error while compiling shader:
10-26 16:30:11.228 1759-1759/? E/OpenGLRenderer: Error while compiling shader:
10-26 16:30:11.228 1759-1759/? E/OpenGLRenderer: Error while compiling shader: �h�����f�{������ZU%C�&���
10-26 16:30:11.228 1759-1759/? E/OpenGLRenderer: Error while compiling shader: �h���f�{������
10-26 16:30:11.228 1759-1759/? E/OpenGLRenderer: Error while compiling shader: �
10-26 16:30:11.228 1759-1759/? E/OpenGLRenderer: Error while compiling shader: X� �86��Hf�B���86�����Hf�����
10-26 16:30:11.328 1017-1044/? I/ActivityManager: Displayed com.mapbox.mapboxgl.testapp/com.mapbox.mapboxsdk.testapp.MainActivity: +1s165ms
10-26 16:30:12.348 1759-1788/? W/mbgl: {Map}[OpenGL]: Not using Vertex Array Objects
10-26 16:30:12.359 790-961/? D/: HostConnection::get() New Host Connection established 0xb9c95c88, tid 961
10-26 16:30:12.388 1759-1759/? A/libc: Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 1759 (apboxgl.testapp)
10-26 16:30:12.508 788-788/? I/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
10-26 16:30:12.508 788-788/? I/DEBUG: Build fingerprint: 'unknown'
10-26 16:30:12.508 788-788/? I/DEBUG: pid: 1759, tid: 1759, name: UNKNOWN >>> com.mapbox.mapboxgl.testapp <<<
10-26 16:30:12.508 788-788/? I/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000000
10-26 16:30:12.808 788-788/? I/DEBUG: eax 00000036 ebx a9e02f08 ecx 00000000 edx ffffffff
10-26 16:30:12.808 788-788/? I/DEBUG: esi ffffffff edi 00000000
10-26 16:30:12.808 788-788/? I/DEBUG: xcs 00000073 xds 0000007b xes 0000007b xfs 00000000 xss 0000007b
10-26 16:30:12.808 788-788/? I/DEBUG: eip a9de15b8 ebp bfee6908 esp bfee6890 flags 00010246
10-26 16:30:12.808 788-788/? I/DEBUG: #00 pc 000145b8 /system/lib/libGLESv2_enc.so (GL2Encoder::s_glDrawElements(void*, unsigned int, int, unsigned int, void const*)+968)
10-26 16:30:12.808 788-788/? I/DEBUG: #01 pc 00005f28 /system/lib/egl/libGLESv2_emulation.so (glDrawElements+72)
10-26 16:30:12.808 788-788/? I/DEBUG: #02 pc 00006bb9 /system/lib/libGLESv2.so (glDrawElements+57)
10-26 16:30:12.808 788-788/? I/DEBUG: #03 pc 0000b290 /system/lib/libhwui.so (android::uirenderer::FontRenderer::issueDrawCommand()+688)
10-26 16:30:12.808 788-788/? I/DEBUG: #04 pc 0000db60 /system/lib/libhwui.so (android::uirenderer::FontRenderer::renderText(SkPaint*, android::uirenderer::Rect const*, char const*, unsigned int, unsigned int, int, int, int, android::uirenderer::Rect*)+208)
10-26 16:30:12.808 788-788/? I/DEBUG: #05 pc 00030a5d /system/lib/libhwui.so (android::uirenderer::OpenGLRenderer::drawText(char const*, int, int, float, float, SkPaint*, float)+1981)
10-26 16:30:12.808 788-788/? I/DEBUG: #06 pc 00015127 /system/lib/libhwui.so (android::uirenderer::DisplayList::replay(android::uirenderer::OpenGLRenderer&, android::uirenderer::Rect&, int, unsigned int)+1399)
10-26 16:30:12.808 788-788/? I/DEBUG: #07 pc 00023774 /system/lib/libhwui.so (android::uirenderer::OpenGLRenderer::drawDisplayList(android::uirenderer::DisplayList*, android::uirenderer::Rect&, int, unsigned int)+84)
10-26 16:30:12.808 788-788/? I/DEBUG: #08 pc 00015ca7 /system/lib/libhwui.so (android::uirenderer::DisplayList::replay(android::uirenderer::OpenGLRenderer&, android::uirenderer::Rect&, int, unsigned int)+4343)
10-26 16:30:12.818 788-788/? I/DEBUG: #09 pc 00023774 /system/lib/libhwui.so (android::uirenderer::OpenGLRenderer::drawDisplayList(android::uirenderer::DisplayList*, android::uirenderer::Rect&, int, unsigned int)+84)
10-26 16:30:12.818 788-788/? I/DEBUG: #10 pc 00015ca7 /system/lib/libhwui.so (android::uirenderer::DisplayList::replay(android::uirenderer::OpenGLRenderer&, android::uirenderer::Rect&, int, unsigned int)+4343)
10-26 16:30:12.818 788-788/? I/DEBUG: #11 pc 00023774 /system/lib/libhwui.so (android::uirenderer::OpenGLRenderer::drawDisplayList(android::uirenderer::DisplayList*, android::uirenderer::Rect&, int, unsigned int)+84)
10-26 16:30:12.818 788-788/? I/DEBUG: #12 pc 00015ca7 /system/lib/libhwui.so (android::uirenderer::DisplayList::replay(android::uirenderer::OpenGLRenderer&, android::uirenderer::Rect&, int, unsigned int)+4343)
10-26 16:30:12.818 788-788/? I/DEBUG: #13 pc 00023774 /system/lib/libhwui.so (android::uirenderer::OpenGLRenderer::drawDisplayList(android::uirenderer::DisplayList*, android::uirenderer::Rect&, int, unsigned int)+84)
10-26 16:30:12.818 788-788/? I/DEBUG: #14 pc 00015ca7 /system/lib/libhwui.so (android::uirenderer::DisplayList::replay(android::uirenderer::OpenGLRenderer&, android::uirenderer::Rect&, int, unsigned int)+4343)
10-26 16:30:12.818 788-788/? I/DEBUG: #15 pc 00023774 /system/lib/libhwui.so (android::uirenderer::OpenGLRenderer::drawDisplayList(android::uirenderer::DisplayList*, android::uirenderer::Rect&, int, unsigned int)+84)
10-26 16:30:12.818 788-788/? I/DEBUG: #16 pc 00015ca7 /system/lib/libhwui.so (android::uirenderer::DisplayList::replay(android::uirenderer::OpenGLRenderer&, android::uirenderer::Rect&, int, unsigned int)+4343)
10-26 16:30:12.818 788-788/? I/DEBUG: #17 pc 00023774 /system/lib/libhwui.so (android::uirenderer::OpenGLRenderer::drawDisplayList(android::uirenderer::DisplayList*, android::uirenderer::Rect&, int, unsigned int)+84)
10-26 16:30:12.818 788-788/? I/DEBUG: #18 pc 00015ca7 /system/lib/libhwui.so (android::uirenderer::DisplayList::replay(android::uirenderer::OpenGLRenderer&, android::uirenderer::Rect&, int, unsigned int)+4343)
10-26 16:30:12.818 788-788/? I/DEBUG: #19 pc 00023774 /system/lib/libhwui.so (android::uirenderer::OpenGLRenderer::drawDisplayList(android::uirenderer::DisplayList*, android::uirenderer::Rect&, int, unsigned int)+84)
10-26 16:30:12.818 788-788/? I/DEBUG: #20 pc 00015ca7 /system/lib/libhwui.so (android::uirenderer::DisplayList::replay(android::uirenderer::OpenGLRenderer&, android::uirenderer::Rect&, int, unsigned int)+4343)
10-26 16:30:12.818 788-788/? I/DEBUG: #21 pc 00023774 /system/lib/libhwui.so (android::uirenderer::OpenGLRenderer::drawDisplayList(android::uirenderer::DisplayList*, android::uirenderer::Rect&, int, unsigned int)+84)
10-26 16:30:12.818 788-788/? I/DEBUG: #22 pc 00015ca7 /system/lib/libhwui.so (android::uirenderer::DisplayList::replay(android::uirenderer::OpenGLRenderer&, android::uirenderer::Rect&, int, unsigned int)+4343)
10-26 16:30:12.818 788-788/? I/DEBUG: #23 pc 00023774 /system/lib/libhwui.so (android::uirenderer::OpenGLRenderer::drawDisplayList(android::uirenderer::DisplayList*, android::uirenderer::Rect&, int, unsigned int)+84)
10-26 16:30:12.818 788-788/? I/DEBUG: #24 pc 000811eb /system/lib/libandroid_runtime.so (android::android_view_GLES20Canvas_drawDisplayList(_JNIEnv*, _jobject*, android::uirenderer::OpenGLRenderer*, android::uirenderer::DisplayList*, _jobject*, int)+91)
10-26 16:30:12.818 788-788/? I/DEBUG: #25 pc 0001aaa0 /system/lib/libdvm.so (dvmPlatformInvoke+80)
10-26 16:30:12.828 788-788/? I/DEBUG: #26 pc 00060408 /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+232)
10-26 16:30:12.828 788-788/? I/DEBUG: #27 pc 00049a51 /system/lib/libdvm.so (dvmCheckCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+65)
10-26 16:30:12.828 788-788/? I/DEBUG: #28 pc 000c53c8 /system/lib/libdvm.so
10-26 16:30:12.828 788-788/? I/DEBUG: #29 pc 00028ff6 /system/lib/libdvm.so (dvmMterpStd(Thread*)+70)
10-26 16:30:12.828 788-788/? I/DEBUG: #30 pc 000261c0 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+160)
10-26 16:30:12.828 788-788/? I/DEBUG: #31 pc 00090ada /system/lib/libdvm.so (dvmInvokeMethod(Object*, Method const*, ArrayObject*, ArrayObject*, ClassObject*, bool)+938)
10-26 16:30:12.828 788-788/? I/DEBUG: bfee6850 00000000
10-26 16:30:12.828 788-788/? I/DEBUG: bfee6854 00000000
10-26 16:30:12.828 788-788/? I/DEBUG: bfee6858 00000000
10-26 16:30:12.828 788-788/? I/DEBUG: bfee685c 00000000
10-26 16:30:12.828 788-788/? I/DEBUG: bfee6860 00000000
10-26 16:30:12.828 788-788/? I/DEBUG: bfee6864 00000000
10-26 16:30:12.828 788-788/? I/DEBUG: bfee6868 00000000
10-26 16:30:12.828 788-788/? I/DEBUG: bfee686c 00000000
10-26 16:30:12.828 788-788/? I/DEBUG: bfee6870 00000000
10-26 16:30:12.828 788-788/? I/DEBUG: bfee6874 00000000
10-26 16:30:12.838 788-788/? I/DEBUG: bfee6878 00000000
10-26 16:30:12.838 788-788/? I/DEBUG: bfee687c 00000000
10-26 16:30:12.838 788-788/? I/DEBUG: bfee6880 00000000
10-26 16:30:12.838 788-788/? I/DEBUG: bfee6884 00000000
10-26 16:30:12.838 788-788/? I/DEBUG: bfee6888 00000000
10-26 16:30:12.838 788-788/? I/DEBUG: bfee688c 00000000
10-26 16:30:12.838 788-788/? I/DEBUG: #00 bfee6890 b9f00070 [heap]
10-26 16:30:12.838 788-788/? I/DEBUG: bfee6894 0000003f
10-26 16:30:12.838 788-788/? I/DEBUG: bfee6898 00000002
10-26 16:30:12.838 788-788/? I/DEBUG: bfee689c 00001406
10-26 16:30:12.838 788-788/? I/DEBUG: bfee68a0 00000000
10-26 16:30:12.838 788-788/? I/DEBUG: bfee68a4 00000010
10-26 16:30:12.838 788-788/? I/DEBUG: bfee68a8 a829c010
10-26 16:30:12.838 788-788/? I/DEBUG: bfee68ac ab046fa8 /system/lib/egl/libGLESv2_emulation.so
10-26 16:30:12.838 788-788/? I/DEBUG: bfee68b0 a9ddffd9 /system/lib/libGLESv2_enc.so (GL2Encoder::s_glVertexAtrribPointer(void*, unsigned int, int, unsigned int, unsigned char, int, void const*)+9)
10-26 16:30:12.838 788-788/? I/DEBUG: bfee68b4 ab046fa8 /system/lib/egl/libGLESv2_emulation.so
10-26 16:30:12.838 788-788/? I/DEBUG: bfee68b8 bfee68e8 [stack]
10-26 16:30:12.838 788-788/? I/DEBUG: bfee68bc ab03da4e /system/lib/egl/libGLESv2_emulation.so (glVertexAttribPointer+94)
10-26 16:30:12.838 788-788/? I/DEBUG: bfee68c0 b9f1f8d8 [heap]
10-26 16:30:12.838 788-788/? I/DEBUG: bfee68c4 00000000
10-26 16:30:12.838 788-788/? I/DEBUG: bfee68c8 00000002
10-26 16:30:12.838 788-788/? I/DEBUG: bfee68cc b9f1f8d8 [heap]
10-26 16:30:12.838 788-788/? I/DEBUG: ........ ........
10-26 16:30:12.838 788-788/? I/DEBUG: #01 bfee6910 b9f1f8d8 [heap]
10-26 16:30:12.838 788-788/? I/DEBUG: bfee6914 00000004
10-26 16:30:12.838 788-788/? I/DEBUG: bfee6918 00000036
10-26 16:30:12.838 788-788/? I/DEBUG: bfee691c 00001403
10-26 16:30:12.838 788-788/? I/DEBUG: bfee6920 00000000
10-26 16:30:12.838 788-788/? I/DEBUG: bfee6924 00000002
10-26 16:30:12.838 788-788/? I/DEBUG: bfee6928 00001406
10-26 16:30:12.838 788-788/? I/DEBUG: bfee692c 00000000
10-26 16:30:12.838 788-788/? I/DEBUG: bfee6930 ab03eee9 /system/lib/egl/libGLESv2_emulation.so (glDrawElements+9)
10-26 16:30:12.838 788-788/? I/DEBUG: bfee6934 b7969fd0 /system/lib/libGLESv2.so
10-26 16:30:12.838 788-788/? I/DEBUG: bfee6938 bfee6958 [stack]
10-26 16:30:12.838 788-788/? I/DEBUG: bfee693c b7964bb9 /system/lib/libGLESv2.so (glDrawElements+57)
10-26 16:30:12.838 788-788/? I/DEBUG: #02 bfee6940 00000004
10-26 16:30:12.838 788-788/? I/DEBUG: bfee6944 00000036
10-26 16:30:12.838 788-788/? I/DEBUG: bfee6948 00001403
10-26 16:30:12.838 788-788/? I/DEBUG: bfee694c 00000000
10-26 16:30:12.838 788-788/? I/DEBUG: bfee6950 b7964b89 /system/lib/libGLESv2.so (glDrawElements+9)
10-26 16:30:12.838 788-788/? I/DEBUG: bfee6954 b7024c04 /system/lib/libhwui.so
10-26 16:30:12.838 788-788/? I/DEBUG: bfee6958 bfee69d8 [stack]
10-26 16:30:12.838 788-788/? I/DEBUG: bfee695c b6fd3290 /system/lib/libhwui.so (android::uirenderer::FontRenderer::issueDrawCommand()+688)
10-26 16:30:12.988 1017-1052/? W/InputDispatcher: channel 'b46457c8 com.mapbox.mapboxgl.testapp/com.mapbox.mapboxsdk.testapp.MainActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9
10-26 16:30:12.988 1017-1052/? E/InputDispatcher: channel 'b46457c8 com.mapbox.mapboxgl.testapp/com.mapbox.mapboxsdk.testapp.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
10-26 16:30:12.988 1017-1052/? I/WindowManager: WINDOW DIED Window{b46457c8 com.mapbox.mapboxgl.testapp/com.mapbox.mapboxsdk.testapp.MainActivity paused=false}
10-26 16:30:12.988 1017-1052/? W/InputDispatcher: Attempted to unregister already unregistered input channel 'b46457c8 com.mapbox.mapboxgl.testapp/com.mapbox.mapboxsdk.testapp.MainActivity (server)'
10-26 16:30:12.988 1017-1044/? E/JavaBinder: !!! FAILED BINDER TRANSACTION !!!
10-26 16:30:12.988 1017-1017/? I/ActivityManager: Process com.mapbox.mapboxgl.testapp (pid 1759) has died. |
Just tested in API 18 x86 emulator (last version of Jelly Bean) and got the following results. It shows that the OpenGL context starts up as expected, but that it borks when compiling the shader again. So this tells me:
10-26 17:45:08.102 1940-1966/? I/mbgl: {Map}[Android]: Not deactivating as we are not ready
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: EGL Vendor: Android
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: EGL Version: 1.4 Android META-EGL
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: EGL Client APIs: OpenGL_ES
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: EGL Client Extensions: EGL_KHR_image_base EGL_KHR_fence_sync EGL_ANDROID_image_native_buffer
10-26 17:45:08.432 1940-1940/? W/mbgl: {Main}[Android]: In emulator! Enabling hacks :-(
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: Found 6 configs
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: Config 0:
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Caveat: 12344
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Conformant: 5
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Color: 24
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Red: 8
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Green: 8
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Blue: 8
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Alpha: 0
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Alpha mask: 0
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Depth: 24
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Stencil: 8
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Sample buffers: 0
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Samples: 0
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: Config 1:
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Caveat: 12344
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Conformant: 5
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Color: 24
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Red: 8
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Green: 8
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Blue: 8
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Alpha: 0
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Alpha mask: 0
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Depth: 24
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Stencil: 8
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Sample buffers: 0
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Samples: 0
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: Config 2:
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Caveat: 12344
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Conformant: 5
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Color: 24
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Red: 8
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Green: 8
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Blue: 8
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Alpha: 0
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Alpha mask: 0
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Depth: 24
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Stencil: 8
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Sample buffers: 0
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Samples: 0
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: Config 3:
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Caveat: 12344
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Conformant: 5
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Color: 32
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Red: 8
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Green: 8
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Blue: 8
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Alpha: 8
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Alpha mask: 0
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Depth: 24
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Stencil: 8
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Sample buffers: 0
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Samples: 0
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: Config 4:
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Caveat: 12344
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Conformant: 5
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Color: 32
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Red: 8
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Green: 8
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Blue: 8
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Alpha: 8
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Alpha mask: 0
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Depth: 24
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Stencil: 8
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Sample buffers: 0
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Samples: 0
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: Config 5:
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Caveat: 12344
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Conformant: 5
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Color: 32
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Red: 8
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Green: 8
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Blue: 8
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Alpha: 8
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Alpha mask: 0
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Depth: 24
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Stencil: 8
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Sample buffers: 0
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: ...Samples: 0
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: Chosen config is 0
10-26 17:45:08.432 1940-1940/? I/mbgl: {Main}[OpenGL]: Chosen window format is 2
10-26 17:45:08.562 1940-1940/? W/EGL_emulation: eglSurfaceAttrib not implemented
10-26 17:45:08.562 1940-1940/? I/dalvikvm: Could not find method android.support.v7.widget.LinearLayoutCompat.drawableHotspotChanged, referenced from method android.support.design.internal.ForegroundLinearLayout.drawableHotspotChanged
10-26 17:45:08.562 1940-1940/? W/dalvikvm: VFY: unable to resolve virtual method 15108: Landroid/support/v7/widget/LinearLayoutCompat;.drawableHotspotChanged (FF)V
10-26 17:45:08.763 1940-1940/? I/mbgl: {Main}[OpenGL]: GL Vendor: Google (Intel Inc.)
10-26 17:45:08.763 1940-1940/? I/mbgl: {Main}[OpenGL]: GL Renderer: Android Emulator OpenGL ES Translator (Intel Iris OpenGL Engine)
10-26 17:45:08.763 1940-1940/? I/mbgl: {Main}[OpenGL]: GL Version: OpenGL ES 2.0 (2.1 INTEL-10.8.77)
10-26 17:45:08.763 1940-1940/? I/mbgl: {Main}[OpenGL]: GL Extensions: GL_EXT_debug_marker GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_depth24 GL_OES_depth32 GL_OES_element_index_uint GL_OES_texture_float GL_OES_texture_float_linear GL_OES_compressed_paletted_texture GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth_texture GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_packed_depth_stencil GL_OES_vertex_half_float GL_OES_texture_npot
10-26 17:45:08.772 1940-1940/? E/libEGL: call to OpenGL ES API with no current context (logged once per thread)
10-26 17:45:08.772 1940-1940/? E/OpenGLRenderer: Error while compiling shader: ���
10-26 17:45:08.772 1940-1940/? E/OpenGLRenderer: Error while compiling shader: ���
10-26 17:45:08.772 1940-1940/? E/OpenGLRenderer: Error while compiling shader: ���
10-26 17:45:08.772 1940-1940/? E/OpenGLRenderer: Error while compiling shader: $J��
10-26 17:45:08.772 1940-1940/? E/OpenGLRenderer: Error while compiling shader: �;����
10-26 17:45:08.772 1940-1940/? E/OpenGLRenderer: Error while compiling shader: �;���������������������!��
10-26 17:45:08.772 1940-1940/? E/OpenGLRenderer: Error while compiling shader: �;���������������������!��
10-26 17:45:08.772 1940-1940/? E/OpenGLRenderer: Error while compiling shader: A
10-26 17:45:08.772 1940-1966/? D/: HostConnection::get() New Host Connection established 0xb8855c90, tid 1966
10-26 17:45:08.862 1208-1516/? W/InputMethodManagerService: Starting input on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@b1d0c7a8 (uid=10026 pid=1532)
10-26 17:45:08.862 1532-1532/? W/IInputConnectionWrapper: showStatusIcon on inactive InputConnection
10-26 17:45:08.902 1208-1224/? I/ActivityManager: Displayed com.mapbox.mapboxgl.testapp/com.mapbox.mapboxsdk.testapp.MainActivity: +1s24ms
10-26 17:45:09.492 1940-1966/? W/mbgl: {Map}[OpenGL]: Not using Vertex Array Objects
00-00 00:00:00.0 0-0/? E/Internal: device 'emulator-5554' not found |
For the sake of completeness I ran the app on API 17 x86 emulator and got the same same shader issue: 10-26 21:57:32.200 1997-2022/? I/mbgl: {Map}[Android]: Not deactivating as we are not ready
10-26 21:57:32.320 1997-1997/? I/mbgl: {Main}[OpenGL]: EGL Vendor: Android
10-26 21:57:32.320 1997-1997/? I/mbgl: {Main}[OpenGL]: EGL Version: 1.4 Android META-EGL
10-26 21:57:32.320 1997-1997/? I/mbgl: {Main}[OpenGL]: EGL Client APIs: OpenGL_ES
10-26 21:57:32.320 1997-1997/? I/mbgl: {Main}[OpenGL]: EGL Client Extensions: EGL_KHR_image_base EGL_KHR_fence_sync EGL_ANDROID_image_native_buffer
10-26 21:57:32.320 1997-1997/? W/mbgl: {Main}[Android]: In emulator! Enabling hacks :-(
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: Found 6 configs
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: Config 0:
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Caveat: 12344
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Conformant: 5
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Color: 24
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Red: 8
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Green: 8
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Blue: 8
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Alpha: 0
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Alpha mask: 0
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Depth: 24
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Stencil: 8
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Sample buffers: 0
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Samples: 0
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: Config 1:
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Caveat: 12344
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Conformant: 5
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Color: 24
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Red: 8
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Green: 8
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Blue: 8
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Alpha: 0
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Alpha mask: 0
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Depth: 24
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Stencil: 8
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Sample buffers: 0
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Samples: 0
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: Config 2:
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Caveat: 12344
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Conformant: 5
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Color: 24
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Red: 8
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Green: 8
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Blue: 8
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Alpha: 0
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Alpha mask: 0
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Depth: 24
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Stencil: 8
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Sample buffers: 0
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Samples: 0
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: Config 3:
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Caveat: 12344
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Conformant: 5
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Color: 32
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Red: 8
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Green: 8
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Blue: 8
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Alpha: 8
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Alpha mask: 0
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Depth: 24
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Stencil: 8
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Sample buffers: 0
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Samples: 0
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: Config 4:
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Caveat: 12344
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Conformant: 5
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Color: 32
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Red: 8
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Green: 8
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Blue: 8
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Alpha: 8
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Alpha mask: 0
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Depth: 24
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Stencil: 8
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Sample buffers: 0
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Samples: 0
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: Config 5:
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Caveat: 12344
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Conformant: 5
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Color: 32
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Red: 8
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Green: 8
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Blue: 8
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Alpha: 8
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Alpha mask: 0
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Depth: 24
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Stencil: 8
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Sample buffers: 0
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: ...Samples: 0
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: Chosen config is 0
10-26 21:57:32.330 1997-1997/? I/mbgl: {Main}[OpenGL]: Chosen window format is 2
10-26 21:57:32.450 792-893/? E/SurfaceFlinger: ro.sf.lcd_density must be defined as a build property
10-26 21:57:32.450 792-792/? D/: HostConnection::get() New Host Connection established 0xb9941c30, tid 792
10-26 21:57:32.500 1997-1997/? W/EGL_emulation: eglSurfaceAttrib not implemented
10-26 21:57:32.510 1997-1997/? I/dalvikvm: Could not find method android.support.v7.widget.LinearLayoutCompat.drawableHotspotChanged, referenced from method android.support.design.internal.ForegroundLinearLayout.drawableHotspotChanged
10-26 21:57:32.510 1997-1997/? W/dalvikvm: VFY: unable to resolve virtual method 15108: Landroid/support/v7/widget/LinearLayoutCompat;.drawableHotspotChanged (FF)V
10-26 21:57:32.680 792-904/? E/SurfaceFlinger: ro.sf.lcd_density must be defined as a build property
10-26 21:57:32.691 1997-1997/? I/mbgl: {Main}[OpenGL]: GL Vendor: Google (Intel Inc.)
10-26 21:57:32.701 1997-1997/? I/mbgl: {Main}[OpenGL]: GL Renderer: Android Emulator OpenGL ES Translator (Intel Iris OpenGL Engine)
10-26 21:57:32.711 1997-1997/? I/mbgl: {Main}[OpenGL]: GL Version: OpenGL ES 2.0 (2.1 INTEL-10.8.77)
10-26 21:57:32.711 1997-1997/? I/mbgl: {Main}[OpenGL]: GL Extensions: GL_EXT_debug_marker GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_depth24 GL_OES_depth32 GL_OES_element_index_uint GL_OES_texture_float GL_OES_texture_float_linear GL_OES_compressed_paletted_texture GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth_texture GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_packed_depth_stencil GL_OES_vertex_half_float GL_OES_texture_npot
10-26 21:57:32.730 1997-2022/? D/: HostConnection::get() New Host Connection established 0xb9fcf0f0, tid 2022
10-26 21:57:32.931 1997-1997/? E/libEGL: call to OpenGL ES API with no current context (logged once per thread)
10-26 21:57:32.931 1997-1997/? E/OpenGLRenderer: Error while compiling shader: @*���
10-26 21:57:32.931 1997-1997/? E/OpenGLRenderer: Error while compiling shader: ��PK��PK����w���� ���%
10-26 21:57:32.961 1997-1997/? E/OpenGLRenderer: Error while compiling shader: �1�
10-26 21:57:32.961 1997-1997/? E/OpenGLRenderer: Error while compiling shader:
10-26 21:57:32.961 1997-1997/? E/OpenGLRenderer: Error while compiling shader:
10-26 21:57:32.961 1997-1997/? E/OpenGLRenderer: Error while compiling shader:
10-26 21:57:32.961 1997-1997/? E/OpenGLRenderer: Error while compiling shader:
10-26 21:57:32.961 1997-1997/? E/OpenGLRenderer: Error while compiling shader: ���
10-26 21:57:32.971 792-893/? D/: HostConnection::get() New Host Connection established 0xb99431c0, tid 893
10-26 21:57:33.001 1560-1560/? W/IInputConnectionWrapper: showStatusIcon on inactive InputConnection
10-26 21:57:33.021 1209-1224/? I/ActivityManager: Displayed com.mapbox.mapboxgl.testapp/com.mapbox.mapboxsdk.testapp.MainActivity: +978ms
10-26 21:57:33.600 1997-2022/? W/mbgl: {Map}[OpenGL]: Not using Vertex Array Objects
10-26 21:57:33.610 792-897/? D/: HostConnection::get() New Host Connection established 0xb99380d0, tid 897
10-26 21:57:33.620 1997-1997/? E/eglCodecCommon: **** ERROR unknown type 0xba056fa4 (glSizeof,72)
10-26 21:57:42.052 1209-1222/? W/ActivityManager: Launch timeout has expired, giving up wake lock!
10-26 21:57:42.071 1209-1222/? W/ActivityManager: Activity idle timeout for ActivityRecord{b2f33100 u0 com.mapbox.mapboxgl.testapp/com.mapbox.mapboxsdk.testapp.MainActivity} |
Here's what a successful stack trace from API 19 (KitKat) looks like. 10-26 18:11:50.345 1829-1855/? I/mbgl: {Map}[Android]: Not activating as we are not ready
10-26 18:11:50.345 1829-1855/? I/mbgl: {Map}[Android]: Not deactivating as we are not ready
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: EGL Vendor: Android
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: EGL Version: 1.4 Android META-EGL
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: EGL Client APIs: OpenGL_ES
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: EGL Client Extensions: EGL_KHR_get_all_proc_addresses EGL_ANDROID_presentation_time EGL_KHR_image_base EGL_KHR_fence_sync EGL_ANDROID_image_native_buffer
10-26 18:11:50.605 1829-1829/? W/mbgl: {Main}[Android]: In emulator! Enabling hacks :-(
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: Found 6 configs
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: Config 0:
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Caveat: 12344
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Conformant: 5
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Color: 24
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Red: 8
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Green: 8
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Blue: 8
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Alpha: 0
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Alpha mask: 0
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Depth: 24
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Stencil: 8
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Sample buffers: 0
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Samples: 0
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: Config 1:
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Caveat: 12344
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Conformant: 5
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Color: 24
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Red: 8
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Green: 8
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Blue: 8
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Alpha: 0
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Alpha mask: 0
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Depth: 24
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Stencil: 8
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Sample buffers: 0
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Samples: 0
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: Config 2:
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Caveat: 12344
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Conformant: 5
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Color: 24
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Red: 8
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Green: 8
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Blue: 8
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Alpha: 0
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Alpha mask: 0
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Depth: 24
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Stencil: 8
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Sample buffers: 0
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Samples: 0
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: Config 3:
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Caveat: 12344
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Conformant: 5
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Color: 32
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Red: 8
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Green: 8
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Blue: 8
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Alpha: 8
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Alpha mask: 0
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Depth: 24
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Stencil: 8
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Sample buffers: 0
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Samples: 0
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: Config 4:
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Caveat: 12344
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Conformant: 5
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Color: 32
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Red: 8
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Green: 8
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Blue: 8
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Alpha: 8
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Alpha mask: 0
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Depth: 24
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Stencil: 8
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Sample buffers: 0
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Samples: 0
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: Config 5:
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Caveat: 12344
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Conformant: 5
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Color: 32
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Red: 8
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Green: 8
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Blue: 8
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Alpha: 8
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Alpha mask: 0
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Depth: 24
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Stencil: 8
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Sample buffers: 0
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: ...Samples: 0
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: Chosen config is 0
10-26 18:11:50.605 1829-1829/? I/mbgl: {Main}[OpenGL]: Chosen window format is 2
10-26 18:11:50.725 1829-1829/? W/EGL_emulation: eglSurfaceAttrib not implemented
10-26 18:11:50.745 1829-1829/? I/dalvikvm: Could not find method android.support.v7.widget.LinearLayoutCompat.drawableHotspotChanged, referenced from method android.support.design.internal.ForegroundLinearLayout.drawableHotspotChanged
10-26 18:11:50.755 1829-1829/? W/dalvikvm: VFY: unable to resolve virtual method 15108: Landroid/support/v7/widget/LinearLayoutCompat;.drawableHotspotChanged (FF)V
10-26 18:11:50.875 1829-1829/? I/mbgl: {Main}[OpenGL]: GL Vendor: Google (Intel Inc.)
10-26 18:11:50.875 1829-1829/? I/mbgl: {Main}[OpenGL]: GL Renderer: Android Emulator OpenGL ES Translator (Intel Iris OpenGL Engine)
10-26 18:11:50.885 1829-1829/? I/mbgl: {Main}[OpenGL]: GL Version: OpenGL ES 2.0 (2.1 INTEL-10.8.77)
10-26 18:11:50.885 1829-1829/? I/mbgl: {Main}[OpenGL]: GL Extensions: GL_EXT_debug_marker GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_depth24 GL_OES_depth32 GL_OES_element_index_uint GL_OES_texture_float GL_OES_texture_float_linear GL_OES_compressed_paletted_texture GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth_texture GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_packed_depth_stencil GL_OES_vertex_half_float GL_OES_texture_npot
10-26 18:11:50.895 1829-1855/? D/: HostConnection::get() New Host Connection established 0xb95dc500, tid 1855
10-26 18:11:51.255 1251-1265/? I/ActivityManager: Displayed com.mapbox.mapboxgl.testapp/com.mapbox.mapboxsdk.testapp.MainActivity: +1s215ms
10-26 18:11:51.865 1829-1855/? W/mbgl: {Map}[OpenGL]: Not using Vertex Array Objects |
Should point out that I'm testing as of e257ad2 from |
This line looks suspicious. Need to investigate if we are trying to run GL from the wrong thread. |
I believe that the user reporting this issue are building from 2.1.0 release and not from master |
@tobrun OK thats interesting. I also found Interesting thing is on API 16 the fatal crash is in the Android frameworks font renderer. Likely as a result of us corrupting GL. |
I think the emulator is very flakey prior to KitKat when it comes to OpenGL. I encountered a number of unexplainable crashes on the early emulator releases 12 months ago that all went away with KitKat (which was about when I started logging them as bugs in AOSP tracker) |
So we should focus on a real Jelly Bean device. |
Added some extra logging to
|
From Marshmallow:
|
Ignore the last two logs, I had a bug in my logging code. |
Interesting the shader compile errors from the log happen before we load our shaders! Somewhere we are attempting to call a GL command with no shaders set so Android goes off and compiles some garbage. |
Making some notes, the GL compile errors come from the Android UI thread. Commenting out Errors happens after Errors happen before |
I suspect this error is coming from the Android framework and not our C++ code. Somehow I need to get a stack trace for that error. |
I suspect in I need to save the previous context, before I change it. |
Sucess! That was the problem. Making a PR now. |
I still see |
When running on:
The emulator itself crashes and I'm seeing following messages in Logcat:
The text was updated successfully, but these errors were encountered: