Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 694456

Summary: www-client/firefox-68.1.0 - JavaScript error: resource://gre/modules/AutoCompletePopup.jsm, line 113: NS_ERROR_ILLEGAL_VALUE: Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIObserverService.removeObserver]
Product: Gentoo Linux Reporter: Erik Quaeghebeur <gentoo>
Component: Current packagesAssignee: Mozilla Gentoo Team <mozilla>
Status: RESOLVED NEEDINFO    
Severity: normal CC: alexander, bugs.gentoo, gentoo, herrtimson, luca.chiampo, t-mo, thomas, urcindalo
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: `emerge --info` of the package on my system
`emerge --info` from my notebook.

Description Erik Quaeghebeur 2019-09-15 07:56:53 UTC
I updated Firefox yesterday 60.8or9.0 to 68.1.0. Restarting the updated Firefox after it had been installed worked without any visible issue. After rebooting today, Firefox now crashes. It does not in safe mode

Reproducible: Always

Steps to Reproduce:
1. start firefox in console

Actual Results:  
Firefox crashes:

$ firefox &
[2] 13669
Gtk-Message: 09:47:31.939: Failed to load module "canberra-gtk-module"
1568533652206   addons.manager  ERROR   Exception calling provider GMPProvider.startup: [Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIStringBundle.GetStringFromName]"  nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)"  location: "JS frame :: resource://gre/modules/addons/GMPProvider.jsm :: buildPluginList :: line 844"  data: no] Stack trace: buildPluginList()@resource://gre/modules/addons/GMPProvider.jsm:844
startup()@resource://gre/modules/addons/GMPProvider.jsm:721
callProvider()@resource://gre/modules/AddonManager.jsm:213
_startProvider()@resource://gre/modules/AddonManager.jsm:649
startup()@resource://gre/modules/AddonManager.jsm:873
startup()@resource://gre/modules/AddonManager.jsm:3469
observe()@resource://gre/modules/addonManager.js:70
1568533652459   Marionette      FATAL   <window id="main-window"
^
JavaScript error: resource://gre/modules/AutoCompletePopup.jsm, line 113: NS_ERROR_ILLEGAL_VALUE: Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIObserverService.removeObserver]


Expected Results:  
Firefox starts

In safe mode, I disabled all my extensions, but that didn't help.


emerge --info:

Portage 2.3.69 (python 3.6.5-final-0, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-8.3.0, glibc-2.29-r2, 4.19.66-gentoo x86_64)
=================================================================
System uname: Linux-4.19.66-gentoo-x86_64-Intel-R-_Core-TM-_i7-2620M_CPU_@_2.70GHz-with-gentoo-2.6
KiB Mem:    16351692 total,  11560080 free
KiB Swap:   16777212 total,  16777212 free
Timestamp of repository gentoo: Sun, 15 Sep 2019 05:45:51 +0000
Head commit of repository gentoo: 7aca0a0aa4247cfaf10318c488821c990ff3475a

Timestamp of repository raiagent: Fri, 13 Sep 2019 19:43:20 +0000
Head commit of repository raiagent: c42a92f83381cc8c0fa1c5db4db499c57097163c

sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.32 p2) 2.32.0
app-shells/bash:          4.4_p23-r1::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.28.2-r1::gentoo
dev-lang/python:          2.7.15::gentoo, 3.6.5::gentoo
dev-util/cmake:           3.14.6::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.32-r1::gentoo
sys-devel/gcc:            8.3.0-r1::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r2::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000
    sync-git-verify-commit-signature: true

ownDevel
    location: /usr/local/portage
    masters: gentoo

raiagent
    location: /var/db/repos/raiagent
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/raiagent.git
    masters: gentoo

