Egret社区

[Bug处理中] 微端0.1.13使用window.location.href和reload报错

2019-1-3 11:03
1852
产品 Egret Android Support 版本 0.1.13
复现概率 100% 平台 Android 所有
复现步骤 微端运行后使用 window.location.href 设置新的url地址
问题描述 微端0.1.13使用window.location.href和reload报错
错误代码 看下文
BUG截图
本帖最后由 joomecow 于 2019-1-3 11:10 编辑

微端0.1.13使用window.location.href和reload报错

01-03 10:54:05.295 20492-20554/org.egret.launcher.test0113 W/Egret Native: 1:WARNING:Begin of stop NetworkThread
01-03 10:54:05.296 20492-20568/org.egret.launcher.test0113 W/art: Native thread exiting without having called DetachCurrentThread (maybe it's going to use a pthread_key_create destructor?): Thread[36,tid=20568,Native,Thread*=0xabc99e20,peer=0x1327f0a0,"Thread-1146"]
01-03 10:54:05.297 20492-20568/org.egret.launcher.test0113 D/Egret Native: 6:thread_destroyed
01-03 10:54:05.297 20492-20554/org.egret.launcher.test0113 W/Egret Native: 1:WARNING:End of stop NetworkThread
01-03 10:54:05.298 20492-20564/org.egret.launcher.test0113 W/art: Native thread exiting without having called DetachCurrentThread (maybe it's going to use a pthread_key_create destructor?): Thread[35,tid=20564,Native,Thread*=0xabc5dc68,peer=0x1327a0a0,"Thread-1145"]
01-03 10:54:05.298 20492-20564/org.egret.launcher.test0113 D/Egret Native: 5:thread_destroyed
01-03 10:54:05.298 20492-20565/org.egret.launcher.test0113 W/art: Native thread exiting without having called DetachCurrentThread (maybe it's going to use a pthread_key_create destructor?): Thread[33,tid=20565,Native,Thread*=0xabc530e0,peer=0x132700a0,"Thread-1143"]
01-03 10:54:05.298 20492-20565/org.egret.launcher.test0113 D/Egret Native: 3:thread_destroyed
01-03 10:54:05.299 20492-20566/org.egret.launcher.test0113 W/art: Native thread exiting without having called DetachCurrentThread (maybe it's going to use a pthread_key_create destructor?): Thread[32,tid=20566,Native,Thread*=0xabc520a8,peer=0x1326b0a0,"Thread-1142"]
01-03 10:54:05.299 20492-20566/org.egret.launcher.test0113 D/Egret Native: 2:thread_destroyed
01-03 10:54:05.300 20492-20567/org.egret.launcher.test0113 W/art: Native thread exiting without having called DetachCurrentThread (maybe it's going to use a pthread_key_create destructor?): Thread[34,tid=20567,Native,Thread*=0xabc54c40,peer=0x132750a0,"Thread-1144"]
01-03 10:54:05.300 20492-20567/org.egret.launcher.test0113 D/Egret Native: 4:thread_destroyed
01-03 10:54:05.307 20492-20554/org.egret.launcher.test0113 E/libEGL: eglMakeCurrent:731 error 3006 (EGL_BAD_CONTEXT)
01-03 10:54:05.307 20492-20554/org.egret.launcher.test0113 E/Egret Native: 1:ERROR:makeCurrent failed
01-03 10:54:05.310 20492-20596/org.egret.launcher.test0113 D/Egret Native: 7:thread_attached
01-03 10:54:05.311 20492-20554/org.egret.launcher.test0113 E/libEGL: eglCreateContext:652 error 3006 (EGL_BAD_CONTEXT)
01-03 10:54:05.311 20492-20554/org.egret.launcher.test0113 E/Egret Native: 1:ERROR:eglCreateContext failed
01-03 10:54:05.311 20492-20595/org.egret.launcher.test0113 D/Egret Native: 10:thread_attached
01-03 10:54:05.313 20492-20594/org.egret.launcher.test0113 D/Egret Native: 9:thread_attached
01-03 10:54:05.313 20492-20597/org.egret.launcher.test0113 D/Egret Native: 8:thread_attached
01-03 10:54:05.314 20492-20598/org.egret.launcher.test0113 D/Egret Native: 11:thread_attached
01-03 10:54:05.321 20492-20554/org.egret.launcher.test0113 E/libEGL: call to OpenGL ES API with no current context (logged once per thread)
01-03 10:54:05.321 20492-20554/org.egret.launcher.test0113 W/Egret Native: 1:WARNING:font render mode: system font
01-03 10:54:05.321 20492-20554/org.egret.launcher.test0113 E/libEGL: eglMakeCurrent:731 error 3006 (EGL_BAD_CONTEXT)
01-03 10:54:05.321 20492-20554/org.egret.launcher.test0113 E/Egret Native: 1:ERROR:makeCurrent failed
01-03 10:54:05.338 20492-20554/org.egret.launcher.test0113 A/Egret Native: 1:JSEBUG:EgretRuntimeVersion:0.1.13(52b620f0)
01-03 10:54:05.419 20492-20554/org.egret.launcher.test0113 W/GLThread: eglSwapBuffers failed: EGL_BAD_SURFACE

分享到 :
0 人收藏

2 个回复

倒序浏览
myspecial  登堂入室 | 2019-1-21 14:04:29
如果我没记错,微端用了reload会闪退
oncebet  登堂入室 | 2019-1-21 14:31:50
以前是可以的 最近的版本好像不行了。 无所谓了,反正苹果也过不了审核了。
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|京网文[2014]0791-191号|京ICP证150115号|Egret社区 ( 京ICP备14025619号

Powered by Discuz! X3.2 © 2001-2019 Comsenz Inc.

返回顶部