当前位置: 首页 > news >正文

商城网站设计目标网站建设的实验心得体会

商城网站设计目标,网站建设的实验心得体会,天津招标信息网官网,一个前端页面多少钱一、问题场景 项目业务中某个前端页面中使用了多个echart 组件来显示历史数据, 在反复切换到这个页面后,会出现白屏问题。 二、问题分析 0x116000ab0 - GPUProcessProxy::didClose: 0x116000ab0 - GPUProcessProxy::gpuProcessExited: reasonCrash 0x11…

一、问题场景

项目业务中某个前端页面中使用了多个echart 组件来显示历史数据, 在反复切换到这个页面后,会出现白屏问题。

二、问题分析

0x116000ab0 - GPUProcessProxy::didClose:

0x116000ab0 - GPUProcessProxy::gpuProcessExited: reason=Crash

0x1150180c0 - [PID=3342] WebProcessProxy::gpuProcessExited: reason=Crash

Error acquiring assertion: <Error Domain=RBSServiceErrorDomain Code=1 "((target is not running or doesn't have entitlement com.apple.developer.web-browser-engine.rendering AND target is not running or doesn't have entitlement com.apple.developer.web-browser-engine.networking AND target is not running or doesn't have entitlement com.apple.developer.web-browser-engine.webcontent))" UserInfo={NSLocalizedFailureReason=((target is not running or doesn't have entitlement com.apple.developer.web-browser-engine.rendering AND target is not running or doesn't have entitlement com.apple.developer.web-browser-engine.networking AND target is not running or doesn't have entitlement com.apple.developer.web-browser-engine.webcontent))}>

0x1150243c0 - ProcessAssertion::acquireSync Failed to acquire RBS assertion 'GPUProcess Background Assertion' for process with PID=3343, error: (null)

Failed to terminate process: Error Domain=com.apple.extensionKit.errorDomain Code=18 "(null)" UserInfo={NSUnderlyingError=0x30128cb40 {Error Domain=RBSRequestErrorDomain Code=3 "No such process found" UserInfo={NSLocalizedFailureReason=No such process found}}}

Failed to terminate process: Error Domain=com.apple.extensionKit.errorDomain Code=18 "(null)" UserInfo={NSUnderlyingError=0x30128ec40 {Error Domain=RBSRequestErrorDomain Code=3 "No such process found" UserInfo={NSLocalizedFailureReason=No such process found}}}

在切换页面的过程中看到如上日志,感觉是跟图形渲染相关的进程已经出问题了,

在出现白屏的时候,是如下日志:

0x116000ab0 - GPUProcessProxy::didClose:

0x116000ab0 - GPUProcessProxy::gpuProcessExited: reason=Crash

0x1150180c0 - [PID=3342] WebProcessProxy::gpuProcessExited: reason=Crash

0x104d70408 - WebProcessPool::gpuProcessDidExit: GPU Process has crashed more than 2 times in the last 30 seconds, terminating all WebProcesses

0x104d70408 - WebProcessPool::terminateAllWebContentProcesses

Error acquiring assertion: <Error Domain=RBSAssertionErrorDomain Code=2 "Specified target process does not exist" UserInfo={NSLocalizedFailureReason=Specified target process does not exist}>

0x1150180c0 - [PID=0] WebProcessProxy::didClose: (web process 0 crash)

0x1150180c0 - [PID=0] WebProcessProxy::processDidTerminateOrFailedToLaunch: reason=Crash

0x1150243c0 - ProcessAssertion::acquireSync Failed to acquire RBS assertion 'GPUProcess Background Assertion' for process with PID=3361, error: (null)

Error acquiring assertion: <Error Domain=RBSAssertionErrorDomain Code=2 "Specified target process does not exist" UserInfo={NSLocalizedFailureReason=Specified target process does not exist}>

0x115024600 - ProcessAssertion::acquireSync Failed to acquire RBS assertion 'XPCConnectionTerminationWatchdog' for process with PID=0, error: (null)

0x104d6c018 - [pageProxyID=10, webPageID=11, PID=0] WebPageProxy::processDidTerminate: (pid 0), reason=Crash

0x104d6c018 - [pageProxyID=10, webPageID=11, PID=0] WebPageProxy::dispatchProcessDidTerminate: reason=Crash

webViewWebContentProcessDidTerminate

从日志中可以看出webview 已经调用 webViewWebContentProcessDidTerminate 这个方法,进程都终止了。

在网上搜索了各种白屏问题,例如:

深入理解WKWebView白屏_webviewwebcontentprocessdidterminate-CSDN博客

App WebView白屏检测及解决总结,包括Android 和 iOS_ios webview加载白屏-CSDN博客

感觉最终的处理方式也只有reload 了

//进程被终止时调用

- (void)webViewWebContentProcessDidTerminate:(WKWebView *)webView{

    [webView reload];

    NSLog(@"webViewWebContentProcessDidTerminate");

}

不知道是不是苹果Safari 和 Chrome 里面的机制有差别,在电脑上运行同样的H5页面切换,明显感觉到Safari 要慢一下,感觉卡一些。

http://www.yayakq.cn/news/363738/

相关文章:

  • 中小型网站建设方案百度指数查询
  • 如何部署thinkphp网站dnf免做卡领取网站
  • 学做网站要学什么语言网站推广要点 优帮云
  • 西安企业网站旅游网站设计源码
  • 网站怎么做自响应网站优化推广排名
  • 携程网网站是哪家公司做的百度app浏览器下载
  • 网站建设的整体流程有哪些浙江信息港官网首页
  • 网站空间控制面板网站建设维保合同范本
  • 网站服务费怎么做分录江苏省建设厅网站怎么登不上
  • 做变性手术视频网站百斯特网站建设
  • 购物网站建设项目策划书空间站与空间站组合体交会对接
  • 网站建设的公司系统规划西安网络推广seo0515
  • 俄语学习网站wordpress没有upload
  • 做平面设计用什么网站素材多长沙免费网站排名
  • 佛山网站建设企业推荐迪庆北京网站建设
  • 湖州市网站建设qq空间主页制作网站
  • 自己设置免费网站设计平台php网站建设案例教程视频教程
  • 三网合一的网站怎么做成都建设施工安全协会网站
  • 网站建设入门教程pdf搭建网站步骤
  • 红河蒙自网站开发南昌建站系统外包
  • wordpress插件排行温州seo建站
  • 邢台建设规划网站做淘宝导航网站
  • 机械网站怎么做网站功能开发费用多少钱
  • 买app的网站建设樟木头做网站
  • 免费发布信息网站有哪些wow slider wordpress
  • 手机企业网站程序wordpress多站点模式
  • 红旗渠建设集团网站监控摄像头做斗鱼直播网站
  • 全国文明网联盟网站建设北京行业网站制作
  • 企业官网建站网站wordpress怎么写主题
  • 浙江大学陈越做的刷题网站网站建设和设计