Installed sets: @openmdao-requirements
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--misspell-suggestions=n --with-bdeps=y"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs candy cgroup config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms split-elog split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://mirror.leaseweb.com/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.halifax.rwth-aachen.de/gentoo/ ftp://ftp.free.fr/mirrors/ftp.gentoo.org/"
LANG="nl_BE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="nl en_US en"
MAKEOPTS="-j3"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi activities alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli crypt cups cxx dbus declarative dri dts dvd dvdr egl emboss encode eselect-ldso exif fam fftw flac fortran gdbm gif glamor gmp gpm iconv icu ipv6 jpeg kde kipi kwallet lcms ldap libnotify libtirpc mad mmap mng mp3 mp4 mpeg multilib ncurses networkmanager nls nptl ogg opengl openmp opus pam pango pch pcre pdf phonon plasma png policykit ppds pulseaudio qml qt5 readline resolvconf sdl seccomp semantic-desktop spell split-usr ssl startup-notification svg system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-sqlite systemd tcpd tiff truetype udev udisks unicode upower usb vaapi vorbis wayland widgets wifi x264 xattr xcb xcomposite xml xv xvid zeroconf zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" L10N="nl en-US en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="fbdev intel modesetting vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Erik Quaeghebeur 2019-09-15 08:09:23 UTC
Almost the same issue mentioned here: http://forum.ixbt.com/topic.cgi?id=76:8505:2792#2792, but I do not read Russian so I do not know whether they followed-up and resolved it.
Comment 2 bugs 2019-09-15 09:09:21 UTC
I'm confirmed this crash.
After update I see menu in english lang -> download Russian lang pack -> press "Применить и перезапустить" aka "Save and reboot". After this firefox crash:

~ $ firefox 
1568505760144	addons.manager	ERROR	Exception calling provider GMPProvider.startup: [Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIStringBundle.GetStringFromName]"  nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)"  location: "JS frame :: resource://gre/modules/addons/GMPProvider.jsm :: buildPluginList :: line 844"  data: no] Stack trace: buildPluginList()@resource://gre/modules/addons/GMPProvider.jsm:844
startup()@resource://gre/modules/addons/GMPProvider.jsm:721
callProvider()@resource://gre/modules/AddonManager.jsm:213
_startProvider()@resource://gre/modules/AddonManager.jsm:649
startup()@resource://gre/modules/AddonManager.jsm:873
startup()@resource://gre/modules/AddonManager.jsm:3469
observe()@resource://gre/modules/addonManager.js:70
1568505760639	Marionette	FATAL	<window id="main-window"
^
JavaScript error: resource://gre/modules/AutoCompletePopup.jsm, line 113: NS_ERROR_ILLEGAL_VALUE: Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIObserverService.removeObserver]


I start firefox in safe mode (in cli) and reinstall Russian lang pack but this time I press "Save and reboot", and this time was only one tab open (Preferens), while for the first time four tabs were opened (Preferens, Addons and two sites). After this firefox says:

~ $ firefox --safe-mode
JavaScript error: resource:///modules/sessionstore/SessionStore.jsm, line 5490: uncaught exception: 2147746065
JavaScript error: resource://gre/modules/UrlClassifierListManager.jsm, line 69: NS_ERROR_XPC_GS_RETURNED_FAILURE: ServiceManager::GetService returned failure code:
JavaScript error: resource://gre/modules/SafeBrowsing.jsm, line 272: NS_ERROR_XPC_GS_RETURNED_FAILURE: ServiceManager::GetService returned failure code:

(/usr/lib64/firefox/firefox:20106): dconf-WARNING **: 11:50:45.266: Unable to open /usr/local/share/dconf/profile/user: Отказано в доступе


And I kill and restart again. Works.


