Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Sometimes when closing and reopening the app it crashes #608

Closed
ljbade opened this issue Nov 17, 2014 · 31 comments
Closed

Sometimes when closing and reopening the app it crashes #608

ljbade opened this issue Nov 17, 2014 · 31 comments
Labels
Android Mapbox Maps SDK for Android bug
Milestone

Comments

@ljbade
Copy link
Contributor

ljbade commented Nov 17, 2014

With current build if I close and reopen the app it sometimes crashes.

Got this on my Nexus 7:

11-18 01:03:43.467  19131-19131/com.mapbox.mapboxgl.app V/MainActivity﹕ onStart
11-18 01:03:43.467  19131-19131/com.mapbox.mapboxgl.app V/MapView﹕ onStart
11-18 01:03:43.467  19131-19131/com.mapbox.mapboxgl.app V/MainActivity﹕ onResume
11-18 01:03:43.467  19131-19131/com.mapbox.mapboxgl.app V/MapView﹕ onResume
11-18 01:03:43.477  19131-19131/com.mapbox.mapboxgl.app V/MapView﹕ ConnectivityReceiver.onReceive: action = android.net.conn.CONNECTIVITY_CHANGE
11-18 01:03:43.477  19131-19131/com.mapbox.mapboxgl.app V/MapView﹕ onConnectivityChanged: true
11-18 01:03:43.527  19131-19131/com.mapbox.mapboxgl.app V/MapView﹕ surfaceCreated
11-18 01:03:43.557  19131-19131/com.mapbox.mapboxgl.app I/OpenGL﹕ GL Vendor: NVIDIA Corporation
11-18 01:03:43.557  19131-19131/com.mapbox.mapboxgl.app I/OpenGL﹕ GL Renderer: NVIDIA Tegra 3
11-18 01:03:43.557  19131-19131/com.mapbox.mapboxgl.app I/OpenGL﹕ GL Version: OpenGL ES 2.0 14.01003
11-18 01:03:43.557  19131-19131/com.mapbox.mapboxgl.app I/OpenGL﹕ GL SL Version: OpenGL ES GLSL 1.00
11-18 01:03:43.557  19131-19131/com.mapbox.mapboxgl.app I/OpenGL﹕ GL Extensions: GL_OES_rgb8_rgba8 GL_OES_EGL_sync GL_OES_fbo_render_mipmap GL_NV_depth_nonlinear GL_NV_draw_path GL_NV_texture_npot_2D_mipmap GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_vertex_half_float GL_OES_mapbuffer GL_NV_draw_buffers GL_NV_multiview_draw_buffers GL_EXT_Cg_shader GL_EXT_packed_float GL_OES_texture_half_float GL_EXT_texture_array GL_OES_compressed_ETC1_RGB8_texture GL_EXT_texture_compression_latc GL_NV_texture_compression_latc GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_s3tc GL_NV_texture_compression_s3tc GL_EXT_texture_filter_anisotropic GL_NV_get_tex_image GL_NV_read_buffer GL_NV_shader_framebuffer_fetch GL_NV_copy_image GL_NV_fbo_color_attachments GL_EXT_bgra GL_EXT_texture_format_BGRA8888 GL_EXT_unpack_subimage GL_NV_pack_subimage GL_NV_texture_compression_s3tc_update GL_NV_read_depth GL_NV_read_stencil GL_NV_uniform_buffer_object GL_EXT_robustness GL_OES_standard_derivatives GL_NV_EGL_stream_consumer_external GL_NV_3dvision_settings GL_EXT_debug_marker GL_EXT_deb
11-18 01:03:43.567  19131-19131/com.mapbox.mapboxgl.app V/MapView﹕ surfaceChanged
11-18 01:03:43.577  19131-19131/com.mapbox.mapboxgl.app I/MapView﹕ resize 4 1280 628
11-18 01:03:43.577  19131-19131/com.mapbox.mapboxgl.app V/MapView﹕ surfaceRedrawNeeded
11-18 01:03:43.587  19131-19131/com.mapbox.mapboxgl.app V/MapView﹕ surfaceRedrawNeeded
11-18 01:03:43.707  19131-19274/com.mapbox.mapboxgl.app E/﹕ Map::run() crash:
    signal 6 (Process abort signal) [at libc.so:0x22048 (tgkill+0xc)]

Need to GDB.

@ljbade ljbade added Android Mapbox Maps SDK for Android bug labels Nov 17, 2014
@ljbade
Copy link
Contributor Author

ljbade commented Nov 18, 2014

Found another crash:

11-18 22:52:13.312  26831-26831/com.mapbox.mapboxgl.app V/MainActivity﹕ onCreate
11-18 22:52:13.452  26831-26831/com.mapbox.mapboxgl.app V/MapView﹕ initialize
11-18 22:52:13.462  26831-26831/com.mapbox.mapboxgl.app D/dalvikvm﹕ Trying to load lib /data/app-lib/com.mapbox.mapboxgl.app-2/libmapbox-gl.so 0x41e87770
11-18 22:52:13.512  26831-26831/com.mapbox.mapboxgl.app D/dalvikvm﹕ Added shared lib /data/app-lib/com.mapbox.mapboxgl.app-2/libmapbox-gl.so 0x41e87770
11-18 22:52:13.512  26831-26831/com.mapbox.mapboxgl.app D/JNI﹕ JNI_OnLoad
11-18 22:52:13.532  26831-26831/com.mapbox.mapboxgl.app D/JNI﹕ nativeCreate
11-18 22:52:13.532  26831-26831/com.mapbox.mapboxgl.app D/Android﹕ NativeMapView::NativeMapView
11-18 22:52:13.532  26831-26831/com.mapbox.mapboxgl.app D/JNI﹕ nativeSetLonLat
11-18 22:52:13.532  26831-26831/com.mapbox.mapboxgl.app D/Android﹕ MBGLView::notify_map_change()
11-18 22:52:13.532  26831-26831/com.mapbox.mapboxgl.app D/Android﹕ NativeMapView::notify_map_change()
11-18 22:52:13.532  26831-26831/com.mapbox.mapboxgl.app D/Android﹕ MBGLView::notify_map_change()
11-18 22:52:13.532  26831-26831/com.mapbox.mapboxgl.app D/Android﹕ NativeMapView::notify_map_change()
11-18 22:52:13.532  26831-26831/com.mapbox.mapboxgl.app D/JNI﹕ nativeSetBearing
11-18 22:52:13.532  26831-26831/com.mapbox.mapboxgl.app D/Android﹕ MBGLView::notify_map_change()
11-18 22:52:13.532  26831-26831/com.mapbox.mapboxgl.app D/Android﹕ NativeMapView::notify_map_change()
11-18 22:52:13.532  26831-26831/com.mapbox.mapboxgl.app D/Android﹕ MBGLView::notify_map_change()
11-18 22:52:13.532  26831-26831/com.mapbox.mapboxgl.app D/Android﹕ NativeMapView::notify_map_change()
11-18 22:52:13.532  26831-26831/com.mapbox.mapboxgl.app D/JNI﹕ nativeSetZoom
11-18 22:52:13.532  26831-26831/com.mapbox.mapboxgl.app D/Android﹕ MBGLView::notify_map_change()
11-18 22:52:13.532  26831-26831/com.mapbox.mapboxgl.app D/Android﹕ NativeMapView::notify_map_change()
11-18 22:52:13.532  26831-26831/com.mapbox.mapboxgl.app D/Android﹕ MBGLView::notify_map_change()
11-18 22:52:13.532  26831-26831/com.mapbox.mapboxgl.app D/Android﹕ NativeMapView::notify_map_change()
11-18 22:52:13.532  26831-26831/com.mapbox.mapboxgl.app D/JNI﹕ nativeSetDebug
11-18 22:52:13.542  26831-26831/com.mapbox.mapboxgl.app D/JNI﹕ nativeSetStyleURL
11-18 22:52:13.542  26831-26831/com.mapbox.mapboxgl.app V/MapView﹕ onConnectivityChanged: true
11-18 22:52:13.542  26831-26831/com.mapbox.mapboxgl.app D/JNI﹕ nativeSetReachability
11-18 22:52:13.562  26831-26831/com.mapbox.mapboxgl.app D/JNI﹕ nativeSetAccessToken
11-18 22:52:13.562  26831-26831/com.mapbox.mapboxgl.app V/MapView﹕ onCreate
11-18 22:52:13.562  26831-26831/com.mapbox.mapboxgl.app D/JNI﹕ nativeInitializeDisplay
11-18 22:52:13.562  26831-26831/com.mapbox.mapboxgl.app D/Android﹕ NativeMapView::initializeDisplay
11-18 22:52:13.572  26831-26831/com.mapbox.mapboxgl.app D/libEGL﹕ loaded /system/lib/egl/libEGL_tegra.so
11-18 22:52:13.582  26831-26831/com.mapbox.mapboxgl.app D/libEGL﹕ loaded /system/lib/egl/libGLESv1_CM_tegra.so
11-18 22:52:13.602   1146-26730/? I/HotwordRecognitionRnr﹕ Hotword detection finished
11-18 22:52:13.602  26831-26831/com.mapbox.mapboxgl.app D/libEGL﹕ loaded /system/lib/egl/libGLESv2_tegra.so
11-18 22:52:13.612  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ EGL Vendor: Android
11-18 22:52:13.612  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ EGL Version: 1.4 Android META-EGL
11-18 22:52:13.612  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ EGL Client APIs: OpenGL_ES
11-18 22:52:13.612  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ EGL Client Extensions: EGL_KHR_get_all_proc_addresses EGL_ANDROID_presentation_time EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_lock_surface EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_fence_sync EGL_EXT_create_context_robustness EGL_NV_system_time EGL_ANDROID_image_native_buffer EGL_ANDROID_recordable
11-18 22:52:13.622  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Found 6 configs
11-18 22:52:13.622  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Config 0:
11-18 22:52:13.622  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Caveat: 12344
11-18 22:52:13.622  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Conformant: 5
11-18 22:52:13.622  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Color: 32
11-18 22:52:13.622  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Red: 8
11-18 22:52:13.622  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Green: 8
11-18 22:52:13.622  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Blue: 8
11-18 22:52:13.622  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Alpha: 8
11-18 22:52:13.622  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Alpha mask: 8
11-18 22:52:13.622  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Depth: 16
11-18 22:52:13.622  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Stencil: 8
11-18 22:52:13.622  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Sample buffers: 0
11-18 22:52:13.622  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Samples: 0
11-18 22:52:13.622  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Config 1:
11-18 22:52:13.622  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Caveat: 12344
11-18 22:52:13.622  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Conformant: 4
11-18 22:52:13.622  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Color: 32
11-18 22:52:13.622  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Red: 8
11-18 22:52:13.622  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Green: 8
11-18 22:52:13.622  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Blue: 8
11-18 22:52:13.622  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Alpha: 8
11-18 22:52:13.622  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Alpha mask: 8
11-18 22:52:13.622  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Depth: 16
11-18 22:52:13.622  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Stencil: 8
11-18 22:52:13.622  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Sample buffers: 0
11-18 22:52:13.622  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Samples: 0
11-18 22:52:13.622  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Config 2:
11-18 22:52:13.622  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Caveat: 12344
11-18 22:52:13.622  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Conformant: 5
11-18 22:52:13.622  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Color: 32
11-18 22:52:13.622  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Red: 8
11-18 22:52:13.622  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Green: 8
11-18 22:52:13.622  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Blue: 8
11-18 22:52:13.622  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Alpha: 0
11-18 22:52:13.622  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Alpha mask: 8
11-18 22:52:13.622  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Depth: 16
11-18 22:52:13.622  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Stencil: 8
11-18 22:52:13.622  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Sample buffers: 0
11-18 22:52:13.622  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Samples: 0
11-18 22:52:13.622  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Config 3:
11-18 22:52:13.622  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Caveat: 12344
11-18 22:52:13.622  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Conformant: 4
11-18 22:52:13.622  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Color: 32
11-18 22:52:13.622  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Red: 8
11-18 22:52:13.622  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Green: 8
11-18 22:52:13.622  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Blue: 8
11-18 22:52:13.622  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Alpha: 0
11-18 22:52:13.632  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Alpha mask: 8
11-18 22:52:13.632  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Depth: 16
11-18 22:52:13.632  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Stencil: 8
11-18 22:52:13.632  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Sample buffers: 0
11-18 22:52:13.632  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Samples: 0
11-18 22:52:13.632  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Config 4:
11-18 22:52:13.632  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Caveat: 12344
11-18 22:52:13.632  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Conformant: 5
11-18 22:52:13.632  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Color: 16
11-18 22:52:13.632  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Red: 5
11-18 22:52:13.632  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Green: 6
11-18 22:52:13.632  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Blue: 5
11-18 22:52:13.632  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Alpha: 0
11-18 22:52:13.632  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Alpha mask: 8
11-18 22:52:13.632  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Depth: 16
11-18 22:52:13.632  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Stencil: 8
11-18 22:52:13.632  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Sample buffers: 0
11-18 22:52:13.632  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Samples: 0
11-18 22:52:13.632  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Config 5:
11-18 22:52:13.632  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Caveat: 12344
11-18 22:52:13.632  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Conformant: 4
11-18 22:52:13.632  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Color: 16
11-18 22:52:13.632  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Red: 5
11-18 22:52:13.632  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Green: 6
11-18 22:52:13.632  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Blue: 5
11-18 22:52:13.632  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Alpha: 0
11-18 22:52:13.632  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Alpha mask: 8
11-18 22:52:13.632  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Depth: 16
11-18 22:52:13.632  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Stencil: 8
11-18 22:52:13.632  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Sample buffers: 0
11-18 22:52:13.632  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Samples: 0
11-18 22:52:13.632  26831-26831/com.mapbox.mapboxgl.app D/OpenGL﹕ Chosen config is 5
11-18 22:52:13.632  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ Chosen window format is 4
11-18 22:52:13.632  26831-26831/com.mapbox.mapboxgl.app D/JNI﹕ nativeInitializeContext
11-18 22:52:13.632  26831-26831/com.mapbox.mapboxgl.app D/Android﹕ NativeMapView::initializeContext
11-18 22:52:13.642  26831-26831/com.mapbox.mapboxgl.app D/JNI﹕ nativeStart
11-18 22:52:13.642  26831-26831/com.mapbox.mapboxgl.app D/Android﹕ NativeMapView::start
11-18 22:52:13.642  26831-26831/com.mapbox.mapboxgl.app V/MainActivity﹕ onStart
11-18 22:52:13.642  26831-26831/com.mapbox.mapboxgl.app V/MapView﹕ onStart
11-18 22:52:13.642  26831-26831/com.mapbox.mapboxgl.app V/MainActivity﹕ onResume
11-18 22:52:13.642  26831-26831/com.mapbox.mapboxgl.app V/MapView﹕ onResume
11-18 22:52:13.642  26831-26845/com.mapbox.mapboxgl.app D/Android﹕ MBGLView::make_inactive
11-18 22:52:13.642  26831-26831/com.mapbox.mapboxgl.app D/JNI﹕ nativeResume
11-18 22:52:13.642  26831-26831/com.mapbox.mapboxgl.app D/Android﹕ NativeMapView::resume
11-18 22:52:13.642  26831-26831/com.mapbox.mapboxgl.app D/Android﹕ Not resuming because we are not ready
11-18 22:52:13.652  26831-26831/com.mapbox.mapboxgl.app V/MapView﹕ ConnectivityReceiver.onReceive: action = android.net.conn.CONNECTIVITY_CHANGE
11-18 22:52:13.652  26831-26831/com.mapbox.mapboxgl.app V/MapView﹕ onConnectivityChanged: true
11-18 22:52:13.652  26831-26831/com.mapbox.mapboxgl.app D/JNI﹕ nativeSetReachability
11-18 22:52:13.662    1146-2325/? I/HotwordRecognitionRnr﹕ Stopping hotword detection.
11-18 22:52:13.682  26831-26831/com.mapbox.mapboxgl.app D/OpenGLRenderer﹕ Enabling debug mode 0
11-18 22:52:13.692  26831-26831/com.mapbox.mapboxgl.app V/MapView﹕ surfaceCreated
11-18 22:52:13.692  26831-26831/com.mapbox.mapboxgl.app D/JNI﹕ nativeCreateSurface
11-18 22:52:13.692  26831-26831/com.mapbox.mapboxgl.app D/Android﹕ NativeMapView::createSurface
11-18 22:52:13.702  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ GL Vendor: NVIDIA Corporation
11-18 22:52:13.702  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ GL Renderer: NVIDIA Tegra 3
11-18 22:52:13.702  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ GL Version: OpenGL ES 2.0 14.01003
11-18 22:52:13.702  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ GL SL Version: OpenGL ES GLSL 1.00
11-18 22:52:13.702  26831-26831/com.mapbox.mapboxgl.app I/OpenGL﹕ GL Extensions: GL_OES_rgb8_rgba8 GL_OES_EGL_sync GL_OES_fbo_render_mipmap GL_NV_depth_nonlinear GL_NV_draw_path GL_NV_texture_npot_2D_mipmap GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_vertex_half_float GL_OES_mapbuffer GL_NV_draw_buffers GL_NV_multiview_draw_buffers GL_EXT_Cg_shader GL_EXT_packed_float GL_OES_texture_half_float GL_EXT_texture_array GL_OES_compressed_ETC1_RGB8_texture GL_EXT_texture_compression_latc GL_NV_texture_compression_latc GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_s3tc GL_NV_texture_compression_s3tc GL_EXT_texture_filter_anisotropic GL_NV_get_tex_image GL_NV_read_buffer GL_NV_shader_framebuffer_fetch GL_NV_copy_image GL_NV_fbo_color_attachments GL_EXT_bgra GL_EXT_texture_format_BGRA8888 GL_EXT_unpack_subimage GL_NV_pack_subimage GL_NV_texture_compression_s3tc_update GL_NV_read_depth GL_NV_read_stencil GL_NV_uniform_buffer_object GL_EXT_robustness GL_OES_standard_derivatives GL_NV_EGL_stream_consumer_external GL_NV_3dvision_settings GL_EXT_debug_marker GL_EXT_deb
11-18 22:52:13.702  26831-26831/com.mapbox.mapboxgl.app D/Android﹕ NativeMapView::resume
11-18 22:52:13.702  26831-26845/com.mapbox.mapboxgl.app D/Android﹕ MBGLView::make_active
11-18 22:52:13.702  26831-26845/com.mapbox.mapboxgl.app D/Android﹕ MBGLView::make_active
11-18 22:52:13.702  26831-26831/com.mapbox.mapboxgl.app V/MapView﹕ surfaceChanged
11-18 22:52:13.702  26831-26831/com.mapbox.mapboxgl.app I/MapView﹕ resize 4 1280 628
11-18 22:52:13.702  26831-26831/com.mapbox.mapboxgl.app D/JNI﹕ nativeResize
11-18 22:52:13.712  26831-26831/com.mapbox.mapboxgl.app D/Android﹕ MBGLView::notify_map_change()
11-18 22:52:13.712  26831-26831/com.mapbox.mapboxgl.app D/Android﹕ NativeMapView::notify_map_change()
11-18 22:52:13.712  26831-26831/com.mapbox.mapboxgl.app D/Android﹕ MBGLView::notify_map_change()
11-18 22:52:13.712  26831-26831/com.mapbox.mapboxgl.app D/Android﹕ NativeMapView::notify_map_change()
11-18 22:52:13.712  26831-26831/com.mapbox.mapboxgl.app V/MapView﹕ surfaceRedrawNeeded
11-18 22:52:13.712  26831-26831/com.mapbox.mapboxgl.app D/JNI﹕ nativeUpdate
11-18 22:52:13.722  26831-26831/com.mapbox.mapboxgl.app V/MapView﹕ surfaceRedrawNeeded
11-18 22:52:13.722  26831-26831/com.mapbox.mapboxgl.app D/JNI﹕ nativeUpdate
11-18 22:52:13.742  26831-26845/com.mapbox.mapboxgl.app D/General﹕ painter setup: 33.817000ms
11-18 22:52:13.752  26831-26845/com.mapbox.mapboxgl.app W/OpenGL﹕ Not using Vertex Array Objects
11-18 22:52:13.762  26831-26845/com.mapbox.mapboxgl.app D/Android﹕ MBGLView::swap
11-18 22:52:13.772      482-497/? I/ActivityManager﹕ Displayed com.mapbox.mapboxgl.app/.MainActivity: +709ms
11-18 22:52:13.892  26831-26845/com.mapbox.mapboxgl.app D/HttpRequest﹕ HTTPRequest https://api.tiles.mapbox.com/v4/mapbox.mapbox-streets-v6-dev.json?access_token=pk.eyJ1IjoibGpiYWRlIiwiYSI6IlJSQ0FEZ2MifQ.7mE4aOegldh3595AG9dxpQ
11-18 22:52:13.892  26831-26845/com.mapbox.mapboxgl.app D/HttpRequest﹕ HTTPRequest https://www.mapbox.com/mapbox-gl-styles/sprites/bright@2x.json
11-18 22:52:13.902  26831-26845/com.mapbox.mapboxgl.app D/HttpRequest﹕ HTTPRequest https://www.mapbox.com/mapbox-gl-styles/sprites/bright@2x.png
11-18 22:52:13.942  26831-26845/com.mapbox.mapboxgl.app D/Android﹕ MBGLView::swap
11-18 22:52:14.172  26831-26845/com.mapbox.mapboxgl.app I/Sprite﹕ loaded https://www.mapbox.com/mapbox-gl-styles/sprites/bright@2x.png
11-18 22:52:14.172  26831-26845/com.mapbox.mapboxgl.app D/HttpRequest﹕ HTTPRequest http://a.tiles.mapbox.com/v4/mapbox.mapbox-streets-v6-dev/1/1/1.vector.pbf?access_token=pk.eyJ1IjoibGpiYWRlIiwiYSI6IlJSQ0FEZ2MifQ.7mE4aOegldh3595AG9dxpQ
11-18 22:52:14.172  26831-26845/com.mapbox.mapboxgl.app D/HttpRequest﹕ HTTPRequest http://b.tiles.mapbox.com/v4/mapbox.mapbox-streets-v6-dev/1/0/1.vector.pbf?access_token=pk.eyJ1IjoibGpiYWRlIiwiYSI6IlJSQ0FEZ2MifQ.7mE4aOegldh3595AG9dxpQ
11-18 22:52:14.172  26831-26845/com.mapbox.mapboxgl.app D/HttpRequest﹕ HTTPRequest http://b.tiles.mapbox.com/v4/mapbox.mapbox-streets-v6-dev/1/1/0.vector.pbf?access_token=pk.eyJ1IjoibGpiYWRlIiwiYSI6IlJSQ0FEZ2MifQ.7mE4aOegldh3595AG9dxpQ
11-18 22:52:14.172  26831-26845/com.mapbox.mapboxgl.app D/HttpRequest﹕ HTTPRequest http://a.tiles.mapbox.com/v4/mapbox.mapbox-streets-v6-dev/1/0/0.vector.pbf?access_token=pk.eyJ1IjoibGpiYWRlIiwiYSI6IlJSQ0FEZ2MifQ.7mE4aOegldh3595AG9dxpQ
11-18 22:52:14.182  26831-26845/com.mapbox.mapboxgl.app D/Android﹕ MBGLView::swap
11-18 22:52:14.372  26831-26831/com.mapbox.mapboxgl.app V/MainActivity﹕ onPause
11-18 22:52:14.372  26831-26831/com.mapbox.mapboxgl.app V/MapView﹕ onPause
11-18 22:52:14.372  26831-26831/com.mapbox.mapboxgl.app D/JNI﹕ nativePause
11-18 22:52:14.372  26831-26831/com.mapbox.mapboxgl.app D/Android﹕ NativeMapView::pause false
11-18 22:52:14.372  26831-26845/com.mapbox.mapboxgl.app D/Android﹕ MBGLView::make_inactive
11-18 22:52:14.482      884-884/? W/HandlerScheduledExecuto﹕ Task does not implement UiTask. Consider using NamedUiRunnable for eww@42b1c8a8
11-18 22:52:14.832  26831-26831/com.mapbox.mapboxgl.app V/MapView﹕ surfaceDestroyed
11-18 22:52:14.832  26831-26831/com.mapbox.mapboxgl.app D/JNI﹕ nativeDestroySurface
11-18 22:52:14.832  26831-26831/com.mapbox.mapboxgl.app D/Android﹕ NativeMapView::destroySurface
11-18 22:52:14.832  26831-26831/com.mapbox.mapboxgl.app D/Android﹕ NativeMapView::pause true
11-18 22:52:15.042   1146-26862/? I/MicrophoneInputStream﹕ mic_starting fib@421456d8
11-18 22:52:15.052   1146-26863/? I/HotwordRecognitionRnr﹕ Starting hotword detection.
11-18 22:52:15.142  26831-26831/com.mapbox.mapboxgl.app V/MainActivity﹕ onStop
11-18 22:52:15.142  26831-26831/com.mapbox.mapboxgl.app V/MapView﹕ onStop
11-18 22:52:15.142  26831-26831/com.mapbox.mapboxgl.app V/MainActivity﹕ onDestroy
11-18 22:52:15.142  26831-26831/com.mapbox.mapboxgl.app V/MapView﹕ onDestroy
11-18 22:52:15.142  26831-26831/com.mapbox.mapboxgl.app D/JNI﹕ nativeStop
11-18 22:52:15.142  26831-26831/com.mapbox.mapboxgl.app D/Android﹕ NativeMapView::stop
11-18 22:52:15.142  26831-26845/com.mapbox.mapboxgl.app D/Android﹕ MBGLView::make_active
11-18 22:52:15.142  26831-26845/com.mapbox.mapboxgl.app I/Android﹕ Not activating as we are not ready
11-18 22:52:15.142  26831-26845/com.mapbox.mapboxgl.app D/Android﹕ MBGLView::make_inactive
11-18 22:52:15.142      482-498/? I/ActivityManager﹕ Killing 26601:com.google.android.partnersetup/u0a25 (adj 15): empty #17
11-18 22:52:15.152    1146-1146/? I/HotwordWorker﹕ onReady
11-18 22:52:15.232     916-1024/? I/Icing﹕ Usage reports 1 indexed 0 rejected 0 denied 0 imm upload true
11-18 22:52:15.422  26831-26847/com.mapbox.mapboxgl.app A/libc﹕ ../../src/storage/file_source.cpp:29: mbgl::FileSource::~FileSource(): assertion "thread_id == uv_thread_self()" failed
11-18 22:52:15.422  26831-26847/com.mapbox.mapboxgl.app A/libc﹕ Fatal signal 6 (SIGABRT), thread 26847 (ox.mapboxgl.app)
11-18 22:52:15.522  23209-23209/? I/DEBUG﹕ *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
11-18 22:52:15.522  23209-23209/? I/DEBUG﹕ Build fingerprint: 'google/nakasi/grouper:4.4.4/KTU84P/1227136:user/release-keys'
11-18 22:52:15.522  23209-23209/? I/DEBUG﹕ Revision: '0'
11-18 22:52:15.522  23209-23209/? I/DEBUG﹕ pid: 26831, tid: 26847, name: ox.mapboxgl.app  >>> com.mapbox.mapboxgl.app <<<
11-18 22:52:15.522  23209-23209/? I/DEBUG﹕ signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
11-18 22:52:15.522  23209-23209/? I/DEBUG﹕ Abort message: '../../src/storage/file_source.cpp:29: mbgl::FileSource::~FileSource(): assertion "thread_id == uv_thread_self()" failed'
11-18 22:52:15.942  23209-23209/? I/DEBUG﹕ r0 00000000  r1 6b224c44  r2 00000000  r3 ffffffdf
11-18 22:52:15.942  23209-23209/? I/DEBUG﹕ r4 6b224c44  r5 00000016  r6 000068df  r7 0000007e
11-18 22:52:15.942  23209-23209/? I/DEBUG﹕ r8 6a3e695c  r9 6b4ab000  sl 6b160fd4  fp 6b224c88
11-18 22:52:15.942  23209-23209/? I/DEBUG﹕ ip 0000010c  sp 6b224c40  lr 4011bfd5  pc 4012b1a8  cpsr 40070010
11-18 22:52:15.942  23209-23209/? I/DEBUG﹕ d0  0000000000000000  d1  0000000000000000
11-18 22:52:15.942  23209-23209/? I/DEBUG﹕ d2  0000000000000000  d3  0000000000000000
11-18 22:52:15.942  23209-23209/? I/DEBUG﹕ d4  0000000000000000  d5  bebbbd41c5d26bf1
11-18 22:52:15.942  23209-23209/? I/DEBUG﹕ d6  3e66376972bea4d0  d7  7f8000007f800000
11-18 22:52:15.942  23209-23209/? I/DEBUG﹕ d8  0000000000000000  d9  0000000000000000
11-18 22:52:15.942  23209-23209/? I/DEBUG﹕ d10 0000000000000000  d11 0000000000000000
11-18 22:52:15.942  23209-23209/? I/DEBUG﹕ d12 0000000000000000  d13 0000000000000000
11-18 22:52:15.942  23209-23209/? I/DEBUG﹕ d14 0000000000000000  d15 0000000000000000
11-18 22:52:15.942  23209-23209/? I/DEBUG﹕ d16 390656d8e623a70d  d17 4000000000000000
11-18 22:52:15.942  23209-23209/? I/DEBUG﹕ d18 3dea39ef35793c76  d19 3dea39ef00000000
11-18 22:52:15.942  23209-23209/? I/DEBUG﹕ d20 3fc555555555553e  d21 bf66c16c16bebd93
11-18 22:52:15.942  23209-23209/? I/DEBUG﹕ d22 bc7abc9e3b000000  d23 4000000000000000
11-18 22:52:15.942  23209-23209/? I/DEBUG﹕ d24 38f656d8e623a70d  d25 3dea39ef35793c76
11-18 22:52:15.942  23209-23209/? I/DEBUG﹕ d26 3fe62e42fefa39ef  d27 4000000000000000
11-18 22:52:15.942  23209-23209/? I/DEBUG﹕ d28 4000000000000000  d29 3c7abc9e3b000000
11-18 22:52:15.942  23209-23209/? I/DEBUG﹕ d30 3ff0000000000000  d31 4000000000000000
11-18 22:52:15.942  23209-23209/? I/DEBUG﹕ scr 20000010
11-18 22:52:15.942  23209-23209/? I/DEBUG﹕ backtrace:
11-18 22:52:15.942  23209-23209/? I/DEBUG﹕ #00  pc 000211a8  /system/lib/libc.so (sigprocmask+12)
11-18 22:52:15.942  23209-23209/? I/DEBUG﹕ #01  pc 00011fd1  /system/lib/libc.so
11-18 22:52:15.942  23209-23209/? I/DEBUG﹕ #02  pc 000218fc  /system/lib/libc.so (abort+4)
11-18 22:52:15.942  23209-23209/? I/DEBUG﹕ #03  pc 0014081c  /data/app-lib/com.mapbox.mapboxgl.app-2/libmapbox-gl.so (coffeecatch_signal_abort+136)
11-18 22:52:15.942  23209-23209/? I/DEBUG﹕ stack:
11-18 22:52:15.942  23209-23209/? I/DEBUG﹕ 6b224c00  00000000
11-18 22:52:15.942  23209-23209/? I/DEBUG﹕ 6b224c04  00000000
11-18 22:52:15.942  23209-23209/? I/DEBUG﹕ 6b224c08  00000000
11-18 22:52:15.942  23209-23209/? I/DEBUG﹕ 6b224c0c  00000000
11-18 22:52:15.942  23209-23209/? I/DEBUG﹕ 6b224c10  00000000
11-18 22:52:15.942  23209-23209/? I/DEBUG﹕ 6b224c14  00000000
11-18 22:52:15.942  23209-23209/? I/DEBUG﹕ 6b224c18  00000000
11-18 22:52:15.942  23209-23209/? I/DEBUG﹕ 6b224c1c  00000000
11-18 22:52:15.942  23209-23209/? I/DEBUG﹕ 6b224c20  00000000
11-18 22:52:15.942  23209-23209/? I/DEBUG﹕ 6b224c24  00000000
11-18 22:52:15.942  23209-23209/? I/DEBUG﹕ 6b224c28  00000000
11-18 22:52:15.942  23209-23209/? I/DEBUG﹕ 6b224c2c  00000006
11-18 22:52:15.942  23209-23209/? I/DEBUG﹕ 6b224c30  00000016
11-18 22:52:15.942  23209-23209/? I/DEBUG﹕ 6b224c34  000068df
11-18 22:52:15.942  23209-23209/? I/DEBUG﹕ 6b224c38  0000010c
11-18 22:52:15.942  23209-23209/? I/DEBUG﹕ 6b224c3c  6a3e695c  /data/app-lib/com.mapbox.mapboxgl.app-2/libmapbox-gl.so (uv__thread_start)
11-18 22:52:15.942  23209-23209/? I/DEBUG﹕ #00  6b224c40  6b4ab000
11-18 22:52:15.942  23209-23209/? I/DEBUG﹕ ........  ........
11-18 22:52:15.942  23209-23209/? I/DEBUG﹕ #01  6b224c40  6b4ab000
11-18 22:52:15.942  23209-23209/? I/DEBUG﹕ 6b224c44  ffffffdf
11-18 22:52:15.942  23209-23209/? I/DEBUG﹕ 6b224c48  00000000
11-18 22:52:15.942  23209-23209/? I/DEBUG﹕ 6b224c4c  00000000
11-18 22:52:15.942  23209-23209/? I/DEBUG﹕ 6b224c50  400cfa71  /system/bin/linker
11-18 22:52:15.942  23209-23209/? I/DEBUG﹕ 6b224c54  00000004
11-18 22:52:15.942  23209-23209/? I/DEBUG﹕ 6b224c58  00000004
11-18 22:52:15.942  23209-23209/? I/DEBUG﹕ 6b224c5c  00000006
11-18 22:52:15.942  23209-23209/? I/DEBUG﹕ 6b224c60  00000016
11-18 22:52:15.942  23209-23209/? I/DEBUG﹕ 6b224c64  4012b900  /system/lib/libc.so (__pthread_clone)
11-18 22:52:15.942  23209-23209/? I/DEBUG﹕ #02  6b224c68  00012140
11-18 22:52:15.942  23209-23209/? I/DEBUG﹕ 6b224c6c  6a07c820  /data/app-lib/com.mapbox.mapboxgl.app-2/libmapbox-gl.so (coffeecatch_signal_pass)
11-18 22:52:15.942  23209-23209/? I/DEBUG﹕ memory near r1:
11-18 22:52:15.942  23209-23209/? I/DEBUG﹕ 6b224c24 00000000 00000000 00000006 00000016
11-18 22:52:15.942  23209-23209/? I/DEBUG﹕ 6b224c34 000068df 0000010c 6a3e695c 6b4ab000
11-18 22:52:15.942  23209-23209/? I/DEBUG﹕ 6b224c44 ffffffdf 00000000 00000000 400cfa71
11-18 22:52:15.952  23209-23209/? I/DEBUG﹕ 6b224c54 00000004 00000004 00000006 00000016
11-18 22:52:15.952  23209-23209/? I/DEBUG﹕ 6b224c64 4012b900 00012140 6a07c820 00000000
11-18 22:52:15.952  23209-23209/? I/DEBUG﹕ 6b224c74 6a07c794 00000000 6b224d10 6b224c90
11-18 22:52:15.952  23209-23209/? I/DEBUG﹕ 6b224c84 00000006 6b5a8a70 ffff050c 00000006
11-18 22:52:15.952  23209-23209/? I/DEBUG﹕ 6b224c94 00000000 fffffffa 000068cf 000027b3
11-18 22:52:15.952  23209-23209/? I/DEBUG﹕ 6b224ca4 00000001 00000000 00000000 00000000
11-18 22:52:15.952  23209-23209/? I/DEBUG﹕ 6b224cb4 00000000 d75376f0 d6047d48 00000015
11-18 22:52:15.952  23209-23209/? I/DEBUG﹕ 6b224cc4 d607a6b0 00000002 00000000 c5e68000
11-18 22:52:15.952  23209-23209/? I/DEBUG﹕ 6b224cd4 00000000 6b5a8a70 c00fd058 00000015
11-18 22:52:15.952  23209-23209/? I/DEBUG﹕ 6b224ce4 00000000 d6047d40 62430008 00000015
11-18 22:52:15.952  23209-23209/? I/DEBUG﹕ 6b224cf4 c5e68000 00000000 c00fd160 00000000
11-18 22:52:15.952  23209-23209/? I/DEBUG﹕ 6b224d04 00000001 00000000 00000000 00000000
11-18 22:52:15.952  23209-23209/? I/DEBUG﹕ 6b224d14 00000000 6b223000 00000000 00002000
11-18 22:52:15.952  23209-23209/? I/DEBUG﹕ memory near r4:
11-18 22:52:15.952  23209-23209/? I/DEBUG﹕ 6b224c24 00000000 00000000 00000006 00000016
11-18 22:52:15.952  23209-23209/? I/DEBUG﹕ 6b224c34 000068df 0000010c 6a3e695c 6b4ab000
11-18 22:52:15.952  23209-23209/? I/DEBUG﹕ 6b224c44 ffffffdf 00000000 00000000 400cfa71
11-18 22:52:15.952  23209-23209/? I/DEBUG﹕ 6b224c54 00000004 00000004 00000006 00000016
11-18 22:52:15.952  23209-23209/? I/DEBUG﹕ 6b224c64 4012b900 00012140 6a07c820 00000000
11-18 22:52:15.952  23209-23209/? I/DEBUG﹕ 6b224c74 6a07c794 00000000 6b224d10 6b224c90
11-18 22:52:15.952  23209-23209/? I/DEBUG﹕ 6b224c84 00000006 6b5a8a70 ffff050c 00000006
11-18 22:52:15.952  23209-23209/? I/DEBUG﹕ 6b224c94 00000000 fffffffa 000068cf 000027b3
11-18 22:52:15.952  23209-23209/? I/DEBUG﹕ 6b224ca4 00000001 00000000 00000000 00000000
11-18 22:52:15.952  23209-23209/? I/DEBUG﹕ 6b224cb4 00000000 d75376f0 d6047d48 00000015
11-18 22:52:15.952  23209-23209/? I/DEBUG﹕ 6b224cc4 d607a6b0 00000002 00000000 c5e68000
11-18 22:52:15.952  23209-23209/? I/DEBUG﹕ 6b224cd4 00000000 6b5a8a70 c00fd058 00000015
11-18 22:52:15.952  23209-23209/? I/DEBUG﹕ 6b224ce4 00000000 d6047d40 62430008 00000015
11-18 22:52:15.952  23209-23209/? I/DEBUG﹕ 6b224cf4 c5e68000 00000000 c00fd160 00000000
11-18 22:52:15.952  23209-23209/? I/DEBUG﹕ 6b224d04 00000001 00000000 00000000 00000000
11-18 22:52:15.952  23209-23209/? I/DEBUG﹕ 6b224d14 00000000 6b223000 00000000 00002000
11-18 22:52:15.952  23209-23209/? I/DEBUG﹕ memory near r6:
11-18 22:52:15.952  23209-23209/? I/DEBUG﹕ 000068bc ffffffff ffffffff ffffffff ffffffff
11-18 22:52:15.952  23209-23209/? I/DEBUG﹕ 000068cc ffffffff ffffffff ffffffff ffffffff
11-18 22:52:15.952  23209-23209/? I/DEBUG﹕ 000068dc ffffffff ffffffff ffffffff ffffffff
11-18 22:52:15.952  23209-23209/? I/DEBUG﹕ 000068ec ffffffff ffffffff ffffffff ffffffff
11-18 22:52:15.952  23209-23209/? I/DEBUG﹕ 000068fc ffffffff ffffffff ffffffff ffffffff
11-18 22:52:15.952  23209-23209/? I/DEBUG﹕ 0000690c ffffffff ffffffff ffffffff ffffffff
11-18 22:52:15.952  23209-23209/? I/DEBUG﹕ 0000691c ffffffff ffffffff ffffffff ffffffff
11-18 22:52:15.952  23209-23209/? I/DEBUG﹕ 0000692c ffffffff ffffffff ffffffff ffffffff
11-18 22:52:15.952  23209-23209/? I/DEBUG﹕ 0000693c ffffffff ffffffff ffffffff ffffffff
11-18 22:52:15.952  23209-23209/? I/DEBUG﹕ 0000694c ffffffff ffffffff ffffffff ffffffff
11-18 22:52:15.952  23209-23209/? I/DEBUG﹕ 0000695c ffffffff ffffffff ffffffff ffffffff
11-18 22:52:15.952  23209-23209/? I/DEBUG﹕ 0000696c ffffffff ffffffff ffffffff ffffffff
11-18 22:52:15.952  23209-23209/? I/DEBUG﹕ 0000697c ffffffff ffffffff ffffffff ffffffff
11-18 22:52:15.952  23209-23209/? I/DEBUG﹕ 0000698c ffffffff ffffffff ffffffff ffffffff
11-18 22:52:15.952  23209-23209/? I/DEBUG﹕ 0000699c ffffffff ffffffff ffffffff ffffffff
11-18 22:52:15.952  23209-23209/? I/DEBUG﹕ 000069ac ffffffff ffffffff ffffffff ffffffff
11-18 22:52:15.952  23209-23209/? I/DEBUG﹕ memory near r8:
11-18 22:52:15.952  23209-23209/? I/DEBUG﹕ 6a3e693c e3510000 03a00000 e50b0004 e51b0004
11-18 22:52:15.952  23209-23209/? I/DEBUG﹕ 6a3e694c e1a0d00b e8bd8800 ffd9407c 0026c03c
11-18 22:52:15.952  23209-23209/? I/DEBUG﹕ 6a3e695c e92d4800 e1a0b00d e24dd018 e50b0004
11-18 22:52:15.952  23209-23209/? I/DEBUG﹕ 6a3e696c e51b0004 e50b0008 e51b0008 e5901000
11-18 22:52:15.952  23209-23209/? I/DEBUG﹕ 6a3e697c e58d1008 e5900004 e58d000c e51b0008
11-18 22:52:15.952  23209-23209/? I/DEBUG﹕ 6a3e698c ebf1b733 e3000000 e59d1008 e59d200c
11-18 22:52:15.952  23209-23209/? I/DEBUG﹕ 6a3e699c e58d0004 e1a00002 e12fff31 e59d0004
11-18 22:52:15.952  23209-23209/? I/DEBUG﹕ 6a3e69ac e1a0d00b e8bd8800 e92d4800 e1a0b00d
11-18 22:52:15.952  23209-23209/? I/DEBUG﹕ 6a3e69bc ebf1b9d6 e8bd8800 e92d4800 e1a0b00d
11-18 22:52:15.952  23209-23209/? I/DEBUG﹕ 6a3e69cc e24dd018 e50b0004 e50b1008 e58d200c
11-18 22:52:15.952  23209-23209/? I/DEBUG﹕ 6a3e69dc e51b0004 e5900008 e58d0008 e59d0008
11-18 22:52:15.952  23209-23209/? I/DEBUG﹕ 6a3e69ec e51b1004 e2811008 e1500001 0a000016
11-18 22:52:15.952  23209-23209/? I/DEBUG﹕ 6a3e69fc e3000000 e2800010 e59d1008 e0410000
11-18 22:52:15.952  23209-23209/? I/DEBUG﹕ 6a3e6a0c e58d0004 e59d0004 e590001c e2000902
11-18 22:52:15.962  23209-23209/? I/DEBUG﹕ 6a3e6a1c e3500000 0a000000 ea000007 e51b0008
11-18 22:52:15.962  23209-23209/? I/DEBUG﹕ 6a3e6a2c e59d1004 e59d200c e58d0000 e1a00001
11-18 22:52:15.962  23209-23209/? I/DEBUG﹕ memory near r9:
11-18 22:52:15.962  23209-23209/? I/DEBUG﹕ 6b4aafe0 00000000 00000000 00000000 00000000
11-18 22:52:15.962  23209-23209/? I/DEBUG﹕ 6b4aaff0 00000000 00000007 00000000 00000000
11-18 22:52:15.962  23209-23209/? I/DEBUG﹕ 6b4ab000 00000000 00000000 00000000 00000000
11-18 22:52:15.962  23209-23209/? I/DEBUG﹕ 6b4ab010 00000000 00000000 00000000 00000000
11-18 22:52:15.962  23209-23209/? I/DEBUG﹕ 6b4ab020 00000000 00000000 00000000 00000000
11-18 22:52:15.962  23209-23209/? I/DEBUG﹕ 6b4ab030 00000000 00000000 00000000 00000000
11-18 22:52:15.962  23209-23209/? I/DEBUG﹕ 6b4ab040 00000000 00000000 00000000 00000000
11-18 22:52:15.962  23209-23209/? I/DEBUG﹕ 6b4ab050 00000000 00000000 00000000 00000000
11-18 22:52:15.962  23209-23209/? I/DEBUG﹕ 6b4ab060 00000000 00000000 00000000 00000000
11-18 22:52:15.962  23209-23209/? I/DEBUG﹕ 6b4ab070 00000000 00000000 00000000 00000000
11-18 22:52:15.962  23209-23209/? I/DEBUG﹕ 6b4ab080 00000000 00000000 00000000 00000000
11-18 22:52:15.962  23209-23209/? I/DEBUG﹕ 6b4ab090 00000000 00000000 00000000 00000000
11-18 22:52:15.962  23209-23209/? I/DEBUG﹕ 6b4ab0a0 00000000 00000000 00000000 00000000
11-18 22:52:15.962  23209-23209/? I/DEBUG﹕ 6b4ab0b0 00000000 00000000 00000000 00000000
11-18 22:52:15.962  23209-23209/? I/DEBUG﹕ 6b4ab0c0 00000000 00000000 00000000 00000000
11-18 22:52:15.962  23209-23209/? I/DEBUG﹕ 6b4ab0d0 00000000 00000000 00000000 00000000
11-18 22:52:15.962  23209-23209/? I/DEBUG﹕ memory near sl:
11-18 22:52:15.962  23209-23209/? I/DEBUG﹕ 6b160fb4 2d73696e 00003432 009600c8 00300030
11-18 22:52:15.962  23209-23209/? I/DEBUG﹕ 6b160fc4 40000000 6ad1d100 00000013 6b1a5db0
11-18 22:52:15.962  23209-23209/? I/DEBUG﹕ 6b160fd4 6b1a6398 00000010 0000001b 6b146000
11-18 22:52:15.962  23209-23209/? I/DEBUG﹕ 6b160fe4 0001b000 6afb8fe0 00000001 00000000
11-18 22:52:15.962  23209-23209/? I/DEBUG﹕ 6b160ff4 00000007 00000007 00000007 00000000
11-18 22:52:15.962  23209-23209/? I/DEBUG﹕ 6b161004 0000200b 00730050 006e005a 006e005a
11-18 22:52:15.962  23209-23209/? I/DEBUG﹕ 6b161014 005f0069 005f0069 00c80069 004b00fa
11-18 22:52:15.962  23209-23209/? I/DEBUG﹕ 6b161024 00eb00a0 00730122 006e012c 006e012c
11-18 22:52:15.962  23209-23209/? I/DEBUG﹕ 6b161034 005f013b 005f013b 00c8013b 004b01cc
11-18 22:52:15.962  23209-23209/? I/DEBUG﹕ 6b161044 00eb0172 007301f4 006e01fe 006e01fe
11-18 22:52:15.962  23209-23209/? I/DEBUG﹕ 6b161054 005f020d 005f020d 00c8020d 4cffffff
11-18 22:52:15.962  23209-23209/? I/DEBUG﹕ 6b161064 4cffffff 4cffffff 4cffffff 4cffffff
11-18 22:52:15.962  23209-23209/? I/DEBUG﹕ 6b161074 4cffffff 3bffffff 11ffffff 00000000
11-18 22:52:15.962  23209-23209/? I/DEBUG﹕ 6b161084 00000000 00000000 00000000 00000000
11-18 22:52:15.962  23209-23209/? I/DEBUG﹕ 6b161094 00000000 00000000 00000000 00000000
11-18 22:52:15.962  23209-23209/? I/DEBUG﹕ 6b1610a4 00000000 00000000 00000000 00000000
11-18 22:52:15.962  23209-23209/? I/DEBUG﹕ memory near fp:
11-18 22:52:15.962  23209-23209/? I/DEBUG﹕ 6b224c68 00012140 6a07c820 00000000 6a07c794
11-18 22:52:15.962  23209-23209/? I/DEBUG﹕ 6b224c78 00000000 6b224d10 6b224c90 00000006
11-18 22:52:15.962  23209-23209/? I/DEBUG﹕ 6b224c88 6b5a8a70 ffff050c 00000006 00000000
11-18 22:52:15.962  23209-23209/? I/DEBUG﹕ 6b224c98 fffffffa 000068cf 000027b3 00000001
11-18 22:52:15.962  23209-23209/? I/DEBUG﹕ 6b224ca8 00000000 00000000 00000000 00000000
11-18 22:52:15.962  23209-23209/? I/DEBUG﹕ 6b224cb8 d75376f0 d6047d48 00000015 d607a6b0
11-18 22:52:15.962  23209-23209/? I/DEBUG﹕ 6b224cc8 00000002 00000000 c5e68000 00000000
11-18 22:52:15.962  23209-23209/? I/DEBUG﹕ 6b224cd8 6b5a8a70 c00fd058 00000015 00000000
11-18 22:52:15.962  23209-23209/? I/DEBUG﹕ 6b224ce8 d6047d40 62430008 00000015 c5e68000
11-18 22:52:15.962  23209-23209/? I/DEBUG﹕ 6b224cf8 00000000 c00fd160 00000000 00000001
11-18 22:52:15.962  23209-23209/? I/DEBUG﹕ 6b224d08 00000000 00000000 00000000 00000000
11-18 22:52:15.962  23209-23209/? I/DEBUG﹕ 6b224d18 6b223000 00000000 00002000 00000006
11-18 22:52:15.962  23209-23209/? I/DEBUG﹕ 6b224d28 00000000 fffbfedf 00000000 000068df
11-18 22:52:15.962  23209-23209/? I/DEBUG﹕ 6b224d38 00000006 00000000 00000006 00000016
11-18 22:52:15.962  23209-23209/? I/DEBUG﹕ 6b224d48 000068df 0000010c 6a3e695c 6b4ab000
11-18 22:52:15.962  23209-23209/? I/DEBUG﹕ 6b224d58 6b160fd4 6b5a8a70 6adca4e0 6b5a8850
11-18 22:52:15.962  23209-23209/? I/DEBUG﹕ memory near sp:
11-18 22:52:15.962  23209-23209/? I/DEBUG﹕ 6b224c20 00000000 00000000 00000000 00000006
11-18 22:52:15.962  23209-23209/? I/DEBUG﹕ 6b224c30 00000016 000068df 0000010c 6a3e695c
11-18 22:52:15.962  23209-23209/? I/DEBUG﹕ 6b224c40 6b4ab000 ffffffdf 00000000 00000000
11-18 22:52:15.962  23209-23209/? I/DEBUG﹕ 6b224c50 400cfa71 00000004 00000004 00000006
11-18 22:52:15.962  23209-23209/? I/DEBUG﹕ 6b224c60 00000016 4012b900 00012140 6a07c820
11-18 22:52:15.962  23209-23209/? I/DEBUG﹕ 6b224c70 00000000 6a07c794 00000000 6b224d10
11-18 22:52:15.972  23209-23209/? I/DEBUG﹕ 6b224c80 6b224c90 00000006 6b5a8a70 ffff050c
11-18 22:52:15.972  23209-23209/? I/DEBUG﹕ 6b224c90 00000006 00000000 fffffffa 000068cf
11-18 22:52:15.972  23209-23209/? I/DEBUG﹕ 6b224ca0 000027b3 00000001 00000000 00000000
11-18 22:52:15.972  23209-23209/? I/DEBUG﹕ 6b224cb0 00000000 00000000 d75376f0 d6047d48
11-18 22:52:15.972  23209-23209/? I/DEBUG﹕ 6b224cc0 00000015 d607a6b0 00000002 00000000
11-18 22:52:15.972  23209-23209/? I/DEBUG﹕ 6b224cd0 c5e68000 00000000 6b5a8a70 c00fd058
11-18 22:52:15.972  23209-23209/? I/DEBUG﹕ 6b224ce0 00000015 00000000 d6047d40 62430008
11-18 22:52:15.972  23209-23209/? I/DEBUG﹕ 6b224cf0 00000015 c5e68000 00000000 c00fd160
11-18 22:52:15.972  23209-23209/? I/DEBUG﹕ 6b224d00 00000000 00000001 00000000 00000000
11-18 22:52:15.972  23209-23209/? I/DEBUG﹕ 6b224d10 00000000 00000000 6b223000 00000000
11-18 22:52:15.972  23209-23209/? I/DEBUG﹕ code around pc:
11-18 22:52:15.972  23209-23209/? I/DEBUG﹕ 4012b188 e1a0700c e3700a01 912fff1e e2600000
11-18 22:52:15.972  23209-23209/? I/DEBUG﹕ 4012b198 ea0071e5 e1a0c007 e3a0707e ef000000
11-18 22:52:15.972  23209-23209/? I/DEBUG﹕ 4012b1a8 e1a0700c e3700a01 912fff1e e2600000
11-18 22:52:15.972  23209-23209/? I/DEBUG﹕ 4012b1b8 ea0071dd e1a0c007 e3a07048 ef000000
11-18 22:52:15.972  23209-23209/? I/DEBUG﹕ 4012b1c8 e1a0700c e3700a01 912fff1e e2600000
11-18 22:52:15.972  23209-23209/? I/DEBUG﹕ 4012b1d8 ea0071d5 e1a0c007 e3a070ae ef000000
11-18 22:52:15.972  23209-23209/? I/DEBUG﹕ 4012b1e8 e1a0700c e3700a01 912fff1e e2600000
11-18 22:52:15.972  23209-23209/? I/DEBUG﹕ 4012b1f8 ea0071cd e1a0c007 e3a070af ef000000
11-18 22:52:15.972  23209-23209/? I/DEBUG﹕ 4012b208 e1a0700c e3700a01 912fff1e e2600000
11-18 22:52:15.972  23209-23209/? I/DEBUG﹕ 4012b218 ea0071c5 e1a0c007 e3a070b1 ef000000
11-18 22:52:15.972  23209-23209/? I/DEBUG﹕ 4012b228 e1a0700c e3700a01 912fff1e e2600000
11-18 22:52:15.972  23209-23209/? I/DEBUG﹕ 4012b238 ea0071bd e1a0c007 e3a07049 ef000000
11-18 22:52:15.972  23209-23209/? I/DEBUG﹕ 4012b248 e1a0700c e3700a01 912fff1e e2600000
11-18 22:52:15.972  23209-23209/? I/DEBUG﹕ 4012b258 ea0071b5 e1a0c007 e59f7014 ef000000
11-18 22:52:15.972  23209-23209/? I/DEBUG﹕ 4012b268 e1a0700c e3700a01 912fff1e e2600000
11-18 22:52:15.972  23209-23209/? I/DEBUG﹕ 4012b278 ea0071ad 00000163 e1a0c007 e59f7014
11-18 22:52:15.972  23209-23209/? I/DEBUG﹕ code around lr:
11-18 22:52:15.972  23209-23209/? I/DEBUG﹕ 4011bfb4 bf00fd81 0002e104 b087b530 f06fac06
11-18 22:52:15.972  23209-23209/? I/DEBUG﹕ 4011bfc4 20020320 f8442200 46213d14 e8e4f00f
11-18 22:52:15.972  23209-23209/? I/DEBUG﹕ 4011bfd4 4478480e b1016801 20064788 f0012500
11-18 22:52:15.972  23209-23209/? I/DEBUG﹕ 4011bfe4 a902f95e 5280f04f 92042006 9502460a
11-18 22:52:15.972  23209-23209/? I/DEBUG﹕ 4011bff4 f00f9503 4621e8c2 2002462a e8ccf00f
11-18 22:52:15.972  23209-23209/? I/DEBUG﹕ 4011c004 f0012006 2001f94c ef02f00d 0003c39e
11-18 22:52:15.972  23209-23209/? I/DEBUG﹕ 4011c014 48044605 4629460c 4478b508 46224613
11-18 22:52:15.972  23209-23209/? I/DEBUG﹕ 4011c024 fd48f000 0002e0b0 4606b507 460d4804
11-18 22:52:15.972  23209-23209/? I/DEBUG﹕ 4011c034 93004614 46314478 4623462a fd3af000
11-18 22:52:15.972  23209-23209/? I/DEBUG﹕ 4011c044 0002e0b3 4605b538 e87ef00e 447c4c05
11-18 22:52:15.972  23209-23209/? I/DEBUG﹕ 4011c054 d10442a8 58e14b04 20006008 f04fbd38
11-18 22:52:15.972  23209-23209/? I/DEBUG﹕ 4011c064 bd3830ff 00037f82 ffffff64 4604b538
11-18 22:52:15.972  23209-23209/? I/DEBUG﹕ 4011c074 b9bb6843 0510f100 46296820 0268f241
11-18 22:52:15.972  23209-23209/? I/DEBUG﹕ 4011c084 ebaef00e d10a1c43 fa38f002 28046800
11-18 22:52:15.972  23209-23209/? I/DEBUG﹕ 4011c094 e7f1d103 60a56060 2000e004 2800bd38
11-18 22:52:15.972  23209-23209/? I/DEBUG﹕ 4011c0a4 e7fadcf8 686368a0 18428a01 60a21a59

