X
點擊此處開啟此網站的行動版。

技術支援討論區

Firefox ESR tabs crashing on startup

已張貼

I'm using a Docker container to install Firefox ESR via apt-get and then start a Firefox process using a Node.js script that is also started from the Dockerfile. Unfortunately, I'm unable to view any content on Firefox as I get a string of errors. Furthermore, I've tried Googling these errors to no avail. Here are the commands used to install Firefox ESR:

RUN apt-get update && apt-get -y install firefox-esr RUN mkdir -p /var/run/dbus

I am then using the spawn module from Node.js' child_process module with the following command:

firefox-esr -browser -foreground -width ${width} -height ${height} -safe-mode

Here is the full method used to run firefox-esr

export const firefox = (env: NodeJS.ProcessEnv, width: number, height: number) => spawn('sudo', [
       'firefox-esr',
           '-browser', '-foreground',
       '-width', `${width}`,
       '-height', `${height}`,
       '-safe-mode'
   ], {
       env,
       stdio: [
           'ignore',
           'inherit',
           'inherit'
       ]
   })

The errors I receive in the console are:

   [Parent 46, Gecko_IOThread] WARNING: pipe error (69): Connection reset by peer: file /build/firefox-esr-GalmjP/firefox-esr-60.8.0esr/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 342
   ###!!! [Parent][MessageChannel] Error: (msgtype=0x2D0001,name=PContent::Msg_PBrowserConstructor) Channel error: cannot send/recv


   ###!!! [Parent][MessageChannel] Error: (msgtype=0x160069,name=PBrowser::Msg_SynthMouseMoveEvent) Channel error: cannot send/recv


   ###!!! [Parent][MessageChannel] Error: (msgtype=0x160001,name=PBrowser::Msg_AsyncMessage) Channel error: cannot send/recv


   ###!!! [Parent][MessageChannel] Error: (msgtype=0x160001,name=PBrowser::Msg_AsyncMessage) Channel error: cannot send/recv


   ###!!! [Parent][MessageChannel] Error: (msgtype=0x2D0041,name=PContent::Msg_LoadProcessScript) Channel error: cannot send/recv


   ###!!! [Parent][MessageChannel] Error: (msgtype=0x16007F,name=PBrowser::Msg_LoadRemoteScript) Channel error: cannot send/recv


   ###!!! [Parent][MessageChannel] Error: (msgtype=0x160080,name=PBrowser::Msg_Destroy) Channel error: cannot send/recv


   ###!!! [Parent][RunMessage] Error: Channel error: cannot send/recv


   ###!!! [Parent][MessageChannel] Error: (msgtype=0x2D0021,name=PContent::Msg_DataStoragePut) Channel error: cannot send/recv


   ###!!! [Parent][MessageChannel] Error: (msgtype=0x49001D,name=PHttpChannel::Msg_SetPriority) Channel error: cannot send/recv


   ###!!! [Parent][MessageChannel] Error: (msgtype=0x160001,name=PBrowser::Msg_AsyncMessage) Channel error: cannot send/recv


   ###!!! [Parent][RunMessage] Error: Channel error: cannot send/recv


   ###!!! [Parent][RunMessage] Error: Channel error: cannot send/recv


   ###!!! [Parent][RunMessage] Error: Channel error: cannot send/recv


   ###!!! [Parent][RunMessage] Error: Channel error: cannot send/recv


   ###!!! [Parent][MessageChannel] Error: (msgtype=0x160080,name=PBrowser::Msg_Destroy) Channel error: cannot send/recv


   ###!!! [Parent][MessageChannel] Error: (msgtype=0x160080,name=PBrowser::Msg_Destroy) Channel error: cannot send/recv

The container is being given 150MB of RAM with a limit of 300MB

Any help would be appreciated! Thanks!

I'm using a Docker container to install Firefox ESR via apt-get and then start a Firefox process using a Node.js script that is also started from the Dockerfile. Unfortunately, I'm unable to view any content on Firefox as I get a string of errors. Furthermore, I've tried Googling these errors to no avail. Here are the commands used to install Firefox ESR: RUN apt-get update && apt-get -y install firefox-esr RUN mkdir -p /var/run/dbus I am then using the spawn module from Node.js' child_process module with the following command: firefox-esr -browser -foreground -width ${width} -height ${height} -safe-mode Here is the full method used to run firefox-esr export const firefox = (env: NodeJS.ProcessEnv, width: number, height: number) => spawn('sudo', [ 'firefox-esr', '-browser', '-foreground', '-width', `${width}`, '-height', `${height}`, '-safe-mode' ], { env, stdio: [ 'ignore', 'inherit', 'inherit' ] }) The errors I receive in the console are: [Parent 46, Gecko_IOThread] WARNING: pipe error (69): Connection reset by peer: file /build/firefox-esr-GalmjP/firefox-esr-60.8.0esr/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 342 ###!!! [Parent][MessageChannel] Error: (msgtype=0x2D0001,name=PContent::Msg_PBrowserConstructor) Channel error: cannot send/recv ###!!! [Parent][MessageChannel] Error: (msgtype=0x160069,name=PBrowser::Msg_SynthMouseMoveEvent) Channel error: cannot send/recv ###!!! [Parent][MessageChannel] Error: (msgtype=0x160001,name=PBrowser::Msg_AsyncMessage) Channel error: cannot send/recv ###!!! [Parent][MessageChannel] Error: (msgtype=0x160001,name=PBrowser::Msg_AsyncMessage) Channel error: cannot send/recv ###!!! [Parent][MessageChannel] Error: (msgtype=0x2D0041,name=PContent::Msg_LoadProcessScript) Channel error: cannot send/recv ###!!! [Parent][MessageChannel] Error: (msgtype=0x16007F,name=PBrowser::Msg_LoadRemoteScript) Channel error: cannot send/recv ###!!! [Parent][MessageChannel] Error: (msgtype=0x160080,name=PBrowser::Msg_Destroy) Channel error: cannot send/recv ###!!! [Parent][RunMessage] Error: Channel error: cannot send/recv ###!!! [Parent][MessageChannel] Error: (msgtype=0x2D0021,name=PContent::Msg_DataStoragePut) Channel error: cannot send/recv ###!!! [Parent][MessageChannel] Error: (msgtype=0x49001D,name=PHttpChannel::Msg_SetPriority) Channel error: cannot send/recv ###!!! [Parent][MessageChannel] Error: (msgtype=0x160001,name=PBrowser::Msg_AsyncMessage) Channel error: cannot send/recv ###!!! [Parent][RunMessage] Error: Channel error: cannot send/recv ###!!! [Parent][RunMessage] Error: Channel error: cannot send/recv ###!!! [Parent][RunMessage] Error: Channel error: cannot send/recv ###!!! [Parent][RunMessage] Error: Channel error: cannot send/recv ###!!! [Parent][MessageChannel] Error: (msgtype=0x160080,name=PBrowser::Msg_Destroy) Channel error: cannot send/recv ###!!! [Parent][MessageChannel] Error: (msgtype=0x160080,name=PBrowser::Msg_Destroy) Channel error: cannot send/recv The container is being given 150MB of RAM with a limit of 300MB Any help would be appreciated! Thanks!
附加的畫面擷圖

由 cor-el 於 修改

引用

額外的系統細節

已安裝的外掛程式

N/A

應用程式

  • User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Safari/537.36

更多資訊

Seburo
  • Top 10 Contributor
  • Moderator
777 個解決方法 5688 個答案

We're sorry to hear that Firefox is crashing. In order to assist you better, please follow the steps below to provide us crash IDs to help us learn more about your crash.

The crash report is several pages of data. We need the report numbers to see the whole report.

  1. Enter about:crashes in the Firefox address bar and press Enter. A list of Submitted/Unsubmitted Crash Reports will appear, similar to the one shown below.
  2. Copy the 5 most recent Submitted Report IDs that start with bp- and then go back to your forum question and paste those IDs into the "Post a Reply" box.

Note: If a recent Report ID does not start with bp- click on it to submit the report.

(Please don't take a screenshot of your crashes, just copy and paste the IDs. The below image is just an example of what your Firefox screen should look like.)

aboutcrashesFx57

Thank you for your help!

More information and further troubleshooting steps can be found in the Firefox crashes - Troubleshoot, prevent and get help fixing crashes article.

We're sorry to hear that Firefox is crashing. In order to assist you better, please follow the steps below to provide us crash IDs to help us learn more about your crash. '''The crash report is several pages of data.''' '''We need the report numbers to see the whole report.''' #Enter ''about:crashes'' in the Firefox address bar and press Enter. A list of Submitted/Unsubmitted Crash Reports will appear, similar to the one shown below. #Copy the '''5''' most recent Submitted Report IDs that start with '''bp-''' and then go back to your forum question and paste those IDs into the "Post a Reply" box. ''' Note:''' If a recent Report ID does not start with '''bp-''' click on it to submit the report. (Please don't take a screenshot of your crashes, just copy and paste the IDs. The below image is just an example of what your Firefox screen should look like.) ;[[Image:aboutcrashesFx57|width=500]] Thank you for your help! More information and further troubleshooting steps can be found in the [[Firefox crashes - Troubleshoot, prevent and get help fixing crashes]] article.
這篇文章有幫助嗎?
引用
問個問題

如果您還沒有帳號,您必須先 登入您的帳號 來回覆文章。請 開始一個新問題