~ $ emerge --info
Portage 2.3.69 (python 3.6.5-final-0, default/linux/amd64/17.1, gcc-8.3.0, glibc-2.29-r2, 4.19.57-gentoo x86_64)
=================================================================
System uname: Linux-4.19.57-gentoo-x86_64-AMD_Phenom-tm-_II_X6_1090T_Processor-with-gentoo-2.6
KiB Mem:    16396212 total,  11021236 free
KiB Swap:   12582908 total,  11996668 free
Timestamp of repository gentoo: Sat, 14 Sep 2019 11:00:01 +0000
Head commit of repository gentoo: 2c20ea19377159043c752e8832dd27c7924a6565
sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.32 p2) 2.32.0
ccache version 3.7.2 [enabled]
app-shells/bash:          4.4_p23-r1::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.28.2-r1::gentoo
dev-lang/python:          2.7.15::gentoo, 3.6.5::gentoo
dev-util/ccache:          3.7.2::gentoo
dev-util/cmake:           3.14.6::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.41.2::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.13.4-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.32-r1::gentoo
sys-devel/gcc:            8.3.0-r1::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.2::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: no
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O3 -pipe -fomit-frame-pointer"
DISTDIR="/mnt/data_storage/gentoo/gentoo-distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O3 -pipe -fomit-frame-pointer"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg ccache config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O3 -pipe -fomit-frame-pointer"
GENTOO_MIRRORS="rsync://mirror.yandex.ru/gentoo-distfiles/"
LANG="ru_RU.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j7"
PKGDIR="/mnt/data_storage/gentoo/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X aac acl alsa amd64 bzip2 cli crypt cups cxx dri drm egl flac fortran gbm iconv icu idn ipv6 jpeg jpeg2k libtirpc mp3 multilib ncurses nfs nls nptl ogg opencl opengl openmp pam pcre png policykit postscript readline sdl seccomp split-usr ssl tcpd theora threads tiff unicode vaapi vim-syntax vorbis vpx x264 x265 xattr xvid zlib" ABI_X86="32 64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext popcnt sse sse2 sse3 sse4a" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" L10N="ru en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


~ $ locale
LANG=ru_RU.utf8
LC_CTYPE="ru_RU.utf8"
LC_NUMERIC="ru_RU.utf8"
LC_TIME="ru_RU.utf8"
LC_COLLATE="ru_RU.utf8"
LC_MONETARY="ru_RU.utf8"
LC_MESSAGES="ru_RU.utf8"
LC_PAPER="ru_RU.utf8"
LC_NAME="ru_RU.utf8"
LC_ADDRESS="ru_RU.utf8"
LC_TELEPHONE="ru_RU.utf8"
LC_MEASUREMENT="ru_RU.utf8"
LC_IDENTIFICATION="ru_RU.utf8"
LC_ALL=
Comment 3 bugs 2019-09-15 09:10:26 UTC
(In reply to Erik Quaeghebeur from comment #1)
> Almost the same issue mentioned here:
> http://forum.ixbt.com/topic.cgi?id=76:8505:2792#2792, but I do not read
> Russian so I do not know whether they followed-up and resolved it.

Nothing special on this link. Just report about problem.
Comment 4 Erik Quaeghebeur 2019-09-15 10:17:32 UTC
Downgrading to 60.9.0 fixes the issue for me for now.
Comment 5 Michał Dec 2019-09-15 17:34:58 UTC
I also confirm that I've encountered this bug. There are already 3 separate users running into this, so it would be appropriate to change the status to anything but "UNCONFIRMED".
Comment 6 Michał Dec 2019-09-15 17:36:59 UTC
Created attachment 589928 [details]
`emerge --info` of the package on my system
Comment 7 bugs 2019-09-15 22:04:58 UTC
Created attachment 589958 [details]
`emerge --info` from my notebook.

Same problem on my notebook:

~ $ firefox
1568584106300	addons.manager	ERROR	Exception calling provider GMPProvider.startup: [Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIStringBundle.GetStringFromName]"  nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)"  location: "JS frame :: resource://gre/modules/addons/GMPProvider.jsm :: buildPluginList :: line 844"  data: no] Stack trace: buildPluginList()@resource://gre/modules/addons/GMPProvider.jsm:844
startup()@resource://gre/modules/addons/GMPProvider.jsm:721
callProvider()@resource://gre/modules/AddonManager.jsm:213
_startProvider()@resource://gre/modules/AddonManager.jsm:649
startup()@resource://gre/modules/AddonManager.jsm:873
startup()@resource://gre/modules/AddonManager.jsm:3469
observe()@resource://gre/modules/addonManager.js:70
1568584106516	Marionette	FATAL	<window id="main-window"
^
JavaScript error: resource://gre/modules/AutoCompletePopup.jsm, line 113: NS_ERROR_ILLEGAL_VALUE: Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIObserverService.removeObserver]

Again, after delete and re-add RU lang pack firefox work normally.
Comment 8 Timo Ollech 2019-09-16 10:14:01 UTC
Same here. I also tried disabling all add-ons and the error still persists. Safe mode works.
Comment 9 Thomas Deutschmann (RETIRED) gentoo-dev 2019-09-16 16:35:31 UTC
I am unable to reproduce. I just downgraded to =www-client/firefox-68.1.0 and a fresh profile will start with LANG=ru-RU or LANG=de-DE without any problems and I can confirm that localization works.

You are saying you are coming from 60.x... maybe there's an incompatibility in your profile causing upgrade problems. Go to about:support and click "Refresh Firefox" to see if this will fix your problem. Don't forget to backup your profile *before*...
Comment 10 urcindalo 2019-09-17 18:44:38 UTC
Same here after updating firefox from old 60.x stable to new 68.x stable:
==============
$ firefox
JavaScript error: resource://gre/modules/XULStore.jsm, line 66: Error: Can't find profile directory.
JavaScript error: resource://gre/modules/AsyncShutdown.jsm, line 694: Error: Phase "xpcom-will-shutdown" is finished, it is too late to register completion condition "UserInteractionTimer 1 for document 7f8ada9fb000"
1568745724124   addons.manager  ERROR   Exception calling provider GMPProvider.startup: [Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIStringBundle.GetStringFromName]"  nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)"  location: "JS frame :: resource://gre/modules/addons/GMPProvider.jsm :: buildPluginList :: line 844"  data: no] Stack trace: buildPluginList()@resource://gre/modules/addons/GMPProvider.jsm:844
startup()@resource://gre/modules/addons/GMPProvider.jsm:721
callProvider()@resource://gre/modules/AddonManager.jsm:213
_startProvider()@resource://gre/modules/AddonManager.jsm:649
startup()@resource://gre/modules/AddonManager.jsm:873
startup()@resource://gre/modules/AddonManager.jsm:3469
observe()@resource://gre/modules/addonManager.js:70
1568745724449   Marionette      FATAL   <window id="main-window"
^
JavaScript error: resource://gre/modules/AutoCompletePopup.jsm, line 113: NS_ERROR_ILLEGAL_VALUE: Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIObserverService.removeObserver]
Comment 11 bugs.gentoo 2019-09-18 17:54:20 UTC
Profile migration from 60 to 68 seems to be broken in Firefox, but nothing the maintainer can fix in my opinion.
Comment 12 Erik Quaeghebeur 2019-09-18 19:28:19 UTC
(In reply to bugs.gentoo from comment #11)
> Profile migration from 60 to 68 seems to be broken in Firefox, but nothing
> the maintainer can fix in my opinion.
And I noticed today that some bookmarks and extension data are gone after downgrading to 60.9.0… We'll have to take this upstream; anyone have a mozilla Bugzilla account?
Comment 13 Thomas Deutschmann (RETIRED) gentoo-dev 2019-09-18 20:34:24 UTC
FYI: Upstream does NOT support profile downgrades.
Comment 14 Alexander Tsoy 2019-09-18 23:55:19 UTC
For me removing "addonStartup.json.lz4" from profile fixed this problem on several systems.
Comment 15 urcindalo 2019-09-19 08:15:12 UTC
(In reply to Alexander Tsoy from comment #14)
> For me removing "addonStartup.json.lz4" from profile fixed this problem on
> several systems.

That did the trick! Thank you!

I kept my old profile folder, just in case, and you made my day!
Comment 16 Timo Ollech 2019-09-19 09:59:13 UTC
Alexander, you made my day, too! ONE f**king file...
Comment 17 tt_1 2019-09-19 20:09:56 UTC
I had this on my arm box when upgrading from 60.8 to 68.1, which ended in shredding my old profile. 

Has anything been reported to mozilla?
Comment 18 kalle 2019-09-20 13:25:36 UTC
+1

this problem also here, but Alexanders solution help fix. THANKS!
Comment 19 Roberto Vallega 2019-09-22 13:13:48 UTC
+1
same song and dance here. 
The solution on comment #14 fixed it for me. A huge big thanks for Alexander!
Comment 20 Peter Fox 2019-09-24 06:08:36 UTC
With a new profile, even solution in #14 was not enough. The solution in https://support.mozilla.org/en-US/questions/1167673 was required which disabled multi-process windows, apparently.
Comment 21 Luca Chiampo 2019-09-24 08:00:14 UTC
(In reply to Alexander Tsoy from comment #14)
> For me removing "addonStartup.json.lz4" from profile fixed this problem on
> several systems.

Also for me renaming "addonStartup.json.lz4" fix.

Not sure if the file is absolutely useless or if a fix for the file should be needed
Comment 22 Luca Chiampo 2019-09-24 08:10:22 UTC
(In reply to Luca Chiampo from comment #21)
> (In reply to Alexander Tsoy from comment #14)
> > For me removing "addonStartup.json.lz4" from profile fixed this problem on
> > several systems.
> 
> Also for me renaming "addonStartup.json.lz4" fix.
> 
> Not sure if the file is absolutely useless or if a fix for the file should
> be needed

Verified that Firefox recreate the file by itself.
No need to further fixing.
Comment 23 Alexander Tsoy 2019-09-24 09:45:57 UTC
(In reply to Peter Fox from comment #20)
> With a new profile, even solution in #14 was not enough. The solution in
> https://support.mozilla.org/en-US/questions/1167673 was required which
> disabled multi-process windows, apparently.
That means you have a different issue.
Comment 24 KellyML 2019-09-26 23:38:19 UTC
(In reply to Alexander Tsoy from comment #14)
> For me removing "addonStartup.json.lz4" from profile fixed this problem on
> several systems.

How can I remove "addonStartup.json.lz4" from profile?
Comment 25 mimosinnet 2019-11-07 20:43:43 UTC
(In reply to KellyML from comment #24)
> (In reply to Alexander Tsoy from comment #14)
> > For me removing "addonStartup.json.lz4" from profile fixed this problem on
> > several systems.
> 
> How can I remove "addonStartup.json.lz4" from profile?

% locate addonStartup.json.lz4
% rm ~/.mozilla/firefox/fcmm3w19.default/addonStartup.json.lz4
Comment 26 Scott Furry 2020-05-25 06:29:26 UTC
Original identified issue persists with FF 68.8.0.

Luca's suggestion here(https://bugs.gentoo.org/694456#c21) worked like a charm.

My suspicion is that problem occurred after a reboot. And when I was rebooting, FF was opened at the time. Working theory for me is that FF is not properly handling the `addonStartup.json.lz4` file during system shutdown. The file then becomes corrupt or unreadable after the boot.


snippet of emerge info

Portage 2.3.99 (python 3.7.7-final-0, default/linux/amd64/17.1/desktop, gcc-9.3.0, glibc-2.30-r8, 5.4.38-gentoo-x86_64 x86_64)
=================================================================
System uname: Linux-5.4.38-gentoo-x86_64-x86_64-AMD_FX-tm-6100_Six-Core_Processor-with-gentoo-2.6
KiB Mem:    32869408 total,  26297996 free
KiB Swap:    2097148 total,   2097148 free
Timestamp of repository gentoo: Mon, 25 May 2020 06:00:01 +0000
Head commit of repository gentoo: 7c4fb5b5e93e10c8d4cb59bbd820c05939704873
sh bash 5.0_p17
ld GNU ld (Gentoo 2.33.1 p2) 2.33.1
app-shells/bash:          5.0_p17::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.1::gentoo
dev-lang/python:          2.7.18::gentoo, 3.7.7-r2::gentoo, 3.8.2-r2::gentoo
dev-util/cmake:           3.17.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.33.1-r1::gentoo
sys-devel/gcc:            9.3.0::gentoo
sys-devel/gcc-config:     2.2.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.30-r8::gentoo
Comment 27 Thomas Deutschmann (RETIRED) gentoo-dev 2020-10-04 22:52:01 UTC
Please re-open in case this is still a problem with firefox-78.3.1 or later.