{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/10414","repository_url":"https://api.github.com/repos/mapbox/mapbox-gl-native","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/10414/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/10414/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/10414/events","html_url":"https://github.com/mapbox/mapbox-gl-native/issues/10414","id":272186437,"number":10414,"title":"[android] App crashed unexpectedly","user":{"login":"Guardiola31337","id":1668582,"avatar_url":"https://avatars1.githubusercontent.com/u/1668582?v=4","gravatar_id":"","url":"https://api.github.com/users/Guardiola31337","html_url":"https://github.com/Guardiola31337","followers_url":"https://api.github.com/users/Guardiola31337/followers","following_url":"https://api.github.com/users/Guardiola31337/following{/other_user}","gists_url":"https://api.github.com/users/Guardiola31337/gists{/gist_id}","starred_url":"https://api.github.com/users/Guardiola31337/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Guardiola31337/subscriptions","organizations_url":"https://api.github.com/users/Guardiola31337/orgs","repos_url":"https://api.github.com/users/Guardiola31337/repos","events_url":"https://api.github.com/users/Guardiola31337/events{/privacy}","received_events_url":"https://api.github.com/users/Guardiola31337/received_events","type":"User","site_admin":false},"labels":[{"id":143173729,"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/labels/Android","name":"Android","color":"000000","default":false},{"id":173948013,"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/labels/crash","name":"crash","color":"0052cc","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/milestones/65","html_url":"https://github.com/mapbox/mapbox-gl-native/milestone/65","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/milestones/65/labels","id":2577937,"number":65,"title":"android-v5.2.0","description":"Mapbox Android SDK v5.2.0.","creator":{"login":"zugaldia","id":6964,"avatar_url":"https://avatars0.githubusercontent.com/u/6964?v=4","gravatar_id":"","url":"https://api.github.com/users/zugaldia","html_url":"https://github.com/zugaldia","followers_url":"https://api.github.com/users/zugaldia/followers","following_url":"https://api.github.com/users/zugaldia/following{/other_user}","gists_url":"https://api.github.com/users/zugaldia/gists{/gist_id}","starred_url":"https://api.github.com/users/zugaldia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zugaldia/subscriptions","organizations_url":"https://api.github.com/users/zugaldia/orgs","repos_url":"https://api.github.com/users/zugaldia/repos","events_url":"https://api.github.com/users/zugaldia/events{/privacy}","received_events_url":"https://api.github.com/users/zugaldia/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":159,"state":"open","created_at":"2017-06-12T14:38:16Z","updated_at":"2017-11-17T12:39:08Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2017-11-08T12:48:26Z","updated_at":"2017-11-17T13:12:04Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"**Platform:** Android 6.0 Nexus 5\r\n**Mapbox SDK version:** `release-agua` branch\r\n\r\nWas testing test app activities and when I opened `Custom Dynamic InfoWindow` app crashed. I tried again later but couldn’t reproduce anymore.\r\n\r\n```\r\n                                           --------- beginning of crash\r\n11-08 13:17:25.210 9066-14528/? E/AndroidRuntime: FATAL EXCEPTION: GLThread 13856\r\n                                                  Process: com.mapbox.mapboxsdk.testapp, PID: 9066\r\n                                                  java.lang.Error: glDrawElements( static_cast<GLenum>(primitiveType), static_cast<GLsizei>(indexLength), GL_UNSIGNED_SHORT, reinterpret_cast<GLvoid*>(sizeof(uint16_t) * indexOffset)): Error GL_INVALID_OPERATION at /Users/pguardiola/mapbox/mapbox-gl-native/src/mbgl/gl/context.cpp:693\r\n                                                      at com.mapbox.mapboxsdk.maps.renderer.MapRenderer.nativeRender(Native Method)\r\n                                                      at com.mapbox.mapboxsdk.maps.renderer.MapRenderer.onDrawFrame(MapRenderer.java:83)\r\n                                                      at com.mapbox.mapboxsdk.maps.renderer.glsurfaceview.GLSurfaceViewMapRenderer.onDrawFrame(GLSurfaceViewMapRenderer.java:55)\r\n                                                      at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1535)\r\n                                                      at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1240)\r\n```\r\n\r\ncc @tobrun @ivovandongen \r\n"},"comment":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/comments/345240128","html_url":"https://github.com/mapbox/mapbox-gl-native/issues/10414#issuecomment-345240128","issue_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/10414","id":345240128,"user":{"login":"Guardiola31337","id":1668582,"avatar_url":"https://avatars1.githubusercontent.com/u/1668582?v=4","gravatar_id":"","url":"https://api.github.com/users/Guardiola31337","html_url":"https://github.com/Guardiola31337","followers_url":"https://api.github.com/users/Guardiola31337/followers","following_url":"https://api.github.com/users/Guardiola31337/following{/other_user}","gists_url":"https://api.github.com/users/Guardiola31337/gists{/gist_id}","starred_url":"https://api.github.com/users/Guardiola31337/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Guardiola31337/subscriptions","organizations_url":"https://api.github.com/users/Guardiola31337/orgs","repos_url":"https://api.github.com/users/Guardiola31337/repos","events_url":"https://api.github.com/users/Guardiola31337/events{/privacy}","received_events_url":"https://api.github.com/users/Guardiola31337/received_events","type":"User","site_admin":false},"created_at":"2017-11-17T13:12:04Z","updated_at":"2017-11-17T13:12:04Z","author_association":"CONTRIBUTOR","body":"I was able to reproduce OP with latest changes in `release-agua` 👀\r\n\r\n![custom_dynamic_info_window_crash](https://user-images.githubusercontent.com/1668582/32948650-50f05c94-cba0-11e7-91d3-f044928d538f.gif)\r\n\r\n```\r\n11-17 14:08:01.666 17704-17704/com.mapbox.mapboxsdk.testapp E/TrackingSettings: Could not activate user location tracking: user did not accept the permission or permissions were not requested.\r\n11-17 14:08:01.677 17704-17740/com.mapbox.mapboxsdk.testapp E/Surface: getSlotFromBufferLocked: unknown buffer: 0x99bfe790\r\n11-17 14:08:01.683 17704-17740/com.mapbox.mapboxsdk.testapp D/OpenGLRenderer: endAllStagingAnimators on 0x9e76d400 (RippleDrawable) with handle 0x97f3e890\r\n11-17 14:08:01.866 189-189/? W/SurfaceFlinger: couldn't log to binary event log: overflow.\r\n11-17 14:08:01.949 17704-18228/com.mapbox.mapboxsdk.testapp W/Adreno-ES20: <gl_draw_error_checks:608>: GL_INVALID_OPERATION\r\n11-17 14:08:01.967 17704-18228/com.mapbox.mapboxsdk.testapp E/Surface: getSlotFromBufferLocked: unknown buffer: 0x982252a0\r\n11-17 14:08:01.977 17704-18228/com.mapbox.mapboxsdk.testapp E/AndroidRuntime: FATAL EXCEPTION: GLThread 7724\r\n                                                                              Process: com.mapbox.mapboxsdk.testapp, PID: 17704\r\n                                                                              java.lang.Error: glDrawElements( static_cast<GLenum>(primitiveType), static_cast<GLsizei>(indexLength), GL_UNSIGNED_SHORT, reinterpret_cast<GLvoid*>(sizeof(uint16_t) * indexOffset)): Error GL_INVALID_OPERATION at /Users/pguardiola/mapbox/mapbox-gl-native/src/mbgl/gl/context.cpp:693\r\n                                                                                  at com.mapbox.mapboxsdk.maps.renderer.MapRenderer.nativeRender(Native Method)\r\n                                                                                  at com.mapbox.mapboxsdk.maps.renderer.MapRenderer.onDrawFrame(MapRenderer.java:83)\r\n                                                                                  at com.mapbox.mapboxsdk.maps.renderer.glsurfaceview.GLSurfaceViewMapRenderer.onDrawFrame(GLSurfaceViewMapRenderer.java:55)\r\n                                                                                  at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1535)\r\n                                                                                  at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1240)\r\n11-17 14:08:01.978 774-3038/? W/ActivityManager:   Force finishing activity com.mapbox.mapboxsdk.testapp/.activity.infowindow.DynamicInfoWindowAdapterActivity\r\n11-17 14:08:01.982 774-3038/? W/ActivityManager:   Force finishing activity com.mapbox.mapboxsdk.testapp/.activity.FeatureOverviewActivity\r\n```\r\n\r\nDevice 👉 Nexus 5 (Android 6.0)\r\n\r\ncc @tobrun @ivovandongen "}}
{"actor":{"display_login":"Guardiola31337"}}