Did you ever get to the bottom of this?  I'm also having this issue.
Doesn't seem to be specific to a type of phone, type of display or how
long the app has been running before the crash.   Seems very random.
Its my #1 most common error and I'd love to be able to get to the
bottom of it.

Has anybody else had similar experiences?

On Oct 11, 6:06 pm, bob <[email protected]> wrote:
> On Oct 10, 6:53 pm, Kristopher Micinski <[email protected]>
> wrote:
>
>
>
>
>
>
>
>
>
> >http://stackoverflow.com/questions/6039107/android-glsurfaceview-egl-...
>
> > On Mon, Oct 10, 2011 at 4:41 PM, bob <[email protected]> wrote:
> > > Any ideas why my Android OpenGL slot machine may have this in its ACRA
> > > log?
>
> > > java.lang.RuntimeException: eglSwapBuffers failed: EGL_BAD_ALLOC
> > >        at android.opengl.GLSurfaceView
> > > $EglHelper.throwEglException(GLSurfaceView.java:1077)
> > >        at android.opengl.GLSurfaceView$EglHelper.swap(GLSurfaceView.java:
> > > 1035)
> > >        at android.opengl.GLSurfaceView
> > > $GLThread.guardedRun(GLSurfaceView.java:1333)
> > >        at 
> > > android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1116)
>
> > > --
> > > You received this message because you are subscribed to the Google
> > > Groups "Android Developers" group.
> > > To post to this group, send email to [email protected]
> > > To unsubscribe from this group, send email to
> > > [email protected]
> > > For more options, visit this group at
> > >http://groups.google.com/group/android-developers?hl=en
>
> These were my methods when I got the error:
>
>         @Override
>         protected void onPause() {
>                 super.onPause();
>                 surface.onPause();
>         }
>
>         @Override
>         protected void onResume() {
>                 super.onResume();
>                 surface.onResume();
>         }

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to