@ljbade
Copy link
Contributor Author

ljbade commented Nov 18, 2014

OK for first crash got back trace:

#0  0x4012c048 in tgkill () from /home/leith/mb/android-nexus/system_lib/libc.so
#1  0x4011d09c in pthread_kill () from /home/leith/mb/android-nexus/system_lib/libc.so
#2  0x4011d2b0 in raise () from /home/leith/mb/android-nexus/system_lib/libc.so
#3  0x4011bfe6 in ?? () from /home/leith/mb/android-nexus/system_lib/libc.so
#4  0x4012b900 in abort () from /home/leith/mb/android-nexus/system_lib/libc.so
#5  0x6a472ba8 in abort_message (format=<optimized out>)
    at /tmp/ndk-user/tmp/build-libc++/ndk/sources/cxx-stl/llvm-libc++/../llvm-libc++abi/libcxxabi/src/abort_message.cpp:47
#6  0x6a472cc0 in default_terminate_handler ()
    at /tmp/ndk-user/tmp/build-libc++/ndk/sources/cxx-stl/llvm-libc++/../llvm-libc++abi/libcxxabi/src/cxa_default_handlers.cpp:63
#7  0x6a4625d0 in std::__terminate (func=0x0)
    at /tmp/ndk-user/tmp/build-libc++/ndk/sources/cxx-stl/llvm-libc++/../llvm-libc++abi/libcxxabi/src/cxa_handlers.cpp:68
#8  0x6a4618f0 in failed_throw (exception_header=<optimized out>)
    at /tmp/ndk-user/tmp/build-libc++/ndk/sources/cxx-stl/llvm-libc++/../llvm-libc++abi/libcxxabi/src/cxa_exception.cpp:149
#9  __cxa_throw (thrown_object=0x6b977cc8, tinfo=<optimized out>, dest=<optimized out>)
    at /tmp/ndk-user/tmp/build-libc++/ndk/sources/cxx-stl/llvm-libc++/../llvm-libc++abi/libcxxabi/src/cxa_exception.cpp:244
#10 0x6a11b310 in mbgl::Style::loadJSON (this=0x6b1a0c44, 
    data=0x6b903008 "{\n  \"version\": 6,\n  \"constants\": {\n    \"@name\": \"{name_en}\",\n    \"@sans\": \"Open Sans Regular, Arial Unicode MS Regular\",\n    \"@sans_it\": \"Open Sans Italic, Arial Unicode MS Regular\",\n    \"@sans_md\": \""...)
    at ../../src/style/style.cpp:105
#11 0x6a1c7888 in mbgl::Map::setStyleJSON (this=0x6b07d4e0, newStyleJSON=..., base=...) at ../../src/map/map.cpp:432
#12 0x6a1cba34 in operator() (this=0x6b36f42c, res=...) at ../../src/map/map.cpp:757
#13 0x6a1cb51c in __invoke<<lambda at ../../src/map/map.cpp:748:67> &, const mbgl::Response &> (this=0x6b36f42c, __f=..., __args=...)
    at /home/leith/mb/mbgl-android/mason_packages/.android-platform//bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../include/c++/4.9/__functional_base:413
