Excellent, that logged the problem nicely:
V/SDL_render_gles2.c( 3302): ----(18a)
W/ ( 3302): error of type 0x500 glGetIntegerv
V/SDL_render_gles2.c( 3302): ----(18b)
V/SDL_render_gles2.c( 3302): ----gl error
Which tracks the problem down to the following code:
glGetIntegerv( GL_NUM_SHADER_BINARY_FORMATS, &nFormats );
glGetBooleanv( GL_SHADER_COMPILER, &hasCompiler );
if( hasCompiler )
++nFormats;
rdata->shader_formats = (GLenum *) SDL_calloc( nFormats, sizeof( GLenum ) );
glGetIntegerv( GL_SHADER_BINARY_FORMATS, (GLint *) rdata->shader_formats ); <---- PROBLEM HERE
Specifically, it is reporting an invalid enum for that last line. I've posted a question on Stack Overflow, so hopefully someone will be able to shed some light on this.