简体   繁体   English

网站停止使用Chrome版本32

[英]Website stopped working with Chrome version 32

I am the developer for a large enterprise website, after the upgrade to chrome 32 the website stopped working completely. 我是一家大型企业网站的开发人员,在升级到chrome 32之后,该网站完全停止了工作。 I Get the 'aw snap' about the time we have to render most of the elements on the page. 我得到'aw snap'关于我们必须渲染页面上的大部分元素的时间。

Its a massive code base so i haven't been able to find what's causing it. 它是一个巨大的代码库,所以我无法找到导致它的原因。 Ive been booting chrome in debug mode and watching the logs there. 我一直在调试模式下启动chrome并在那里查看日志。

Wierd behavior: 奇怪的行为:

1)If i disable flash it works, we are using swfobject with a flash library. 1)如果我禁用闪存它工作,我们使用swfobject与闪存库。

2)I sometimes see in the logs when it crashes "Uncaught RangeError: Maximum call stack size exceeded" so i must have a infinite loop, but its not a always thing. 2)我有时会在日志中看到它崩溃时“Uncaught RangeError:超出最大调用堆栈大小”,所以我必须有一个无限循环,但它并不总是这样。

3)If i refresh enough it will boot all the way up, and work for good until i kill tab and start over. 3)如果我足够刷新它将一直启动,并且工作正常,直到我杀死标签并重新开始。 But again thats a sometimes cause it may start the crash cycle again after a few refreshes. 但有一次,这有时会导致它可能在几次刷新后再次启动崩溃周期。

4) I sometimes see the error "file_descriptor_set_posix.cc(22)] FileDescriptorSet destroyed with unconsumed descriptors" Which i think relates to a infinite loop in the rendering of the webpage which would relate to the maximum call stack exceeded error. 4)我有时会看到错误“file_descriptor_set_posix.cc(22)] FileDescriptorSet被未使用的描述符破坏”我认为这与网页呈现中的无限循环有关,这与最大调用堆栈超出错误有关。

Does anyone know what has changed in Chrome Version 32 that would be a good starting place to find the bug? 有谁知道Chrome版本32中发生了哪些变化,这将是一个很好的起点找到错误?

Libraries used: SWFobject, Backbone, underscore, soundmanager.js 使用的库:SWFobject,Backbone,下划线,soundmanager.js

I dont know why this fixed it, or what chrome changed that caused the code to break but if anyone is interested in what we did to resolve the error i'll explain. 我不知道为什么这个修复它,或者什么chrome改变了导致代码中断但是如果有人对我们做了什么来解决错误我会解释。

1) I made all events going out of swfobject and our swf code go directly to the Flash.js class we had to interface with flash. 1)我将所有事件从swfobject中删除,我们的swf代码直接转到我们必须与flash连接的Flash.js类。 Before it was propagating through a Backbone.dispatcher to the flash class. 在它通过Backbone.dispatcher传播到flash类之前。 That caused the aw snap error to go away. 这导致aw snap错误消失。

2) We were using a datetime library called Moment.js version 2.2.0. 2)我们使用的是名为Moment.js 2.2.0版的日期时间库。 It was the one throwing the maximum call stack error, after updating that to 2.3.0 it stopped. 这是抛出最大调用堆栈错误的那个,在更新到2.3.0后停止了。 Would love to know what chrome changed to cause a infinite loop. 很想知道什么是铬改变导致无限循环。

If anyone has info on what chrome changed between the two versions that caused either error, I would love the answer because its a bit scary fixing the symptoms but not knowing the cause. 如果有人知道导致两种错误的两个版本之间的铬变化的信息,我会喜欢这个答案,因为它有点可怕修复症状但不知道原因。

chrome will open multi tasks in the task manager, and it is sensitive to many plugins chrome将在任务管理器中打开多个任务,并且对许多插件都很敏感

try the following 尝试以下方法

1- go to settings in chrome 2- open extentions 3- disable all the extensions that you can 4- close chrome 5- open task manager in windows 6- go to processes 7- close all the processes related to chrome 8- reopen chrome and check your problem again 1-转到chrome中的设置2-打开扩展3-禁用所有扩展,您可以在Windows 6中关闭chrome 5- open任务管理器 - 转到进程7-关闭与chrome 8相关的所有进程 - 重新打开chrome和再次检查你的问题

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM