简体   繁体   English

Chrome使用^ @ ^ @ ^ @ ^ @输出从服务冻结启动

[英]Chrome launched from service freeze with ^@^@^@^@ output

We are running a Chrome from a linux service and sometimes the instance of chrome freeze (and all the computer too) unexpectedly with the following error : 我们正在从linux服务运行Chrome,有时会出现chrome冻结(以及所有计算机)的实例,并出现以下错误:

May 27 21:57:51 Q190N-prototype google-chrome[24703]: [24703:24703:0527/215751.950576:INFO:CONSOLE(342)] "nextVideo()", source: http://192.168.22.16/animatic/static/js/player/index.js?ver=1558013787 (342)
May 27 21:57:51 Q190N-prototype google-chrome[24703]: [24703:24703:0527/215751.952062:INFO:CONSOLE(342)] "nextVideo()", source: http://192.168.22.16/animatic/static/js/player/index.js?ver=1558013787 (342)
May 27 21:58:03 Q190N-prototype google-chrome[24703]: [24703:24703:0527/215803.050265:INFO:CONSOLE(342)] "nextVideo()", source: http://192.168.22.16/animatic/static/js/player/index.js?ver=1558013787 (342)
May 27 21:58:03 Q190N-prototype google-chrome[24703]: [24703:24703:0527/215803.051856:INFO:CONSOLE(342)] "nextVideo()", source: http://192.168.22.16/animatic/static/js/player/index.js?ver=1558013787 (342)
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@May 28 10:33:49 Q190N
-prototype lvm[213]: 2 logical volume(s) in volume group "debian-vg" monitored
May 28 10:33:49 Q190N-prototype keyboard-setup.sh[211]: Impossible d'ouvrir le fichier /tmp/tmpkbd.k7WSzt

Any idea in order to solve this problem is welcome... 任何想法,以解决这个问题是受欢迎的...

You probably have a problem on index.js or another imported script . 您可能在index.js其他导入的脚本上遇到问题。

There are a list of possibilities, but most times freeze is caused by while(true) or long loops. 有一个可能的列表,但大多数时候冻结是由while(true)或long循环引起的。

If this is the problem, try: 如果这是问题,请尝试:

  1. You can break the calculation up into pieces and do a piece at a time on a setTimeout() . 您可以将计算分解为多个部分,并在setTimeout()上一次执行一个部分。 On each setTimeout() call, the browser will be free to serve other events and will keep the page alive and responive. 在每个setTimeout()调用中,浏览器可以自由地提供其他事件,并使页面保持活动和响应。 When you finish the last piece of the calculation, you can then carry out the result. 完成最后一项计算后,即可执行结果。

  2. You can run the calculation in the background using a webworker in modern browsers. 您可以在现代浏览器中使用webworker在后台运行计算。 When the calcuation is done in the webworker, it sends a message back to the main thread and you can then update the DOM with the result. 当计算在webworker中完成时,它会将消息发送回主线程,然后您可以使用结果更新DOM。

This answer might help: https://stackoverflow.com/a/49961782/11578778 这个答案可能有所帮助: https//stackoverflow.com/a/49961782/11578778


I hope this helps! 我希望这有帮助!

Brhaka Brhaka

This seems like a buffer overflow to me, Q190N-prototype keyboard-setup.sh is the linux keyboard map and stores the map file in /tmp. 这似乎是一个缓冲区溢出给我, Q190N-prototype keyboard-setup.sh是linux键盘映射并将映射文件存储在/ tmp中。 /tmp/tmpkbd.k7WSz seems like the map file for keyboard binding. /tmp/tmpkbd.k7WSz似乎是键盘绑定的映射文件。

^@^@^@^@^@^@^@^@^@^@^@^@ is definitely garbage from memory. ^@^@^@^@^@^@^@^@^@^@^@^@绝对是来自内存的垃圾。 Now the question is what are how is your player jumping to this address. 现在问题是你的球员如何跳到这个地址。 Is it waiting for some keyboard input at some point of time while playing media. 是否在播放媒体时在某个时间点等待某些键盘输入。 May be at the end when to play next or something. 可能在结束时玩下一个什么的。

Its either a permission or file not found issue try it with sudo once and see if you can reproduce the error 它的权限或文件未找到问题尝试使用sudo一次,看看你是否可以重现错误

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

相关问题 将Selenium chrome驱动程序启动的Chrome浏览器与手动启动的Chrome浏览器区分开来 - Differentiating Chrome browser launched by Selenium chrome driver from manually launched Chrome Browser 从MSBuild执行Karma启动时Chrome崩溃 - Chrome crashing when launched by Karma executed from MSBuild 如何将 cookie 从 Chrome 传递到通过自定义协议处理程序启动的 IE? - How can I pass cookie from Chrome to IE launched through custom protocol handler? 从桌面图标启动时,是否可以使用JavaScript在Google Chrome浏览器中关闭窗口? - Can I make a window close in Google Chrome using javascript when launched from a desktop icon? WindowObject.print()在Chrome中冻结 - WindowObject.print() freeze in Chrome PHP /网站是否在Mac上的Chrome上冻结? - PHP/Website freeze on Chrome on Mac? KnockoutJS在卸载过程中在Chrome中冻结 - KnockoutJS freeze in Chrome during unloading 来自 Android 应用程序和 Chrome 的 WebRTC P2P 视频流每秒冻结 - WebRTC P2P video stream from Android App & Chrome freeze every second 如何停止由 selenium 远程驱动程序启动的 chrome? - How to stop chrome launched by selenium remote driver? Chrome控制台输出受海森堡原理困扰 - Chrome console output suffering from heisenberg principle
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM