I experience crashes at seemingly random times when using Firefox 114 or 115: $ firefox ATTENTION: default value of option mesa_glthread overridden by environment. ATTENTION: default value of option mesa_glthread overridden by environment. ATTENTION: default value of option mesa_glthread overridden by environment. ATTENTION: default value of option mesa_glthread overridden by environment. ATTENTION: default value of option mesa_glthread overridden by environment. ATTENTION: default value of option mesa_glthread overridden by environment. 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. Illegal instruction Exiting due to channel error.
Created attachment 865147 [details] emerge --info firefox
Could you boot into <6.4 kernel if you have one available? I recently learned 6.4 has some issues with Firefox making it crash.
Unfortunately the shell log doesn't provide anything meaningful, you'd have to debug the crash.
Unfortunately, I don't have any <6.4 kernel available. I could try to go drop back to a 6.3 kernel and redo the configuration if you think that will be helpful. If I recall correctly, though, the problem existed in Firefox 114 before I switched to a 6.4 kernel as I only have an uptime of 7 days at the moment.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=611e4dd27464b1222aef483bd9bcc78cc38be409 commit 611e4dd27464b1222aef483bd9bcc78cc38be409 Author: Joonas Niilola <juippis@gentoo.org> AuthorDate: 2023-07-06 06:47:15 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2023-07-06 06:47:15 +0000 www-client/firefox: include latest skia-avx patch for 115 Bug: https://bugs.gentoo.org/908979 Bug: https://bugs.gentoo.org/909676 Signed-off-by: Joonas Niilola <juippis@gentoo.org> www-client/firefox/Manifest | 2 +- www-client/firefox/firefox-115.0.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
I was hopeful that the new set of patches would fix the problem, but it didn't.
My Firefox has been crashing like crazy, however, there is no clean reproducer. I can confirm both v114 and v115 are affected, but v114 used to work fine until ~late June. The errors printed to the terminal are very cryptic and sometimes non-existent. Heh, I've even rebuilt @world numerous times with saner flags, switched from clang to gcc for a while, both for Firefox itself and the whole system, flipped every Firefox USE flag, disabled and removed the binary plugins... to no avail. I have tried downgrading my firmware blobs and even switched back to 6.3.11 which did not help. At this point I'd like to believe it's the kernel, however. It's really the last thing... Oh and I'd note firefox-bin crashes the same way. (I should have tried that before all the other things.)
I've switched to =gentoo-sources-6.1.38 and so far so good. Opening lots of tabs and going through various websites that typically triggered a crash before didn't do anything.
Addressed in 6.4.3 kernel release.
I can't find the exact commit that is expected to fix the problem in Firefox, but I'm thinking that it's probably related to the VMA Locking. Thank you for the update.
No crashes for >24 hours, so it seems like the 6.4.3 kernel release did fix the problem.
Glad to hear that!
(In reply to Nathan Zachary from comment #10) > I can't find the exact commit that is expected to fix the problem in > Firefox, but I'm thinking that it's probably related to the VMA Locking. > > Thank you for the update. Here you have the more insight on what is the source of problem and current fix -- https://bugzilla.mozilla.org/show_bug.cgi?id=1835488#c9
Thanks for the link, Piotr. So it is indeed related to VMA locking, which was fixed in kernel 6.4.3.