Android : GLSurfaceView sometimes crashes when activity is closed -
Android : GLSurfaceView sometimes crashes when activity is closed -
in 9 months of working on project i've had bug 2 or 3 times, rare still know causing it.
when close activity (by pressing on home) activity crashes , send me next stack
error/androidruntime(2764): fatal exception: glthread 47 error/androidruntime(2764): java.lang.runtimeexception: eglswapbuffers failed: egl_bad_surface error/androidruntime(2764): @ android.opengl.glsurfaceview$eglhelper.throweglexception(glsurfaceview.java:1077) error/androidruntime(2764): @ android.opengl.glsurfaceview$eglhelper.swap(glsurfaceview.java:1035) error/androidruntime(2764): @ android.opengl.glsurfaceview$glthread.guardedrun(glsurfaceview.java:1333) error/androidruntime(2764): @ android.opengl.glsurfaceview$glthread.run(glsurfaceview.java:1116)
it seems error coming core glsurfaceview code rather own code.
any ideas ?
i have been trying identify root cause exception, , related one: egl_bad_alloc. i'll update question if can find anything, particularly whether there can code prevent happening.
android glsurfaceview
Comments
Post a Comment