Created attachment 647856 [details] emerge --info output Not reproducible in firefox-bin. Not reproducible in firefox-77.0.1. Tried different USE-flags and compiling with clang, nothing helped. Already described here: https://bugzilla.mozilla.org/show_bug.cgi?id=1650594. USE-flags: bindist eme-free gmp-autoupdate l10n_ru openh264 screenshot system-av1 system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-webp wayland Typical crash messages: Exiting due to channel error. Exiting due to channel error. Exiting due to channel error. Exiting due to channel error. Exiting due to channel error. Exiting due to channel error. [1] 6265 segmentation fault firefox
Any chance you could provide a backtrace?
I think I have the same issue. It may be the same problem as this comment in the firefox bugtracker (https://bugzilla.mozilla.org/show_bug.cgi?id=1641749#c2) which also has a backtrace. I'm rebuilding firefox with debugging symbols to see if I can get my own backtrace.
I will take a gamble and say that we have the same segfaults with the backtrace i attach. I found the culprit to be "0027-bmo-1618914-Wayland-Fall-back-to-ftruncate-if-posix_.patch". Removing it seems to fix the crashes, minus the problem that the patch supposed to fix. If it's not the case, i'm sorry for the noise.
Are you using ZFS?
Created attachment 648038 [details] firefox +wayland segfault backtrace
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86c6cab4a54c344a8c9bcbb1e3ea781e065ddc15 commit 86c6cab4a54c344a8c9bcbb1e3ea781e065ddc15 Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2020-07-06 19:23:14 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2020-07-06 19:23:14 +0000 www-client/firefox: drop patch for bmo#1618914 Bug: https://bugs.gentoo.org/730986 Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> www-client/firefox/firefox-78.0.1.ebuild | 2 ++ 1 file changed, 2 insertions(+)
Fix works for me. Thanks!
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c11d921ca0d6135ca9f4036b03662aad522d878 commit 6c11d921ca0d6135ca9f4036b03662aad522d878 Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2020-07-07 13:46:14 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2020-07-07 13:46:25 +0000 www-client/firefox: rev bump for new patch set Closes: https://bugs.gentoo.org/730606 Closes: https://bugs.gentoo.org/730986 Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> www-client/firefox/Manifest | 2 +- .../{firefox-78.0.1.ebuild => firefox-78.0.1-r1.ebuild} | 10 +++++++--- 2 files changed, 8 insertions(+), 4 deletions(-)
Thank you Thomas for finding the offending patch & Luis for testing, I though that Firefox crashing on my wayland setup is some old library which I forgot to update.! Thank you guys!!! (meanwhile compiling like crazy and looking forward to crash-less experince).