#14 std::__1::__function::__func<mbgl::Map::prepare()::$_6, std::__1::allocator<mbgl::Map::prepare()::$_6>, void (mbgl::Response const&)>::operator()(mbgl::Response const&) (this=0x6b36f428, __arg=...)
    at /home/leith/mb/mbgl-android/mason_packages/.android-platform//bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../include/c++/4.9/functional:1370
#15 0x6a09319c in std::__1::function<void (mbgl::Response const&)>::operator()(mbgl::Response const&) const (this=0x6b36f428, 
    __arg=...)
    at /home/leith/mb/mbgl-android/mason_packages/.android-platform//bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../include/c++/4.9/functional:1756
#16 0x6a092cdc in mbgl::invoke<std::__1::function<void (mbgl::Response const&)>, mbgl::Response&>(std::__1::forward_list<std::__1::unique_ptr<mapbox::util::variant<std::__1::function<void (mbgl::Response const&)>, std::__1::function<void ()> >, std::__1::default_delete<mapbox::util::variant<std::__1::function<void (mbgl::Response const&)>, std::__1::function<void ()> > > >, std::__1::allocator<std::__1::unique_ptr<mapbox::util::variant<std::__1::function<void (mbgl::Response const&)>, std::__1::function<void ()> >, std::__1::default_delete<mapbox::util::variant<std::__1::function<void (mbgl::Response const&)>, std::__1::function<void ()> > > > > > const&, mbgl::Response&) (list=..., args=...) at ../../src/storage/base_request.cpp:16
#17 0x6a091ce4 in mbgl::BaseRequest::notify (this=0x6b9513b4) at ../../src/storage/base_request.cpp:48
#18 0x6a080728 in mbgl::AssetRequestBaton::run (async=0x6b84fa20) at ../../platform/android/asset_request_baton.cpp:112
#19 0x6a3e77f8 in uv__async_event () from /home/leith/mb/mbgl-android/build/android/out/Debug/lib.target/libmapbox-gl.so
#20 0x6a3e7dd0 in uv__async_io () from /home/leith/mb/mbgl-android/build/android/out/Debug/lib.target/libmapbox-gl.so
#21 0x6a3fce74 in uv__io_poll () from /home/leith/mb/mbgl-android/build/android/out/Debug/lib.target/libmapbox-gl.so
#22 0x6a3e8548 in uv_run () from /home/leith/mb/mbgl-android/build/android/out/Debug/lib.target/libmapbox-gl.so
#23 0x6a1c607c in mbgl::Map::run (this=0x6b07d4e0) at ../../src/map/map.cpp:276
#24 0x6a1ccb04 in operator() (this=0x6b07d4e0, arg=0x6b07d4e0) at ../../src/map/map.cpp:189
#25 0x6a1cca84 in __invoke (arg=0x6b07d4e0) at ../../src/map/map.cpp:181
#26 0x6a3e69a8 in uv__thread_start () from /home/leith/mb/mbgl-android/build/android/out/Debug/lib.target/libmapbox-gl.so
#27 0x4011722c in __thread_entry () from /home/leith/mb/android-nexus/system_lib/libc.so
#28 0x401173c4 in pthread_create () from /home/leith/mb/android-nexus/system_lib/libc.so
#29 0x00000000 in ?? ()

@ljbade
Copy link
Contributor Author

ljbade commented Nov 18, 2014

Looks like in:

void Style::loadJSON(const uint8_t *const data) {
    uv::writelock lock(mtx);

    rapidjson::Document doc;
    doc.Parse<0>((const char *const)data);
    if (doc.HasParseError()) {
        throw error::style_parse(doc.GetErrorOffset(), doc.GetParseError());
    }

    StyleParser parser;
    parser.parse(const_cast<const rapidjson::Document &>(doc));

    layers = parser.getLayers();
    sprite_url = parser.getSprite();
    glyph_url = parser.getGlyphURL();

    updateClasses();
}

It is throwing because of parse error.

@ljbade
Copy link
Contributor Author

ljbade commented Nov 18, 2014

The JSON ends with:

{\n    \"id\": \"water_label\",\n    \"type\": \"symbol\",\n    \"source\": \"mapbox\",\n    \"source-layer\": \"water_label\",\n    \"filter\": [\"==\", \"$type\", \"Point\"],\n    \"layout\": {\n      \"text-font\": \"@sans_it\",\n      \"text-field\": \"@name\",\n      \"text-max-size\": 12,\n      \"text-max-width\": 5\n    },\n    \"paint\": {\n      \"text-size\": 12,\n      \"text-color\": \"@marine_text\",\n      \"text-halo-width\": 1.5,\n      \"text-halo-color\": \"@marine_text_halo\"\n    }\n  }]\n}\n\020\021Y"

Comparing to the file bright-v6.json, it looks like there is some junk \020\021Y at the end of the string, perhaps null termination is in wrong place.

@ljbade
Copy link
Contributor Author

ljbade commented Nov 18, 2014

This only started happening after I added asset style loading, so I am perhaps returning some junk from AssetRequestBaton.

@ljbade
Copy link
Contributor Author

ljbade commented Nov 18, 2014

I think it was because I was not telling std::string how long my data is.

@ljbade
Copy link
Contributor Author

ljbade commented Nov 18, 2014

Fixed the first crash in
e52cf05

Still got the second crash.

@ljbade
Copy link
Contributor Author

ljbade commented Nov 18, 2014

Okay backtrace for second crash:

#0  0x4012c048 in tgkill () from /home/leith/mb/android-nexus/system_lib/libc.so
#1  0x4011d09c in pthread_kill () from /home/leith/mb/android-nexus/system_lib/libc.so
#2  0x4011d2b0 in raise () from /home/leith/mb/android-nexus/system_lib/libc.so
#3  0x4011bfe6 in ?? () from /home/leith/mb/android-nexus/system_lib/libc.so
#4  0x4012b900 in abort () from /home/leith/mb/android-nexus/system_lib/libc.so
#5  0x4011cacc in ?? () from /home/leith/mb/android-nexus/system_lib/libc.so
#6  0x4011c044 in __assert2 () from /home/leith/mb/android-nexus/system_lib/libc.so
#7  0x6a0a1d68 in mbgl::FileSource::~FileSource (this=0x6b8e28dc) at ../../src/storage/file_source.cpp:29
#8  0x6a1d5620 in std::__1::__shared_ptr_emplace<mbgl::FileSource, std::__1::allocator<mbgl::FileSource> >::__on_zero_shared (
    this=0x6b8e28d0)
    at /home/leith/mb/mbgl-android/mason_packages/.android-platform//bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../include/c++/4.9/memory:3738
#9  0x6a453c78 in __release_shared (this=0x6b8e28d0)
    at /tmp/ndk-user/tmp/build-libc++/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/memory.cpp:61
#10 std::__1::__shared_weak_count::__release_shared (this=0x6b8e28d0)
    at /tmp/ndk-user/tmp/build-libc++/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/memory.cpp:86
#11 0x6a1afac4 in std::__1::shared_ptr<mbgl::FileSource>::~shared_ptr (this=0x6b934ef8)
    at /home/leith/mb/mbgl-android/mason_packages/.android-platform//bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../include/c++/4.9/memory:4448
#12 0x6a1aec18 in mbgl::util::ptr<mbgl::FileSource>::~ptr (this=0x6b934ef8) at ../../include/mbgl/util/ptr.hpp:11
#13 0x6a1d3158 in mbgl::GlyphStore::~GlyphStore (this=0x6b934eec) at ../../include/mbgl/text/glyph_store.hpp:72
#14 0x6a1d2ffc in std::__1::__shared_ptr_emplace<mbgl::GlyphStore, std::__1::allocator<mbgl::GlyphStore> >::__on_zero_shared (
    this=0x6b934ee0)
    at /home/leith/mb/mbgl-android/mason_packages/.android-platform//bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../include/c++/4.9/memory:3738
#15 0x6a453c78 in __release_shared (this=0x6b934ee0)
    at /tmp/ndk-user/tmp/build-libc++/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/memory.cpp:61
#16 std::__1::__shared_weak_count::__release_shared (this=0x6b934ee0)
    at /tmp/ndk-user/tmp/build-libc++/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/memory.cpp:86
#17 0x6a1b2984 in std::__1::shared_ptr<mbgl::GlyphStore>::~shared_ptr (this=0x6d14ecac)
    at /home/leith/mb/mbgl-android/mason_packages/.android-platform//bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../include/c++/4.9/memory:4448
#18 0x6a1b19b0 in mbgl::util::ptr<mbgl::GlyphStore>::~ptr (this=0x6d14ecac) at ../../include/mbgl/util/ptr.hpp:11
#19 0x6a1b3ab0 in mbgl::TileParser::~TileParser (this=0x6d14ec90) at ../../src/map/tile_parser.cpp:30
#20 0x6a1b054c in mbgl::VectorTileData::parse (this=0x6b13f4dc) at ../../src/map/vector_tile_data.cpp:33
#21 0x6a1ae754 in operator() (this=0x6a1ae68c <__invoke(mbgl::util::ptr<mbgl::TileData>&)>, tile=...)
    at ../../src/map/tile_data.cpp:92
#22 0x6a1ae6d0 in __invoke (tile=...) at ../../src/map/tile_data.cpp:91
#23 0x6a1aef54 in uv::work<mbgl::util::ptr<mbgl::TileData> >::do_work (data=0x6b1bdee8) at ../../include/mbgl/util/uv_detail.hpp:179
#24 0x6a27ad2c in uv__worker_thread_loop () from /home/leith/mb/mbgl-android/build/android/out/Debug/lib.target/libmapbox-gl.so
#25 0x6a3e6da8 in uv__thread_start () from /home/leith/mb/mbgl-android/build/android/out/Debug/lib.target/libmapbox-gl.so
#26 0x4011722c in __thread_entry () from /home/leith/mb/android-nexus/system_lib/libc.so
#27 0x401173c4 in pthread_create () from /home/leith/mb/android-nexus/system_lib/libc.so
#28 0x00000000 in ?? ()

@ljbade
Copy link
Contributor Author

ljbade commented Nov 18, 2014

Hmm it appears to be the assert in:


FileSource::~FileSource() {
    assert(thread_id == uv_thread_self());
    uv_messenger_stop(queue, [](uv_messenger_t *msgr) {
        delete msgr;
    });

    util::ptr<BaseRequest> req;

    // Send a cancel() message to all requests that we are still holding.
    for (const std::pair<std::string, std::weak_ptr<BaseRequest>> &pair : pending) {
        if ((req = pair.second.lock())) {
            req->cancel();
        }
    }
}

@ljbade
Copy link
Contributor Author

ljbade commented Nov 18, 2014

@kkaefer I am guessing this crash is because a HTTP request finishes loading after I have called Map::stop?

So thread_id is no longer valid and does not match the thread that deltes FileSource?

Should we even have an assert here?

@ljbade
Copy link
Contributor Author

ljbade commented Nov 18, 2014

Actually looks like the clue is this:
#20 0x6a1b054c in mbgl::VectorTileData::parse (this=0x6b13f4dc) at ../../src/map/vector_tile_data.cpp:33

Which is the catch line in:

void VectorTileData::parse() {
    if (state != State::loaded) {
        return;
    }

    try {
        // Parsing creates state that is encapsulated in TileParser. While parsing,
        // the TileParser object writes results into this objects. All other state
        // is going to be discarded afterwards.
        TileParser parser(data, *this, map.getStyle(), map.getGlyphAtlas(),
                          map.getGlyphStore(), map.getSpriteAtlas(), map.getSprite());
        parser.parse();
    } catch (const std::exception& ex) {
#if defined(DEBUG)
        fprintf(stderr, "[%p] exception [%d/%d/%d]... failed: %s\n", this, id.z, id.x, id.y, ex.what());
#endif
        cancel();
        return;
    }

So it appears parse() throws an exception and this causes objects to be deleted on the wrong thread?

@ljbade
Copy link
Contributor Author

ljbade commented Nov 18, 2014

OK we will need to implement #613 so I can actually see why tile parsing is failing here.

ljbade pushed a commit that referenced this issue Nov 25, 2014
@ljbade
Copy link
Contributor Author

ljbade commented Nov 25, 2014

Temp fix in caea309

@ljbade
Copy link
Contributor Author

ljbade commented Nov 26, 2014

New crash I have noticed a few times - paritculary when you don't have a valid access key set:

11-26 19:46:04.294  22269-23373/com.mapbox.mapboxgl.app A/libc﹕ src/unix/core.c:237: uv__finish_close: assertion "0" failed
11-26 19:46:04.304  22269-23373/com.mapbox.mapboxgl.app E/﹕ Map::run() crash:
    signal 6 (Process abort signal) [at libc.so:0x22048 (tgkill+0xc)]

ljbade pushed a commit that referenced this issue Nov 27, 2014
@ljbade
Copy link
Contributor Author

ljbade commented Dec 22, 2014

I have not seen this for a while so I think it has been fixed. Will reopen if I notice it again.

@ljbade ljbade closed this as completed Dec 22, 2014
@xor22h
Copy link

xor22h commented Jan 1, 2015

It crashes on launch. Nexus 5. OS 5.0.1

Logcat output:


01-01 22:38:32.130    8511-8511/? I/art﹕ Late-enabling -Xcheck:jni
01-01 22:38:32.270    8511-8511/com.mapbox.mapboxgl.app D/JNI﹕ JNI_OnLoad
01-01 22:38:32.271    8511-8511/com.mapbox.mapboxgl.app D/JNI﹕ nativeCreate
01-01 22:38:32.272    8511-8511/com.mapbox.mapboxgl.app D/Android﹕ NativeMapView::NativeMapView
01-01 22:38:32.272    8511-8511/com.mapbox.mapboxgl.app D/JNI﹕ nativeSetLonLat
01-01 22:38:32.272    8511-8511/com.mapbox.mapboxgl.app D/Android﹕ NativeMapView::notifyMapChange()
01-01 22:38:32.272    8511-8511/com.mapbox.mapboxgl.app D/Android﹕ NativeMapView::notifyMapChange()
01-01 22:38:32.272    8511-8511/com.mapbox.mapboxgl.app D/JNI﹕ nativeSetZoom
01-01 22:38:32.272    8511-8511/com.mapbox.mapboxgl.app D/Android﹕ NativeMapView::notifyMapChange()
01-01 22:38:32.272    8511-8511/com.mapbox.mapboxgl.app D/Android﹕ NativeMapView::notifyMapChange()
01-01 22:38:32.273    8511-8511/com.mapbox.mapboxgl.app D/JNI﹕ nativeSetBearing
01-01 22:38:32.273    8511-8511/com.mapbox.mapboxgl.app D/Android﹕ NativeMapView::notifyMapChange()
01-01 22:38:32.273    8511-8511/com.mapbox.mapboxgl.app D/Android﹕ NativeMapView::notifyMapChange()
01-01 22:38:32.273    8511-8511/com.mapbox.mapboxgl.app D/JNI﹕ nativeSetDebug
01-01 22:38:32.273    8511-8511/com.mapbox.mapboxgl.app D/Android﹕ NativeMapView::enableFps()
01-01 22:38:32.279    8511-8511/com.mapbox.mapboxgl.app D/JNI﹕ nativeSetReachability
01-01 22:38:32.280    8511-8511/com.mapbox.mapboxgl.app D/JNI﹕ nativeSetAccessToken
01-01 22:38:32.280    8511-8511/com.mapbox.mapboxgl.app D/JNI﹕ nativeGetAccessToken
01-01 22:38:32.280    8511-8511/com.mapbox.mapboxgl.app D/JNI﹕ nativeInitializeDisplay
01-01 22:38:32.280    8511-8511/com.mapbox.mapboxgl.app D/Android﹕ NativeMapView::initializeDisplay
01-01 22:38:32.281    8511-8511/com.mapbox.mapboxgl.app I/Adreno-EGL﹕ <qeglDrvAPI_eglInitialize:410>: QUALCOMM Build: 10/24/14, 167c270, I68fa98814b
01-01 22:38:32.283    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ EGL Vendor: Android
01-01 22:38:32.283    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ EGL Version: 1.4 Android META-EGL
01-01 22:38:32.283    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ EGL Client APIs: OpenGL_ES
01-01 22:38:32.283    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ EGL Client Extensions: EGL_KHR_get_all_proc_addresses EGL_ANDROID_presentation_time EGL_KHR_image EGL_KHR_image_base EGL_KHR_lock_surface EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_fence_sync EGL_KHR_create_context EGL_EXT_create_context_robustness EGL_ANDROID_image_native_buffer EGL_KHR_wait_sync EGL_ANDROID_recordable
01-01 22:38:32.283    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ Found 9 configs
01-01 22:38:32.283    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ Config 0:
01-01 22:38:32.283    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Caveat: 12344
01-01 22:38:32.283    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Conformant: 69
01-01 22:38:32.283    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Color: 16
01-01 22:38:32.283    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Red: 5
01-01 22:38:32.283    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Green: 6
01-01 22:38:32.283    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Blue: 5
01-01 22:38:32.283    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Alpha: 0
01-01 22:38:32.283    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Alpha mask: 0
01-01 22:38:32.283    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Depth: 24
01-01 22:38:32.283    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Stencil: 8
01-01 22:38:32.283    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Sample buffers: 0
01-01 22:38:32.284    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Samples: 0
01-01 22:38:32.284    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ Config 1:
01-01 22:38:32.284    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Caveat: 12344
01-01 22:38:32.284    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Conformant: 69
01-01 22:38:32.284    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Color: 16
01-01 22:38:32.284    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Red: 5
01-01 22:38:32.284    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Green: 6
01-01 22:38:32.284    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Blue: 5
01-01 22:38:32.284    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Alpha: 0
01-01 22:38:32.284    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Alpha mask: 0
01-01 22:38:32.284    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Depth: 24
01-01 22:38:32.284    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Stencil: 8
01-01 22:38:32.284    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Sample buffers: 1
01-01 22:38:32.284    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Samples: 2
01-01 22:38:32.284    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ Config 2:
01-01 22:38:32.284    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Caveat: 12344
01-01 22:38:32.284    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Conformant: 69
01-01 22:38:32.284    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Color: 16
01-01 22:38:32.284    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Red: 5
01-01 22:38:32.284    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Green: 6
01-01 22:38:32.284    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Blue: 5
01-01 22:38:32.284    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Alpha: 0
01-01 22:38:32.284    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Alpha mask: 0
01-01 22:38:32.284    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Depth: 24
01-01 22:38:32.284    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Stencil: 8
01-01 22:38:32.284    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Sample buffers: 1
01-01 22:38:32.284    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Samples: 4
01-01 22:38:32.284    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ Config 3:
01-01 22:38:32.284    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Caveat: 12344
01-01 22:38:32.284    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Conformant: 69
01-01 22:38:32.284    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Color: 24
01-01 22:38:32.284    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Red: 8
01-01 22:38:32.284    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Green: 8
01-01 22:38:32.284    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Blue: 8
01-01 22:38:32.284    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Alpha: 0
01-01 22:38:32.284    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Alpha mask: 0
01-01 22:38:32.284    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Depth: 24
01-01 22:38:32.284    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Stencil: 8
01-01 22:38:32.284    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Sample buffers: 0
01-01 22:38:32.284    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Samples: 0
01-01 22:38:32.284    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ Config 4:
01-01 22:38:32.284    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Caveat: 12344
01-01 22:38:32.284    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Conformant: 69
01-01 22:38:32.284    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Color: 24
01-01 22:38:32.284    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Red: 8
01-01 22:38:32.284    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Green: 8
01-01 22:38:32.284    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Blue: 8
01-01 22:38:32.284    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Alpha: 0
01-01 22:38:32.284    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Alpha mask: 0
01-01 22:38:32.284    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Depth: 24
01-01 22:38:32.284    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Stencil: 8
01-01 22:38:32.284    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Sample buffers: 1
01-01 22:38:32.284    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Samples: 2
01-01 22:38:32.284    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ Config 5:
01-01 22:38:32.284    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Caveat: 12344
01-01 22:38:32.284    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Conformant: 69
01-01 22:38:32.284    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Color: 24
01-01 22:38:32.284    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Red: 8
01-01 22:38:32.284    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Green: 8
01-01 22:38:32.284    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Blue: 8
01-01 22:38:32.284    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Alpha: 0
01-01 22:38:32.285    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Alpha mask: 0
01-01 22:38:32.285    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Depth: 24
01-01 22:38:32.285    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Stencil: 8
01-01 22:38:32.285    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Sample buffers: 1
01-01 22:38:32.285    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Samples: 4
01-01 22:38:32.285    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ Config 6:
01-01 22:38:32.285    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Caveat: 12344
01-01 22:38:32.285    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Conformant: 69
01-01 22:38:32.285    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Color: 32
01-01 22:38:32.285    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Red: 8
01-01 22:38:32.285    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Green: 8
01-01 22:38:32.285    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Blue: 8
01-01 22:38:32.285    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Alpha: 8
01-01 22:38:32.285    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Alpha mask: 0
01-01 22:38:32.285    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Depth: 24
01-01 22:38:32.285    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Stencil: 8
01-01 22:38:32.285    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Sample buffers: 0
01-01 22:38:32.285    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Samples: 0
01-01 22:38:32.285    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ Config 7:
01-01 22:38:32.285    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Caveat: 12344
01-01 22:38:32.285    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Conformant: 69
01-01 22:38:32.285    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Color: 32
01-01 22:38:32.285    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Red: 8
01-01 22:38:32.285    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Green: 8
01-01 22:38:32.285    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Blue: 8
01-01 22:38:32.285    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Alpha: 8
01-01 22:38:32.285    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Alpha mask: 0
01-01 22:38:32.285    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Depth: 24
01-01 22:38:32.285    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Stencil: 8
01-01 22:38:32.285    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Sample buffers: 1
01-01 22:38:32.285    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Samples: 2
01-01 22:38:32.285    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ Config 8:
01-01 22:38:32.285    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Caveat: 12344
01-01 22:38:32.285    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Conformant: 69
01-01 22:38:32.285    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Color: 32
01-01 22:38:32.285    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Red: 8
01-01 22:38:32.285    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Green: 8
01-01 22:38:32.285    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Blue: 8
01-01 22:38:32.285    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Alpha: 8
01-01 22:38:32.285    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Alpha mask: 0
01-01 22:38:32.285    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Depth: 24
01-01 22:38:32.285    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Stencil: 8
01-01 22:38:32.285    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Sample buffers: 1
01-01 22:38:32.285    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ ...Samples: 4
01-01 22:38:32.285    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ Chosen config is 3
01-01 22:38:32.286    8511-8511/com.mapbox.mapboxgl.app I/OpenGL﹕ Chosen window format is 2
01-01 22:38:32.286    8511-8511/com.mapbox.mapboxgl.app D/JNI﹕ nativeInitializeContext
01-01 22:38:32.286    8511-8511/com.mapbox.mapboxgl.app D/Android﹕ NativeMapView::initializeContext
01-01 22:38:32.316    8511-8511/com.mapbox.mapboxgl.app D/JNI﹕ nativeStart
01-01 22:38:32.316    8511-8511/com.mapbox.mapboxgl.app D/Android﹕ NativeMapView::start
01-01 22:38:32.318    8511-8529/com.mapbox.mapboxgl.app D/Android﹕ NativeMapView::deactivate
01-01 22:38:32.352    8511-8511/com.mapbox.mapboxgl.app D/JNI﹕ nativeResume
01-01 22:38:32.353    8511-8511/com.mapbox.mapboxgl.app D/Android﹕ NativeMapView::resume
01-01 22:38:32.353    8511-8511/com.mapbox.mapboxgl.app D/Android﹕ Not resuming because we are not ready
01-01 22:38:32.359    8511-8530/com.mapbox.mapboxgl.app D/OpenGLRenderer﹕ Render dirty regions requested: true
01-01 22:38:32.364    8511-8511/com.mapbox.mapboxgl.app D/Atlas﹕ Validating map...
01-01 22:38:32.366    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.366    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.366    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.366    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.366    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.366    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.366    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.366    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.366    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.366    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.366    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.366    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.366    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.366    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.366    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.366    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.366    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.366    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.366    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.366    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.366    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.366    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.366    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.366    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.366    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.366    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.366    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.366    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.367    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.367    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.367    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.367    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.367    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.367    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.367    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.367    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.367    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.367    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.367    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.367    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.367    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.367    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.367    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.367    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.367    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.367    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.367    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.367    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.367    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.367    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.367    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.367    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.367    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.367    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.367    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.367    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.367    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.368    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.368    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.368    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.368    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.368    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.368    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.368    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.368    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.368    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.368    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.368    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.368    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.368    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.368    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.368    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.368    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.368    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.368    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.368    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.368    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.368    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.368    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.368    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.368    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.368    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.368    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.368    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.368    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.368    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.368    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.368    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.369    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.369    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.369    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.369    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.369    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.369    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.369    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.369    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.375    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.375    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.375    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.375    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.376    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.377    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.377    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.378    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.378    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.378    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.378    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.378    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.378    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.378    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.378    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.378    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.380    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.380    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.380    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.380    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.381    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.381    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.381    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.381    8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables?
01-01 22:38:32.392    8511-8511/com.mapbox.mapboxgl.app D/JNI﹕ nativeSetReachability
01-01 22:38:32.407    8511-8530/com.mapbox.mapboxgl.app I/OpenGLRenderer﹕ Initialized EGL, version 1.4
01-01 22:38:32.410    8511-8530/com.mapbox.mapboxgl.app D/OpenGLRenderer﹕ Enabling debug mode 0
01-01 22:38:32.436    8511-8511/com.mapbox.mapboxgl.app D/JNI﹕ nativeCreateSurface
01-01 22:38:32.436    8511-8511/com.mapbox.mapboxgl.app D/Android﹕ NativeMapView::createSurface
01-01 22:38:32.439    8511-8511/? I/OpenGL﹕ GL Vendor: Qualcomm
01-01 22:38:32.439    8511-8511/? I/OpenGL﹕ GL Renderer: Adreno (TM) 330
01-01 22:38:32.439    8511-8511/? I/OpenGL﹕ GL Version: OpenGL ES 3.0 V@95.0 AU@  (GIT@I68fa98814b)
01-01 22:38:32.439    8511-8511/? I/OpenGL﹕ GL SL Version: OpenGL ES GLSL ES 3.00
01-01 22:38:32.439    8511-8511/? I/OpenGL﹕ GL 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
01-01 22:38:32.439    8511-8511/? I/OpenGL﹕ GL Extensions:  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_t
01-01 22:38:32.439    8511-8511/? I/OpenGL﹕ GL Extensions: exture_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
01-01 22:38:32.439    8511-8511/? I/OpenGL﹕ Using GL_OES_vertex_array_object.
01-01 22:38:32.439    8511-8511/? I/OpenGL﹕ Using GL_OES_packed_depth_stencil.
01-01 22:38:32.439    8511-8511/? I/OpenGL﹕ Using GL_OES_depth24.
01-01 22:38:32.441    8511-8511/? D/Android﹕ NativeMapView::resume
01-01 22:38:32.441    8511-8529/? D/Android﹕ NativeMapView::activate
01-01 22:38:32.441    8511-8529/? D/Android﹕ NativeMapView::activate
01-01 22:38:32.442    8511-8529/? W/Adreno-ES20﹕ <core_glProgramBinaryOES:3185>: GL_INVALID_ENUM
01-01 22:38:32.442    8511-8529/? E/Crash﹕ Map::run() crash:
    signal 6 (Process abort signal) [at libc.so:0x39c24 (tgkill+0xc)]

@ljbade ljbade reopened this Jan 1, 2015
@ljbade
Copy link
Contributor Author

ljbade commented Jan 1, 2015

@jfirebaugh Any idea what the 01-01 22:38:32.366 8511-8511/com.mapbox.mapboxgl.app W/Atlas﹕ Pointer 0x0, not in getPreloadedDrawables? lines mean? I do not think it is related to the GL error but I have not seen that message before.

@ljbade
Copy link
Contributor Author

ljbade commented Jan 1, 2015

@xor22h Did this crash happen the first time you ran the app, or only on subsequent launches?

It seems that perhaps the GL shader cache got corrupted so I guess clearing the apps data files will fix this. I am assuming this as the only way to get INVALID_ENUM error at that function is because binaryFormat does not match the value given by glGetProgramBinary

@jfirebaugh My understanding is that https://github.com/mapbox/mapbox-gl-native/blob/android-mason/src/mbgl/shader/shader.cpp#L29-L38 should crash before it gets the the GL function if the file is truncated/not existing right? If so somehow the file was the right length but the binaryFormat was invalid

@ljbade ljbade added this to the Android merge milestone Jan 1, 2015
@ljbade
Copy link
Contributor Author

ljbade commented Jan 1, 2015

@incanus Am I right in recalling you have a Nexus 5? Have you seen this error?

@xor22h
Copy link

xor22h commented Jan 2, 2015

It happens everylaunch. I was unnable to run app at all. Clearing cache, data, removing entire app and reinstalling didn't helped.

Note: i'm using dpi mod. Build.prop density=400. But it crashes with default (480) also.

Atlas is comming from here i think: https://android.googlesource.com/platform/frameworks/base/+/master/core/java/android/view/ThreadedRenderer.java

I see this with other apps too.

If i can help somehow - please ask.

@ljbade
Copy link
Contributor Author

ljbade commented Jan 2, 2015

@xor22h Can you try disabling these lines as a work around: https://github.com/mapbox/mapbox-gl-native/blob/android-mason/android/cpp/native_map_view.cpp#L626-L638

That will stop the app trying to load the GL program binary extension which should stop the crash.

@xor22h
Copy link

xor22h commented Jan 2, 2015

Yes, commenting out these lines fixes crash.

@ljbade
Copy link
Contributor Author

ljbade commented Jan 2, 2015

@xor22h What happens if you put some Log::Debug() calls with binaryFormat at glGetProgramBinary and glProgramBinary to find where it is saving the bad binaryFormat value.

@xor22h
Copy link

xor22h commented Jan 2, 2015

@ljbade, Not sure if i correctly understood what you have asked. I tried:

gl::GetProgramBinary = reinterpret_cast<gl::PFNGLGETPROGRAMBINARYPROC>(eglGetProcAddress("glGetProgramBinaryOES"));
mbgl::Log::Debug(mbgl::Event::OpenGL, "D: %x", gl::GetProgramBinary);

gl::ProgramBinary = reinterpret_cast<gl::PFNGLPROGRAMBINARYPROC>(eglGetProcAddress("glProgramBinaryOES"));
mbgl::Log::Debug(mbgl::Event::OpenGL, "E: %x", gl::ProgramBinary);
V/MapView (17892): surfaceCreated
D/JNI     (17892): nativeCreateSurface
D/Android (17892): NativeMapView::createSurface
I/OpenGL  (17892): GL Vendor: Qualcomm
I/OpenGL  (17892): GL Renderer: Adreno (TM) 330
I/OpenGL  (17892): GL Version: OpenGL ES 3.0 V@95.0 AU@  (GIT@I68fa98814b)
I/OpenGL  (17892): GL SL Version: OpenGL ES GLSL ES 3.00
I/OpenGL  (17892): GL 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
I/OpenGL  (17892): GL Extensions:  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_t
I/OpenGL  (17892): GL Extensions: exture_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 
I/OpenGL  (17892): Using GL_OES_vertex_array_object.
I/OpenGL  (17892): Using GL_OES_packed_depth_stencil.
I/OpenGL  (17892): Using GL_OES_depth24.
D/OpenGL  (17892): D: b6bf0a58
D/OpenGL  (17892): E: b6bf0a6c
D/Android (17892): NativeMapView::resume
D/Android (17892): NativeMapView::activate
D/Android (17892): NativeMapView::activate
W/Adreno-ES20(17892): <core_glProgramBinaryOES:3185>: GL_INVALID_ENUM
E/Crash   (17892): Map::run() crash:
E/Crash   (17892): signal 6 (Process abort signal) [at libc.so:0x39c24 (tgkill+0xc)]
V/MapView (17844): surfaceCreated
D/JNI     (17844): nativeCreateSurface
D/Android (17844): NativeMapView::createSurface
I/OpenGL  (17844): GL Vendor: Qualcomm
I/OpenGL  (17844): GL Renderer: Adreno (TM) 330
I/OpenGL  (17844): GL Version: OpenGL ES 3.0 V@95.0 AU@  (GIT@I68fa98814b)
I/OpenGL  (17844): GL SL Version: OpenGL ES GLSL ES 3.00
I/OpenGL  (17844): GL 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
I/OpenGL  (17844): GL Extensions:  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_t
I/OpenGL  (17844): GL Extensions: exture_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 
I/OpenGL  (17844): Using GL_OES_vertex_array_object.
I/OpenGL  (17844): Using GL_OES_packed_depth_stencil.
I/OpenGL  (17844): Using GL_OES_depth24.
D/OpenGL  (17844): D: b6bf0a58
D/OpenGL  (17844): E: b6bf0a6c
D/Android (17844): NativeMapView::resume
D/Android (17844): NativeMapView::activate
D/Android (17844): NativeMapView::activate
W/Adreno-ES20(17844): <core_glProgramBinaryOES:3185>: GL_INVALID_ENUM
E/Crash   (17844): Map::run() crash:
E/Crash   (17844): signal 6 (Process abort signal) [at libc.so:0x39c24 (tgkill+0xc)]

@ljbade
Copy link
Contributor Author

ljbade commented Jan 4, 2015

@xor22h I was able to recreate the bug. It appears that somehow garbage was being read for binaryFormat.

I added some validation in 8eceb08 to ignore the garbage.

Can you please test this version?

@xor22h
Copy link

xor22h commented Jan 5, 2015

Yes, it has fixed an issue. App launches.

I/OpenGLRenderer( 1960): Initialized EGL, version 1.4
D/OpenGLRenderer( 1960): Enabling debug mode 0
V/MapView ( 1960): surfaceCreated
I/OpenGL  ( 1960): GL Vendor: Qualcomm
I/OpenGL  ( 1960): GL Renderer: Adreno (TM) 330
I/OpenGL  ( 1960): GL Version: OpenGL ES 3.0 V@95.0 AU@  (GIT@I68fa98814b)
I/OpenGL  ( 1960): GL SL Version: OpenGL ES GLSL ES 3.00
I/OpenGL  ( 1960): GL 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
I/OpenGL  ( 1960): GL Extensions:  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_t
I/OpenGL  ( 1960): GL Extensions: exture_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 
I/OpenGL  ( 1960): Using GL_OES_vertex_array_object.
I/OpenGL  ( 1960): Using GL_OES_packed_depth_stencil.
I/OpenGL  ( 1960): Using GL_OES_depth24.
I/OpenGL  ( 1960): Using GL_OES_get_program_binary.
I/OpenGL  ( 1960): Using GL_EXT_debug_marker.
I/OpenGL  ( 1960): Using GL_EXT_debug_label.
E/OpenGL  ( 1960): Trying load program binary with an invalid binaryFormat!
V/MapView ( 1960): surfaceChanged
I/MapView ( 1960): resize 4 1080 1597
V/MapView ( 1960): surfaceRedrawNeeded
V/MapView ( 1960): surfaceRedrawNeeded
E/OpenGL  ( 1960): Trying load program binary with an invalid binaryFormat!
E/OpenGL  ( 1960): Trying load program binary with an invalid binaryFormat!
E/OpenGL  ( 1960): Trying load program binary with an invalid binaryFormat!
E/OpenGL  ( 1960): Trying load program binary with an invalid binaryFormat!
E/OpenGL  ( 1960): Trying load program binary with an invalid binaryFormat!
I/ActivityManager(  772): Displayed com.mapbox.mapboxgl.app/.MainActivity: +513ms
E/OpenGL  ( 1960): Trying load program binary with an invalid binaryFormat!
E/OpenGL  ( 1960): Trying load program binary with an invalid binaryFormat!
E/OpenGL  ( 1960): Trying load program binary with an invalid binaryFormat!
E/OpenGL  ( 1960): Trying load program binary with an invalid binaryFormat!
E/OpenGL  ( 1960): Trying load program binary with an invalid binaryFormat!
E/OpenGL  ( 1960): Trying load program binary with a zero length binary!
E/OpenGL  ( 1960): Trying load program binary with an invalid binaryFormat!
E/OpenGL  ( 1960): Trying load program binary with a zero length binary!
I/Sprite  ( 1960): loaded https://www.mapbox.com/mapbox-gl-styles/sprites/bright@2x.png

also, please note that TAG 'android-v0.1.2' breaks make scripts. it tries to explode "." and fails to convert 'android-v0' to integer. creating a new tag '0.1.2' solves the problem;

@ljbade
Copy link
Contributor Author

ljbade commented Jan 5, 2015

@xor22h Which line in the make file is that? I will see if I can escape it properly.

@xor22h
Copy link

xor22h commented Jan 5, 2015

@incanus
Copy link
Contributor

incanus commented Jan 5, 2015

@incanus Am I right in recalling you have a Nexus 5? Have you seen this error?

FYI no, I have Nexuses 4, 7, and 9 :-)

@ljbade
Copy link
Contributor Author

ljbade commented Jan 9, 2015

I am closing this, but will take another look at the underlying issue in #740

@ljbade ljbade closed this as completed Jan 9, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Android Mapbox Maps SDK for Android bug
Projects
None yet
Development

No branches or pull requests

3 participants