A weird firefox glitch, and how an ordinary citizen fixes a computer

Original link: https://blog.heysh.xyz/2013/09/08/%E4%B8%80%E6%AC%A1%E5%A5%87%E6%80%AA%E7%9A%84firefox% E6%95%85%E9%9A%9C%EF%BC%8C%E8%BF%98%E6%9C%89%EF%BC%8C%E4%B8%80%E4%B8%AA%E6% 99%AE%E9%80%9A%E5%B8%82%E6%B0%91%E6%98%AF%E6%80%8E%E4%B9%88%E4%BF%AE/

One day, my firefox suddenly hangs up. The symptom is that the Chinese language pack is invalid, and some addons such as pentadactyl and ABP are all hung up—but they can be used after disable-enable, and some other Addons are actually fine…

(omitted in the middle)

solve:

Check the disk space with df, and then kill the folder with the largest / directory. By the way, recommend a software: xdiskusage


Useless part:

  1. Reinstall firefox (because I have suffered from yaourt several times)

  2. invalid. Go to Google, search for information, keywords such as “firefox 23 addon enable|disable”

  3. Try various methods. invalid

  4. Backup ~/.mozilla/firefox/<乱码>.default and profile.ini

  5. (angry) reset profile

  6. problem not solved

  7. It is suspected to be a permission problem, and there is no abnormality in the observation permission. I once wanted to recursively change the entire profile directory to 777~~(beast mode)~~, and then held back (with excellent self-cultivation)

  8. Kill the entire ~/.mozilla/firefox/ directory

  9. The welcome screen appears (in English)

  10. Happily closes Firefox, then finds it can’t be opened again

  11. Tried to open in terminal, no usable information was output. By the way, recommend tilda

  12. Observe the \home directory, the remaining space is 2.0G

    <–The closest to the truth, who called the file manager (recommended spaceFM ) is so easy to see the disk space

  13. Go to the backed up <乱码>.default folder and find a bunch of logs. Among them, there is a section of extensions.log that looks like this:

    2013-09-07 14:04:58 ERROR addons.xpi-utils: SQL error 13: database
    or disk is full at resource://gre/modules/XPIProvider.jsm ->
    resource://gre/modules/XPIProviderUtils.js:204

    2013-09-07 14:04:58 ERROR addons.xpi: Error processing file changes:
    [Exception… “Component returned failure code: 0x80004005
    (NS_ERROR_FAILURE) [mozIStorageStatement.execute]” nsresult:
    “0x80004005 (NS_ERROR_FAILURE)” location: “JS frame::
    resource://gre/modules/XPIProvider.jsm ->
    resource://gre/modules/XPIProviderUtils.js::
    XPIDB_rollbackTransaction :: line 457” data: no] at
    resource://gre/modules/XPIProvider.jsm ->
    resource://gre/modules/XPIProviderUtils.js:457

    2013-09-07 14:04:58 ERROR addons.xpi: Error during startup file
    checks, rolling back any database changes: [Exception… “Component
    returned failure code: 0x80004005 (NS_ERROR_FAILURE)
    [mozIStorageStatement.execute]” nsresult: “0x80004005
    (NS_ERROR_FAILURE)” location: “JS frame::
    resource://gre/modules/XPIProvider.jsm ->
    resource://gre/modules/XPIProviderUtils.js::
    XPIDB_commitTransaction :: line 442” data: no] at
    resource://gre/modules/XPIProvider.jsm ->
    resource://gre/modules/XPIProviderUtils.js:442

    2013-09-07 14:04:58 ERROR addons.manager: Exception calling provider
    startup: [Exception… “Component returned failure code: 0x80004005
    (NS_ERROR_FAILURE) [mozIStorageStatement.execute]” nsresult:
    “0x80004005 (NS_ERROR_FAILURE)” location: “JS frame::
    resource://gre/modules/XPIProvider.jsm ->
    resource://gre/modules/XPIProviderUtils.js::
    XPIDB_rollbackTransaction :: line 457” data: no] at
    resource://gre/modules/XPIProvider.jsm ->
    resource://gre/modules/XPIProviderUtils.js:457

  14. The new keyword GET, the query results are messy.

  15. Suspect that sqlite has an upper limit: database or disk is full

  16. For ordinary citizens (who don’t know SQL), try to query again, but it doesn’t work

  17. Notice the strikethrough automatically added in the brain, delete the strikethrough

  18. skip to solution

Summarize:

  • Describe the problem in English
  • Go to Google
  • check log
  • Google that log
  • Realize that the above steps may not actually work
  • Quietly waiting for inspiration to come
  • (bonus) Do not install Matlab, especially if the \ folder is only 30G

This article is reproduced from: https://blog.heysh.xyz/2013/09/08/%E4%B8%80%E6%AC%A1%E5%A5%87%E6%80%AA%E7%9A%84firefox% E6%95%85%E9%9A%9C%EF%BC%8C%E8%BF%98%E6%9C%89%EF%BC%8C%E4%B8%80%E4%B8%AA%E6% 99%AE%E9%80%9A%E5%B8%82%E6%B0%91%E6%98%AF%E6%80%8E%E4%B9%88%E4%BF%AE/
This site is only for collection, and the copyright belongs to the original author.