{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/2018","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/2018/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/2018/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/2018/events","html_url":"https://github.com/mapbox/mapbox-gl-native/issues/2018","id":99906588,"number":2018,"title":"Freezes when going back and forth between activites","user":{"login":"erf","id":1562523,"avatar_url":"https://avatars.githubusercontent.com/u/1562523?v=3","gravatar_id":"","url":"https://api.github.com/users/erf","html_url":"https://github.com/erf","followers_url":"https://api.github.com/users/erf/followers","following_url":"https://api.github.com/users/erf/following{/other_user}","gists_url":"https://api.github.com/users/erf/gists{/gist_id}","starred_url":"https://api.github.com/users/erf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erf/subscriptions","organizations_url":"https://api.github.com/users/erf/orgs","repos_url":"https://api.github.com/users/erf/repos","events_url":"https://api.github.com/users/erf/events{/privacy}","received_events_url":"https://api.github.com/users/erf/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/labels/Android","name":"Android","color":"5319e7"},{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"bleege","id":989928,"avatar_url":"https://avatars.githubusercontent.com/u/989928?v=3","gravatar_id":"","url":"https://api.github.com/users/bleege","html_url":"https://github.com/bleege","followers_url":"https://api.github.com/users/bleege/followers","following_url":"https://api.github.com/users/bleege/following{/other_user}","gists_url":"https://api.github.com/users/bleege/gists{/gist_id}","starred_url":"https://api.github.com/users/bleege/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bleege/subscriptions","organizations_url":"https://api.github.com/users/bleege/orgs","repos_url":"https://api.github.com/users/bleege/repos","events_url":"https://api.github.com/users/bleege/events{/privacy}","received_events_url":"https://api.github.com/users/bleege/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/milestones/6","html_url":"https://github.com/mapbox/mapbox-gl-native/milestones/android-v0.1.0","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/milestones/6/labels","id":982241,"number":6,"title":"android-v0.1.0","description":"","creator":{"login":"ljbade","id":1215089,"avatar_url":"https://avatars.githubusercontent.com/u/1215089?v=3","gravatar_id":"","url":"https://api.github.com/users/ljbade","html_url":"https://github.com/ljbade","followers_url":"https://api.github.com/users/ljbade/followers","following_url":"https://api.github.com/users/ljbade/following{/other_user}","gists_url":"https://api.github.com/users/ljbade/gists{/gist_id}","starred_url":"https://api.github.com/users/ljbade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ljbade/subscriptions","organizations_url":"https://api.github.com/users/ljbade/orgs","repos_url":"https://api.github.com/users/ljbade/repos","events_url":"https://api.github.com/users/ljbade/events{/privacy}","received_events_url":"https://api.github.com/users/ljbade/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":139,"state":"open","created_at":"2015-02-17T02:38:50Z","updated_at":"2015-09-15T16:31:49Z","due_on":"2015-09-04T07:00:00Z","closed_at":null},"comments":33,"created_at":"2015-08-09T15:47:47Z","updated_at":"2015-09-15T18:15:04Z","closed_at":null,"body":"If you add a button to the main view in the test app, and open an arbitrary activity on a click event and then closes it, moves the map and click the button again, the app freezes on my nexus 7 (2012).\r\nI made a simple test case here: \r\nhttps://github.com/erf/mapbox-gl-native/tree/freezes"},"comment":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/comments/140487873","html_url":"https://github.com/mapbox/mapbox-gl-native/issues/2018#issuecomment-140487873","issue_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/2018","id":140487873,"user":{"login":"bleege","id":989928,"avatar_url":"https://avatars.githubusercontent.com/u/989928?v=3","gravatar_id":"","url":"https://api.github.com/users/bleege","html_url":"https://github.com/bleege","followers_url":"https://api.github.com/users/bleege/followers","following_url":"https://api.github.com/users/bleege/following{/other_user}","gists_url":"https://api.github.com/users/bleege/gists{/gist_id}","starred_url":"https://api.github.com/users/bleege/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bleege/subscriptions","organizations_url":"https://api.github.com/users/bleege/orgs","repos_url":"https://api.github.com/users/bleege/repos","events_url":"https://api.github.com/users/bleege/events{/privacy}","received_events_url":"https://api.github.com/users/bleege/received_events","type":"User","site_admin":false},"created_at":"2015-09-15T18:15:04Z","updated_at":"2015-09-15T18:15:04Z","body":"I added the 2nd Activity to the source code and it behaved just as expected navigating back and forth between the 2.\r\n\r\nWhen I rotated the device, that's when things froze up.  Here's the stack trace:\r\n\r\n```\r\n09-15 14:05:56.222    6620-6620/com.mapbox.mapboxgl.testapp I/mbgl﹕ {Main}[OpenGL]: GL Extensions: GL_EXT_debug_marker GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_half_float GL_OES_framebuffer_object GL_OES_rgb8_rgba8 GL_OES_compressed_ETC1_RGB8_texture GL_AMD_compressed_ATC_texture GL_KHR_texture_compression_astc_ldr GL_OES_texture_npot GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_OES_texture_3D GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_QCOM_alpha_test GL_OES_depth24 GL_OES_packed_depth_stencil GL_OES_depth_texture GL_OES_depth_textur\r\n09-15 14:05:56.222    6620-6620/com.mapbox.mapboxgl.testapp I/mbgl﹕ {Main}[OpenGL]: GL Extensions: e_cube_map GL_EXT_sRGB GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_EXT_texture_type_2_10_10_10_REV GL_EXT_texture_sRGB_decode GL_OES_element_index_uint GL_EXT_copy_image GL_EXT_geometry_shader GL_EXT_tessellation_shader GL_OES_texture_stencil8 GL_EXT_shader_io_blocks GL_OES_shader_image_atomic GL_OES_sample_variables GL_EXT_texture_border_clamp GL_EXT_multisampled_render_to_texture GL_OES_shader_multisample_interpolation GL_EXT_texture_cube_\r\n09-15 14:05:56.222    6620-6620/com.mapbox.mapboxgl.testapp I/mbgl﹕ {Main}[OpenGL]: GL Extensions: map_array GL_EXT_draw_buffers_indexed GL_EXT_gpu_shader5 GL_EXT_robustness GL_EXT_texture_buffer GL_OES_texture_storage_multisample_2d_array GL_OES_sample_shading GL_OES_get_program_binary GL_EXT_debug_label GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_QCOM_tiled_rendering GL_ANDROID_extension_pack_es31a GL_EXT_primitive_bounding_box GL_OES_standard_derivatives GL_OES_vertex_array_object GL_EXT_disjoint_timer_query GL_KHR_debug GL_EXT_sRGB_write_control\r\n09-15 14:05:56.422    6620-7240/com.mapbox.mapboxgl.testapp E/mbgl﹕ {SQLite Cache}[Database](5): database is locked\r\n09-15 14:05:56.532    6620-7240/com.mapbox.mapboxgl.testapp E/mbgl﹕ {SQLite Cache}[Database](5): database is locked\r\n09-15 14:06:03.932    6620-7240/com.mapbox.mapboxgl.testapp E/mbgl﹕ {SQLite Cache}[Database](5): database is locked\r\n09-15 14:11:08.122    6620-6673/com.mapbox.mapboxgl.testapp E/mbgl﹕ {SQLite Cache}[Database](5): database is locked\r\n09-15 14:11:08.182    6620-6673/com.mapbox.mapboxgl.testapp E/mbgl﹕ {SQLite Cache}[Database](5): database is locked\r\n09-15 14:11:08.202    6620-6673/com.mapbox.mapboxgl.testapp E/mbgl﹕ {SQLite Cache}[Database](5): database is locked\r\n09-15 14:11:08.272    6620-6673/com.mapbox.mapboxgl.testapp E/mbgl﹕ {SQLite Cache}[Database](5): database is locked\r\n09-15 14:11:08.642    6620-6673/com.mapbox.mapboxgl.testapp E/mbgl﹕ {SQLite Cache}[Database](5): database is locked\r\n09-15 14:11:08.652    6620-6673/com.mapbox.mapboxgl.testapp E/mbgl﹕ {SQLite Cache}[Database](5): database is locked\r\n09-15 14:11:08.722    6620-6673/com.mapbox.mapboxgl.testapp E/mbgl﹕ {SQLite Cache}[Database](5): database is locked\r\n09-15 14:11:08.782    6620-6673/com.mapbox.mapboxgl.testapp E/mbgl﹕ {SQLite Cache}[Database](5): database is locked\r\n09-15 14:11:09.192    6620-6673/com.mapbox.mapboxgl.testapp E/mbgl﹕ {SQLite Cache}[Database](5): database is locked\r\n09-15 14:11:09.202    6620-6673/com.mapbox.mapboxgl.testapp E/mbgl﹕ {SQLite Cache}[Database](5): database is locked\r\n09-15 14:11:09.262    6620-6673/com.mapbox.mapboxgl.testapp E/mbgl﹕ {SQLite Cache}[Database](5): database is locked\r\n09-15 14:11:09.342    6620-6673/com.mapbox.mapboxgl.testapp E/mbgl﹕ {SQLite Cache}[Database](5): database is locked\r\n09-15 14:11:09.872    6620-6673/com.mapbox.mapboxgl.testapp E/mbgl﹕ {SQLite Cache}[Database](5): database is locked\r\n09-15 14:11:09.902    6620-6673/com.mapbox.mapboxgl.testapp E/mbgl﹕ {SQLite Cache}[Database](5): database is locked\r\n09-15 14:11:09.962    6620-6673/com.mapbox.mapboxgl.testapp E/mbgl﹕ {SQLite Cache}[Database](5): database is locked\r\n09-15 14:11:10.042    6620-6673/com.mapbox.mapboxgl.testapp E/mbgl﹕ {SQLite Cache}[Database](5): database is locked\r\n09-15 14:11:10.892    6620-6673/com.mapbox.mapboxgl.testapp E/mbgl﹕ {SQLite Cache}[Database](5): database is locked\r\n09-15 14:11:10.982    6620-6673/com.mapbox.mapboxgl.testapp E/mbgl﹕ {SQLite Cache}[Database](5): database is locked\r\n09-15 14:11:11.022    6620-6673/com.mapbox.mapboxgl.testapp E/mbgl﹕ {SQLite Cache}[Database](5): database is locked\r\n09-15 14:11:11.022    6620-6673/com.mapbox.mapboxgl.testapp E/mbgl﹕ {SQLite Cache}[Database](5): database is locked\r\n09-15 14:11:11.702    6620-6673/com.mapbox.mapboxgl.testapp E/mbgl﹕ {SQLite Cache}[Database](5): database is locked\r\n09-15 14:11:11.722    6620-6673/com.mapbox.mapboxgl.testapp E/mbgl﹕ {SQLite Cache}[Database](5): database is locked\r\n09-15 14:11:11.782    6620-6642/com.mapbox.mapboxgl.testapp I/art﹕ Background sticky concurrent mark sweep GC freed 8426(1425KB) AllocSpace objects, 10(1073KB) LOS objects, 35% free, 4MB/6MB, paused 12.593ms total 39.826ms\r\n09-15 14:11:11.782    6620-6673/com.mapbox.mapboxgl.testapp E/mbgl﹕ {SQLite Cache}[Database](5): database is locked\r\n09-15 14:11:11.832    6620-6673/com.mapbox.mapboxgl.testapp E/mbgl﹕ {SQLite Cache}[Database](5): database is locked\r\n09-15 14:11:11.982    6620-6673/com.mapbox.mapboxgl.testapp E/mbgl﹕ {SQLite Cache}[Database](5): database is locked\r\n09-15 14:11:11.992    6620-6673/com.mapbox.mapboxgl.testapp E/mbgl﹕ {SQLite Cache}[Database](5): database is locked\r\n09-15 14:11:12.022    6620-6673/com.mapbox.mapboxgl.testapp E/mbgl﹕ {SQLite Cache}[Database](5): database is locked\r\n09-15 14:11:12.052    6620-6673/com.mapbox.mapboxgl.testapp E/mbgl﹕ {SQLite Cache}[Database](5): database is locked\r\n09-15 14:11:12.482    6620-6673/com.mapbox.mapboxgl.testapp E/mbgl﹕ {SQLite Cache}[Database](5): database is locked\r\n09-15 14:11:12.482    6620-6673/com.mapbox.mapboxgl.testapp E/mbgl﹕ {SQLite Cache}[Database](5): database is locked\r\n09-15 14:11:12.562    6620-6673/com.mapbox.mapboxgl.testapp E/mbgl﹕ {SQLite Cache}[Database](5): database is locked\r\n09-15 14:11:12.612    6620-6673/com.mapbox.mapboxgl.testapp E/mbgl﹕ {SQLite Cache}[Database](5): database is locked\r\n09-15 14:11:13.552    6620-8782/com.mapbox.mapboxgl.testapp I/mbgl﹕ {Map}[Android]: Not activating as we are not ready\r\n09-15 14:11:13.552    6620-8782/com.mapbox.mapboxgl.testapp I/mbgl﹕ {Map}[Android]: Not deactivating as we are not ready\r\n```"}}