Ubuntu 16.04 上的 Firefox 48 在啟動後幾秒鐘內崩潰

Ubuntu 16.04 上的 Firefox 48 在啟動後幾秒鐘內崩潰

Firefox 48 啟動後不到一分鐘就崩潰了。即使沒有任何用戶輸入,它也會崩潰。它正在向 Mozilla 發送自己的崩潰報告,而 Ubuntu 沒有收到崩潰訊息。

從命令列啟動 Firefox,輸出如下:

$ firefox
ARTUR: - SHOW 
console.error: irc-client: 
  Message: Module `sdk/widget` is not found at resource://gre/modules/commonjs/sdk/widget.js
  Stack:
    CuddlefishLoader/options<.load@resource://gre/modules/commonjs/sdk/loader/cuddlefish.js:79:18
@resource://jid0-k46ozsrmazz4545aueo0nxxk0c4-at-jetpack/irc-client/lib/main.js:10:16
CuddlefishLoader/options<.load@resource://gre/modules/commonjs/sdk/loader/cuddlefish.js:79:18
run@resource://gre/modules/commonjs/sdk/addon/runner.js:147:19
startup/</<@resource://gre/modules/commonjs/sdk/addon/runner.js:87:9
Handler.prototype.process@resource://gre/modules/Promise-backend.js:937:23
this.PromiseWalker.walkerLoop@resource://gre/modules/Promise-backend.js:816:7
this.PromiseWalker.scheduleWalkerLoop/<@resource://gre/modules/Promise-backend.js:750:11

console.error: irc-client: 
  Message: Module `sdk/widget` is not found at resource://gre/modules/commonjs/sdk/widget.js
  Stack:
    CuddlefishLoader/options<.load@resource://gre/modules/commonjs/sdk/loader/cuddlefish.js:79:18
@resource://jid0-k46ozsrmazz4545aueo0nxxk0c4-at-jetpack/irc-client/lib/main.js:10:16
CuddlefishLoader/options<.load@resource://gre/modules/commonjs/sdk/loader/cuddlefish.js:79:18
run@resource://gre/modules/commonjs/sdk/addon/runner.js:147:19
startup/</<@resource://gre/modules/commonjs/sdk/addon/runner.js:87:9
Handler.prototype.process@resource://gre/modules/Promise-backend.js:937:23
this.PromiseWalker.walkerLoop@resource://gre/modules/Promise-backend.js:816:7
this.PromiseWalker.scheduleWalkerLoop/<@resource://gre/modules/Promise-backend.js:750:11

ExceptionHandler::GenerateDump cloned child 6091
ExceptionHandler::SendContinueSignalToChild sent continue signal to child
ExceptionHandler::WaitForContinueSignal waiting for continue signal...

套餐詳情firefox

$ apt show firefox
Package: firefox
Version: 48.0+build2-0ubuntu0.16.04.1
Priority: optional
Section: web
Origin: Ubuntu
Maintainer: Ubuntu Mozilla Team <[email protected]>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 112 MB
Provides: gnome-www-browser, iceweasel, www-browser
Depends: lsb-release, libasound2 (>= 1.0.16), libatk1.0-0 (>= 1.12.4), libc6 (>= 2.17), libcairo-gobject2 (>= 1.10.0), libcairo2 (>= 1.10.0), libdbus-1-3 (>= 1.9.14), libdbus-glib-1-2 (>= 0.78), libfontconfig1 (>= 2.11.94), libfreetype6 (>= 2.2.1), libgcc1 (>= 1:4.0), libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.31.8), libgtk-3-0 (>= 3.4), libgtk2.0-0 (>= 2.14), libpango-1.0-0 (>= 1.22.0), libpangocairo-1.0-0 (>= 1.14.0), libstartup-notification0 (>= 0.8), libstdc++6 (>= 5.2), libx11-6, libxcomposite1 (>= 1:0.3-1), libxdamage1 (>= 1:1.1), libxext6, libxfixes3, libxrender1, libxt6
Recommends: xul-ext-ubufox, libcanberra0, libdbusmenu-glib4, libdbusmenu-gtk4
Suggests: fonts-lyx
Replaces: kubuntu-firefox-installer
Task: ubuntu-desktop, ubuntu-usb, kubuntu-desktop, kubuntu-full, edubuntu-desktop, edubuntu-usb, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop, ubuntu-gnome-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-mate-cloudtop
Xul-Appid: {ec8030f7-c20a-464f-9b0e-13a3a9e97384}
Supported: 5y
Download-Size: 46.2 MB
APT-Manual-Installed: yes
APT-Sources: http://ch.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
Description: Safe and easy web browser from Mozilla
 Firefox delivers safe, easy web browsing. A familiar user interface,
 enhanced security features including protection from online identity theft,
 and integrated search let you get the most out of the web.

N: There is 1 additional record. Please use the '-a' switch to see it

和內核:

$ uname -ra
Linux ENG-PAVIL-PC2 4.4.0-36-generic #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

關於如何解決這個問題有任何提示嗎?

更新一:在安全模式下執行 Firefox 沒有任何改變,它仍然在啟動幾分鐘後崩潰。使用該--debug標誌只會彈出 gdb 提示符號:

$ firefox --debug
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/lib/firefox/firefox...(no debugging symbols found)...done.
(gdb) 

更新二:我已使用訪客使用者登入並在該會話中嘗試使用 Firefox。那裡也經常發生崩潰。

答案1

訊息:sdk/widget在資源://gre/modules/commonjs/sdk/widget.js 處找不到模組

意味著您有一個不適合此版本的 Firefox 的插件或插件。上面那條線...

console.error: irc-client: 

指向插件或插件。該軟體中有一個require("sdk/widget");或類似的東西,並且模組“小部件”不存在。

請參閱這篇 MDN 文章:「小部件」在 FF38 中被刪除並且這是現在應該的樣子: require("sdk/ui");

  • 可能的修復:清除(因此所有插件也被刪除)ff 48 並從系統中安裝 49。我的就像一個魅力。

答案2

如果您最終出現 gdb 提示符,請輸入跑步然後按回車,程式就會運行,到了某個時候會崩潰,然後就可以運行了BT獲得回溯。這就是使用 gdb 進行調試的基礎知識。

相關內容