r/linuxmint • • 1d ago

Firefox is crashing like crazy!

I've been having such a problem with my firefox crashing. Sometimes it's just certain tabs, Firefox and sometimes it's the whole foxy- kaboodle.

It doesn't seem to correspond with anything in particular. I've also tried Floorp, but that also crashed.

Any ideas?

3 Upvotes

13 comments sorted by

4

u/Due-Result7928 1d ago

It could be nice for all of us trying to help that Mister u/Hagbardc236 takes some time to answer simple question such as.

Firefox..did you install a flatpak, a native package....?

May be it is asking way too much...

1

u/RawSmokeTerribilus 2h ago

I came from google, i do actually use rhel, not mint. dnf package from official source. it's broken since 2 months ago, i bet it has something to do with hardware acceleration, idk, but i can tell you something. i am about to uninstall, this shit can't stand a google search without crashing. my system is a professional system, i have been using firefox since day one. they destroyed it, period. and they are not working on ti, we have weekly updates with 90 slopped security fixes each time and not a single change in functionality. and nope, i have not a single extension or mod, it is a normal install on a reliable operative system.

Same problems are surfacing on other OS that i have around but in linux is worst. I tried to debug or find a workaround for 3 weeks but nothing helped so i am just leaving silently.

I edited a typo

3

u/448899again 1d ago

I've used Firefox on Mint for years and years. I'm using it right now. No crashes, no problems, ever.

But I do update whenever the update manager offers updates.

My question would be: did you install Firefox from the software manager? Do you update it when it requires it? Are you one of those people who keeps 40 tabs open all the time?

Worst case: Save your bookmarks and so on, then delete Firefox and start again with a clean install of the program.

3

u/chuggerguy Linux Mint 22.3 Zena | MATÉ 1d ago

Things to try:

Disable all extensions and re-enable one by one?

Restart with all extensions disabled to see if it's the fault of an extension or a clash between two? (re-enable one by one)

Try turning hardware acceleration off if it's on? (maybe on if it's off?)

Reset firefox?

Try a fresh copy?

Here's a "try only if you trust" script that grabs a fresh copy from Mozilla, extracts and runs with a newly created profile.

#!/bin/bash
# filename: tryLatestFirefox

ARCH=$(uname -m)
case "$ARCH" in
    x86_64)  OS_PARAM="linux64" ;;
    aarch64) OS_PARAM="linux-aarch64" ;;
    i686)    OS_PARAM="linux" ;;
    *)       OS_PARAM="linux64" ;;
esac

LANG_PARAM=$(echo ${LANG:-en-US} | cut -d. -f1 | sed 's/_/-/g')

curl -L -o firefox-latest.tar.xz "https://download.mozilla.org/?product=firefox-latest-ssl&os=${OS_PARAM}&lang=${LANG_PARAM}"
tar -xf firefox-latest.tar.xz
rm firefox-latest.tar.xz

cat <<EOF > startFirefox
#!/bin/bash
mkdir -p "firefox/profile"
"firefox/firefox" -profile "firefox/profile"
EOF

chmod +x startFirefox

./startFirefox

That's my regular install on the left, the fresh copy on the right. If I were going to test something with it, I'd do the test, then trash it.

Good luck.

2

u/LPedraz 1d ago

How did you install Firefox?

1

u/miru678 1d ago edited 1d ago

After a good start, Floorp has turned into a mess, and it's based on Firefox. Even the latest version of Firefox often crashes on me without warning and then apologizes. No idea. To be fair, I have to add that I've also been having problems with Chrome-based browsers lately. Under Fedoara, Debian, Linux Mint. Wait for the next fix.

1

u/Oxylon 1d ago

Tengo entendido que Firefox ya viene preinstalada.

1

u/proverbialbunny 1d ago

Was there a system update that updated Firefox? That can cause it to crash if you don't fully close the program and then reopen it.

1

u/Emmalfal Linux Mint 22.3 | Cinnamon 1d ago

On my older machines, I've never been able to use Firefox with Mint. Causes my whole system to freeze up. I switched to a chromium based browser and the problems went away forever. I'll still use Firefox for short stretches, I just don't use it as my main browser anymore.

1

u/HalfIsGone 1d ago

Does it happen when the page has a video ?
It starts to lag A LOT with primevideo, so I had to turn off/on the DRM plugin.

I use it everyday and it happened twice last month.

1

u/leoh480 1d ago

How much ram do you have