FirefoxNightly segfaulting

Just in the past couple days, FirefoxNightly won’t launch for me. I see the beginning of an outline of a window pop up, and then it just segfaults. Anyone else having issues with it? If I run it from command line I get:

F: Running 'bwrap --args 37 firefox'
Attempting load of libEGL.so
Exiting due to channel error.
/app/bin/firefox: line 8:     3 Segmentation fault      (core dumped) firefox-bin $*

Doesn’t matter if I try safemode or anything else. I tried a brand new user on my system well to see if maybe it was my settings/extensions, but got the same behavior. This is the version I’m running:

[bhouser@britomic ~]$ flatpak remote-info --log Firefox org.mozilla.FirefoxNightly

Firefox Nightly - Firefox Nightly Web Browser

        ID: org.mozilla.FirefoxNightly
       Ref: app/org.mozilla.FirefoxNightly/x86_64/master
      Arch: x86_64
    Branch: master
   License: MPL-2.0
Collection: 
  Download: 120.0 MB
 Installed: 378.6 MB
   Runtime: org.gnome.Platform/x86_64/3.28

       Sdk: org.gnome.Sdk/x86_64/3.28
    Commit: bba8eac2a5abb5f29ef9b9ad4d125ff88665a18fb37fc9053698f4724d70ea20
    Parent: 0e831b2025958b23db73a497496761da9f90c38371f997a01e702eb49506d797
   Subject: Build of org.mozilla.FirefoxNightly
      Date: 2019-10-28 10:13:29 +0000
   History: 

    Commit: 0e831b2025958b23db73a497496761da9f90c38371f997a01e702eb49506d797
   Subject: Build of org.mozilla.FirefoxNightly
      Date: 2019-10-26 09:01:06 +0000
  1. The Firefox Nightly flatpak was (finally) recently updated
  2. I’m also having a problem running the Firefox Nightly flatpak on Silverblue (but it’s “due to a channel error” related to “ipc_channel_posix”)
  3. The official Firefox Nightly from Mozilla’s upstream tarball runs on Silverblue 31 here
  4. The Firefox Nightly flatpak doesn’t work on non-Silverblue Fedora 31 either (where I am seeing the libEGL message and then also the connection reset by peer “ipc_channel_posix” issue too).

So… this seems like an issue specific to the Firefox Nightly Flatpak.

Here’s my error log when running flatpak run org.mozilla.FirefoxNightly:

1572281618542	addons.webextension.screenshots@mozilla.org	WARN	Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: mozillaAddons
1572281618542	addons.webextension.screenshots@mozilla.org	WARN	Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: telemetry
1572281618542	addons.webextension.screenshots@mozilla.org	WARN	Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: resource://pdf.js/
1572281618542	addons.webextension.screenshots@mozilla.org	WARN	Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: about:reader*
[Child 54, Chrome_ChildThread] WARNING: pipe error (48): Connection reset by peer: file /run/build/firefox/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 358
[Child 54, Chrome_ChildThread] WARNING: pipe error (47): Connection reset by peer: file /run/build/firefox/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 358
[Child 54, Chrome_ChildThread] WARNING: pipe error (45): Connection reset by peer: file /run/build/firefox/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 358
[Child 54, Chrome_ChildThread] WARNING: pipe error (44): Connection reset by peer: file /run/build/firefox/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 358
[Child 54, Chrome_ChildThread] WARNING: pipe error (43): Connection reset by peer: file /run/build/firefox/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 358
[Child 54, Chrome_ChildThread] WARNING: pipe error (3): Connection reset by peer: file /run/build/firefox/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 358
Exiting due to channel error.
/app/bin/firefox: line 8:     3 Segmentation fault      (core dumped) firefox-bin $*

Unsurprisingly, flatpak remote-info shows the same exact output on my system.

Well, this is where the power of flatpaks come in right? We can easly revert to the previous commit and run that one. Am I doing this right?

[bhouser@britomic ~]$ flatpak remote-info --log Firefox org.mozilla.FirefoxNightly 

Firefox Nightly - Firefox Nightly Web Browser

        ID: org.mozilla.FirefoxNightly
       Ref: app/org.mozilla.FirefoxNightly/x86_64/master
      Arch: x86_64
    Branch: master
   License: MPL-2.0
Collection: 
  Download: 120.0 MB
 Installed: 378.6 MB
   Runtime: org.gnome.Platform/x86_64/3.28

       Sdk: org.gnome.Sdk/x86_64/3.28
    Commit: bba8eac2a5abb5f29ef9b9ad4d125ff88665a18fb37fc9053698f4724d70ea20
    Parent: 0e831b2025958b23db73a497496761da9f90c38371f997a01e702eb49506d797
   Subject: Build of org.mozilla.FirefoxNightly
      Date: 2019-10-28 10:13:29 +0000
   History: 

    Commit: 0e831b2025958b23db73a497496761da9f90c38371f997a01e702eb49506d797
   Subject: Build of org.mozilla.FirefoxNightly
      Date: 2019-10-26 09:01:06 +0000

[bhouser@britomic ~]$ flatpak update --commit=0e831b2025958b23db73a497496761da9f90c38371f997a01e702eb49506d797 org.mozilla.FirefoxNightly
Looking for updates…
Nothing to do.
[bhouser@britomic ~]$

Encountering the same problem after Nightly got updated:

[:package: com.gexperts.Tilix ~]$ flatpak run org.mozilla.FirefoxNightly

(firefox:3): Gdk-CRITICAL *: 11:21:42.036: gdk_screen_get_monitor_scale_factor: assertion ‘GDK_IS_SCREEN (screen)’ failed
[Socket 20, Chrome_ChildThread] WARNING: pipe error (3): Connection reset by peer: file /run/build/firefox/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 358
/app/bin/firefox: line 8: 3 Segmentation fault (core dumped) firefox-bin $

So I upgraded to FSB31 but that didn’t fix the issue. Also unable to execute the workaround suggested by @britthouser since the command doesn’s seem to work: :

[📦 com.gexperts.Tilix ~]$ flatpak remote-info --log Firefox org.mozilla.FirefoxNightly
error: Remote "Firefox" not found

With my source being:

[📦 com.gexperts.Tilix ~]$ flatpak remote-list
Name                    Options
fedora                  system,oci
flathub                 system
org.mozilla.FirefoxRepo system

[📦 com.gexperts.Tilix ~]$ flatpak remote-ls org.mozilla.FirefoxRepo
Name                               Application ID                         Version          Branch
Firefox Developer Edition          org.mozilla.FirefoxDevEdition                           master
Firefox Nightly                    org.mozilla.FirefoxNightly                              master

What would be the right command to downgrade Nightly?

On Fedora 29:
(firefox:3): Gtk-WARNING **: 20:33:29.272: cannot open display:

flatpak remote-ls firefoxnightly-origin  
Name                   Application ID                    Version        Branch
Firefox Nightly        org.mozilla.FirefoxNightly                       master

flatpak remote-info firefoxnightly-origin org.mozilla.FirefoxNightly

Firefox Nightly - Firefox Nightly Web Browser

        ID: org.mozilla.FirefoxNightly
       Ref: app/org.mozilla.FirefoxNightly/x86_64/master
      Arch: x86_64
    Branch: master
   License: MPL-2.0
Collection: 
  Download: 120.7 MB
 Installed: 380.4 MB
   Runtime: org.gnome.Platform/x86_64/3.28

       Sdk: org.gnome.Sdk/x86_64/3.28
    Commit: aac5de1ed4b8bba29cf958c2ebb2613f1dc3468dd97aac5e459b2e1d91e207c2
    Parent: f69d1752befc5a6e5524583f2d384e2aada8d937d3c0bc5b5e5ee5bbed7a6171
   Subject: Build of org.mozilla.FirefoxNightly
      Date: 2019-11-05 10:04:49 +0000

On Fedora 31:

flatpak run org.mozilla.FirefoxNightly
1573049529669	addons.webextension.screenshots@mozilla.org	WARN	Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: mozillaAddons
1573049529669	addons.webextension.screenshots@mozilla.org	WARN	Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: telemetry
1573049529669	addons.webextension.screenshots@mozilla.org	WARN	Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: resource://pdf.js/
1573049529669	addons.webextension.screenshots@mozilla.org	WARN	Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: about:reader*
/app/bin/firefox: line 8:     3 Segmentation fault      (core dumped) firefox-bin $*

flatpak remote-info firefoxnightly-origin org.mozilla.FirefoxNightly

Firefox Nightly - Firefox Nightly Web Browser

        ID: org.mozilla.FirefoxNightly
       Ref: app/org.mozilla.FirefoxNightly/x86_64/master
      Arch: x86_64
    Branch: master
   License: MPL-2.0
Collection: 
  Download: 120.7 MB
 Installed: 380.4 MB
   Runtime: org.gnome.Platform/x86_64/3.28

       Sdk: org.gnome.Sdk/x86_64/3.28
    Commit: 39580610ada1bda05832ee1ad3a3285ab29ab31a87e37af6090e05ad39824290
    Parent: aac5de1ed4b8bba29cf958c2ebb2613f1dc3468dd97aac5e459b2e1d91e207c2
   Subject: Build of org.mozilla.FirefoxNightly
      Date: 2019-11-06 10:03:07 +0000