xhorak / firefox-devedition-flatpak

Flatpak manifest and patches to build Firefox
https://firefox-flatpak.mojefedora.cz/
68 stars 28 forks source link

Crash when plugging in external monitor (Wayland) #100

Open wvengen opened 6 years ago

wvengen commented 6 years ago

When running the Firefox Nightly flatpak on my laptop, and plugging in an external monitor, the browser crashes.

On resume, I see:

systemd[1815]: flatpak-org.mozilla.FirefoxNightly-1198.scope: Failed to add PIDs to scope's control group: Permission denied
systemd[1815]: flatpak-org.mozilla.FirefoxNightly-1198.scope: Failed with result 'resources'.
systemd[1815]: Failed to start flatpak-org.mozilla.FirefoxNightly-1198.scope.
firefox-bin[1213]: Locale not supported by C library.#012#011Using the fallback 'C' locale.
org.mozilla.FirefoxNightly.desktop[9738]: Extension error: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMWindowUtils.removeSheetUsingURIString]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: resource://gre/modules/ExtensionCommon.jsm :: runSafeSyncWithoutClone :: line 65"  data: no] undefined 65
<...stack traces and some repetitions of the above messages...>

Then when plugging in the external monitor:

kernel: [108202.524974] Chrome_~dThread[10048]: segfault at 0 ip 00007f931ca2255c sp 00007f932c7a0b00 error 6 in libxul.so[7f931af8a000+8351000]
kernel: [108202.525364] Chrome_~dThread[10028]: segfault at 0 ip 00007ffb3932255c sp 00007ffb49095b00 error 6 in libxul.so[7ffb3788a000+8351000]
org.mozilla.FirefoxNightly.desktop[9738]: Crash Annotation GraphicsCriticalError: |[C0][GFX1-]: Receive IPC close with reason=AbnormalShutdown (t=31264) [GFX1-]: Receive IPC close with reason=AbnormalShutdown
org.mozilla.FirefoxNightly.desktop[9738]: [Child 60, Chrome_ChildThread] WARNING: pipe error (3): Connection reset by peer: file /run/build/firefox/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 356
kernel: [108202.525935] Chrome_~dThread[1374]: segfault at 0 ip 00007f9be832255c sp 00007f9bf8041b00 error 6 in libxul.so[7f9be688a000+8351000]
kernel: [108202.526115] Chrome_~dThread[9931]: segfault at 0 ip 00007f8e74c2255c sp 00007f8e84967b00 error 6 in libxul.so[7f8e7318a000+8351000]
kernel: [108202.528117] Chrome_~dThread[9895]: segfault at 0 ip 00007f2dcbf2255c sp 00007f2ddbce9b00 error 6 in libxul.so[7f2dca48a000+8351000]
org.mozilla.FirefoxNightly.desktop[9738]: /app/bin/firefox: line 3:     4 Segmentation fault      (core dumped) firefox-bin $*
GorrillaRibs commented 5 years ago

Not that it helps too much, but I'm having the same issue on Archlinux w/ GNOME, and the same output. Not a huge issue as I can just open it again, but any testing I should do to work towards a solution?