java.lang.RuntimeException: eglSwapBuffers failed

This is my big crash by count right now:

Stack Trace
_________________________________
0   java.lang.RuntimeException: eglSwapBuffers failed: EGL_BAD_ALLOC
1       at android.opengl.GLSurfaceView$EglHelper.throwEglException(GLSurfaceView.java:1082)
2       at android.opengl.GLSurfaceView$EglHelper.swap(GLSurfaceView.java:1040)
3       at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1338)
4       at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1121)

and

0   java.lang.RuntimeException: eglSwapBuffers failed: EGL_SUCCESS
1   
at android.opengl.GLSurfaceView$EglHelper.throwEglException(GLSurfaceView.java:1099)
2   at android.opengl.GLSurfaceView$EglHelper.swap(GLSurfaceView.java:1057)
3   at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1389)
4   at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1138)

Anyone familiar with this?

I also would like to know the answer to this if anyone has any thoughts? I am seeing these two crashes as well…

I see these only on specific devices.

My solution is to filter them in Developer Console.

Yeah I considered that too… here is the list I’m seeing it for:

Galaxy Y (GT-S5360)
Galaxy Ace (GT-S5830i)
Galaxy Y (GT-S5360B)
Galaxy Pocket (GT-S5300)
Galaxy Ace (GT-S5830M)
HTC Sensation XL with Beats Audio X315e
Galaxy Ace Duos (GT-S6802)
Galaxy Gio (GT-S5660)

All running Android 2.3.3 - 2.3.7

Samsung Galaxy Y (GT-S5360 GT-S5360B GT-S5360L GT-S5363 GT-S5368 GT-S5369 SCH-I509 SCH-i509)
Samsung Galaxy Y Duos (GT-S6102 GT-S6102B GT-S6102E ivory)
Samsung Galaxy Ace (GT-S5830 GT-S5830B GT-S5830C GT-S5830D GT-S5830G GT-S5830L GT-S5830M GT-S5830T GT-S5830i GT-S5838 GT-S5839i GT-S6358 SCH-I619 SHW-M240S)
Samsung Galaxy Ace Duos (GT-S6802 GT-S6352 GT-S6802B SCH-I579 SCH-I589 SCH-i579 SCH-i589)
Samsung Galaxy Mini (GT-S5570 GT-S5570B GT-S5570I GT-S5570L GT-S5578 SGH-T499 SGH-T499V SGH-T499Y)
Samsung Galaxy Pocket (GT-S5300 GT-S5300B GT-S5302 GT-S5302B)