-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[Android] Fatal Exception: java.lang.Error: eglSwapInterval() failed #6112
Comments
@DmitryTankovich got a bit more information on this issue? OS version? Device? Mapbox SDK version? Use-case to reproduce? Thanks you for reaching out! |
@tobrun Sorry |
same error
Android 4.0.4 |
Same here :
Is there any fix on this on this?. 0S : Android 6.0 |
Same issue here.
Android 4.0.3 |
Has same error on Optimus L5 (android 4) |
Same crash on a Acer R11 Chromebook immediately upon launching our Activity/Fragment containing the map. Android version 6.0.1, Mapbox SDK version 5.0.0. |
Any ideia when this will be fixed?. My app has more than 200 crashes because of this issue |
This sounds like an instance of #8759, which will be fixed in the upcoming Android SDK 5.1 release. |
Still crashes on our Chromebook with the 5.1.0 SDK. |
Maybe the same crash with one device so far: Mapbox Android SDK 5.1.0
|
As best I can tell from the commit that added it, the eglSwapInterval call is intended as a performance tweak. Is it really necessary to throw an error if it fails? If I remove the line throwing the error and rebuild, things look great on the Chromebook. |
If that approach is too cavalier, maybe it would be appropriate to throw only if eglGetError returns EGL_BAD_CONTEXT or EGL_BAD_SURFACE (following https://www.khronos.org/registry/EGL/sdk/docs/man/html/eglSwapInterval.xhtml). On the Chromebook on which I'm reproducing this crash, it's returning EGL_SUCCESS (naturally). |
This will be superseded by #9576 |
The text was updated successfully, but these errors were encountered: