具体情况如下:
用creator开发棋牌游戏大厅,增加了一个webview的连接窗口,ios端在手机上运行,点击H5里面一个带界面刷新,或者是跳转的时候会直接闪退,android正常,报错如下:
2019-04-13 16:06:06.963970+0800 client-mobile[511:71633] WF: _WebFilterIsActive returning: NO
2019-04-13 16:06:12.879074+0800 client-mobile[511:71633] CoreAnimation: [EAGLContext renderbufferStorage:fromDrawable:] was called from a non-main thread in an implicit transaction! Note that this may be unsafe without an explicit CATransaction or a call to [CATransaction flush].
2019-04-13 16:06:12.883485+0800 client-mobile[511:71633] CoreAnimation: [EAGLContext renderbufferStorage:fromDrawable:] was called from a non-main thread in an implicit transaction! Note that this may be unsafe without an explicit CATransaction or a call to [CATransaction flush].
frameSizeChanged = 4096
frameSizeChanged = 4096
frameSizeChanged = 4096
frameSizeChanged = 4096
[ERROR] (/Users/a1/Documents/workspace/bkapp/client/build/jsb-default/frameworks/cocos2d-x/cocos/scripting/js-bindings/manual/jsb_opengl_manual.cpp, 4775): glUniformMatrix4fv((GLint)p[1], elementCount / 16, (GLboolean)p[2], &p[4]); GL error 0x502: GL_INVALID_OPERATION
[ERROR] (/Users/a1/Documents/workspace/bkapp/client/build/jsb-default/frameworks/cocos2d-x/cocos/scripting/js-bindings/manual/jsb_opengl_manual.cpp, 4781): glUseProgram((GLuint) p[1]); GL error 0x501: GL_INVALID_VALUE
[ERROR] (/Users/a1/Documents/workspace/bkapp/client/build/jsb-default/frameworks/cocos2d-x/cocos/scripting/js-bindings/manual/jsb_opengl_manual.cpp, 4775): glUniformMatrix4fv((GLint)p[1], elementCount / 16, (GLboolean)p[2], &p[4]); GL error 0x502: GL_INVALID_OPERATION
[ERROR] (/Users/a1/Documents/workspace/bkapp/client/build/jsb-default/frameworks/cocos2d-x/cocos/scripting/js-bindings/manual/jsb_opengl_manual.cpp, 4775): glUniformMatrix4fv((GLint)p[1], elementCount / 16, (GLboolean)p[2], &p[4]); GL error 0x502: GL_INVALID_OPERATION