Open Bug 1779093 Opened 2 years ago Updated 2 years ago

Firefox crashes daily

Categories

(Core :: Widget: Gtk, defect)

Firefox 102
defect

Tracking

()

UNCONFIRMED

People

(Reporter: maharvey67, Unassigned)

References

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0

Steps to reproduce:

I only reboot Linux when I do an update, and normally leave firefox running. Lately, it seems like every time I unlock the computer there is a dialog waiting that "something has gone wrong, press a button to restart firefox" (or something to that effect).

I have no steps to reproduce. Just leave firefox 102.0 running on Manjaro Linux long enough and it will crash.

Actual results:

Firefox crashes after a time. It seems to happen at least once a day but I haven't kept a log of events, and it happens when I'm not on the computer, so it's hard to be certain.

Expected results:

Firefox should not crash, ever. Certainly not just sitting and doing nothing. It used to be very stable, this is new behavior... I want to say the last two weeks or so. That also corresponds to the release announcement for 102.0 so it was probably a new bug in this version.

The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Widget: Gtk
Product: Firefox → Core

Do you have any crashes in about:crashes or something? Can you give us more info of your setup?

Flags: needinfo?(maharvey67)

Oh hi I didn't know about about:crashes
Here is what is there:

Unsubmitted Crash Reports
Report ID Date Crashed
66c732fc-82c9-a386-80cb-6b32f5e29436 7/9/22, 07:48
3f5192a0-c512-6905-c62a-704c8841c31e 7/6/22, 12:13
7323f5f5-ee07-9f76-1d84-625029245a49 7/2/22, 23:33
4f346d6a-bffa-ecfd-58e6-361fd8e93829 6/19/22, 18:22
2b5ed324-c142-1374-6449-230dffd7c85a 6/19/22, 18:22
66c1ff85-887a-f878-0a89-1a231e7a1d5b 6/19/22, 18:22
145f5643-2f96-58a4-1a67-d134dcb1ad1e 6/19/22, 18:22
487015ef-6174-7c43-ec56-734099b5357f 6/19/22, 18:22
0cfca53c-aa15-da56-c792-5f594996a272 6/19/22, 18:22
03bf489a-703a-9e54-d1b7-1a45c3d05f73 6/19/22, 18:22

Submitted Crash Reports
Report ID Date Submitted
bp-18726240-60b2-4f57-862f-9fd2b0220711 7/11/22, 14:22 View
bp-b21c0dc7-0361-41e0-88d4-1ba480220709 7/8/22, 19:47 View

So, not every day it seems.

The one from today (7/11) says it was in the Compositor, NvGlEglGetFunctions. It's uploaded so you can probably see it. I went ahead and submitted the reports from July, they all look like the same cause.

Flags: needinfo?(maharvey67)

I just hit submit all, here is the list:
Submitted Crash Reports
Report ID Date Submitted
bp-92e2f326-71cb-4049-abeb-4054d0220712 7/11/22, 18:22 View
bp-d7ada0c4-38f0-461a-929d-747800220712 7/11/22, 18:22 View
bp-b5daad13-48a5-4656-9425-d87050220712 7/11/22, 18:22 View
bp-18726240-60b2-4f57-862f-9fd2b0220711 7/11/22, 14:22 View
bp-b21c0dc7-0361-41e0-88d4-1ba480220709 7/8/22, 19:47 View
bp-88a630bb-7b6d-4c7e-9d0f-28e120220712 7/11/22, 18:27 View
bp-1dfca733-10d8-4163-9b8a-6766d0220712 7/11/22, 18:27 View
bp-7c6b6eb4-4a28-4dc3-845d-85d850220712 7/11/22, 18:27 View
bp-878c130f-d942-4aa2-8a3e-724560220712 7/11/22, 18:27 View
bp-1afe2502-6f7c-47f4-8ba5-ad49c0220712 7/11/22, 18:27 View
bp-6ff4974b-5d7a-4ecb-a309-110660220712 7/11/22, 18:27 View
bp-3cb6a62c-1d2f-4a17-a351-d80e90220712 7/11/22, 18:27 View

It seems it's crashing in your nvidia GPU driver... Not sure there's much we can do other than maybe force your gpu to use software rendering (but at a performance cost of course :/).

Can you confirm that going to about:config and setting gfx.webrender.software prevents the crashiness?

Bug 1737834 seems to indicate this was a driver bug that should be fixed on newer driver versions, can you give a shot at updating your GPU driver?

See Also: → 1737834

Ok will try both of the above, thanks!

I've never had this kind of crash except today when I resumed my PC: Firefox crashed with zero tabs open.

Running the latest NVIDIA drivers 515.65.01.

Crash report: fcb8b15a-33f5-4012-be32-376b40220828

After an update to the most recent firefox I had this issue again. Firefox just absolutely refused to start, it would flash a window outline and then crash. I started on the command line with "firefox -p" and got this message: "[GFX1-]: glxtest: VA-API test failed: process crashed. Please check your VA-API drivers."

Maybe caused by this? https://www.phoronix.com/news/Firefox-103-Nightly-VA-API

The best I can determine, it is because nvidia does not implement VA-API which apparently firefox requires. I have not yet tried the experimental nvidia vaapi driver. Netflix is working okay, if it gets sluggish I might try it.

Other symptoms:

  • If I created a new profile using "firefox -p" it worked, but on my existing profile it crashed.
  • "firefox --safe-mode" did not resolve the issue

I could not load firefox to edit about:prefs* but I was able to get firefox to start by editing my ~/.mozilla/firefox/<profile>/prefs.js manually. Not sure exactly what I set (i seem to recall the gfx.webrender.software alone did not fix it) but currently see:

  • user_pref("gfx.blacklist.vaapi", 4);
  • user_pref("gfx.webrender.software", true);
  • user_pref("gfx.webrender.software.d3d11", false);
    Pretty much everything else is set to "FEATURE_FAILURE_GLXTEST_FAILED"

*This was almost the tipping point for me to move permanently to Brave.

(In reply to maharvey67 from comment #9)

I started on the command line with "firefox -p" and got this message: "[GFX1-]: glxtest: VA-API test failed: process crashed. Please check your VA-API drivers."

That's likely bug 1787182 comment 2.

See Also: → 1788573
You need to log in before you can comment on or make changes to this bug.