Program: 86594
Project: 86594
Buggy source:
public void onSurfaceCreated(GL10 gl,EGLConfig config){
  gl.glHint(GL10.GL_PERSPECTIVE_CORRECTION_HINT,GL10.GL_FASTEST);
  gl.glClearColor(0.1f,0.1f,0.1f,1.0f);
  gl.glShadeModel(GL10.GL_FLAT);
  gl.glEnableClientState(GL10.GL_VERTEX_ARRAY);
  gl.glEnableClientState(GL10.GL_TEXTURE_COORD_ARRAY);
  gl.glEnable(GL10.GL_TEXTURE_2D);
  gl.glEnable(GL10.GL_SCISSOR_TEST);
  gl.glDisable(GL10.GL_CULL_FACE);
  gl.glDisable(GL10.GL_DITHER);
  gl.glDisable(GL10.GL_LIGHTING);
  gl.glDisable(GL10.GL_DEPTH_TEST);
  gl.glDisable(GL10.GL_FOG);
  gl.glTexEnvx(GL10.GL_TEXTURE_ENV,GL10.GL_TEXTURE_ENV_MODE,GL10.GL_MODULATE);
  gl.glBlendFunc(GL10.GL_SRC_ALPHA,GL10.GL_ONE_MINUS_SRC_ALPHA);
  gl.glEnable(GL10.GL_BLEND);
  gl.glClear(GL10.GL_COLOR_BUFFER_BIT | GL10.GL_DEPTH_BUFFER_BIT);
  String extensions=gl.glGetString(GL10.GL_EXTENSIONS);
  String version=gl.glGetString(GL10.GL_VERSION);
  String renderer=gl.glGetString(GL10.GL_RENDERER);
  boolean isSoftwareRenderer=renderer.contains("String_Node_Str");
  boolean isOpenGL10=version.contains("String_Node_Str");
  boolean supportsDrawTexture=extensions.contains("String_Node_Str");
  boolean supportsVBOs=!isSoftwareRenderer && (!isOpenGL10 || extensions.contains("String_Node_Str"));
  FP.supportsDrawTexture=supportsDrawTexture;
  FP.supportsVBOs=supportsVBOs;
  Log.d(TAG,"String_Node_Str" + version + "String_Node_Str"+ renderer+ "String_Node_Str"+ (supportsDrawTexture ? "String_Node_Str" : "String_Node_Str")+ (supportsVBOs ? "String_Node_Str" : "String_Node_Str"));
  if (mEngine == null) {
    try {
      mEngine=engine_class.getConstructor(Integer.TYPE,Integer.TYPE,Float.TYPE,Boolean.TYPE).newInstance(static_width,static_height,FP.assignedFrameRate,FP.fixed);
    }
 catch (    IllegalArgumentException e) {
      e.printStackTrace();
    }
catch (    SecurityException e) {
      e.printStackTrace();
    }
catch (    InstantiationException e) {
      e.printStackTrace();
    }
catch (    IllegalAccessException e) {
      e.printStackTrace();
    }
catch (    InvocationTargetException e) {
      e.printStackTrace();
    }
catch (    NoSuchMethodException e) {
      e.printStackTrace();
    }
  }
 else {
    mFPS.reload();
    mUpdate.reload();
    mRender.reload();
  }
}

Fixed version (ground truth):
public void onSurfaceCreated(GL10 gl,EGLConfig config){
  gl.glHint(GL10.GL_PERSPECTIVE_CORRECTION_HINT,GL10.GL_FASTEST);
  gl.glClearColor(0.1f,0.1f,0.1f,1.0f);
  gl.glShadeModel(GL10.GL_FLAT);
  gl.glEnableClientState(GL10.GL_VERTEX_ARRAY);
  gl.glEnableClientState(GL10.GL_TEXTURE_COORD_ARRAY);
  gl.glEnable(GL10.GL_TEXTURE_2D);
  gl.glEnable(GL10.GL_SCISSOR_TEST);
  gl.glDisable(GL10.GL_CULL_FACE);
  gl.glDisable(GL10.GL_DITHER);
  gl.glDisable(GL10.GL_LIGHTING);
  gl.glDisable(GL10.GL_DEPTH_TEST);
  gl.glDisable(GL10.GL_FOG);
  gl.glTexEnvx(GL10.GL_TEXTURE_ENV,GL10.GL_TEXTURE_ENV_MODE,GL10.GL_MODULATE);
  gl.glBlendFunc(GL10.GL_SRC_ALPHA,GL10.GL_ONE_MINUS_SRC_ALPHA);
  gl.glEnable(GL10.GL_BLEND);
  gl.glClear(GL10.GL_COLOR_BUFFER_BIT | GL10.GL_DEPTH_BUFFER_BIT);
  String extensions=gl.glGetString(GL10.GL_EXTENSIONS);
  String version=gl.glGetString(GL10.GL_VERSION);
  String renderer=gl.glGetString(GL10.GL_RENDERER);
  boolean isSoftwareRenderer=renderer.contains("String_Node_Str");
  boolean isOpenGL10=version.contains("String_Node_Str");
  boolean supportsDrawTexture=extensions.contains("String_Node_Str");
  boolean supportsVBOs=!isSoftwareRenderer && (!isOpenGL10 || extensions.contains("String_Node_Str"));
  FP.supportsDrawTexture=supportsDrawTexture;
  FP.supportsVBOs=supportsVBOs;
  Log.d(TAG,"String_Node_Str" + version + "String_Node_Str"+ renderer+ "String_Node_Str"+ (supportsDrawTexture ? "String_Node_Str" : "String_Node_Str")+ (supportsVBOs ? "String_Node_Str" : "String_Node_Str"));
  if (mEngine == null) {
    try {
      mEngine=engine_class.getConstructor(Integer.TYPE,Integer.TYPE,Float.TYPE,Boolean.TYPE).newInstance(static_width,static_height,FP.assignedFrameRate,FP.fixed);
    }
 catch (    IllegalArgumentException e) {
      e.printStackTrace();
    }
catch (    SecurityException e) {
      e.printStackTrace();
    }
catch (    InstantiationException e) {
      e.printStackTrace();
    }
catch (    IllegalAccessException e) {
      e.printStackTrace();
    }
catch (    InvocationTargetException e) {
      e.printStackTrace();
    }
catch (    NoSuchMethodException e) {
      e.printStackTrace();
    }
  }
}