Firefox crashing when starting

A few days ago firefox came up with a pop up that it had to restart for an update. It happened after I ran sudo dnf update. Since then whenever I start firefox it crashes. And pops up one of the following messages.
image or

If I open firefox in troubleshoot mode it does open and I learned if I disable Hardware accelleration it does start normally. However then when i open most websites it just crashes.

I can’t find any error logs and have already removed all user files.

All other applications work fine, and only firefox is broken.

Which firefox do you have installed?
Is it from Fedora RPMs a Flatpak something else?

Maybe createing a new profile will work.
Try running firefox -P and creating a new profile.
Then start firefox does that fix the crashing?

I have installed firefox as an RPM, I don’t want to use the flatpak yet, because them my password manager will not work right.

After running firefox -p it still crashes. It prints the following in the terminal

ExceptionHandler::GenerateDump cloned child 58107
ExceptionHandler::WaitForContinueSignal waiting for continue signal...
ExceptionHandler::SendContinueSignalToChild sent continue signal to child

Its upper case P not lowercase.

firefox -P also crashes :frowning:

You can try moving your existing firefox setup out of the way.

mv ~/.mozilla ~/old.mozilla

Then see if firefox will start without crashing.

unfortunately peanutbutter it still crashes :frowning: I think it has to do with hardware accelleration but I don’t know why as it used to work fine

If anyone has the same issue, for me it only crashed on wayland so my temporary solution is:

Change the .desktop entry for firefox (i used main menu) to env GDK_BACKEND=x11 firefox %u. This makes firefox start in x11 mode, which makes it lose some features. But at least it works.