Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在某些机型上加载很慢 #90

Closed
wh5355 opened this issue Sep 11, 2017 · 2 comments
Closed

在某些机型上加载很慢 #90

wh5355 opened this issue Sep 11, 2017 · 2 comments

Comments

@wh5355
Copy link

wh5355 commented Sep 11, 2017

在MIUI8.0.1.0(KHJCNDG)的系统上,使用sonic加载页面,会很慢,大约需要半分钟,通过log看,可能是超时了,但是页面最后还是加载出来了。
image

@vasdeveloper
Copy link
Collaborator

@wh5355 感谢反馈,根据日志分析,是请求超时导致,我们安排同学跟进一下对应机型为啥会超时。

@vasdeveloper
Copy link
Collaborator

@wh5355 感谢反馈,该问题已经修复到dev分支,详细见 68fe611

原因是部分系统内核扔在IOThread中调用shouldInterceptRequest接口,如果在该函数中操作cookie相关逻辑,会导致IOThread死锁(https://issuetracker.google.com/issues/36989494#c8)。

该问题chrome团队在2年前已经修复(https://codereview.chromium.org/1350553005/#ps20001),但部分国内厂商仍存在该问题。

手Q中一直使用X5内核,故未发现该问题。

This was referenced Sep 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants