ok.. the problem is solved, much more worked around, in fact
i download the last packager... bennu crash on android :
============================== some debug infos ===================================
V/SDL ( 5125): Creating new EGL Surface
I/SDL ( 5125): [STUB] GL_SetSwapInterval
I/SDL ( 5125): [STUB] GL_GetSwapInterval
I/SDL ( 5125): [STUB] GL_DeleteContext
V/SDL ( 5125): Creating new EGL Surface
E/SDL ( 5125): Couldn't create surface
I/SDL ( 5125): [STUB] GL_SetSwapInterval
I/SDL ( 5125): [STUB] GL_GetSwapInterval
F/libc ( 5125): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1)
========================================================================
so it appears that bennu ask twice for the EGL Surface and crash on the second ask..
so..... after some tries... i modified SDLActivity.java
public static boolean createEGLSurface() {
if (SDLActivity.mEGLDisplay != null && SDLActivity.mEGLConfig != null) {
EGL10 egl = (EGL10)EGLContext.getEGL();
if (SDLActivity.mEGLContext == null) createEGLContext();
if (SDLActivity.mEGLSurface == null) { // <<<<<<<<<<<<<<<<<<<<<< line added =========================
Log.v("SDL", "Creating new EGL Surface");
EGLSurface surface = egl.eglCreateWindowSurface(SDLActivity.mEGLDisplay, SDLActivity.mEGLConfig, SDLActivity.mSurface, null);
if (surface == EGL10.EGL_NO_SURFACE) {
Log.e("SDL", "Couldn't create surface");
return false;
}
if (egl.eglGetCurrentContext() != SDLActivity.mEGLContext) {
if (!egl.eglMakeCurrent(SDLActivity.mEGLDisplay, surface, surface, SDLActivity.mEGLContext)) {
Log.e("SDL", "Old EGL Context doesnt work, trying with a new one");
// TODO: Notify the user via a message that the old context could not be restored, and that textures need to be manually restored.
createEGLContext();
if (!egl.eglMakeCurrent(SDLActivity.mEGLDisplay, surface, surface, SDLActivity.mEGLContext)) {
Log.e("SDL", "Failed making EGL Context current");
return false;
}
}
}
SDLActivity.mEGLSurface = surface;
} // <<<<<<<<<<<<<<<<<<<<<<<<< line added =============================
return true;
}
return false;
}
and the problem is gone...............