Re: Fwd: Repeated and continuous crashes of Firefox

From: Edward Sanford Sutton, III <mirror176_at_hotmail.com>
Date: Fri, 17 Jan 2025 00:17:05 UTC
On 1/16/25 13:00, Mario Marietto wrote:
> Hello.
> 
> Suddenly, while using Firefox, my system (FreeBSD 14.2, but 14.1 did the
> same) while I'm surfing in some websites (they are always different) closes
> and the system hangs for a few seconds and then reboots. Top reveals that
> for some time Firefox eats more than 100% of the cpu's power. Crashes
> generate a lot of core files. I've added some of them in this email. I hope
> you can inspect inside them to understand why and to suggest a solution
> because I'm really tired of these crashes.
> 
>   caja.core
> <https://drive.google.com/file/d/1p5Ut97VmrE_VJeBZHD5nuc27kEyhTFM1/view?usp=drive_web>
>   chrome.core
> <https://drive.google.com/file/d/1pXcNUV5ck3eU-FfJ74-rQ8jJkcOzZCIh/view?usp=drive_web>
>   firefox.core
> <https://drive.google.com/file/d/1jZFLo5y-6rHyG-Vz8SquOnJkq4Sz5CV7/view?usp=drive_web>
> 
> Thanks.
> 

   Core files can be created when a program crashes due to a bug but 
also other reasons like hardware failure caused corrupted data or 
process being killed due to not enough memory. How much RAM+swap is in 
use/free as the crashing happens? Other than that, I'm not good with 
using core files but here are a few other ideas worth considering...
   Listing more specifics may help others help you. What exact version 
of FreeBSD (such as `uname -aKU` gives) and package version for Firefox. 
What GPU and graphics driver versions (drm-*-kmod, nvidia, etc.). What 
desktop environment is this under? Any other special tweaks you recall 
applying to it, specifically things in /boot/loader, /etc/sysctl.conf, 
/etc/rc.d?
   Does this happen with a clean Firefox profile? Is this 'only' when 
Firefox is running? You may want to try disabling Firefox's hardware 
acceleration or running alternative versions or more basic graphics 
drivers just as a test.
    What CPU architecture? If it is x86-64 and Intel 13th or 14th 
generation i# chips, Intel has had some known manufacturing and 
BIOS/UEFI issues that have caused many failures; update your BIOS and 
try a different CPU if possible. I'd try other general tests (memtest86 
from outside the OS), try to run through the FreeBSD test suite `kyua 
test -k /usr/tests/Kyuafile`; in my experience I need a reboot after as 
things seem to not be quite right with the OS after running it but 
updates to the suite have occurred since I last did much with it.
   If you get other reproducible issues then you may have something 
easier to troubleshoot.
   Using STABLE 1402501 and firefox-133.0.3,2 under kde5 (tried to 
disable compositor stuff but doubt I succeeded) I have only my usual 
longstanding issues with Firefox and nothing that brings down the whole 
system ('maybe' out of memory but I try to kill it well before that).
   By the description alone, I'd definitely consider a close look at the 
hardware for failing CPU/RAM/PSU/GPU. Software isn't eliminated as a 
possibility but with it happening across 14.1 and 14.2 I'd guess 
graphics drivers if it was not a hardware issue.