Closed Bug 1946520 Opened 2 months ago Closed 2 months ago

Firefox version 135 crashes the entire system when uploading files

Categories

(Core :: Widget: Gtk, defect)

Firefox 135
Desktop
Linux
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: kerion, Unassigned)

Details

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

Steps to reproduce:

When trying to upload a file on a web page, the system crashes and completely freezes.

My system:
Arch Linux - Kernel 6.13.1-arch1-1 x86_64
Gnome 47 on Wayland
Firefox version 135 (Flatpak)

Actual results:

The entire system freezes completely, requiring a hard reboot.

Expected results:

The file picker should open, allowing the selection and upload of a file without crashing the system.

(In reply to Alberto Parla from comment #0)

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

Steps to reproduce:

When trying to upload a file on a web page, the system crashes and completely freezes.

My system:
Arch Linux - Kernel 6.13.1-arch1-1 x86_64
Gnome 47 on Wayland
Firefox version 135 (Flatpak)

Actual results:

The entire system freezes completely, requiring a hard reboot.

Expected results:

The file picker should open, allowing the selection and upload of a file without crashing the system.

OS: Unspecified → Linux
Hardware: Unspecified → Desktop

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

Hello,

I tested both the Arch Linux package (Firefox 135.0-1) and the Mozilla binary from the link you provided. In both cases, Firefox works correctly, and I am able to upload files without crashing the system.

The issue seems to be specific to the Flatpak version of Firefox (135.0) running on my system. I also tested the Flatpak version 134.0, and it works fine. I am currently using that version as a workaround.

Do you have any suggestions on how to further debug this?

Thanks.

Flags: needinfo?(kerion)

I was wrong, even with version 134 on Flatpak, the issue still occurs. I think it's a problem with Mutter. I'm using GNOME version 47.4.

If you see file manipulation issues with Flatpak, it's most probably related to portals used by flatpak, the component may be broken. See https://github.com/flatpak/xdg-desktop-portal

I've fixed it. I have no idea why, but if I give Firefox on Flatpak the filesystem=home permission, the problem doesn't occur, and everything works as it should. I think it's a Flatpak-related issue at this point. Something must have changed in the permissions. For now, I'm marking this issue as resolved, as it’s definitely not a Firefox problem.

Status: UNCONFIRMED → RESOLVED
Closed: 2 months ago
Resolution: --- → WORKSFORME

I would also like to thank Martin Stránský. Even though he didn’t directly solve the issue for me, he replied quickly, and his tip about xdg-portal made me consider a permissions issue, which led me to a solution.

You need to log in before you can comment on or make changes to this bug.