FS#68361 - [firefox] Hangs on start

Attached to Project: Arch Linux
Opened by MS-DTYP (MS-DTYP) - Wednesday, 21 October 2020, 16:50 GMT
Last edited by Jan Alexander Steffens (heftig) - Thursday, 22 October 2020, 19:55 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Jan Alexander Steffens (heftig)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

After the system's upgrade Firefox stopped working. Now it shows "Firefox has just been updated in the background. Click Restart Firefox to continue the update", and after clicking nothing happens.

Tested versions: Firefox 82.0 (latest), Firefox 81.0.2. Tested both for X11 and Wayland.
Firefox 79.0 works fine.

Cmdline output:
```
###!!! [Parent][MessageChannel] Error: (msgtype=0x390065,name=PContent::Msg_RefreshScreens) Channel error: cannot send/recv


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

[Parent 10073, Main Thread] WARNING: FileDescriptorSet destroyed with unconsumed descriptors: file /build/firefox/src/firefox-81.0.2/ipc/chromium/src/chrome/common/file_descriptor_set_posix.cc, line 19

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

[Parent 10073, Main Thread] WARNING: FileDescriptorSet destroyed with unconsumed descriptors: file /build/firefox/src/firefox-81.0.2/ipc/chromium/src/chrome/common/file_descriptor_set_posix.cc, line 19

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

[Parent 10073, Main Thread] WARNING: FileDescriptorSet destroyed with unconsumed descriptors: file /build/firefox/src/firefox-81.0.2/ipc/chromium/src/chrome/common/file_descriptor_set_posix.cc, line 19

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


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

[Parent 10073, Main Thread] WARNING: FileDescriptorSet destroyed with unconsumed descriptors: file /build/firefox/src/firefox-81.0.2/ipc/chromium/src/chrome/common/file_descriptor_set_posix.cc, line 19

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


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


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


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


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


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


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

[Parent 10073, Main Thread] WARNING: FileDescriptorSet destroyed with unconsumed descriptors: file /build/firefox/src/firefox-81.0.2/ipc/chromium/src/chrome/common/file_descriptor_set_posix.cc, line 19

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

```
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Thursday, 22 October 2020, 19:55 GMT
Reason for closing:  Works for me
Comment by Doug Newgard (Scimmia) - Wednesday, 21 October 2020, 22:48 GMT
Sounds like firefox is till running in the background. Make sure all processes are stopped.
Comment by MS-DTYP (MS-DTYP) - Wednesday, 21 October 2020, 22:55 GMT
This happened after a reboot, so no instance of firefox should be running.
Comment by Jamp (jamp) - Thursday, 22 October 2020, 08:45 GMT
Hi, it could be an incompatibility in the "old" profile. In the past I experienced similar malfunctions with Firefox due to this.
To check you could 1) close all firefox instances (or reboot), 2) go to your ~/.mozilla folder 3) mv firefox firefox.bak 4) start firefox and see if it works.
Comment by MS-DTYP (MS-DTYP) - Thursday, 22 October 2020, 12:10 GMT
I've created a new profile, and Firefox is still not functioning properly. It might be important that I start Firefox by the "firefox -no-remote -p" command, since I'm used to use multiple profiles.
Comment by MS-DTYP (MS-DTYP) - Thursday, 22 October 2020, 12:17 GMT
I've executed "mv ~/.mozilla ~/.mozilla2", installed Firefox 82.0, and started it by "firefox" cmdline. The issue remains.

Also, I've noticed another error in the Firefox output:
-----------------
XPCOMGlueLoad error for file /usr/lib/firefox/libxul.so:
/usr/lib/firefox/libnss3.so: version `NSS_3.55' not found (required by /usr/lib/firefox/libxul.so)
Couldn't load XPCOM.

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


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

[Parent 75462, Main Thread] WARNING: FileDescriptorSet destroyed with unconsumed descriptors: file /build/firefox/src/firefox-82.0/ipc/chromium/src/chrome/common/file_descriptor_set_posix.cc, line 19

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

[Parent 75462, Main Thread] WARNING: FileDescriptorSet destroyed with unconsumed descriptors: file /build/firefox/src/firefox-82.0/ipc/chromium/src/chrome/common/file_descriptor_set_posix.cc, line 19

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

[Parent 75462, Main Thread] WARNING: FileDescriptorSet destroyed with unconsumed descriptors: file /build/firefox/src/firefox-82.0/ipc/chromium/src/chrome/common/file_descriptor_set_posix.cc, line 19

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


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

[Parent 75462, Main Thread] WARNING: FileDescriptorSet destroyed with unconsumed descriptors: file /build/firefox/src/firefox-82.0/ipc/chromium/src/chrome/common/file_descriptor_set_posix.cc, line 19

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


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


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


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


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


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

[Parent 75462, Main Thread] WARNING: FileDescriptorSet destroyed with unconsumed descriptors: file /build/firefox/src/firefox-82.0/ipc/chromium/src/chrome/common/file_descriptor_set_posix.cc, line 19

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

The NSS packaged is installed, and has the 3.58-1 version.
Comment by AK (Andreaskem) - Thursday, 22 October 2020, 17:04 GMT
Is there actually a file /usr/lib/firefox/libnss3.so on your system? If so, what does pacman -Qo /usr/lib/firefox/libnss3.so say?
Comment by MS-DTYP (MS-DTYP) - Thursday, 22 October 2020, 17:07 GMT
$ ls -la /usr/lib/firefox/libnss3.so
-rwxr-xr-x 1 root root 663616 May 6 03:08 /usr/lib/firefox/libnss3.so

$ pacman -Qo /usr/lib/firefox/libnss3.so
error: No package owns /usr/lib/firefox/libnss3.so
Comment by AK (Andreaskem) - Thursday, 22 October 2020, 17:12 GMT
So, as far as I can tell, that file is not supposed to be there. Did you ever install some firefox-related AUR package or something?
Comment by MS-DTYP (MS-DTYP) - Thursday, 22 October 2020, 17:19 GMT
I've deleted the libnss3.so file, and Firefox is functioning now. Thank you!

It's strange. I've never used any custom Firefox build, anything firefox-related form AUR, etc.
Comment by MS-DTYP (MS-DTYP) - Thursday, 22 October 2020, 17:27 GMT
find /usr/lib/firefox | LC_ALL=C pacman -Qqo - 2>&1 > /dev/null | cut -d ' ' -f 5-
/usr/lib/firefox/libssl3.so
/usr/lib/firefox/libnspr4.so
/usr/lib/firefox/libnssutil3.so
/usr/lib/firefox/libplc4.so
/usr/lib/firefox/libplds4.so
/usr/lib/firefox/browser/blocklist.xml
/usr/lib/firefox/browser/chrome.manifest
/usr/lib/firefox/browser/features/fxmonitor@mozilla.org.xpi
/usr/lib/firefox/libnssckbi.so
/usr/lib/firefox/chrome.manifest
/usr/lib/firefox/libsmime3.so
/usr/lib/firefox/libsoftokn3.so
/usr/lib/firefox/libnss3.so
/usr/lib/firefox/libfreeblpriv3.so

You are right, somehow three are a lot of files from the previous installations.

Loading...