Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Login
Register
www.jpct.net
»
jPCT-AE - a 3d engine for Android
»
Support
»
A lot of errors EGL_BAD_ALLOC ?
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: A lot of errors EGL_BAD_ALLOC ? (Read 5521 times)
zbych
int
Posts: 75
A lot of errors EGL_BAD_ALLOC ?
«
on:
June 04, 2012, 10:33:09 pm »
Hi.
I'm getting a lot of error reports of this type from users running my game. Is here someone with idea what causes it, or is it possible to avoid it?
java.lang.RuntimeException: eglSwapBuffers failed: EGL_BAD_ALLOC
at android.opengl.GLSurfaceView$EglHelper.throwEglException(GLSurfaceView.java:1082)
at android.opengl.GLSurfaceView$EglHelper.swap(GLSurfaceView.java:1040)
at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1338)
at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1121)
Logged
zammbi
float
Posts: 361
Re: A lot of errors EGL_BAD_ALLOC ?
«
Reply #1 on:
June 04, 2012, 11:19:29 pm »
From which device(s)? Which OpenGL version?
If it's a driver issue probably not much can be done:
http://www.jpct.net/forum2/index.php/topic,2624.0.html
Logged
zbych
int
Posts: 75
Re: A lot of errors EGL_BAD_ALLOC ?
«
Reply #2 on:
June 04, 2012, 11:27:47 pm »
Unfortunately thats all I can get from play market developer's console
Users usualy sends error reports without any information, or with information: "not working !!"
Logged
EgonOlsen
Administrator
quad
Posts: 12295
Re: A lot of errors EGL_BAD_ALLOC ?
«
Reply #3 on:
June 05, 2012, 12:02:53 am »
Something with your Activity?....google brings up some related stuff:
http://stackoverflow.com/questions/6039107/android-glsurfaceview-egl-bad-alloc
Logged
zbych
int
Posts: 75
Re: A lot of errors EGL_BAD_ALLOC ?
«
Reply #4 on:
June 05, 2012, 12:49:34 pm »
I have looked at this article before, but when I was checking code today I found in onPaue() I call first _glView.onPause() and then super.onPause(), maybe this is the reason. I'll change order of this and will see.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
www.jpct.net
»
jPCT-AE - a 3d engine for Android
»
Support
»
A lot of errors EGL_BAD_ALLOC ?